Introduction
The rapid development of adversarial attacks and defenses has created a "vicious cycle" in deep learning research. While numerous techniques aim to bolster model robustness, accurately evaluating these improvements remains a significant challenge. Traditional metrics, primarily adversarial testing accuracy (e.g., performance against PGD), suffer from attack dependency, sensitivity to model reparameterization, and a lack of interpretability. This paper proposes a shift in perspective: moving from parameter-space analysis to input-space visualization and introducing a scale-invariant metric, $\psi(x)$, to quantify intrinsic robustness.
Methodology
Decision Surface Visualization
Standard diagnostic tools often visualize the loss landscape in the parameter space to understand convergence. However, to understand adversarial vulnerability, one must examine the Decision Surface in the input space.
The authors define a decision function $S(x)$ as the difference between the logit of the ground-truth class and the maximum logit of all other classes. By projecting this high-dimensional surface onto a 2D plane, they can visualize the decision boundaries surrounding specific inputs. This reveals that vulnerability is essentially a "neighborhood under-fitting" problem, where the model fails to maintain correct predictions in the immediate vicinity of a training point.
The $\psi(x)$ Robustness Metric
To provide a more objective measure than attack-specific accuracy, the authors introduce $\psi(x)$. This metric calculates the maximum Kullback–Leibler (KL) divergence between a model’s prediction on a clean input and its prediction on the most adversarial perturbation within a defined $\epsilon$-ball.
To ensure the metric is not fooled by simple weight scaling (reparameterization), a normalization layer is introduced to map logit outputs to a fixed range (-1, 1) before calculating the KL divergence. The "worst-case" divergence is found via gradient ascent, ensuring the metric reflects true intrinsic vulnerability rather than the limitations of a specific attack algorithm.
Experimental Results
The proposed methods were evaluated on MNIST, CIFAR-10, and ImageNet across various architectures (ResNet, DenseNet, LeNet) and defense strategies.
Exposing "Fake" Robustness
A key finding is the metric's ability to detect "gradient masking." Techniques like Defensive Distillation often show high accuracy against gradient-based attacks like PGD but fail against others like C&W. While PGD accuracy might suggest robustness, the $\psi(x)$ metric correctly assigns these models low scores, identifying that their underlying decision boundaries remain fragile.
Scale Invariance and Efficiency
Unlike traditional "sharpness" metrics that fluctuate when model parameters are scaled, $\psi(x)$ remains stable across orders of magnitude of weight scaling. Furthermore, the metric is computationally efficient; a batch of 1,000 images provides a stable estimate of a model's overall robustness.
Conclusion
By visualizing the decision surface in input space, this work clarifies that adversarial vulnerability is a form of local under-fitting. The proposed $\psi(x)$ metric offers a more reliable, scale-invariant, and interpretable alternative to standard adversarial accuracy, providing a clearer path for evaluating and developing truly robust neural networks.
Note: The relationship between $\psi(x)$ and adversarial accuracy is currently heuristic; formalizing this link remains a subject for future research.
Summary updated