[Paper Review] Adversarially-Trained Deep Nets Transfer Better: Illustration on Image Classification
This paper demonstrates that adversarially-trained deep neural networks transfer more effectively to new image classification tasks than standard, non-adversarially-trained models, especially with limited target data. The improvement stems from adversarial training biasing representations toward shape features rather than textures, leading to more human-identifiable, semantically meaningful features that enhance transferability.
Transfer learning has emerged as a powerful methodology for adapting pre-trained deep neural networks on image recognition tasks to new domains. This process consists of taking a neural network pre-trained on a large feature-rich source dataset, freezing the early layers that encode essential generic image properties, and then fine-tuning the last few layers in order to capture specific information related to the target situation. This approach is particularly useful when only limited or weakly labeled data are available for the new task. In this work, we demonstrate that adversarially-trained models transfer better than non-adversarially-trained models, especially if only limited data are available for the new domain task. Further, we observe that adversarial training biases the learnt representations to retaining shapes, as opposed to textures, which impacts the transferability of the source models. Finally, through the lens of influence functions, we discover that transferred adversarially-trained models contain more human-identifiable semantic information, which explains -- at least partly -- why adversarially-trained models transfer better.
Motivation & Objective
- To investigate whether adversarially-trained models generalize better across domains in transfer learning settings.
- To understand why robust models, despite lower source-domain accuracy, exhibit superior transfer performance.
- To analyze how adversarial training influences learned feature representations in terms of texture vs. shape bias.
- To explore the role of human-identifiable semantic information in transferability using influence functions.
- To evaluate the impact of data scarcity and fine-tuning strategy on transfer performance of robust vs. natural models.
Proposed method
- Pre-trained ResNet-50 models were trained both adversarially (using PGD and Gaussian attacks) and non-adversarially (naturally) on ImageNet-1K.
- Transfer learning was performed by freezing early layers and fine-tuning the last few layers on diverse target datasets with varying amounts of labeled data.
- Adversarial training used ℓ₂ and ℓ∞ constraints with PGD and Gaussian noise perturbations, respectively, under a fixed perturbation budget.
- Influence functions were applied to analyze which training examples in the source domain most influenced predictions in the target domain.
- Feature representations were visualized and compared using activation maps and feature similarity analysis to assess texture vs. shape bias.
- Extensive ablation studies were conducted across multiple datasets, fine-tuning block counts, and subset sizes to validate robustness of findings.
Experimental results
Research questions
- RQ1Do adversarially-trained models achieve higher accuracy than standard models when fine-tuned on new image classification tasks with limited data?
- RQ2How does adversarial training affect the inductive bias of learned representations—specifically, does it favor shape or texture features?
- RQ3To what extent do robust models retain human-identifiable semantic information, as measured by influence functions?
- RQ4How does the similarity between source and target datasets affect the optimal number of fine-tuned layers and adversarial constraint choice?
- RQ5Can the improved transferability of robust models be attributed to more semantically meaningful feature representations?
Key findings
- Adversarially-trained models achieved significantly higher test accuracy than natural models when fine-tuned on target datasets with fewer than 10% of the training data.
- The robust models converged faster and reached higher accuracy within fewer training epochs, especially under data-scarce conditions.
- Adversarial training led to representations that preserved shape information more strongly than texture, reducing reliance on dataset-specific patterns.
- Influence function analysis revealed that adversarially-trained models contained more human-identifiable semantic information in their learned features.
- The performance gap between robust and natural models was most pronounced on datasets with high domain shift and low data availability.
- The transferability advantage of robust models was consistent across multiple target datasets and fine-tuning configurations, indicating broad applicability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.