Abstract
Catastrophic forgetting remains a severe hindrance to the broad application of artificial neural networks (ANNs), however, it continues to be a poorly understood phenomenon. Despite the extensive amount of work on catastrophic forgetting, we argue that it is still unclear how exactly the phenomenon should be quantified, and, moreover, to what degree all of the choices we make when designing learning systems affect the amount of catastrophic forgetting. We use various testbeds from the reinforcement learning and supervised learning literature to (1) provide evidence that the choice of which modern gradient-based optimization algorithm is used to train an ANN has a significant impact on the amount of catastrophic forgetting and show that—surprisingly—in many instances classical algorithms such as vanilla SGD experience less catastrophic forgetting than the more modern algorithms such as Adam. We empirically compare four different existing metrics for quantifying catastrophic forgetting and (2) show that the degree to which the learning systems experience catastrophic forgetting is sufficiently sensitive to the metric used that a change from one principled metric to another is enough to change the conclusions of a study dramatically. Our results suggest that a much more rigorous experimental methodology is required when looking at catastrophic forgetting. Based on our results, we recommend inter-task forgetting in supervised learning must be measured with both retention and relearning metrics concurrently, and intra-task forgetting in reinforcement learning must—at the very least—be measured with pairwise interference.
Introduction
Artificial Neural Networks (ANNs) are notorious for catastrophic forgetting: the tendency to abruptly lose information about previously learned tasks when trained on new ones. This phenomenon represents a significant barrier to the development of continual learning systems. While many complex mitigation strategies have been proposed, the impact of fundamental design choices—specifically the choice of optimizer—remains under-explored. Furthermore, the field lacks a consensus on how to reliably measure forgetting, leading to what the authors describe as a "measurement crisis."
Experimental Methodology
The study evaluates four prominent gradient-based optimizers: Vanilla SGD, SGD with Momentum, RMSProp, and Adam. These were tested across four distinct environments:
- Supervised Learning: MNIST and Fashion MNIST, where tasks were split into sequential phases.
- Reinforcement Learning: Mountain Car and Acrobot, focusing on "intra-task" forgetting within a single environment's state space.
To provide a comprehensive view of forgetting, the researchers employed four distinct metrics: Retention (accuracy on an old task), Relearning (speed of re-acquiring a task), Activation Overlap (representational similarity), and Pairwise Interference (how new updates affect old samples).
The Reliability of Forgetting Metrics
A central finding of this research is the extreme sensitivity of results to the chosen metric. An algorithm that appears to mitigate forgetting under one metric may perform poorly under another. For example, in the MNIST experiments, RMSProp demonstrated the highest retention of old knowledge but was significantly outperformed by SGD in terms of relearning speed.
This discrepancy suggests that many existing studies in continual learning, which often rely on a single metric, may be drawing incomplete or even contradictory conclusions. The authors argue that a rigorous methodology must include both retention and relearning metrics to capture the full scope of the phenomenon.
The Impact of Optimizer Choice
The choice of optimizer is not merely a matter of convergence speed; it fundamentally alters the network's susceptibility to forgetting. Surprisingly, the industry-standard Adam optimizer was frequently the worst offender, experiencing significantly more forgetting than vanilla SGD.
This vulnerability is linked to how these optimizers shape internal representations. Adaptive methods like Adam and RMSProp tend to produce higher activation overlap and pairwise interference. As shown in the phase-based analysis, these methods struggle to maintain distinct representations, leading to greater interference between tasks.
Vanilla SGD, often used as a baseline, proved to be remarkably robust. Its simpler update rule appears to naturally resist the representational collapse that plagues more complex adaptive methods in sequential learning scenarios. Across various tests, SGD consistently ranked among the top performers at avoiding forgetting, while Adam was frequently in the bottom tier.
Conclusion and Recommendations
This study highlights the need for greater experimental rigor in the study of catastrophic forgetting. The choice of optimizer is a critical hyperparameter that can overshadow the effects of specialized continual learning algorithms. The authors recommend that supervised learning studies report both retention and relearning metrics concurrently, while reinforcement learning studies should utilize pairwise interference to quantify intra-task forgetting. Researchers should be wary of the "Adam penalty" and consider vanilla SGD as a strong, forgetting-resistant baseline for continual learning tasks.
Summary updated