Rainbow Memory: Continual Learning with a Memory of Diverse Samples
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | CIFAR-100 (test) | Accuracy45 | 3518 | |
| Image Classification | TinyImageNet (test) | Accuracy38 | 366 | |
| Continual Learning | MNIST 5 tasks (test) | Average Forgetting Rate2.4 | 51 | |
| Image Classification | MNIST 5 tasks (test) | Accuracy95 | 51 | |
| Continual Learning | CIFAR10 5 tasks (test) | Avg Forgetting Rate15.3 | 51 | |
| Continual Learning | TinyImageNet 100 tasks (test) | Average Forgetting Rate20 | 51 | |
| Continual Learning | CIFAR100 10 tasks (test) | Average Forgetting Rate13.3 | 51 | |
| Image Classification | TinyImageNet 100 tasks (test) | Accuracy13.1 | 51 | |
| Image Classification | CIFAR10 5 tasks (test) | Accuracy51.5 | 51 | |
| Image Classification | CIFAR100 10 tasks (test) | Accuracy20.4 | 51 |