Abstract
Current evaluations of Deep Neural Network (DNN) robustness often rely on narrow metrics like Attack Success Rate, failing to capture the underlying reasons for model vulnerability. This paper introduces a comprehensive framework comprising 23 metrics categorized into data-oriented and model-oriented perspectives. By analyzing model behavior and internal structure, this framework provides a "stress test" for AI defenses. Our findings reveal significant trade-offs between robustness and stability, and demonstrate that many state-of-the-art defenses are less robust than previously thought when subjected to multi-dimensional analysis.
Introduction: The Robustness Arms Race
In the field of deep learning, a persistent "arms race" exists between adversarial attacks and defensive strategies. Most researchers evaluate a defense’s success using simple metrics like Classification Accuracy or Attack Success Rate. However, these metrics are often too shallow, failing to explain why a model is vulnerable or how a defense alters internal behavior. This leads to a cycle where new defenses are published only to be immediately broken by slightly different attacks. To break this cycle, a standardized, multi-faceted approach to measuring true robustness is required.
A Multi-Dimensional Framework
The proposed framework establishes 23 metrics divided into two primary categories: data-oriented and model-oriented.
1. Data-oriented Metrics
These metrics focus on the quality and integrity of the test examples used for evaluation:
- Neuron Coverage: Measures the extent to which the model's internal components are exercised by the test data (e.g., k-Multisection Neuron Coverage).
- Data Imperceptibility: Ensures that adversarial perturbations remain invisible to humans using metrics like Structural Similarity (SSIM) and Perturbation Sensitivity Distance (PSD).
2. Model-oriented Metrics
These delve into the model's internal structure and behavior:
- Model Behaviors: Includes standard accuracy but adds nuances like Noise Tolerance Estimation (NTE) and Classification Output Stability (COS).
- Model Structures: Analyzes the "geometry" of the model, such as the Empirical Boundary Distance (EBD)—the distance from a data point to the decision boundary—and Neuron Sensitivity.
Categorization of Robustness Metrics
The 23 metrics are further classified based on their applicability to different attack scenarios (adversarial vs. corruption), evaluation settings (whitebox vs. blackbox), and model configurations (single vs. multiple models).
Experimental Setup
The framework was validated using three standard image classification benchmarks: CIFAR-10, SVHN, and ImageNet. Evaluations involved popular architectures including ResNet-18, ResNet-50, VGG-16, and WideResNet-28. An open-source platform based on PyTorch and Docker was released to facilitate the integration of these metrics into research workflows.
Key Insights and Results
- The "Norm" Trap: Models defended against one type of attack (e.g., $L_\infty$-norm) often remain weak against others (like $L_1$ or $L_2$). True robustness requires consistency across various perturbation types.
- Robustness vs. Stability Trade-off: As models become more robust against adversarial attacks, their Classification Output Stability (COS) often decreases, leading to more erratic behavior on clean data.
- Structural Integrity: Defenses like TRADES show high adversarial accuracy but perform poorly on structural metrics like Neuron Sensitivity. This suggests that while a model might "guess" correctly, its internal representations remain unstable.
- Boundary Distance: Defended models successfully "push" decision boundaries further away from data points (measured via EBD), increasing the effort required for a successful attack compared to "Vanilla" models.
Conclusion
While this framework provides a comprehensive suite for image classification, future work is needed to extend these metrics to domains like Natural Language Processing (NLP) and Graph Neural Networks. Moving away from single-noise evaluations toward a "multi-view" approach—testing against adversarial attacks, common corruptions, and structural sensitivity simultaneously—is essential for developing truly resilient AI systems.
Summary updated