Introduction
Continual Learning (CL) aims to enable artificial intelligence models to learn a sequence of tasks without suffering from "catastrophic forgetting"—the tendency of neural networks to lose previously acquired knowledge when trained on new data. Traditionally, CL research focuses on the trade-off between plasticity (learning new information) and stability (retaining old information). However, this paper introduces a critical third pillar: robustness.
The authors identify that outlier samples and noisy data generate abnormal gradients during training. These gradients act as disruptive forces, shifting model weights so significantly that they overwrite the parameters essential for previous tasks. Current CL methods often lack the necessary robustness to withstand these perturbations, leading to accelerated forgetting.
Robust Continual Learning (RCL)
To address these challenges, the authors propose Robust Continual Learning (RCL). This framework enhances model resilience by simultaneously optimizing for data-aware and parameter-aware robustness.
Data-aware Robustness
RCL manages the feature space by mapping features onto a unit hypersphere. Using uniformity and alignment losses, the model ensures that features from the same class are tightly clustered while different classes are spread evenly. This structured feature distribution prevents "class collapse" and reduces the likelihood that an outlier will cause the model to drift into the territory of a previous task. Additionally, a "worst-case" Mixup strategy is employed to train the model against difficult data perturbations.
Parameter-aware Robustness
The framework also focuses on the model's loss landscape. A sharp loss surface is highly sensitive to weight shifts; even a small change in parameters can lead to a massive increase in error for previous tasks. RCL explicitly optimizes for a flat loss surface by:
- Adding random perturbations to parameters during initialization to locate flatter regions.
- Applying worst-case weight perturbations during training to ensure the "valley" of the loss function remains wide and stable.
Finally, these robust gradients are integrated with Gradient Projection Memory (GPM), ensuring that updates are projected into a "safe" subspace that does not interfere with prior knowledge.
Key Insights and Empirical Evidence
A central finding of this work is the mathematical and visual link between loss surface flatness and stability. As shown in Figure 6(a), for a given weight update $\Delta W$, a flatter loss curve (blue) results in a significantly smaller increase in loss ($\Delta L_2$) compared to a sharper curve (red, $\Delta L_1$).
Empirically, Figure 6(b) demonstrates that RCL (red stars) achieves the best balance, occupying the bottom-left corner of the plot with the lowest robust test loss and the highest degree of flatness compared to state-of-the-art baselines like EWC, GEM, and GPM.
Experimental Results
RCL was evaluated on standard benchmarks including Split CIFAR-100, 5-Datasets, and MiniImageNet.
- Superior Accuracy: On MiniImageNet (20 tasks), RCL achieved 71.34% accuracy, surpassing the previous state-of-the-art of 69.88%.
- Positive Backward Transfer: Remarkably, RCL exhibited a positive backward transfer of 1.53% on MiniImageNet, meaning that learning new tasks actually improved performance on older ones—a rare feat in CL where most methods suffer from negative transfer.
- Adversarial Resilience: Under FGSM noise attacks, RCL maintained 58.59% accuracy on MiniImageNet, while the baseline GPM dropped to 25.78%, highlighting the effectiveness of the robustness-seeking mechanisms.
Conclusion
RCL demonstrates that robustness is not merely a security feature but a fundamental requirement for stable continual learning. By addressing both feature distribution and loss landscape flatness, RCL provides a powerful framework for mitigating catastrophic forgetting. Future work will focus on adapting these mechanisms for high-speed, online continual learning environments.
Summary updated