Understanding Catastrophic Overfitting in Single-step Adversarial Training

Hoki Kim, Woojin Lee, Jaewook Lee

Introduction

Deep learning models are notoriously vulnerable to adversarial examples—inputs modified by tiny, human-imperceptible perturbations designed to fool a classifier. To defend against these threats, researchers employ adversarial training (AT), which involves augmenting the training set with malicious examples. While the gold standard for AT is Projected Gradient Descent (PGD)—a multi-step attack—it is computationally expensive. Single-step methods like the Fast Gradient Sign Method (FGSM) are significantly faster but often suffer from "catastrophic overfitting" (CO). During CO, a model suddenly becomes perfectly robust against single-step attacks while losing all defense against multi-step ones.

The Phenomenon of Catastrophic Overfitting

Catastrophic overfitting is characterized by a sudden and dramatic drop in PGD robustness, even as FGSM robustness continues to improve. This research identifies a critical warning sign: as CO approaches, the $L_2$ norm of the input gradients increases significantly (up to 35x), indicating that the loss surface is becoming dangerously non-linear and jagged.

Empirical evidence of catastrophic overfitting: as PGD accuracy collapses, the gradient norm spikes, indicating a highly non-linear loss surface.

Decision Boundary Distortion

The core contribution of this paper is identifying the geometric cause of CO: "decision boundary distortion." The model essentially finds a loophole in the single-step training objective. It learns to correctly classify images at the exact maximum perturbation distance ($\epsilon$), but remains vulnerable at smaller distances ($k \cdot \epsilon$). This creates a distorted interval where the loss surface curves sharply, "overshooting" the single-step gradient and leading the trainer to believe the model is robust when it is actually full of adversarial "potholes."

Conceptual visualization of decision boundary distortion. The model learns to defend the boundary at the cost of vulnerability within the perturbation ball.

Stable Single-step Adversarial Training

To address this, the authors propose an adaptive search for the "strongest" perturbation magnitude for each image. Instead of always training at the maximum distance $\epsilon$, the algorithm:

  1. Calculates the adversarial direction via the gradient.
  2. Checks multiple "checkpoints" along that direction (e.g., $1/3\epsilon, 2/3\epsilon, \epsilon$).
  3. Selects the smallest perturbation that successfully causes a misclassification.
  4. Trains the model on that specific example.

This approach forces the model to smooth out the decision boundary throughout the entire $\epsilon$-ball, rather than just at the edges, effectively preventing the distortion that leads to CO.

Experimental Results

The proposed method was evaluated on CIFAR-10 and Tiny ImageNet, demonstrating that it can scale to complex datasets while maintaining efficiency.

  • Robustness: On CIFAR-10, the method achieved 33.9% PGD50 robustness, whereas standard FGSM training collapsed to 0.1%.
  • Efficiency: Training took roughly 3.9 hours, compared to 11.1 hours for PGD7 and 15.1 hours for TRADES, while providing comparable protection.
  • Stability: The method successfully maintained "zero distortion" in the decision boundary throughout the entire training process, curing catastrophic overfitting without the overhead of multi-step attacks.

Conclusion

By shifting the focus from the direction of the adversarial gradient to its magnitude, this paper provides a new perspective on the stability of adversarial training. The proposed adaptive magnitude approach offers a path toward fast, robust models that are resilient to the pitfalls of catastrophic overfitting.

Summary updated

BibTeX
@inproceedings{kim2021understanding,
  author = {Hoki Kim and Woojin Lee and Jaewook Lee},
  title = {{Understanding Catastrophic Overfitting in Single-step Adversarial Training}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i9.16989},
}
Figure