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

Class-Incremental Learning by Knowledge Distillation with Adaptive Feature Consolidation

Minsoo Kang, Jaeyoo Park, Bohyung HanCVPR 2022

Abstract

We present a novel class-incremental learning (CIL) approach based on deep neural networks, which continually learns new tasks with limited memory for storing examples from previous tasks. Our algorithm, Adaptive Feature Consolidation (AFC), is based on knowledge distillation and provides a principled way to maintain the representations of old models while adjusting to new tasks effectively. The proposed method estimates the relationship between representation changes and the resulting loss increases incurred by model updates. It minimizes the upper bound of the loss increases using the representations, which exploits the estimated importance of each feature map within a backbone model. Based on this importance, the model restricts updates of important features for robustness while allowing changes in less critical features for flexibility. Experimental results show significant accuracy improvement over existing methods on standard datasets like CIFAR100 and ImageNet.

Introduction

Deep learning models excel at learning from static datasets but struggle with Class-Incremental Learning (CIL)—the ability to learn new classes over time without forgetting old ones. Because storing all previous data is often impossible due to memory constraints or privacy concerns, models suffer from catastrophic forgetting: as they update weights for new classes, the representations required to recognize old classes are overwritten.

Existing knowledge distillation (KD) methods attempt to mitigate this by forcing the "new" model's internal features to stay close to the "old" model's features. However, most KD methods treat all features as equally important. This is inefficient; some features are vital for recognizing old classes, while others can be safely modified to accommodate new information. AFC addresses this by selectively preserving the most critical feature representations.

Methodology: Adaptive Feature Consolidation (AFC)

The core innovation of AFC is the identification of which feature maps in a backbone model are most responsible for maintaining low loss on previous tasks. The method balances rigidity and plasticity through three main components:

1. Importance Estimation

Using a first-order Taylor approximation, the authors derive a mathematical relationship between changes in a feature map and the resulting increase in loss. They define "Importance" ($I$) for each channel as the expected squared gradient of the loss with respect to that feature map. This provides a theoretical foundation for weighting features rather than relying on heuristics.

2. Weighted Discrepancy Loss

Instead of a standard distillation loss that treats all channels equally, AFC uses the estimated importance as a weight. Features with high importance are "consolidated" (kept rigid), while features with low importance are allowed to change more freely to learn new classes. This optimization strategy effectively minimizes an upper bound of the expected loss increase.

3. Architectural Integration

AFC is built on top of the state-of-the-art PODNet architecture. It utilizes the "Local Similarity Classifier" (LSC), which employs cosine similarity and multiple class embedding vectors to improve classification performance in incremental settings. The importance update occurs once at the end of each task, ensuring that the additional computational overhead remains negligible compared to the overall training time.

Experimental Evaluation

The authors evaluated AFC on three standard benchmarks for incremental learning:

  • CIFAR100: 100 classes of small images, tested in 5, 10, 25, and 50 incremental stages.
  • ImageNet100: A subset of 100 classes from the large-scale ImageNet dataset.
  • ImageNet1000: The full ImageNet dataset with 1,000 classes, representing a large-scale real-world challenge.

Key Results

AFC consistently outperformed existing state-of-the-art methods (such as PODNet, UCIR, and iCaRL) across all benchmarks:

  • ImageNet100 (50 stages): AFC achieved 72.08% accuracy, a significant improvement over PODNet's 62.48%.
  • CIFAR100 (50 stages): AFC reached 62.58% accuracy, outperforming PODNet (61.40%) and UCIR (48.57%).
  • Memory Efficiency: AFC showed significant gains even when the "memory budget" (the number of old examples stored) was very low. With only 5 images per class on CIFAR100, AFC outperformed the next best method by nearly 9%.

Discussion and Insights

The success of AFC highlights the importance of Selective Rigidity. By identifying "critical" feature maps, the model can protect its core memories while remaining plastic enough to learn. Visualization of importance scores indicates that more challenging datasets (like ImageNet1000) require a broader range of "important" features compared to simpler ones, explaining why forgetting is often more severe on complex tasks.

Despite its success, AFC—like most CIL methods—still relies on storing a small set of "exemplars" (real images from old classes). This poses potential privacy risks for sensitive data. Future work may focus on achieving similar results without storing any exemplars (data-free incremental learning) and further reducing the computational cost associated with multiple forward passes for distillation.

Conclusion

Adaptive Feature Consolidation provides a principled and effective framework for Class-Incremental Learning. By mathematically estimating feature importance and applying weighted knowledge distillation, AFC achieves a superior balance between stability and plasticity, setting a new standard for performance on large-scale incremental benchmarks.

Summary updated

BibTeX
@inproceedings{kang2022class,
  author = {Minsoo Kang and Jaeyoo Park and Bohyung Han},
  title = {{Class-Incremental Learning by Knowledge Distillation with Adaptive Feature Consolidation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  url = {https://openreview.net/forum?id=bEmAcSHflx},
}
Figure