Introduction
Adversarial defenses in machine learning often struggle when confronted with novel, unforeseen attack types. While a model might be robust against a specific threat it was trained on (e.g., $\ell_p$ perturbations), it remains vulnerable to creative new techniques like spatial transformations or color shifts. Simply "patching" a deployed model by fine-tuning it on a new attack often leads to catastrophic forgetting, where the model gains robustness to the new threat but loses its previous defenses. This paper introduces Regularized Continual Robust Training (RCRT) to address the challenge of Continual Adaptive Robustness (CAR), enabling models to adapt to evolving threats without sacrificing existing security.
The RCRT Framework
The core of the proposed method is a theoretical insight: the robustness gap between two different attacks is bounded by the distance between clean and perturbed samples in the model's logit space. To leverage this, the authors introduce Adversarial $\ell_2$ Regularization (ALR), which penalizes the Euclidean distance between the logits of a clean image and its adversarially perturbed counterpart.
The RCRT process follows a two-stage approach:
- Initial Training: The model is trained on an initial known attack using ALR. This creates a "robust starting point" that facilitates future adaptation.
- Iterative Fine-tuning: As new attacks emerge, the model is fine-tuned using a combination of the new attack's classification loss and the ALR term to maintain stability and prevent forgetting.
The authors also explore more efficient approximations using Gaussian or Uniform noise for regularization during the initial training phase, though they find that full adversarial regularization is necessary during the fine-tuning stage for optimal adaptation.
Experimental Evaluation
The researchers evaluated RCRT across CIFAR-10, CIFAR-100, and ImageNette datasets. They tested against a suite of over 100 attack combinations, including standard $\ell_p$ attacks, spatial transformations (StAdv), and color-based attacks (ReColor).
Key Results and Insights
The experiments yielded several critical findings:
- Mitigating Catastrophic Forgetting: On CIFAR-10, fine-tuning an $\ell_2$-robust model for spatial attacks (StAdv) without regularization caused $\ell_2$ accuracy to drop by 24.25%. ALR mitigated this drop to just 7.62%.
- The "Good Student" Effect: Using regularization during the initial training phase significantly improves the model's ability to learn new attacks later, creating a smoother optimization landscape for adaptation.
- Superior Generalization: RCRT models showed higher robustness to "unseen" attacks compared to standard adversarial training baselines.
- Efficiency: RCRT is approximately 2x faster than retraining from scratch on the full set of known attacks while maintaining comparable or superior "Union Accuracy" (robustness against all threats simultaneously).
Conclusion and Future Work
RCRT provides a robust and efficient framework for maintaining model security in dynamic environments. However, the authors note that gains on more complex datasets like CIFAR-100 were more modest, suggesting a need for higher-capacity models. Future work will also focus on defining "representative" initial attacks and expanding the theoretical framework to characterize convergence rates over long sequences of attacks.
Summary updated