SupportNet: solving catastrophic forgetting in class incremental learning with support data

Yu Li, Zhongxiao Li, Lizhong Ding, Peng Yang, Yuhui Hu, Wei Chen, Xin GaoarXiv 2018

Abstract

SupportNet is a novel framework designed to mitigate "catastrophic forgetting" in class incremental learning. By combining the representational power of deep learning with the mathematical precision of Support Vector Machines (SVMs), SupportNet identifies and "rehearses" only the most critical data points (support vectors) from previous classes. This approach allows the model to maintain high accuracy on old tasks while efficiently learning new ones, bridging the gap between stability and plasticity.

The Challenge: Catastrophic Forgetting

Deep learning models face a significant hurdle known as catastrophic forgetting. When a model trained on one set of tasks is asked to learn new information, it often overwrites the weights essential for recognizing previous classes. While retraining from scratch with all data is a theoretical solution, it is often computationally prohibitive or impossible due to data privacy and storage constraints. Class Incremental Learning (CIL) seeks to enable continuous learning, where a model incorporates new classes over time without losing its prior knowledge.

Methodology: The SupportNet Architecture

SupportNet treats incremental learning as a strategic "review" process. The architecture is built upon three primary pillars:

The SupportNet architecture featuring the Support Data Selector, DL Classifier, and Consolidation Regularizers.
  1. Support Data Selector: Rather than random sampling for rehearsal, SupportNet employs an SVM to identify "support vectors." These are the most informative data points that define the decision boundaries between classes. By storing only these critical samples, the model retains the most relevant information for distinguishing old classes.
  2. Consolidation Regularizers: To maintain stable internal representations, two forms of regularization are applied:
  3. Feature Regularizer: Ensures consistent high-level feature mappings for old data.
  4. EWC (Elastic Weight Consolidation) Regularizer: Protects weights crucial for previous tasks by penalizing significant changes to them.
  5. Training Loop: Upon the arrival of new data, the model is trained on a combination of new samples and the small "support dataset" of old classes, optimized by a loss function that balances classification accuracy with the dual regularizers.

Experimental Setup and Datasets

The effectiveness of SupportNet was validated across diverse benchmarks, spanning standard computer vision and specialized bioinformatics:

  • Standard Vision: MNIST (digits), CIFAR-10, and CIFAR-100 (objects).
  • Bioinformatics: Enzyme function data (6 classes), HeLa subcellular structure images (10 classes), and BreakHis breast tumor tissue images (8 classes).
  • Scalability: Tiny ImageNet (200 classes) was used to evaluate performance in complex, many-class scenarios.

Key Results and Performance

SupportNet demonstrates superior performance compared to existing state-of-the-art methods like iCaRL and EWC.

Performance comparison of SupportNet against various baselines on MNIST, CIFAR-10, and Enzyme Function Prediction datasets.
  • Near-Optimal Accuracy: On MNIST and Enzyme datasets, SupportNet achieved performance within 1% to 5% of the "All Data" upper bound—the accuracy reached by retraining on the entire historical dataset.
  • Outperforming Baselines: SupportNet significantly outperformed iCaRL. For instance, on the HeLa dataset, SupportNet maintained high accuracy as more classes were added, whereas other methods experienced sharp declines.
  • Balanced Learning: Confusion matrices reveal that SupportNet avoids overfitting to new data, maintaining a balanced performance across all learned classes.
  • Scalability: On Tiny ImageNet, the performance gap between SupportNet and its competitors widened as the number of classes increased, highlighting its robustness for long-term incremental learning.

Insights and Future Directions

The core innovation of SupportNet lies in using SVMs as "memory filters." By focusing on the "hardest" examples that define class boundaries, the model achieves efficiency over brute-force retraining. This manages the stability-plasticity dilemma by ensuring the underlying feature space for old classes remains recognizable even as new decision boundaries are formed.

One identified limitation is "Support Vector Evolving." Currently, support vectors are assumed to be relatively static. However, as the global feature space shifts with new classes, the optimal representatives for old classes may change. Future research could explore dynamic selection strategies to update the support dataset periodically. Testing on even larger scales, such as the full ImageNet-1k dataset, remains a key next step for industrial deployment.

Summary updated

BibTeX
@misc{li2018supportnet,
  author = {Yu Li and Zhongxiao Li and Lizhong Ding and Peng Yang and Yuhui Hu and Wei Chen and Xin Gao},
  title = {{SupportNet: solving catastrophic forgetting in class incremental learning with support data}},
  year = {2018},
  eprint = {1806.02942},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.02942},
}
Figure