Abstract
Adversarial training (AT) is a critical defense mechanism for deep neural networks, yet it suffers from a significant efficiency-stability trade-off. While single-step methods like FGSM offer high speed, they are plagued by "catastrophic overfitting" (CO), where robust accuracy abruptly collapses. This paper introduces Subspace Adversarial Training (Sub-AT), a novel approach that restricts model updates to a low-dimensional subspace identified through singular value decomposition of training trajectories. Sub-AT effectively prevents the gradient explosions associated with CO, achieving robustness comparable to multi-step PGD methods at a fraction of the computational cost and demonstrating remarkable stability across varying learning rates.
Introduction: The Challenge of Catastrophic Overfitting
Deep neural networks are highly susceptible to adversarial attacks—small, calculated perturbations that lead to misclassification. Adversarial Training (AT) mitigates this by incorporating these difficult examples into the training process. However, practitioners face a dilemma: multi-step AT (e.g., PGD) is robust but computationally expensive, while single-step AT (e.g., FGSM) is fast but prone to Catastrophic Overfitting (CO).
As shown in the figure above, CO is an optimization failure where the model's robust accuracy against strong attacks suddenly drops to zero within a single epoch. The researchers identified a "smoking gun" for this phenomenon: a massive explosion in the average gradient norm of individual training samples, suggesting the model begins to overfit to high-frequency noise in the loss landscape.
Methods: Subspace Adversarial Training (Sub-AT)
To address the root cause of CO, the authors propose Subspace Adversarial Training (Sub-AT). This method constrains the model's optimization path to a "healthy" low-dimensional subspace, preventing it from wandering into the unstable regions of the parameter space that cause gradient spikes. The process involves two distinct phases:
- Subspace Extraction: A short initial training period is conducted to collect model checkpoints. A Data-driven Low-dimensional Representation (DLDR) algorithm then applies Singular Value Decomposition (SVD) to these checkpoints to identify a low-dimensional subspace (often as few as 80 dimensions) that captures the essential training trajectory.
- Subspace Training: Training is restarted with weight updates strictly projected onto this identified subspace. This constraint acts as a natural regularizer, implicitly preventing the gradient explosion that leads to overfitting.
Key Results and Stability
Sub-AT demonstrates superior performance and stability compared to standard single-step and multi-step AT methods. On the CIFAR-10 benchmark, Sub-AT achieved over 51% robust accuracy against PGD-50 attacks, matching the performance of standard multi-step PGD-10 training while being approximately seven times faster.
Beyond raw performance, Sub-AT exhibits "learning rate immunity." While standard AT requires meticulous learning rate scheduling to avoid collapse, Sub-AT remains stable even with very large, constant learning rates (e.g., 1.0). Furthermore, the subspace constraint also mitigates "robust overfitting" in multi-step AT, suggesting a unified solution to multiple forms of training instability.
Conclusion
Subspace Adversarial Training provides a robust and efficient alternative to traditional adversarial training methods. By restricting optimization to a low-dimensional subspace, it effectively "cures" catastrophic overfitting without the need for complex regularization terms or expensive multi-step gradient calculations. Future work may explore adaptive subspace selection to further streamline the two-phase training process and extend these stability benefits to other domains of deep learning.
Summary updated