A Two-Stage Adversarial Training Method Based on Stability Contrastive Learning to Enhance Adversarial Robustness
Source abstract
Abstract
Neural network models are highly susceptible to adversarial sample attacks, causing significant differences in model predictions with even minor perturbations to the samples. Adversarial training is a kind of effective technique for resisting sample adversarial attacks. Traditional adversarial training methods are all single-stage training, and in the middle and later stages of training, there is a serious issue of robust overfitting. The accuracy of the adversarial training model does not increase and may even experience severe degradation. For this issue, we propose a multi-stage stability contrastive adversarial training method based on Ulam stability, which performs adversarial training in an optimized space with stability constraints to improve the robustness accuracy and training stability of the model. In the first stage, a stability adversarial training strategy is adopted to enable the model to rapidly improve robust accuracy before overfitting. In the second stage, a stability contrastive learning strategy is employed, focusing on suppressing overfitting of the model and further enhancing robust accuracy. This two-stage adversarial training method can not only improve the robustness accuracy of the model, but also effectively suppress overfitting phenomena. This method has plug and play pendant coupling capability, which can be combined with existing multi-class models to further improve the robustness accuracy of the benchmark model. In addition, this method has the characteristic of stable convergence, which can reduce the dependence on early stopping conditions and make the model training more flexible. Comparative experiments on multiple datasets have also validated the effectiveness of the proposed method.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Adversarial Robustness in Machine Learning · Generative Adversarial Networks and Image Synthesis · Explainable Artificial Intelligence (XAI)
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Research Department of Cyber-Electromagnetic Space Information Technology, Aerospace Information Research Institute, Chinese Academy of Sciences, Beijing 100190, China
Funding
Outstanding Member of Youth Innovation Promotion Association
References (25)
Show source-provided references
1. Goodfellow, I.J., Shlens, J., and Szegedy, C. (2015, January 7–9). Explaining and Harnessing Adversarial Examples. Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA.
2. Shafahi, A., Najibi, M., Ghiasi, A., Xu, Z., Dickerson, J., Studer, C., Davis, L.S., Taylor, G., and Goldstein, T. (2019). Adversarial Training for Free. arXiv.
3. Lei, H., Tsai, Y.Y., Chen, P.Y., and Ho, T.Y. (2023, January 17–24). Towards Compositional Adversarial Robustness: Generalizing Adversarial Training to Composite Semantic Perturbations. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.
4. Andriushchenko, M., and Flammarion, N. (2020, January 6–12). Understanding and Improving Fast Adversarial Training. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Virtual.
5. Herrmann, C., Sargent, K., Jiang, L., Zabih, R., Chang, H.W., Liu, C., Krishnan, D., and Sun, D.Q. (2022, January 18–24). Pyramid Adversarial Training Improves ViT Performance. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01306 ↗
6. Mao, C.Z., Zhong, Z.Y., Yang, J.F., Vondrick, C., and Ray, B. (2019, January 8–14). Metric Learning for Adversarial Robustness. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Vancouver, BC, Canada.
7. Rice, L., Wong, E., and Kolter, J.Z. (2020). Overfitting in Adversarially Robust Deep Learning. arXiv.
8. Tack, J., Yu, S., Jeong, J., Kim, M., Hwang, S.J., and Shin, J. (March, January 22). Consistency Regularization for Adversarial Robustness. Proceedings of the AAAI Conference on Artificial Intelligence (AAAI-22), Virtual.
9. Jung, H., Chai, J., and Wang, X.Q. (2025, January 24–28). Adversarial Latent Feature Augmentation for Fairness. Proceedings of the International Conference on Learning Representations (ICLR), Singapore.
10. Wang, X.L., and Ding, H. (2025, January 24–28). Exploring the Forgetting in Adversarial Training: A Novel Method for Enhancing Robustness. Proceedings of the International Conference on Learning Representations (ICLR), Singapore.
11. Adversarial training for signal modulation classification based on Ulam stability theory10.1016/j.dsp.2024.104636 ↗
12. Zhang, B.H., Jiang, D., He, D., and Wang, L.W. (December, January 28). Rethinking Lipschitz Neural Networks and Certified Robustness: A Boolean Function Perspective. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS 2022), New Orleans, LA, USA.
13. Jia, Y.N., Zou, D.M., Wang, H.F., and Jin, H. (2023, January 6–10). Enhancing Node-Level Adversarial Defenses by Lipschitz Regularization of Graph Neural Networks. Proceedings of the ACM SIGKDD Conference on Knowledge Discovery and Data Mining, Long Beach, CA, USA.10.1145/3580305.3599335 ↗
14. Maini, P., Wong, E., and Kolter, J.Z. (2020, January 12–18). Adversarial Robustness Against the Union of Multiple Perturbation Models. Proceedings of the International Conference on Machine Learning (ICML), Virtual.
15. Revisiting and Exploring Efficient Fast Adversarial Training via LAW: Lipschitz Regularization and Auto Weight Averaging10.1109/TIFS.2024.3420128 ↗
16. Yan, K., Yang, L.Y., Yang, Z.P., and Ren, W.J. (2024). Enhancing Adversarial Robustness through Stable Adversarial Training. Symmetry, 16.10.3390/sym16101363 ↗
17. Sriramanan, G., Addepalli, S., Baburaj, A., and Babu, R.V. (2020, January 6–12). Guided Adversarial Attack for Evaluating and Enhancing Adversarial Defenses. Proceedings of the Advances in Neural Information Processing Systems (NeurIPS), Virtual.
18. Zhang, H.Y., Yu, Y.D., Jiao, J.T., Xing, E.P., Ghaoui, L.E., and Jordan, M.I. (2019). Theoretically Principled Trade-off between Robustness and Accuracy. arXiv.
19. Li, Y.X., and Xu, C. (2023, January 17–24). Trade-off between Robustness and Accuracy of Vision Transformers. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Vancouver, BC, Canada.10.1109/CVPR52729.2023.00730 ↗
20. Li, T., Wu, Y., Chen, S., Fang, K., and Huang, X. (2022, January 18–24). Subspace Adversarial Training. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), New Orleans, LA, USA.10.1109/CVPR52688.2022.01305 ↗
21. Yu, C.J., Han, B., Shen, L., Yu, J., Gong, C., Gong, M.M., and Liu, T.L. (2022, January 17–23). Understanding Robust Overfitting of Adversarial Training and Beyond. Proceedings of the International Conference on Machine Learning (ICML), Baltimore, MD, USA.10.24963/ijcai.2022/512 ↗
22. Tang, L., and Zhang, L. (2024, January 17–21). Robust Overfitting Does Matter: Test-Time Adversarial Purification with FGSM. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA.10.1109/CVPR52733.2024.02298 ↗
23. Wang, Y.H., Guo, J.K., Liu, A.L., Wang, K.H., Wu, Z.T., Liu, Z.Y., Yin, W.F., and Liu, J. (2025, January 11–15). TAET: Two-Stage Adversarial Equalization Training on Long-Tailed Distributions. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Nashville, TN, USA.10.32388/9Z1LYW ↗
24. Adversarial discriminative domain adaptation for modulation classification based on Ulam stability10.1049/rsn2.12410 ↗
25. A two-branch symmetric domain adaptation neural network based on Ulam stability theory10.1016/j.ins.2023.01.096 ↗