Abstract
Adversarial Training (AT) is a primary defense against adversarial attacks but often suffers from robust overfitting due to the use of rigid one-hot labels on perturbed data. We introduce Annealing Self-Distillation Rectification (ADR), a lightweight self-distillation technique that replaces hard labels with soft, well-calibrated targets generated by an exponential moving average (EMA) teacher model. By employing softmax annealing and dynamic interpolation, ADR prevents the model from memorizing training noise and improves generalization. Our results on CIFAR-10, CIFAR-100, and TinyImageNet-200 demonstrate that ADR achieves state-of-the-art robustness and significantly mitigates robust overfitting without the need for external pre-trained models.
Introduction
Deep learning models are notoriously fragile; small, intentional perturbations to an image (adversarial attacks) can easily fool them. Adversarial Training (AT) is the gold-standard defense, where models are trained on these "broken" images to learn resilience. However, AT has a major flaw: robust overfitting. During training, the model is forced to map a heavily distorted image to a "hard" one-hot label (e.g., 100% "Cat"). Because these distorted images often look nothing like the original class or share features with other classes, forcing 100% confidence creates a "noisy" objective. The model eventually "memorizes" these specific noisy training samples, leading to a sharp drop in performance on new, unseen adversarial attacks.
Methodology: Annealing Self-Distillation Rectification (ADR)
The authors propose ADR, a self-distillation approach that "rectifies" training labels on the fly. Instead of using static one-hot labels, the model learns from a "soft" target that reflects the underlying data distribution.
Key components include:
- The Mean Teacher: ADR maintains an Exponential Moving Average (EMA) of the model’s weights. This "teacher" provides more stable and smoother predictions than the "student" model currently being trained.
- Softmax Annealing: The teacher’s outputs are softened using a temperature parameter ($\tau$). Early in training, the temperature is high (making labels more uniform/noisy); as training progresses, it follows a cosine schedule to become more precise as the model grows more confident.
- Dynamic Interpolation: The final training target is a mix of the teacher's soft prediction and the original hard label. Crucially, a per-sample adjustment ($\lambda_i$) ensures that the teacher never accidentally makes a "wrong" class more probable than the ground truth.
- Plug-and-Play: ADR is designed to be a drop-in replacement for the label term in existing popular frameworks like PGD-AT or TRADES.
Experimental Setup
The researchers evaluated ADR on three standard computer vision benchmarks:
- CIFAR-10: 10 classes of small images.
- CIFAR-100: 100 classes, providing a more complex label space.
- TinyImageNet-200: A subset of ImageNet with 200 classes and higher resolution, used to test scalability.
Key Insights
Robustness and Calibration
A central finding is that truly robust models are "well-calibrated"—they are naturally less confident when they are likely to be wrong or when looking at out-of-distribution (OOD) data. Standard AT destroys this property by forcing overconfidence.
Consistency and Label Toxicity
A robust model should produce similar output distributions for both a clean image and its adversarial counterpart. ADR encourages this by using the teacher's stable predictions as a guide. Forcing a model to fit a one-hot label on a perturbed image is essentially data poisoning. Softening these labels allows the model to learn the "relationships" between classes, which aids generalization.
Results
ADR consistently outperformed standard adversarial training baselines across all datasets:
- CIFAR-100: On a ResNet-18 architecture, ADR improved AutoAttack accuracy from 24.95% to 26.87%.
- State-of-the-Art Performance: When combined with Adversarial Weight Perturbation (AWP), ADR achieved 28.50% on CIFAR-100, surpassing existing specialized distillation methods.
- Reduced Overfitting: ADR significantly narrowed the gap between "Best" and "Final" training accuracy, proving it effectively prevents the model from memorizing training noise.
- Efficiency: Unlike many distillation methods that require a large, pre-trained "Teacher" model, ADR is entirely self-contained and computationally efficient.
Limitations and Future Work
While ADR is highly effective, the authors note a few areas for improvement. The optimal values for the temperature ($\tau$) and interpolation ratio ($\lambda$) vary depending on the dataset, currently requiring manual tuning. On simpler datasets like CIFAR-10, the benefit of ADR saturates when combined with other smoothing techniques. Future work may involve automatically determining optimal annealing parameters during training to make the method even more robust and easier to use.
Summary updated