Feature-Dependent Generative Adversarial Network for Robustness Testing of Image Classification Models
Abstract
Image classification models with high benchmark accuracy may still be vulnerable to small structured perturbations, making robustness testing essential before deployment. This paper proposes a feature-dependent generative adversarial network for generating robustness testing samples. The method extracts deep visual features from the input image, fuses them with a random latent vector, and decodes the fused representation into a residual perturbation. The perturbation is added to the original image to produce a visually similar test sample. The training objective combines image reconstruction loss, classification loss, and feature loss to preserve image semantics while reducing classifier confidence and disrupting internal representations. Experiments on ImageNet with a ResNet50 classifier show that the proposed method reduces accuracy from 76% to 66% under an image loss of 0.003. The ablation study confirms that the feature extraction module improves attack effectiveness, demonstrating the feasibility of feature-dependent perturbation generation for robustness testing.
References
- Szegedy C, Zaremba W, Sutskever I, Bruna J, Erhan D, Goodfellow I and Fergus R 2014 Intriguing properties of neural networksInt.Conf. on Learning Representations
- Goodfellow I J, Shlens J and Szegedy C 2015 Explaining and harnessing adversarial examplesInt. Conf. on Learning Representations
- Madry A, Makelov A, Schmidt L, Tsipras D and Vladu A 2018 Towards deep learning models resistant to adversarial attacksInt. Conf. on Learning Representations
- Dong Y, Liao F, Pang T, Su H, Zhu J, Hu X and Li J 2018 Boosting adversarial attacks with momentumProc. IEEE Conf. on Computer Vision and Pattern Recognitionpp 9185-93
- Xiao C, Li B, Zhu J Y, He W, Liu M and Song D 2018 Generating adversarial examples with adversarial networksProc. 27th Int. Joint Conf. on Artificial Intelligencepp 3905-11
- Goodfellow I J, Pouget-Abadie J, Mirza M, Xu B, Warde-Farley D, Ozair S, Courville A and Bengio Y 2014 Generative adversarial netsAdv.Neural Inf. Process. Syst. 272672-80
- Mirza M and Osindero S 2014 Conditional generative adversarial nets Preprint arXiv: 1411.1784
- Inkawhich N, Wen W, Li H H and Chen Y 2019 Feature space perturbations yield more transferable adversarial examplesProc. IEEE/CVF Conf. on Computer Vision and Pattern Recognitionpp 7066-74
- Ganeshan A, Vivek B S and Babu R V 2019 FDA: Feature disruptive attackProc. IEEE/CVF Int. Conf. on Computer Visionpp 8069-79
- Cheng S, Li P, Han K and Xu H 2024 Feature-aware transferable adversarial attacks against image classificationAppl. Soft Comput. 161111729
- Wang M, Wang J, Ma B and Luo X 2024 Improving the transferability of adversarial examples through black-box feature attacksNeurocomputing 595127863
- Wang Y, Liao X, Cui W and Yang Y 2025 Defending against and generating adversarial examples together with generative adversarial networksSci. Rep. 1512994
- Zhu P, Jin X, Jiang Q, Gao X, Wang P, Yao S and Zhou W 2025 Transferable adversarial attacks for multi-model systems coupling image fusion with classification modelsCybersecurity 823
- Wang P and Liu J 2026 Attentional semantic attack for enhancing adversarial samples transferabilitySci. Rep. 1610957
- Russakovsky O et al 2015 ImageNet large scale visual recognition challengeInt. J. Comput. Vis. 115211-52
- He K, Zhang X, Ren S and Sun J 2016 Deep residual learning for image recognitionProc. IEEE Conf. on Computer Vision and Pattern Recognitionpp 770-8