Abstract
Continual learning typically focuses on task-incremental or class-incremental scenarios. However, real-world applications often require learning new instances of existing classes, a setting termed New-Instance Learning (NIL). This paper introduces the Bi-Objective Continual Learning (BOCL) framework, which addresses the challenge of catastrophic forgetting in NIL by regularizing the feature space rather than the weight space. By utilizing Self-Organizing Maps (SOMs) to generate representative "pillars" of historical knowledge, BOCL employs two novel loss functions—Pillar Consolidation (PLC) and Contrastive Pillar (CPL)—to balance stability and plasticity. Our evaluation across multiple benchmarks, including CIFAR-10/100, CORe50, and subImageNet, demonstrates that BOCL significantly outperforms state-of-the-art continual learning methods.
Introduction
In many practical scenarios, such as facial recognition or object detection in changing environments, models must adapt to new variations (e.g., lighting, angles) of known classes without losing prior knowledge. This is known as Single-Task New-Instance Learning (ST-NIL). Standard fine-tuning often leads to catastrophic forgetting, where the model's weights shift to accommodate new data at the expense of old patterns. The BOCL framework proposes to mitigate this by anchoring the model's feature representations using a set of "pillars" derived from the data distribution.
Methodology
The BOCL framework is built upon the concept of feature-space anchors called "pillars." These pillars represent the core characteristics of the learned classes and serve as the basis for regularization during subsequent training sessions.
Pillar Generation via SOM
To identify these pillars, the framework employs a Self-Organizing Map (SOM). The SOM maps high-dimensional features extracted from the training data onto a lower-dimensional competitive layer. The resulting centroids, or "weights" of the winning neurons, become the pillars that encapsulate the historical knowledge of the feature space.
Bi-Objective Loss Functions
The core of the BOCL framework lies in its two complementary loss functions that manage the trade-off between stability (retaining old knowledge) and plasticity (learning new patterns).
- Pillar Consolidation (PLC) Loss: This loss ensures stability by penalizing significant shifts in the positions of the pillars within the feature space. It uses a variance-based weighting mechanism to allow flexibility in dimensions with high intra-class diversity while strictly maintaining stability in semantically critical dimensions.
- Contrastive Pillar (CPL) Loss: To promote plasticity and discriminative power, the CPL loss pushes new training instances toward their corresponding class pillars and pulls them away from pillars representing different classes.
Sampling and Topology
BOCL also explores various sampling strategies for streaming data. Interestingly, random sampling was found to be the most robust for onsite learning, avoiding the overfitting issues associated with hard-example mining. Furthermore, the use of SOMs preserves the topological relationships between feature clusters, ensuring structural consistency as the model evolves.
Experimental Results
BOCL was evaluated on several benchmarks adapted for the ST-NIL setting:
- CIFAR-10/100: BOCL achieved accuracies of 77.43% and 53.76% respectively, outperforming competitors like A-GEM and EWC by over 2%.
- CORe50: On this object recognition benchmark, BOCL reached 74.31% accuracy.
- subImageNet: The framework demonstrated scalability, achieving a top-5 accuracy of 50.32% on a 1000-class subset of ImageNet.
The results indicate that while PLC provides the foundational stability, the addition of CPL consistently enhances classification performance by refining the boundaries in the feature space.
Conclusion
The BOCL framework shifts the focus of continual learning regularization from weight space to feature space. By anchoring representations with SOM-generated pillars and balancing stability and plasticity through PLC and CPL losses, BOCL effectively addresses the challenges of New-Instance Learning. Future work will focus on automating hyperparameter tuning and optimizing pillar management for even larger-scale datasets.
Summary updated