Abstract
Fast Adversarial Training (FAT) offers a computationally efficient alternative to Standard Adversarial Training (SAT) by utilizing one-step attacks like FGSM. However, FAT is prone to "catastrophic overfitting," where a model's robustness against multi-step attacks abruptly collapses. This paper proposes Prior-Guided FGSM Initialization (PGI), a novel approach that leverages historical adversarial information to stabilize training. By initializing attacks with priors from previous batches or epochs, PGI achieves the stability of multi-step methods without significant computational overhead. Experimental results on benchmarks like CIFAR-10 and ImageNet demonstrate that PGI variants, particularly FGSM-MEP, achieve state-of-the-art robust accuracy while remaining significantly faster than traditional methods.
Introduction: The Challenge of Catastrophic Overfitting
Deep neural networks are notoriously fragile; small, intentional perturbations (adversarial examples) can easily fool them. Standard Adversarial Training (SAT) fixes this by training the model on these difficult examples, but it is incredibly slow because it requires a multi-step "attack" (PGD) for every training image.
Fast Adversarial Training (FAT) attempts to speed this up by using a simple one-step attack (FGSM). While much faster, FAT often hits a wall called catastrophic overfitting: the model learns to "cheat" against the simple one-step attack, and its robustness against stronger, multi-step attacks suddenly drops to zero. As shown in the figure below, standard methods like FGSM-RS eventually fail, whereas the proposed FGSM-MEP maintains high robust accuracy throughout the training process.
Methods: Prior-Guided FGSM Initialization (PGI)
The authors discovered that as FAT progresses, the "quality" of the adversarial examples it generates gets worse—they become too easy for the model to solve. To fix this, they propose initializing the one-step FGSM attack with "priors" from previous training steps rather than starting from zero or random noise. They explore three strategies for this initialization:
- FGSM-BP (Previous Batch): Uses the perturbations calculated in the immediately preceding batch.
- FGSM-EP (Previous Epoch): Uses the perturbation calculated for that specific image in the previous training epoch.
- FGSM-MEP (Momentum of All Previous Epochs): The most advanced version, which maintains a running "momentum" of gradients for each image across all previous epochs.
Additionally, they introduce a Regularizer that forces the model to produce similar predictions for both the "prior" adversarial example and the newly generated one, effectively smoothing the model's decision boundaries.
Key Results and Efficiency
The researchers evaluated their method on standard computer vision benchmarks including CIFAR-10, CIFAR-100, Tiny ImageNet, and ImageNet using popular architectures like ResNet18 and WideResNet34-10.
As illustrated in the figure below, the PGI methods (FGSM-BP, EP, and MEP) occupy the optimal region of the trade-off curve, providing high robust accuracy with minimal training time. On CIFAR-10, FGSM-MEP achieved a PGD-10 robust accuracy of 55.18%, outperforming the standard PGD-AT (53.76%) while being significantly faster.
Key Insights:
- The ASR Connection: There is a direct correlation between the Attack Success Rate (ASR) of training examples and overfitting. When the ASR drops sharply, catastrophic overfitting is imminent.
- Historical Data is "Free" Information: Instead of performing multiple gradient steps (which is expensive), PGI "recycles" gradients from previous epochs. This provides a starting point that is already "adversarial," making the one-step FGSM attack much more potent.
- Stability: Unlike standard FGSM-RS, which eventually overfits if training continues, the PGI methods remained stable throughout the entire training duration.
Conclusion and Future Work
PGI provides a robust and efficient framework for adversarial training by turning a 1-step attack into a "1.5-step" attack through historical data. While the EP and MEP variants require storing perturbations or momentum buffers for the entire dataset (adding memory overhead for large-scale data like ImageNet), the gains in stability and accuracy are substantial. The authors suggest that this "prior-guided" philosophy could be applied to other areas of robust optimization beyond image classification, such as object detection or NLP.
Summary updated