Introduction
Deep neural networks excel at learning from static datasets but struggle with sequential learning tasks. When a model is trained on a new set of classes, the gradient updates often overwrite the knowledge of previously learned classes, a phenomenon known as catastrophic forgetting. This creates a "stability-plasticity dilemma": the model must be plastic enough to acquire new information but stable enough to retain old knowledge. This paper introduces a dual-system framework comprising ICLNet and RecallNet to address this challenge without requiring access to original historical data.
Problem Statement
The goal of incremental learning is to learn a sequence of tasks $T_1, T_2, \dots, T_n$ where each task contains a disjoint set of classes. A naive approach leads to forgetting earlier tasks. While retraining on all accumulated data is a solution, it is often impractical due to memory constraints or privacy regulations. The authors propose a "pseudo-rehearsal" strategy where a generative model "recalls" old data to augment the training of new tasks.
Proposed Methodology
The architecture is inspired by the human brain's complementary learning systems, utilizing both an implicit memory for classification and an explicit memory for generative recall.
ICLNet: Incremental Concept Learning Network
Traditional classifiers use a softmax layer that is prone to high intra-class variance and instability during incremental updates. ICLNet replaces this with a Concept Memory Matrix $\mathbb{C}$. Each row $c_j$ in $\mathbb{C}$ represents a prototype vector for a specific class. For an input image $x_i$, the feature extractor $f$ produces a feature vector $f(x_i)$. Classification is determined by the Euclidean distance $d_{ij}$ between $f(x_i)$ and each prototype $c_j$.
RecallNet and Balanced Online Recall
To prevent forgetting, RecallNet, a Least Squares Auxiliary Classifier GAN (LS-ACGAN), is employed. It acts as a generative memory, learning to produce pseudo-samples of previously encountered concepts. During the training of task $t+1$, RecallNet generates samples for classes from tasks $1$ to $t$. A Balanced Online Recall strategy ensures that each training batch contains a proportional mix of real data from the current task and generated data from previous tasks, preventing the model from developing a bias toward newer classes.
Concept Contrastive Loss
To ensure feature stability, the authors introduce the Concept Contrastive Loss ($\mathcal{L}_{CC}$). This loss function encourages features to cluster tightly around their corresponding class prototypes while maintaining a significant margin from other prototypes. This constraint minimizes the drift of the feature extractor's weights when learning new tasks.
Experimental Results
The framework was evaluated on MNIST, Fashion-MNIST, and SVHN datasets, split into five incremental tasks (two classes per task).
- Accuracy: On the MNIST dataset, the proposed method achieved an average incremental accuracy of 98.62%, which is remarkably close to the joint-training upper bound of 99.24%.
- Comparative Performance: On more complex datasets like SVHN, the model outperformed existing pseudo-rehearsal methods like MeRGAN (72.20% vs. 64.24% accuracy).
- Stability: Visualizations of the feature space confirmed that the Concept Contrastive Loss effectively maintained compact and well-separated class clusters throughout the incremental learning process.
Conclusion
The combination of a distance-based prototype classifier (ICLNet) and a generative recall system (RecallNet) provides a robust solution to catastrophic forgetting. By leveraging pseudo-rehearsal and contrastive feature alignment, the model achieves high accuracy across multiple incremental tasks. Future work will focus on improving GAN stability for more complex datasets and unifying the classification and generation components into a single efficient architecture.
Summary updated