Abstract
Class-Incremental Learning (CIL) is a critical challenge in deep learning, where models must learn new concepts sequentially without suffering from "catastrophic forgetting" of previously acquired knowledge. Traditional distillation-based approaches often lead to a "start-all-over" phenomenon, where the model's internal representations are disrupted at the beginning of each new task. We present Topology-Preserving Class-Incremental Learning (TPCIL), a novel framework that maintains the structural relationships of the feature space. By employing an Elastic Hebbian Graph (EHG) and a specialized correlation-based loss, TPCIL ensures that the relative neighborhood structure of old classes remains intact during the integration of new data. Our evaluations on CIFAR100 and ImageNet show that TPCIL consistently outperforms state-of-the-art methods, providing a more stable and efficient learning process.
Introduction
In an ideal scenario, machine learning models would emulate human cognition by continuously learning new concepts without overwriting existing knowledge. However, standard deep neural networks suffer from catastrophic forgetting: when trained on new classes, the weights optimized for previous tasks are significantly altered, leading to a sharp decline in performance on original data.
Existing Class-Incremental Learning (CIL) strategies typically rely on knowledge distillation to constrain the new model's outputs to match the old model's. However, this approach is often too rigid. It forces the model to match exact feature coordinates, which can be counterproductive as the feature space naturally shifts to accommodate new information. This rigidity often results in a "start-all-over" effect, where the model initially loses its grasp on old classes and must spend numerous epochs re-learning them from a limited set of stored exemplars.
Methods: Preserving the Feature Manifold
The core philosophy of TPCIL is that the topology—the relative structure and connectivity—of the feature space is more important than the absolute coordinates of individual points.
Elastic Hebbian Graph (EHG)
To capture this topology, TPCIL models the feature space manifold using an Elastic Hebbian Graph. The graph's vertices represent centroids of Voronoi cells, effectively partitioning the feature space into regions that represent the underlying data distribution.
Competitive Hebbian Learning (CHL)
The EHG is constructed and updated using Competitive Hebbian Learning, a neuroscience-inspired rule. As new data arrives, CHL allows the graph to grow and adapt, mapping out the evolving shape of the data distribution without losing the connectivity of the original manifold.
Topology-Preserving Loss (TPL)
Rather than using standard distance metrics like $L_1$ or $L_2$, which are sensitive to global shifts, TPCIL introduces a correlation-based loss. This loss penalizes changes in the relationships between graph vertices. If two classes were neighbors in the previous model, TPL ensures they remain neighbors in the updated model, even if the entire cluster moves or scales. This "elastic" constraint allows the feature space to flex and accommodate new classes while preserving the essential structure of old ones.
Key Insights: Stability vs. Disruption
A major contribution of this work is the identification and mitigation of the "start-all-over" phenomenon. Visualizing the feature space via t-SNE reveals that distillation-based methods like LUCIR experience a massive disruption in class separation at the start of a new learning phase (Epoch 1), only recovering partially by the end of training (Epoch 40).
In contrast, TPCIL maintains a stable representation from the very first epoch of a new task. By preserving the neighborhood structure, the model avoids the initial performance dip and achieves higher final accuracy with less training effort.
Experimental Results
TPCIL was evaluated against standard benchmarks including CIFAR100, ImageNet (1k), and subImageNet.
- Accuracy Gains: On subImageNet, TPCIL outperformed the previous state-of-the-art (SOTA) by 10.60% in the final session of a 10-step incremental process.
- CIFAR100: The model achieved average accuracies of 65.34% (5-session) and 63.58% (10-session), consistently surpassing methods like iCaRL and LUCIR.
- Large-Scale Performance: On the full ImageNet dataset, TPCIL maintained a lead of up to 2.53% over competing methods, demonstrating its scalability.
Qualitative analysis via confusion matrices further confirmed that TPCIL produces more distinct class boundaries, significantly reducing the likelihood of misclassifying old classes as new ones.
Conclusion and Future Work
TPCIL demonstrates that preserving the topology of the feature space is a powerful strategy for mitigating catastrophic forgetting. By focusing on relationships rather than fixed points, the model achieves greater stability and performance.
Future research directions include reducing exemplar dependency to move toward truly exemplar-free models and tightening the integration of graph updates within the CNN training loop for improved efficiency.
Summary updated