The Challenge of Catastrophic Forgetting
In continual learning (CL), models are tasked with learning a sequence of new tasks one after another. A notorious hurdle in this domain is catastrophic forgetting: as a model adapts to new data, its performance on previously learned tasks often plummets.
Historically, most research has measured this forgetting by looking at the drop in final output accuracy. However, there is a growing interest in understanding representation forgetting—the internal shift in the hidden features a model creates. Understanding these internal shifts is crucial for unsupervised continual learning, where no labels exist to measure accuracy, and for gaining a deeper "under-the-hood" view of why models fail.
Until now, there has been a lack of solid theoretical frameworks to analyze how these internal representations evolve. This paper bridges that gap, moving from empirical observations to mathematical proofs to better understand the dynamics of continual learning.
The Core Concept: Representation Discrepancy
To mathematically analyze internal shifts, the authors introduce a novel, analytically tractable metric called representation discrepancy ($D^k_t$). This metric quantifies the minimum alignment error between two representation spaces—specifically, the spaces before and after learning new tasks—under an optimal linear transformation $T$.
The core intuition is simple: if a basic linear transformation can align the old and new features, the model hasn't truly "forgotten" the underlying structure; it has merely shifted it. The authors demonstrate that this discrepancy metric serves as an effective surrogate for actual forgetting while remaining mathematically manageable.
A key pillar of their analysis relies on the assumption that weight matrices at different stages of continual learning can be aligned via linear transformations. The authors provide strong empirical evidence supporting this assumption across various architectures, including ResNets and Vision Transformers (ViTs).
Key Insights: The Dynamics of Forgetting
By applying their theoretical framework, the authors uncover several critical insights into how models forget:
1. The Two-Phase Evolution
Representation forgetting does not occur as a steady, linear decline. Instead, it follows two distinct stages:
- The Forgetting Phase: An initial period where representation discrepancy increases rapidly as new tasks are introduced.
- The Saturation Phase: A subsequent period where the discrepancy stabilizes and plateaus, meaning the representational shift stops compounding.
2. Depth Intensifies Forgetting
Forgetting occurs more rapidly and to a higher degree as you move deeper into the network (higher layer index $k$). The "asymptotic" forgetting—the level at which the model eventually stabilizes during the saturation phase—is linearly proportional to the size of the representation space. Because representation space size grows with depth, deeper layers are inherently more prone to larger representational shifts.
3. Width Acts as a Stabilizer
Conversely, increasing the network width ($m$) acts as a brake on the forgetting process. Wider models enter the saturation phase more slowly, meaning they retain previous task representations for longer periods before stabilizing.
Empirical Validation
The theoretical findings are rigorously validated using real-world image datasets, including Split-CIFAR100 (partitioned into 20 or 50 sequential tasks) and ImageNet1K (downsampled and partitioned into 50 sequential tasks).
Key experimental results include:
- Metric Validity: The proposed representation discrepancy shows a high correlation with actual forgetting (measured via linear probing), achieving $R^2$ values of 0.88 on Split-CIFAR100 and 0.74 on ImageNet1K.
- Predictable Saturation: In their experiments, both datasets reached a saturation threshold around $\Delta t = 10$ tasks, after which the representational shift plateaued, perfectly mirroring the theoretical two-phase model.
- Layer-wise Trends: The authors confirmed a strong linear relationship between the layer index and the size of the representation space, directly supporting their theory that deeper layers experience more severe forgetting.
Looking Forward
While this paper provides a robust theoretical foundation, the authors acknowledge that their analysis relies on the linear alignment of weights. Although empirically supported in their tests, this assumption may not hold universally for all possible architectures or extreme training regimes.
Importantly, this work focuses on understanding the dynamics of forgetting rather than proposing a new mitigation algorithm. However, these insights pave the way for designing "safer" continual learning algorithms. Future research could leverage these findings by applying stronger regularization specifically to deeper layers, strategically increasing network width to preserve sensitive information, or exploring non-linear transformations to capture even more complex representational shifts.
Summary updated