Abstract
Class Incremental Learning (CIL) is often hindered by "catastrophic forgetting," where a model's performance on previously learned tasks degrades significantly upon training on new data. This paper presents ClaRe (Class Remembering), a novel approach that leverages a collaborative generative framework to synthesize representations of old classes. By integrating a Discriminator network with a Remembering Network, ClaRe performs "pseudo-rehearsal" using synthetic data, effectively maintaining decision boundaries for previous classes. Evaluated on the MNIST benchmark, ClaRe demonstrates near-optimal performance, outperforming existing state-of-the-art methods like Elastic Weight Consolidation and Deep Generative Replay while avoiding the memory and privacy constraints of raw data storage.
Introduction
In the field of machine learning, "catastrophic forgetting" remains a significant obstacle for agents required to learn concepts sequentially. When a standard neural network is updated with new classes, the weights optimized for previous tasks are often overwritten, leading to a collapse in performance on original data.
Class Incremental Learning (CIL) aims to address this. Current strategies typically fall into three categories: storing subsets of old data (Rehearsal), which is memory-intensive and poses privacy risks; constraining weight updates (Parameter Control), which can limit plasticity; or knowledge distillation, which often fails to preserve the full distribution of previous classes. ClaRe addresses these limitations by providing a memory-efficient, generative rehearsal mechanism.
Methodology
ClaRe utilizes a framework inspired by Conditional Variational Auto-Encoders (CVAE), consisting of two primary sub-modules trained jointly: the Discriminator ($\mathcal{D}$) and the Remembering Network ($\mathcal{R}$).
The Discriminator ($\mathcal{D}$) includes a feature extractor ($\mathcal{D}_F$) and a classifier ($\mathcal{D}_C$). It maps input data to a latent space to identify class labels. The Remembering Network ($\mathcal{R}$) acts as a decoder, taking representations from the latent space—conditioned on class labels—to reconstruct data samples.
When learning new classes, the $\mathcal{R}$ network generates synthetic samples for all previously learned classes. These are combined with real data from the new classes to retrain the model. This collaborative structure is more stable and computationally efficient than Generative Adversarial Networks (GANs), as it avoids the instability of adversarial training.
Experimental Setup
The authors evaluated ClaRe using the MNIST benchmark, a standard dataset of handwritten digits. The model was tested across various incremental scenarios:
- 1-class increments: Adding one digit at a time (10 tasks total).
- 2-class increments: Adding two digits at a time (5 tasks total).
- 5-class increments: Adding five digits at a time (2 tasks total).
While MNIST is a foundational dataset, it provides a clear proof-of-concept for the architecture's ability to handle sequential learning tasks without forgetting.
Key Insights
- Representations over Raw Data: ClaRe demonstrates that a model does not require original images to maintain performance; it only needs samples that follow the same statistical distribution.
- Class Imbalance Mitigation: Since the rehearsal data is generated, the system can produce an optimal number of samples to ensure a perfectly balanced training set, a common challenge in incremental learning.
- Latent Space Regularization: By applying KL divergence to force the latent space toward a standard normal distribution, the authors ensure the $\mathcal{R}$ network generates diverse instances rather than memorizing a single class prototype.
Results
ClaRe was benchmarked against "Joint Training" (upper bound) and "Sequential Fine-Tuning" (lower bound), as well as other state-of-the-art (SOTA) methods.
On the 10-task sequential benchmark, ClaRe achieved 90.8% accuracy, significantly outperforming Elastic Weight Consolidation (77.0%) and Deep Generative Replay (85.4%). Notably, it remained close to the Joint Training upper bound of 96.9%, while standard fine-tuning collapsed to 10.1%. The results indicate high stability and scalability as the number of classes increases.
Conclusion and Future Work
ClaRe offers a practical solution for CIL by remembering class representations. However, challenges remain. Generating high-quality synthetic data for complex datasets like ImageNet is computationally demanding. Additionally, the simulation phase adds overhead to the training process. Future research will focus on making the feature space more flexible to accommodate new classes without architectural modifications and improving generative performance on high-dimensional data.
Summary updated