NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

iCaRL: Incremental Classifier and Representation Learning

Sylvestre-Alvise Rebuffi, Alexander Kolesnikov, Georg Sperl, Christoph H. Lampert

Introduction

Standard deep learning models are typically "batch learners," requiring all training data to be present simultaneously. When these models are updated with new classes using only new data, they suffer from catastrophic forgetting—the loss of previously acquired knowledge. iCaRL (Incremental Classifier and Representation Learning) addresses this by enabling models to learn new categories over time while maintaining a bounded memory footprint.

The iCaRL Framework

iCaRL is designed for Class-Incremental Learning (CIL), where a stream of data introduces different classes at different times.

The class-incremental learning paradigm where classes are observed in a sequence.

The system relies on three integrated components:

  • Nearest-Mean-of-Exemplars (NME) Classification: Instead of a standard softmax layer, which biases toward recent classes, iCaRL classifies images by comparing their feature vectors to the average feature vector of stored "exemplar" images for each class. This ensures class prototypes move in tandem with the evolving feature space.
  • Prioritized Exemplar Selection (Herding): To stay within memory limits, iCaRL uses "herding" to select a small subset of images that best approximate the mean of each class. These are stored in a prioritized list, allowing the model to manage its memory footprint by discarding the least representative images first.
  • Representation Learning with Distillation: During training on new data, a distillation loss ensures the network's outputs for old classes remain consistent with previous versions of the model, effectively "locking in" prior knowledge while learning new features.

Experimental Results

The authors evaluated iCaRL on iCIFAR-100 and iILSVRC (ImageNet). A key finding was that while distillation helps, it is insufficient at scale without "rehearsal" (using exemplars).

Accuracy vs. number of classes on iILSVRC for 100 (left) and 1000 (right) classes.

On the full 1,000-class ImageNet dataset, iCaRL maintained significantly higher accuracy than baselines like Learning without Forgetting (LwF) and standard fine-tuning. For instance, on iCIFAR-100 with 10-class batches, iCaRL achieved 64.1% average incremental accuracy, compared to 44.4% for LwF and 11.7% for fine-tuning. Confusion matrix analysis further confirmed that iCaRL avoids the strong bias toward recently seen classes that plagues other methods.

Conclusion and Limitations

iCaRL demonstrates that decoupling the classifier from the feature representation is crucial for incremental learning. By using exemplars to anchor class prototypes, the model remains robust as the feature space evolves.

However, a performance gap still exists between incremental and full batch training. Additionally, the requirement to store raw images may pose privacy concerns in certain domains. Future work may explore generative models to encode class essence without storing raw data.

Summary updated

BibTeX
@inproceedings{rebuffi2017icarl,
  author = {Sylvestre-Alvise Rebuffi and Alexander Kolesnikov and Georg Sperl and Christoph H. Lampert},
  title = {{iCaRL: Incremental Classifier and Representation Learning}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.587},
}
Figure