Abstract
Deep neural networks are vulnerable to adversarial examples, which becomes one of the most important research problems in the development of deep learning. While a lot of efforts have been made in recent years, it is of great significance to perform correct and complete evaluations of the adversarial attack and defense algorithms. In this paper, we establish a comprehensive, rigorous, and coherent benchmark to evaluate adversarial robustness on image classification tasks. After briefly reviewing plenty of representative attack and defense methods, we perform large-scale experiments with two robustness curves as the fair-minded evaluation criteria to fully understand the performance of these methods. Based on the evaluation results, we draw several important findings and provide insights for future research.
Introduction
Deep learning models are notoriously fragile; small, human-imperceptible perturbations, known as adversarial examples, can easily trick them into making incorrect predictions. This vulnerability has sparked an "arms race" in the research community, where new defense mechanisms are proposed, only to be subsequently broken by more sophisticated attacks. A major bottleneck in this field is the lack of consistent evaluation. Most studies test defenses against a limited subset of attacks or rely on simplistic metrics, such as accuracy at a single fixed noise level ($\epsilon$). This makes it difficult to compare methods fairly or to understand how a model's robustness scales with attacker strength.
Methodology
To address these inconsistencies, we developed a comprehensive evaluation platform. Our approach standardizes robustness measurement by utilizing robustness curves rather than single data points.
Attack and Defense Categorization
We implemented 15 attacks across four categories: White-box (full model access), Transfer-based (attacking a substitute model), Score-based (querying probabilities), and Decision-based (querying only the final label). We evaluated 16 defenses, including robust training (e.g., adversarial training), input transformations (e.g., JPEG compression), randomization, and certified defenses.
Evaluation Criteria
Our primary metric is the robustness curve, which plots model accuracy against two variables:
- Perturbation Budget ($\epsilon$): Measuring how accuracy degrades as the allowed noise increases.
- Attack Strength: Measuring the number of iterations or queries required to break the model.
Key Insights
- Robustness is Relative: A model may appear more robust than another at low noise levels but fail more rapidly as the perturbation budget increases. This highlights why point-wise evaluation is fundamentally misleading.
- Adversarial Training Dominance: Despite various proposed techniques like input denoising or randomization, models trained directly on adversarial examples (e.g., PGD-AT and TRADES) remain the most consistently robust across different attack types.
- The Role of Randomness: Defenses incorporating randomness, such as Random Self-Ensemble, are particularly effective against black-box attacks because they hinder the attacker's ability to estimate reliable gradients.
- Scale and Transferability: Transfer-based attacks are less effective on large-scale datasets like ImageNet compared to CIFAR-10, likely due to the higher-dimensional space making it harder for attacks to generalize across models.
Results
Our large-scale experiments revealed that under white-box settings, "weak" defenses like JPEG compression or bit-depth reduction drop to near 0% accuracy very quickly. On CIFAR-10, TRADES and PGD-AT maintain approximately 45-50% accuracy against strong $L_\infty$ attacks at $\epsilon=8/255$, while standard models fail completely. On ImageNet, Feature Denoising (FD) emerged as a top performer, demonstrating that architectural modifications combined with adversarial training can scale effectively. Furthermore, our "Attack Strength" analysis showed that some defenses are compromised with just 10 iterations, while others require over 100, revealing a hidden dimension of resistance.
Conclusion
While our benchmark provides a rigorous framework, it primarily focuses on $L_p$ norm threat models and does not yet capture unrestricted attacks like rotations or lighting changes. We propose this platform as a living project to be updated with new methods. Additionally, the persistent trade-off between robustness and clean accuracy remains a critical area for future research.
Summary updated