Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

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.

Jihwan Bang, Heesu Kim, YoungJoon Yoo, Jung-Woo Ha, Jonghyun Choi• 2021

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy45
3518
Mathematical ReasoningGSM8K
Accuracy71.7
1362
Mathematical ReasoningMATH
Accuracy29.9
882
Image ClassificationTinyImageNet (test)
Accuracy38
440
Question AnsweringSciQ
Accuracy95.9
283
Reading ComprehensionBoolQ
Accuracy90.1
279
Question AnsweringARC
Accuracy64.5
230
Text ClassificationAGNews
Accuracy77.1
61
Continual LearningMNIST 5 tasks (test)
Average Forgetting Rate2.4
51
Image ClassificationMNIST 5 tasks (test)
Accuracy95
51
Showing 10 of 50 rows

Other info

Code

Follow for update