Abstract: Class-Incremental Learning (CIL) aims to train a reliable model with streaming data, where unknown classes emerge sequentially. Unlike traditional closed-set learning, CIL faces two main challenges: novel class detection and model expansion without retraining on the entire previous dataset. We propose the Class-Incremental Learning without Forgetting (CILF) framework, which learns adaptive embeddings to process novel class detection and model updates in a unified framework. CILF regularizes classification with a decoupled prototype-based loss to improve intra-class and inter-class structure, acquiring a compact embedding representation. It then employs a learnable curriculum clustering operator to estimate the number of semantic clusters adaptively. Finally, CILF updates the network with robust regularization to mitigate catastrophic forgetting, allowing for iterative performance in open-world environments.
Introduction
Traditional machine learning models typically operate under a "closed set" assumption, where the classes encountered during testing are identical to those seen during training. However, real-world applications often involve streaming data where new, unknown categories emerge over time—such as a facial recognition system encountering new individuals or a self-driving car identifying rare vehicle types.
This dynamic environment presents two primary hurdles for Class-Incremental Learning (CIL):
- Novel Class Detection (NCD): The model must accurately classify known classes while effectively distinguishing them from an unknown number of new classes.
- Incremental Model Update (IMU): Once new classes are detected, the model must be updated using only the new data (and a minimal subset of old data) without suffering from "catastrophic forgetting," where knowledge of previous classes is lost.
The CILF Framework
The proposed Class-Incremental Learning without Forgetting (CILF) framework addresses these challenges by integrating detection and updating into a unified, iterative pipeline.
Decoupled Prototype-based Network
Instead of a standard fixed-output classification layer, CILF utilizes a prototype-based embedding space. By representing each class as a central "prototype" point, the model becomes structurally flexible. A specialized loss function is employed to ensure intra-class compactness and inter-class separability, which prevents "embedding confusion" where new and old classes overlap in the feature space.
Learnable Curriculum Clustering
To detect multiple novel classes simultaneously, CILF uses a learnable curriculum clustering operator. This approach implements a pacing function that prioritizes "easy," clear-cut examples before moving to ambiguous ones. By utilizing the Silhouette index, the framework can automatically estimate the exact number of new semantic clusters appearing in the data stream.
Robust Regularization
To mitigate catastrophic forgetting during the update phase, CILF employs distillation loss. This ensures that the updated model maintains feature representations and scores for old classes that are consistent with previous versions, even as it learns to accommodate new categories.
Experimental Evaluation
The framework was evaluated on four simulated streaming image datasets: MNIST, CIFAR-10, CIFAR-50, and CIFAR-100. The researchers tested two scenarios: Single Novel Class (one new class per window) and Multiple Novel Classes (several new classes appearing at once).
Key Results
- Superior Accuracy: CILF consistently outperformed state-of-the-art baselines like ODIN and DTC. On CIFAR-10, it achieved at least a 2% improvement in Normalized Accuracy (NA) and AUROC.
- Resistance to Forgetting: CILF maintained remarkably low forgetting scores (0.001 to 0.013), significantly outperforming standard deep learning approaches that typically score 0.04 or higher.
- Efficiency: The curriculum clustering approach accelerated convergence, leading to the fastest execution times for model updates among the compared methods.
Conclusion
CILF provides a robust solution for the open-world problem by decoupling class representation from fixed architectures and using curriculum learning for unsupervised discovery. While performance on extremely large-scale datasets remains an area for future work, CILF represents a significant step toward practical, real-time streaming AI systems that can learn indefinitely without losing prior knowledge.
Summary updated