Abstract
Deep learning models typically suffer from catastrophic forgetting when learning new classes incrementally, often requiring massive amounts of old data for rehearsal. This paper introduces Centroid-Based Concept Learning (CBCL), a cognitively-inspired approach that learns new classes continually from just a few examples without storing old training data. By mimicking how the hippocampus forms concepts, CBCL achieves state-of-the-art results in Few-Shot Incremental Learning (FSIL).
Introduction: The Challenge of Catastrophic Forgetting
Humans possess the remarkable ability to learn new visual concepts throughout their lives without overwriting previous knowledge. In contrast, artificial neural networks suffer from catastrophic forgetting: when trained on new classes, their performance on previously learned tasks plummets.
Existing class-incremental learning methods often mitigate this by storing a subset of old training data. However, this approach is memory-intensive and biologically implausible. Furthermore, these methods typically require hundreds of examples per class. This paper addresses the more challenging problem of Few-Shot Incremental Learning (FSIL), where an agent must learn from only a handful of examples (e.g., 5 or 10) without a large memory budget or access to original training data.
Methodology: Centroid-Based Concept Learning (CBCL)
Inspired by the dual-memory systems of the mammalian brain (the hippocampus and neocortex), the authors propose Centroid-Based Concept Learning (CBCL).
The system operates through several key components:
- Fixed Feature Extraction: Images are processed through a pre-trained, frozen ResNet backbone. Freezing the weights ensures that the fundamental feature representations are never corrupted by new data.
- Agg-Var Clustering: Instead of weight updates, CBCL represents classes using a dynamic set of centroids. New images either update an existing centroid (memory integration) or trigger the creation of a new one (pattern separation) based on a distance threshold.
- Weighted-Voting Classification: Classification is performed by finding the $n$-closest centroids across all learned classes. A weighted voting scheme prevents bias toward classes with more centroids.
- Centroid Reduction: To maintain a fixed memory footprint, CBCL uses k-means clustering to merge the most similar centroids within a class, preserving geometric information more effectively than simple data deletion.
Experimental Setup
The model was evaluated on three standard benchmarks: CIFAR-100, Caltech-101, and CUBS-200-2011. In the FSIL experiments, training was restricted to only 5 or 10 images per class to simulate real-world constraints where data is scarce.
Key Results
CBCL demonstrates significant improvements over traditional incremental learning baselines, maintaining high accuracy even as the number of learned classes grows.
- Robustness to Forgetting: On Caltech-101, CBCL's accuracy dropped by only 11.31% after learning 100 classes, whereas the next best baseline (LWM) saw a 49.36% drop.
- Incremental Consistency: On CIFAR-100, CBCL maintained a steady final accuracy of approximately 60%, regardless of the increment size (2, 5, 10, or 20 classes).
- Superior Few-Shot Performance: On the CUBS bird dataset with 5 examples per class, CBCL achieved 56.2% average incremental accuracy, outperforming LWM by over 25%. Notably, CBCL even outperformed a non-incremental Few-Shot Learning Baseline (FLB) that had access to all data simultaneously.
Discussion and Conclusion
The success of CBCL highlights that separating feature extraction from episodic memory clustering is a powerful strategy for avoiding catastrophic forgetting. By using mathematical centroids rather than raw image exemplars, the model is both more memory-efficient and more accurate. For instance, storing 7,500 centroids required only 3.87 MB, compared to 17.6 MB for 2,000 raw images used by other methods.
While CBCL sets a new standard for FSIL, it still trails behind single-batch learning on massive datasets. Its performance is also tied to the quality of the pre-trained feature extractor. Future work will focus on closing this accuracy gap and deploying CBCL in robotics to enable intuitive, on-the-fly learning from human interaction.
Summary updated