TL;DR
In the world of adversarial machine learning, not all source images are created equal. This paper demonstrates that the specific subset of images chosen for benchmarking can swing reported attack success rates by as much as 12.5%, potentially leading researchers to draw misleading conclusions about the effectiveness of their models or defenses.
What Problem Does This Paper Address?
Deep Neural Networks (DNNs) are notoriously vulnerable to adversarial examples—inputs designed to fool a model with perturbations invisible to the human eye. Because generating these examples across massive datasets like ImageNet is computationally expensive, most researchers use a small, randomly sampled subset (often around 1,000 images) for their experiments.
The authors identify a critical flaw in this standard practice: it assumes that every correctly classified image is equally "suitable" for generating adversarial attacks. As shown in Figure 1, many influential studies rely on these small subsets without accounting for the inherent variance in image robustness.
If a researcher accidentally picks a subset of "fragile" images, their attack might look revolutionary. Conversely, a subset of "hard" images might make a weak defense appear impenetrable.
Methods
The researchers conducted a massive model-to-model transferability study. They started with the ImageNet validation set and filtered for images that were correctly classified by seven different DNN architectures: five classic CNNs (AlexNet, SqueezeNet, VGG-16, ResNet-50, DenseNet-121) and two state-of-the-art Vision Transformers (ViT-B and ViT-L). This left them with a "best-case" pool of 19,025 images.
They then applied three popular adversarial attacks—PGD, CW, and MI-FGSM—to generate over 825,000 adversarial examples. Crucially, they also tested image robustness using non-adversarial noise (Gaussian noise, uniform noise, and contrast changes) to categorize images into two groups:
- Fragile Images ($S_f$): Images whose classification changed at least once when subjected to simple, non-adversarial noise.
- Hard Images ($S_h$): Images that remained robust against non-adversarial noise.
Datasets
The study primarily uses the ImageNet validation set. The authors have publicly released the statistics for all 19,025 evaluated source images, along with a list of identified "fragile" images, to help the community conduct more stable benchmarking.
Key Insights and Ideas
- The "Fragility" Correlation: Images that are easily fooled by random Gaussian noise are also significantly more likely to produce adversarial examples that transfer successfully between different models.
- Transferability Variance: When sampling 1,000 images randomly, the success rate of an attack can vary by 12.5% depending on the specific images chosen. This is a massive margin in a field where a few percentage points often define a new state-of-the-art.
- Perturbation vs. Success: There is a clear negative correlation between the amount of noise needed to fool a model and how well that attack transfers. "Easy" images require less perturbation and transfer better.
- Predicting Fragility: The authors found that simple error metrics, specifically the ratio of prediction probabilities ($Q$)—the second-highest logit divided by the highest—serve as an excellent proxy for image suitability. If a model is "unsure" (high $Q$ value), that image is likely fragile.
Key Results
The discrepancy between fragile and hard images is stark. As seen in Figure 2, the transferability success ratio for PGD attacks is dramatically higher for the fragile set ($S_f$) compared to the hard set ($S_h$).
Quantitative highlights include:
- 12.5% difference in model-to-model transferability success based on image selection.
- 1.01 difference in average $L_2$ perturbation required.
- Vision Transformers (ViTs) proved more robust than CNNs but were still susceptible to adversarial examples transferred from CNN models, especially when generated from fragile source images.
The authors also demonstrated that by filtering out the most fragile and most difficult images (using the $Q$ metric), they could reduce the variance in transferability experiments from 12.5% down to 7.6%, leading to much more stable and reproducible results.
Limitations and Future Work
While the paper provides a robust framework for identifying unsuitable source images, it primarily focuses on the attacks themselves rather than the defenses. The authors suggest that future work should investigate how these fragile images might be leveraged to circumvent adversarial defenses.
Additionally, they noted that many misclassifications are semantically similar (e.g., a "Lab coat" being mistaken for "Pyjamas"). They propose that incorporating semantic hierarchies (like WordNet) into the analysis of adversarial success could provide deeper insights into model vulnerabilities.
Summary updated