Abstract
Online Class Incremental learning (CIL) is a challenging setting in Continual Learning (CL), wherein data of new tasks arrive in incoming streams and online learning models need to handle incoming data streams without revisiting previous ones. Existing works used a single centroid adapted with incoming data streams to characterize a class. This approach possibly exposes limitations when the incoming data stream of a class is naturally multimodal. To address this issue, in this work, we first propose an online mixture model learning approach based on nice properties of the mature optimal transport theory (OT-MM). Specifically, the centroids and covariance matrices of the mixture model are adapted incrementally according to incoming data streams. Moreover, to combat the catastrophic forgetting in the CIL scenario, we further propose Dynamic Preservation. Particularly, after performing the dynamic preservation technique across data streams, the latent representations of the classes in the old and new tasks become more condensed themselves and more separate from each other. Together with a contraction feature extractor, this technique facilitates the model in mitigating the catastrophic forgetting. The experimental results on real-world datasets show that our proposed method can significantly outperform the current state-of-the-art baselines.
Introduction
In the realm of Continual Learning (CL), models must learn from a sequence of tasks without forgetting previous knowledge. The most demanding variant is Online Class-Incremental Learning (CIL), where the model encounters a one-pass stream of data from new classes without task identifiers during testing.
Traditional methods typically represent a class using a single centroid (mean vector). However, real-world data is often multimodal—for instance, a single "dog" class may contain distinct clusters for different breeds. Forcing these into a single average point leads to poor classification and exacerbates catastrophic forgetting as the model's latent space shifts during new task acquisition. This paper introduces CLOT (Class Incremental Learning with Optimal Transport) to address these limitations by modeling classes as multimodal distributions.
Methods
The CLOT framework employs a two-pronged strategy to enhance class representation and mitigate forgetting:
- OT-MM (Optimal Transport based Mixture Model): Instead of a single centroid, CLOT represents each class as a Gaussian Mixture Model (GMM) with multiple centroids. These centroids are updated incrementally using Optimal Transport (OT) theory. By minimizing the Wasserstein distance between the empirical data distribution and the GMM via an efficient entropic dual-form, the model accurately captures complex, multimodal data streams.
- Dynamic Preservation: To combat representation drift, the authors introduce a specialized training routine involving a contraction feature extractor. This utilizes a Separation loss ($L_1$) to push different classes apart and a Condensation loss ($L_2$) to pull examples closer to their class prototypes. This dual action makes internal representations more robust to the shifts that typically cause forgetting.
Experimental Results
The model was evaluated on three standard benchmarks: Split-MNIST, Split-CIFAR10, and Split-CIFAR100. CLOT consistently outperformed state-of-the-art baselines such as CoPE, MIR, and DVC across all datasets.
Key performance highlights include:
- CIFAR10: With a 1k memory buffer, CLOT achieved 54.45% accuracy, approximately 8% higher than the strongest baseline (CoPE).
- MNIST: Even with a minimal 0.1k buffer, CLOT reached 77.40%, surpassing MIR by 4%.
- Forgetting Rates: CLOT demonstrated significantly lower average forgetting scores. On MNIST, its forgetting rate was nearly 6% lower than the most robust baseline.
Visualizations using t-SNE plots confirmed that employing multiple centroids per class (e.g., K=4) provides a much clearer separation of data in the latent space compared to single-centroid approaches, especially as new tasks are introduced.
Conclusion
CLOT effectively addresses the challenges of online CIL by embracing the inherent multimodality of real-world data. By leveraging Optimal Transport for mixture model updates and implementing Dynamic Preservation, the framework significantly reduces catastrophic forgetting. Future research may explore methods to dynamically adapt the number of centroids per class to further improve model flexibility in complex environments.
Summary updated