iCaRL (incremental Classifier and Representation learning) is a continual learning method that, in settings where new classes to classify keep being added over time, stores a small number of representative images per class, learns while preserving its feature representation with those images and knowledge distillation, and classifies by choosing the class closest to the "mean feature of its representative images". Rebuffi, Kolesnikov, Sperl, and Lampert (University of Oxford and IST Austria) presented it at CVPR in 2017.
The paper calls this style of learning class-incremental learning and requires it to satisfy three conditions.
- It can learn from a data stream in which examples of different classes appear at different times
- At any point, it can classify all classes seen so far
- Its compute and memory do not grow with the number of classes seen (or grow only very slowly)
Because of the third condition, "storing all past data and retraining" is not allowed. On the other hand, retraining the network only on data from new classes makes it stop predicting previous classes entirely (catastrophic forgetting). In the paper's experiments as well, a network trained with plain fine-tuning ended up predicting only the most recently learned classes.
iCaRL addresses this problem by combining three components.
- Classification by the mean of exemplars: compute the mean feature (prototype) of the exemplars stored for each class, and choose the one closest to the input's feature
- Exemplar selection (herding): select images to store one at a time, "in the order that brings their mean closest to the mean of the whole class"
- Representation learning with exemplars and knowledge distillation: train on a mix of new-class images and stored exemplars, while pulling the outputs for previous classes toward those of the network before the update
Just as a child who learns about a new animal at the zoo does not forget the pet at home, the goal is to keep distinguishing old classes while learning new ones.

