Introduction
Continual Learning (CL) aims to enable AI models to learn a sequence of tasks without suffering from "catastrophic forgetting." However, these models are often vulnerable to adversarial attacks—small, intentional perturbations that can cause misclassification. While Adversarial Training (AT) is a standard defense in static settings, applying it to CL introduces a "twin challenge":
- Accelerated Forgetting: Adversarial examples produce significantly higher gradient norms than clean data, causing new tasks to aggressively overwrite past knowledge.
- Gradient Obfuscation: The limited memory buffer in CL leads to biased and "shattered" gradient information, hindering the search for a robust global solution.
Proposed Framework
To address these challenges, this paper introduces a modular framework designed to enhance the adversarial robustness of memory-based CL algorithms.
The framework consists of two primary components:
- Anti-Forgettable Logit Calibration (AFLC): This component performs "logit surgery" by adjusting output values based on task identity (past, present, or future). By incorporating a "Future Prior," AFLC reduces the disruptive impact of new adversarial samples on previously learned classes, maintaining a balanced classification head.
- Robustness-Aware Experience Replay (RAER): Instead of standard random or hard-sample selection, RAER employs a "robustness difficulty factor" ($k$) to populate the memory buffer. It prioritizes "adversarially safe" yet representative samples, providing a cleaner gradient signal and mitigating the gradient obfuscation problem.
Key Insights
The researchers identified that the "loudness" of adversarial signals is a primary driver of forgetting. Adversarial samples exhibit much larger gradient norms compared to clean samples, effectively "drowning out" the knowledge of previous tasks during the update process. Furthermore, they found that storing extremely "hard" samples (those near decision boundaries) can be counterproductive in CL, as the model tends to overfit to these biased gradients. RAER's focus on robustly stable samples offers a more effective path to long-term stability.
Experimental Results
The framework was evaluated on Split-CIFAR10, Split-CIFAR100, and Split-Tiny-ImageNet. It demonstrated significant improvements across various metrics and baselines.
Key findings include:
- Robustness Gains: On Split-CIFAR100, the method achieved an 8.13% increase in adversarial accuracy compared to standard CL+AT combinations.
- Stability: Forgetting of clean samples was reduced by up to 43.85% in certain configurations.
- Versatility: The approach is "plug-and-play," showing consistent gains when integrated with different CL backbones like Experience Replay (ER), DER++, and X-DER.
Conclusion and Future Work
While the proposed framework successfully balances stability and security, challenges remain. Adversarial training is computationally expensive due to the need for online attack generation. Additionally, the effectiveness of logit calibration may vary across different architectures, such as Vision Transformers. Future research could explore more complex, non-discrete task boundaries to better simulate real-world learning environments.
Summary updated