[Paper Review] The Effectiveness of Memory Replay in Large Scale Continual Learning
This paper proposes Compressed Activation Replay (CAR), a memory-efficient method that enhances vanilla experience replay in large-scale continual learning by replaying compressed intermediate-layer activations to mitigate feature distribution drift. CAR achieves state-of-the-art performance on the Taskonomy benchmark and Split-CIFAR/miniImageNet with minimal memory overhead, outperforming existing replay-based methods by significantly reducing forgetting and improving generalization.
We study continual learning in the large scale setting where tasks in the input sequence are not limited to classification, and the outputs can be of high dimension. Among multiple state-of-the-art methods, we found vanilla experience replay (ER) still very competitive in terms of both performance and scalability, despite its simplicity. However, a degraded performance is observed for ER with small memory. A further visualization of the feature space reveals that the intermediate representation undergoes a distributional drift. While existing methods usually replay only the input-output pairs, we hypothesize that their regularization effect is inadequate for complex deep models and diverse tasks with small replay buffer size. Following this observation, we propose to replay the activation of the intermediate layers in addition to the input-output pairs. Considering that saving raw activation maps can dramatically increase memory and compute cost, we propose the Compressed Activation Replay technique, where compressed representations of layer activation are saved to the replay buffer. We show that this approach can achieve superior regularization effect while adding negligible memory overhead to replay method. Experiments on both the large-scale Taskonomy benchmark with a diverse set of tasks and standard common datasets (Split-CIFAR and Split-miniImageNet) demonstrate the effectiveness of the proposed method.
Motivation & Objective
- To evaluate the effectiveness of memory replay in large-scale continual learning with diverse, high-dimensional tasks beyond standard classification.
- To investigate why vanilla experience replay underperforms with small memory buffers despite its strong performance in large-scale settings.
- To address the observed distributional drift in intermediate feature representations during continual learning.
- To develop a scalable, memory-efficient method that improves regularization by replaying compressed activation maps.
- To demonstrate state-of-the-art performance on large-scale benchmarks like Taskonomy and standard datasets such as Split-CIFAR and Split-miniImageNet.
Proposed method
- Proposes Compressed Activation Replay (CAR), which stores and replays compressed representations of intermediate layer activations alongside input-output pairs in the replay buffer.
- Uses average pooling across spatial and channel dimensions to compress activation maps, minimizing memory and compute overhead.
- Introduces an activation matching loss during training that aligns the compressed features of current and replayed samples to stabilize representation learning.
- Employs a multi-loss optimization objective combining task loss, replay loss on input-output pairs, and activation matching loss on compressed features.
- Applies compression techniques such as spatial, channel, and spatial+channel pooling to evaluate trade-offs between performance and memory cost.
- Uses standard metrics like accuracy (↑) and forgetting rate (↓), with new evaluation protocols tailored for diverse, high-dimensional tasks.
Experimental results
Research questions
- RQ1How do existing continual learning methods, particularly experience replay, perform in large-scale, diverse-task settings beyond standard classification?
- RQ2Why does vanilla experience replay degrade in performance when memory capacity is limited, despite its strong scalability and simplicity?
- RQ3To what extent does distributional drift in intermediate feature representations contribute to catastrophic forgetting in deep models?
- RQ4Can replaying compressed intermediate activations significantly improve generalization and reduce forgetting in continual learning?
- RQ5What compression strategy offers the best trade-off between performance, memory cost, and computational efficiency in activation replay?
Key findings
- Vanilla experience replay outperforms multiple state-of-the-art methods on the large-scale Taskonomy benchmark, demonstrating its strong baseline performance in diverse, high-dimensional tasks.
- With small memory buffers, vanilla experience replay suffers from significant performance degradation due to distributional drift in intermediate feature representations, as visualized via t-SNE.
- Compressed Activation Replay (CAR) achieves state-of-the-art results on Taskonomy, improving final accuracy by up to 6.1% and reducing forgetting by 40% compared to vanilla replay.
- On Split-CIFAR with m=85, CAR achieves 62.4% accuracy and 0.06 forgetting rate, outperforming HAL (60.4% and 0.10) and ER (56.2% and 0.13).
- On Split-miniImageNet with m=85, CAR achieves 54.2% accuracy and 0.06 forgetting rate, significantly outperforming all baselines in the small memory regime.
- Spatial+channel pooling compression achieves the best performance with only 5.4M memory overhead at m=64, while maintaining near-identical performance to full activation replay.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.