MT-Boost: A metamorphic-testing based training method for enhancing the robustness of deep neural network classifiers
In metamorphic testing (MT), a set of metamorphic relations (MRs) are identified to verify whether or not a trained deep neural network (DNN) can produce consistent performance when specific transformations are applied to its input. Most DNNs trained with existing methods often perform poorly with respect to MRs, thereby indicating that these DNNs are not robust. To improve DNN’s performance in the context of MT, a set of defined MRs is used to generate training inputs to retrain a DNN model. Our main objective is to develop a method to balance a DNN’s accuracy and robustness with less time consumption and having the capability to cater to multiple MRs. In this paper, we introduce our regularization-based method (known as MT-Boost), which uses reinforcement learning to search for the best way of using MRs to generate inputs and express them as loss function regularizers. When developing MT-Boost, we transform the robustness-improving problem into a reinforcement-learning agent’s training problem. MT-Boost is evaluated on eight DNN models with four popular datasets. MT-Boost achieves the largest robustness improvement for each model and maintains relatively high accuracy performance when compared with seven other baseline methods. Our sensitivity analysis also shows the high stability performance of MT-Boost across four reinforcement-learning algorithms and other hyperparameters. Experimental results show that MT-Boost is effective and efficient for improving DNN’s robustness. • For deep neural network (DNN) classifiers, robustness reflects how well they perform after transforming their inputs. • We developed MT-Boost, a novel regularization-based training method to improve the robustness of DNN classifiers. • We developed a reinforcement learning framework to identify the most effective metamorphic relations for improving a DNN’s robustness. • Our experiment has demonstrated that MT-Boost achieves a better balance between accuracy and robustness of DNN classifiers.
Authors
- Tsong Yueh Chen (ORCID: https://orcid.org/0000-0003-3578-0994)
- Kun Qiu (ORCID: https://orcid.org/0000-0002-4121-3665)
- Pak‐Lok Poon (ORCID: https://orcid.org/0000-0003-2840-2418)
- Yu Zhou (ORCID: https://orcid.org/0000-0002-1033-6742)
Institutions
- Hefei University of Technology (CN)
- Swinburne University of Technology (AU)
- Central Queensland University (AU)
Publication Details
- Journal
- Information and Software Technology
- Published
- 2025-10-04
- DOI
- https://doi.org/10.1016/j.infsof.2025.107902
- Citations
- 1
- Primary Topic
- Adversarial Robustness in Machine Learning
- Type
- article
- Field-Weighted Citation Impact
- 2.48