Exploring Misclassifications of Robust Neural Networks to Enhance Adversarial Attacks

Leo Schwinn, René Raab, An Nguyen, Dario Zanca, Bjoern M. Eskofier

Abstract

Adversarial robustness evaluation is a critical component of developing secure Deep Neural Networks (DNNs). However, current evaluation methods often fail to find the true "worst-case" vulnerabilities due to numerical artifacts like gradient obfuscation and extreme logit values. This paper introduces Jitter, a novel loss function designed to overcome these hurdles by enforcing scale invariance, injecting logit noise, and encouraging diverse misclassifications. Evaluated across 19 state-of-the-art robust models, Jitter consistently improves attack success rates while producing significantly smaller perturbations.

Introduction

Deep Neural Networks (DNNs) are highly susceptible to adversarial examples—carefully crafted inputs that induce incorrect predictions. While numerous defense strategies have been proposed, their effectiveness is often overestimated due to "gradient obfuscation," where the gradients used by optimization-based attacks become uninformative. Standard loss functions, such as Cross-Entropy (CE) or Carlini & Wagner (CW), are particularly vulnerable to models that produce extreme logit values or exhibit high confidence, effectively masking their underlying weaknesses. To provide a more rigorous security assessment, we need an attack objective that is invariant to these numerical artifacts.

Methodology: The Jitter Loss Function

The proposed Jitter attack addresses the limitations of standard objectives through several technical innovations:

  1. Scale Invariance via Normalization: Instead of operating on raw logits, Jitter normalizes the output vector. This prevents the "vanishing gradient" problem common in models that use large output scales to hide vulnerabilities.
  2. Diversity of Misclassifications: Untargeted attacks often collapse into a few "easy" target classes. Jitter replaces Cross-Entropy with a Euclidean distance ($L_2$) metric between the rescaled softmax output and the ground truth, encouraging the optimization to explore a broader range of potential misclassifications.
  3. Logit Jittering: By injecting Gaussian noise into the logits at each iteration, Jitter helps the optimizer escape local minima and explore diverse gradient directions. This stochasticity makes the attack significantly more difficult to defend against.
  4. Perturbation Minimization: The objective function includes a mechanism to minimize the $L_p$ norm of the perturbation once a successful misclassification is achieved, ensuring high visual fidelity.

Analysis of Misclassification Patterns

A key insight of this work is the "Target Class Bottleneck." Standard untargeted attacks tend to push images toward semantically similar classes (e.g., "car" to "truck"). Jitter breaks this pattern by forcing the attack to find more diverse ways to fail, as illustrated in the distribution of adversarial predictions.

Figure 5: Confusion matrix showing the distribution of misclassifications for adversarial examples, highlighting how attacks often target specific classes.

Furthermore, the "Geometry of Robustness" was explored using Geometric Gradient Analysis (GGA). Robust models exhibit fundamentally different saliency map geometries compared to non-robust ones, suggesting that robustness training alters the model's feature extraction process at a deep level.

Figure 1: Visualization of original images and their corresponding saliency maps, demonstrating the geometric differences in how robust models process features.

Experimental Results

The effectiveness of Jitter was evaluated using the CIFAR10 dataset against 19 state-of-the-art robust models from the "RobustBench" library. The Jitter attack demonstrated superior performance across all metrics:

  • Universal Success: Jitter improved attack success rates for all 19 models tested compared to standard loss functions.
  • Significant Robustness Drops: In the most dramatic case, a model's perceived accuracy dropped from 52.34% under standard attacks to just 7.54% when attacked with Jitter.
  • Smaller, Deadlier Perturbations: Jitter-based attacks produced perturbations that were, on average, 2.85 times smaller than those from Cross-Entropy attacks. This means the attacks are both more successful and harder for humans to detect.

Conclusion and Future Work

Jitter provides a more reliable benchmark for evaluating adversarial robustness by bypassing common numerical defenses. While the current implementation requires some manual tuning of the noise magnitude, future research will focus on automated, sample-wise noise adjustment. Expanding the Jitter framework to other threat models beyond $L_\infty$ remains a promising direction for enhancing the security assessment of deep learning systems.

Summary updated

BibTeX
@article{schwinn2023exploring,
  author = {Leo Schwinn and René Raab and An Nguyen and Dario Zanca and Bjoern M. Eskofier},
  title = {{Exploring Misclassifications of Robust Neural Networks to Enhance Adversarial Attacks}},
  journal = {Applied Intelligence},
  year = {2023},
  doi = {10.1007/s10489-023-04532-5},
}
Figure