TL;DR
This paper explores the hidden relationship between data memorization and catastrophic forgetting in Continual Learning (CL). The authors discover that highly memorized, atypical samples are the most vulnerable to being forgotten, but they become essential for peak performance as the model's memory buffer grows. To exploit this, they introduce a lightweight, training-iteration-based proxy for memorization that successfully optimizes experience replay strategies.
What Problem Does This Paper Address?
Deep learning models possess an incredible capacity to memorize data, which is often vital for correctly classifying "long-tail" or atypical examples. However, in Continual Learning (CL)—where a model must learn from a continuous stream of changing tasks—networks suffer from catastrophic forgetting, completely erasing past knowledge as they adapt to new data distributions.
While preventing forgetting and encouraging memorization sound like two sides of the same coin, their exact interplay has remained poorly understood. Prior studies on memorization focused almost entirely on static datasets, ignoring how data non-stationarity impacts what a network remembers. This paper addresses this gap by investigating how memorization scores affect incremental training and how we can use these dynamics to build smarter experience replay buffers.
Methods
To study memorization without the massive computational overhead of standard techniques (like Feldman's leave-k-out estimator, which requires training hundreds of networks), the authors introduce a computationally efficient Memorization Score Proxy.
This proxy tracks the exact training iteration where a model first correctly classifies a sample and stably maintains that correct prediction until the end of training. The intuition is simple: standard, prototypical patterns are learned early in training (low proxy score), while atypical, noisy, or long-tail samples require rote memorization later in training (high proxy score).
The authors then integrate this proxy into a Memorization-aware Experience Replay framework. When updating the episodic memory buffer, they test three distinct selection policies:
- Bottom-k: Storing the easiest, most typical samples.
- Mid-k: Storing samples with average difficulty.
- Top-k: Storing the highly memorized, hard samples.
Datasets
The authors evaluated their approaches using standard class-incremental benchmarks derived by splitting popular image datasets into disjoint tasks:
- Split-CIFAR-10: Divided into 5 sequential tasks.
- Split-CIFAR-100: Divided into 10 sequential tasks.
- Split-TinyImageNet: Divided into 20 sequential tasks.
Key Insights and Ideas
- More Classes Drive Memorization: Counterintuitively, increasing the number of classes in a dataset increases the proportion of memorized samples much more than simply reducing the total number of training examples. A fixed-capacity network forced to distinguish between many classes must rely more heavily on memorizing specific features.
- Memorized Samples are Fragile: Examples with high memorization scores are highly susceptible to catastrophic forgetting. Once the data distribution shifts to a new task, the accuracy on these specific past samples plummets faster than on typical samples.
- Buffer Size Dictates Replay Strategy: The optimal buffer policy depends entirely on memory constraints. In low-memory regimes, it is best to preserve typical, easy-to-learn samples (
bottom-k). However, as the buffer capacity expands, keeping highly memorized, long-tail samples becomes crucial to closing the performance gap toward the upper bound.
Key Results
- Proxy Validity: The proposed training-iteration proxy correlates strongly with the true Feldman estimator, achieving a Pearson correlation of 0.808 and a Spearman correlation of 0.827, validating it as a low-cost substitute.
- Low-Memory Superiority: On the Split-CIFAR-100 benchmark with a standard buffer size of 500, the
bottom-kpolicy achieved an accuracy of 25.88%, significantly outperforming standard reservoir sampling (22.07%). - Large-Buffer Scaling: As shown in the buffer scaling experiments, when the buffer size is increased to 20,000 samples on Seq-CIFAR-100, incorporating a fraction of highly memorized samples (
+10% top-k) consistently improves performance, helping the model approach the full-memory baseline.
Limitations and Future Work
A primary limitation acknowledged by the authors is that their experiments track incremental performance using memorization scores computed offline from stationary training. Determining exactly what a model memorizes on the fly during fluid, incremental training remains an open challenge.
Additionally, memorization dynamics are highly sensitive to network architecture (depth vs. width) and regularization techniques like data augmentation. The authors suggest that future work should focus on localizing the specific layers or neurons responsible for memorization, allowing researchers to design targeted architectural constraints that protect these fragile, long-tail representations from being overwritten.
Summary updated