Incremental Learning in Online Scenario

Jiangpeng He, Runyu Mao, Zeman Shao, Fengqing ZhuCVPR 2020

Abstract

This paper addresses the critical challenges of online incremental learning, where models must learn from continuous data streams without forgetting previously acquired knowledge. We propose a framework that combines a modified cross-distillation loss with a dynamic exemplar update strategy. This approach effectively mitigates catastrophic forgetting and concept drift in resource-constrained, real-time scenarios. Experimental results on CIFAR-100, ImageNet, and Food-101 demonstrate that our method significantly outperforms existing incremental learning baselines in online settings.

Introduction

Most deep learning models are trained on static datasets, making them ill-suited for real-world applications where data arrives continuously. Two major hurdles prevent effective lifelong learning: Catastrophic Forgetting, where learning new tasks causes the abrupt loss of previous knowledge, and Concept Drift, where the characteristics of "old" classes evolve over time. While many incremental learning methods exist, most are designed for offline scenarios requiring extensive retraining. This work focuses on the online scenario, where data arrives in small, one-pass blocks that must be processed rapidly.

Methodology

The proposed framework manages the model lifecycle through several key innovations designed for the constraints of real-time data streams:

  1. Modified Cross-Distillation Loss: Standard distillation loss is enhanced with an accommodation ratio ($\beta$). This parameter allows for explicit balancing between the influence of old and new class outputs, preventing the model from developing a bias toward recent data.
The modified cross-distillation loss architecture balances old and new class information using an accommodation ratio.
  1. Two-Step Learning: To avoid overfitting on small data batches, the model first learns from the new data block and then performs a "balanced" learning step using a small set of representative "exemplars" from previous classes.
  2. Dynamic Exemplar Updating: To combat concept drift, the system employs an online class mean update. As new instances of old classes appear, the model updates its internal prototypes and refreshes the exemplar set to reflect the current data distribution.
  3. NCM-to-CNN Switching: Recognizing that CNNs struggle with very scarce data, the framework initially utilizes a Nearest Class Mean (NCM) classifier, transitioning to a neural network once sufficient data has been accumulated.

Experimental Results

The framework was evaluated on CIFAR-100, ImageNet-1000, and Food-101 to test scalability and real-world applicability.

  • Performance in Online Mode: On standard benchmarks like CIFAR-100, the proposed method consistently maintained higher accuracy than state-of-the-art methods such as iCaRL and BiC when restricted to a single-pass online setting.
Accuracy vs. Number of Classes on CIFAR-100, showing the proposed method outperforming standard incremental learning baselines.
  • Handling Concept Drift: In real-world tests using Food-101, the dynamic update strategy improved old-class accuracy from approximately 20% (baseline) to over 60%.
  • Efficiency: The low computational overhead makes the framework suitable for deployment on mobile and edge devices, such as real-time dietary assessment tools.

Conclusion

By integrating adaptive loss functions with dynamic memory management, this research provides a robust solution for online incremental learning. While the current approach relies on a small set of stored images, future work will explore generative memory approaches to further reduce storage requirements and self-adaptive hyperparameters to improve robustness across diverse data streams.

Summary updated

BibTeX
@inproceedings{he2020incremental,
  author = {Jiangpeng He and Runyu Mao and Zeman Shao and Fengqing Zhu},
  title = {{Incremental Learning in Online Scenario}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01394},
}
Figure