[Paper Review] Few-Shot Self Reminder to Overcome Catastrophic Forgetting
Few-Shot Self Reminder (FSR) is a simple yet effective method to combat catastrophic forgetting in continual learning by performing logit matching on a small episodic memory of old task samples. It achieves superior knowledge retention with only 5% of the memory cost of EWC, outperforming prior methods even when memorizing just one sample per class.
Deep neural networks are known to suffer the catastrophic forgetting problem, where they tend to forget the knowledge from the previous tasks when sequentially learning new tasks. Such failure hinders the application of deep learning based vision system in continual learning settings. In this work, we present a simple yet surprisingly effective way of preventing catastrophic forgetting. Our method, called Few-shot Self Reminder (FSR), regularizes the neural net from changing its learned behaviour by performing logit matching on selected samples kept in episodic memory from the old tasks. Surprisingly, this simplistic approach only requires to retrain a small amount of data in order to outperform previous methods in knowledge retention. We demonstrate the superiority of our method to the previous ones in two different continual learning settings on popular benchmarks, as well as a new continual learning problem where tasks are designed to be more dissimilar.
Motivation & Objective
- Address catastrophic forgetting in continual learning, where deep neural networks rapidly lose performance on previous tasks when learning new ones.
- Overcome the limitations of parameter-based regularization methods like EWC, which require storing large models and incur high memory costs.
- Demonstrate that a small episodic memory of only a few samples per class can significantly reduce forgetting, challenging the assumption that complex methods are necessary.
- Show that function-level regularization via logit matching is more effective than parameter-level constraints or knowledge distillation in low-memory regimes.
- Introduce a new benchmark with nonlinearly transformed MNIST to evaluate methods under higher task dissimilarity
Proposed method
- FSR maintains a small episodic memory of one or a few samples per class from previous tasks, along with their model-predicted logits.
- During training on new tasks, FSR performs logit matching by minimizing the L2 loss between the model’s output logits on old task samples and their stored logits.
- The regularization is applied directly on the functional behavior of the network rather than on its parameters, enabling effective knowledge retention with minimal storage.
- The method uses standard optimization (e.g., Adam) and does not require complex architectural modifications or hyperparameter tuning.
- The approach is compatible with standard training protocols and can be applied to both class-incremental and domain-incremental continual learning settings.
- The authors explore adding KL divergence between predicted and stored true labels to further improve performance
Experimental results
Research questions
- RQ1Can a minimal episodic memory of just a few samples per class significantly reduce catastrophic forgetting in continual learning?
- RQ2Does function-level regularization via logit matching outperform parameter-level regularization (e.g., EWC) and knowledge distillation in low-memory settings?
- RQ3How does FSR perform compared to state-of-the-art methods like HAT, iCaRL, and EWC under varying memory budgets and task similarity?
- RQ4Can FSR maintain high performance even when tasks are highly dissimilar, such as in nonlinearly transformed MNIST?
- RQ5Is there a trade-off between memory efficiency and performance when using logit matching versus other regularization techniques?
Key findings
- FSR achieves performance comparable to EWC on 5 Permuted MNIST tasks while requiring only 5% of EWC’s memory cost.
- With just one sample per class, FSR reduces forgetting to a slow and gradual rate, avoiding catastrophic forgetting entirely.
- On the CIFAR100 incremental learning benchmark, FSR with logit matching outperforms HAT and EWC in terms of average forgetting ratio ρ.
- When tasks share significant knowledge (e.g., in CIFAR100), FSR outperforms HAT, which struggles due to its attention-based gating mechanism that blocks feature reuse.
- Logit matching consistently outperforms distillation and iCaRL across all memory sizes, with the largest performance gap appearing at low memory budgets.
- Adding KL divergence between predicted and true labels further improves FSR’s performance, suggesting potential for hybrid regularization
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.