Introduction
Deep learning models are notoriously vulnerable to adversarial attacks—small, imperceptible perturbations that can lead to incorrect classifications. While Adversarial Training (AT) is the standard defense in static settings, it encounters significant hurdles in Class Incremental Continual Learning (CICL). In CICL, models learn new tasks sequentially, often leading to a massive class imbalance between current data and a limited memory of past tasks.
The Challenge: Attack Overwhelming
The researchers identify a phenomenon called "attack overwhelming." In the imbalanced environment of CICL, the majority class (the current task) generates a disproportionate number of adversarial examples. When the model uses its own gradients to generate these attacks, they aggressively encroach upon the decision regions of minority classes (previous tasks). This results in "Boundary Distortion," where the model's memory of old classes is effectively erased, leading to a sharp decline in clean accuracy and negligible gains in robustness.
Methodology: External Adversarial Training (EAT)
To mitigate this, the authors propose External Adversarial Training (EAT). The core innovation is decoupling adversarial example generation from the biased target model.
- Auxiliary Model: For each new task, a temporary "External Model" is initialized with the same architecture as the main model.
- Balanced Generation: This model is trained exclusively on the current task's data using standard AT. Since it lacks knowledge of previous tasks, it is not influenced by the global class imbalance.
- Transfer Training: The main "Target Model" is then trained using clean data from the current task, adversarial examples generated by the external model, and clean replayed data from the memory buffer.
By using an external source for adversarial perturbations, the training process avoids the self-reinforcing bias that leads to boundary collapse.
Visualizing Boundary Distortion
The impact of imbalance on adversarial training is most clearly seen in toy 2D classification problems.
As shown in the visualizations, standard AT in an imbalanced setting "squashes" the minority class regions. EAT aims to maintain the integrity of these boundaries by ensuring adversarial pressure is localized to the features of the current task rather than exploiting the model's existing biases against past tasks.
Key Results and Performance
EAT was evaluated on Split CIFAR-10 and Split Tiny-ImageNet benchmarks. It consistently outperformed naive AT across various continual learning frameworks:
- Accuracy Recovery: On Split CIFAR-10, EAT improved the clean accuracy of the Experience Replay (ER) method from 61.5% to 62.8%, whereas standard AT caused a drop to 58.2%.
- Robustness Gains: EAT achieved a robustness score of 23.4%, significantly higher than the 16.7% achieved by standard AT.
- Versatility: The method acts as a "plug-and-play" strategy, enhancing existing algorithms like DER and DER++.
Conclusion
External Adversarial Training addresses the fundamental conflict between security and stability in continual learning. By isolating the generation of adversarial examples, EAT prevents the "attack overwhelming" that typically degrades performance in imbalanced settings. While it introduces some computational overhead, its ability to simultaneously improve clean accuracy and adversarial robustness marks a significant step forward for secure, lifelong machine learning systems.
Summary updated