Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Overcoming Catastrophic Forgetting in Incremental Few-Shot Learning by Finding Flat Minima

About

This paper considers incremental few-shot learning, which requires a model to continually recognize new categories with only a few examples provided. Our study shows that existing methods severely suffer from catastrophic forgetting, a well-known problem in incremental learning, which is aggravated due to data scarcity and imbalance in the few-shot setting. Our analysis further suggests that to prevent catastrophic forgetting, actions need to be taken in the primitive stage -- the training of base classes instead of later few-shot learning sessions. Therefore, we propose to search for flat local minima of the base training objective function and then fine-tune the model parameters within the flat region on new tasks. In this way, the model can efficiently learn new classes while preserving the old ones. Comprehensive experimental results demonstrate that our approach outperforms all prior state-of-the-art methods and is very close to the approximate upper bound. The source code is available at https://github.com/moukamisama/F2M.

Guangyuan Shi, Jiaxin Chen, Wenlong Zhang, Li-Ming Zhan, Xiao-Ming Wu• 2021

Related benchmarks

TaskDatasetResultRank
Few-Shot Class-Incremental LearningminiImageNet (test)
Accuracy (Session 1)67.47
173
Few-Shot Class-Incremental LearningCIFAR100 (test)
Session 4 Top-1 Acc57.76
122
Few-Shot Class-Incremental LearningCUB200 (test)
Accuracy (Session 1)78.16
92
Few-Shot Class-Incremental LearningCUB-200
Session 1 Accuracy78.16
75
Few-Shot Class-Incremental LearningCIFAR100
Accuracy (S0)67.28
67
Few-Shot Class-Incremental LearningCUB200 (incremental sessions)
Session 0 Accuracy77.13
37
Incremental LearningCIFAR-100 (test)
Accuracy (S9)44.67
26
Few-Shot Class-Incremental LearningminiImageNet 60 base classes 5-way 5-shot (incremental)
Session 0 Accuracy72.05
20
Few-Shot Class-Incremental LearningCIFAR-100 60 base classes 5-way 5-shot Session 1
Accuracy63.8
20
Few-Shot Class-Incremental LearningCIFAR-100 60 base classes 5-way 5-shot Session 2
Accuracy60.38
20
Showing 10 of 26 rows

Other info

Code

Follow for update