Abstract
This paper revisits the robust overfitting phenomenon of adversarial training. Observing that models with better robust generalization performance are less certain in predicting adversarially generated training inputs, we argue that overconfidence in predicting adversarial examples is a potential cause. Therefore, we propose a formal definition of adversarial certainty that captures the variance of the model's predicted logits on adversarial examples and hypothesize that generating adversarial examples after the optimization of decreasing adversarial certainty improves robust generalization. Our theoretical analysis of synthetic distributions characterizes the connection between adversarial certainty and robust generalization. Accordingly, built upon the notion of adversarial certainty, we develop a general method to search for models that can generate training-time adversarial inputs with reduced certainty, while maintaining the model's capability in distinguishing adversarial examples. Extensive experiments on image benchmarks demonstrate that our method effectively learns models with consistently improved robustness and mitigates robust overfitting, confirming the importance of generating less certain adversarial examples for robust generalization.
Introduction
Deep Neural Networks (DNNs) are notoriously fragile when faced with adversarial examples—inputs intentionally perturbed with imperceptible noise to trigger incorrect predictions. To counter this, researchers use Adversarial Training (AT), where models are trained on these attacked images. However, AT often suffers from "robust overfitting," where a model becomes a fortress against training-time attacks but remains vulnerable to new, unseen attacks in the real world. Unlike standard training, robust performance often peaks and then sharply declines as training continues. This paper identifies overconfidence as a primary culprit and introduces Adversarial Certainty (AC) to measure and mitigate this phenomenon.
Adversarial Certainty and the DAC Method
Adversarial Certainty is defined as the variance of the model’s predicted logits on adversarial examples. High variance indicates that the model is "certain" (one logit is significantly higher than others), while low variance indicates uncertainty. The authors hypothesize that overfitted models become too certain about their predictions on training-time adversarial examples, preventing them from learning a truly robust decision boundary.
To address this, the authors propose DAC (Decrease Adversarial Certainty), a novel optimization strategy. Instead of a single training step, DAC uses a two-step process: first, it finds a direction in the model's weight space that decreases its certainty on adversarial examples; second, it performs a standard adversarial training update from this "less certain" starting point. A more efficient variant, DAC_Reg, adds the AC metric directly into the loss function as a regularizer.
Experimental Results
The researchers evaluated their method on standard computer vision benchmarks, including CIFAR-10, CIFAR-100, and SVHN, using architectures like PreActResNet-18 and WideResNet-34. The results consistently show that "less certain" models are more robust:
- AutoAttack Performance: On CIFAR-10, adding DAC to standard AT improved final robustness from 39.66% to 42.78%.
- Mitigating Overfitting: DAC significantly narrowed the gap between the "Best" model (peak performance) and the "Last" model (end of training), leading to more stable training cycles.
- Compatibility: DAC is a "plug-and-play" method that improves existing state-of-the-art techniques like TRADES and MART.
Analysis of Overconfidence
Visualizing heatmaps of label predictions provides a "smoking gun" for the overconfidence theory. As shown in the confusion matrices below, overfitted models are hyper-focused on the ground truth label for training adversarial inputs. In contrast, models with better generalization show more uncertainty and a wider spread in their predictions.
Interestingly, the authors found that existing robustness-boosting techniques like Adversarial Weight Perturbation (AWP) implicitly decrease adversarial certainty. By making this goal explicit, DAC provides an additive benefit to these methods.
Limitations and Future Work
While effective, DAC requires a "warm-up" period; applying it only after overfitting has begun yields smaller gains. Additionally, the original two-step DAC is roughly 1.8x slower than standard AT, though DAC_Reg mitigates this overhead. Future work will explore applying these concepts to discrete input spaces like Natural Language Processing (NLP), where gradient-based certainty reduction is more complex to implement.
Summary updated