Skip to main content
QUICK REVIEW

[Paper Review] Rainbow Memory: Continual Learning with a Memory of Diverse Samples

Jihwan Bang, Heesu Kim|arXiv (Cornell University)|Mar 31, 2021
Domain Adaptation and Few-Shot LearningComputer Science48 references18 citations
TL;DR

This paper proposes Rainbow Memory (RM), a novel continual learning method that enhances episodic memory diversity through uncertainty-aware sampling and data augmentation, significantly outperforming state-of-the-art methods in blurry class-incremental learning—where tasks share classes—on CIFAR10, CIFAR100, and ImageNet, with gains up to 10.5% over baselines.

ABSTRACT

Continual learning is a realistic learning scenario for AI models. Prevalent scenario of continual learning, however, assumes disjoint sets of classes as tasks and is less realistic rather artificial. Instead, we focus on 'blurry' task boundary; where tasks shares classes and is more realistic and practical. To address such task, we argue the importance of diversity of samples in an episodic memory. To enhance the sample diversity in the memory, we propose a novel memory management strategy based on per-sample classification uncertainty and data augmentation, named Rainbow Memory (RM). With extensive empirical validations on MNIST, CIFAR10, CIFAR100, and ImageNet datasets, we show that the proposed method significantly improves the accuracy in blurry continual learning setups, outperforming state of the arts by large margins despite its simplicity. Code and data splits will be available in https://github.com/clovaai/rainbow-memory.

Motivation & Objective

  • Address the realistic yet underexplored setting of blurry class-incremental learning (blurry-CIL), where tasks share classes, as opposed to the artificial disjoint-CIL setup.
  • Overcome catastrophic forgetting in continual learning with limited memory capacity by improving the representativeness and diversity of stored exemplars.
  • Develop a memory management strategy that selects informative, diverse samples using per-sample classification uncertainty to balance robust and fragile data.
  • Investigate the impact of data augmentation, particularly label-mixing techniques like CutMix and AutoAug, in enhancing memory diversity and model generalization.
  • Demonstrate that the proposed method generalizes well beyond blurry-CIL, achieving competitive performance in disjoint-CIL and offline learning setups.

Proposed method

  • Propose a perturbation-induced uncertainty measure to assess per-sample robustness: samples are perturbed via data augmentation, and uncertainty is estimated using Monte Carlo dropout over perturbed predictions.
  • Use the inverse of uncertainty (i.e., robustness) as a likelihood function in a Bayesian framework to guide memory sampling, favoring both robust and fragile samples for diversity.
  • Implement a memory update strategy that replaces old exemplars with new, uncertainty-ranked samples, ensuring memory remains representative of past classes.
  • Apply diverse data augmentation techniques—including CutMix, AutoAug, and standard augmentations (e.g., color jitter, flipping)—to augment samples stored in the episodic memory.
  • Combine uncertainty-based sampling with data augmentation to create a dual mechanism for enhancing memory diversity and model generalization.
  • Use a fixed memory capacity constraint, ensuring scalability and practicality in real-world continual learning scenarios.

Experimental results

Research questions

  • RQ1How does uncertainty-based sampling improve memory diversity and model performance in blurry-CIL compared to random or prototype-based memory selection?
  • RQ2To what extent does data augmentation—especially label-mixing methods like CutMix—enhance the representativeness and discriminativeness of exemplars in the episodic memory?
  • RQ3Can a memory management strategy designed for blurry-CIL generalize effectively to disjoint-CIL and offline learning settings?
  • RQ4How do different uncertainty estimation methods (e.g., No_MC, RandAug_MC, AutoAug_MC) affect the performance of the memory update mechanism?
  • RQ5What is the relative contribution of uncertainty-based sampling versus data augmentation in boosting continual learning accuracy?

Key findings

  • Rainbow Memory achieves 76.1% accuracy on CIFAR10-Blurry10-Online with K=1000, outperforming the next best baseline by 4.6 percentage points.
  • On CIFAR100-Blurry10-Online, RM achieves 69.6% accuracy, a 10.5% improvement over the previous SOTA method under the same setup.
  • The method maintains strong performance in disjoint-CIL, achieving 71.1% accuracy on CIFAR10-Disjoint10, comparable to dedicated SOTA methods.
  • Data augmentation, particularly CutMix + AutoAug, boosts RM’s performance by up to 12.5% compared to no augmentation, with the largest gains in high-complexity setups.
  • Uncertainty-based sampling with RandAug-based Monte Carlo estimation yields the best results, improving accuracy by 2.7% over non-Monte Carlo methods on CIFAR10-Blurry10-Online.
  • Ablation studies confirm that both uncertainty-based sampling and data augmentation are essential: removing either reduces performance by over 10% on average.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.