HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

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

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

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

Abstract

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.

Code Repositories

moukamisama/f2m
Official
pytorch

Benchmarks

BenchmarkMethodologyMetrics
few-shot-class-incremental-learning-on-cifarF2M
Average Accuracy: 53.69
Last Accuracy: 44.65
few-shot-class-incremental-learning-on-miniF2M
Average Accuracy: 54.89
Last Accuracy : 47.84

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Overcoming Catastrophic Forgetting in Incremental Few-Shot Learning by Finding Flat Minima | Papers | HyperAI