M2KD: Multi-model and Multi-level Knowledge Distillation for Incremental Learning

Peng Zhou, Long Mai, Jianming Zhang, Ning Xu, Zuxuan Wu, Larry S. DavisarXiv 2019

Introduction

Deep neural networks face a significant challenge known as catastrophic forgetting: the tendency to lose previously acquired knowledge when learning new tasks. In incremental learning, where models are trained on a sequence of new classes, maintaining performance on old data is critical. While Knowledge Distillation (KD) is a common remedy—where a "student" model mimics a "teacher" model's outputs—standard approaches often suffer from a "telephone game" effect that degrades performance over time.

The "Telephone Game" in Sequential Distillation

Traditional incremental learning methods typically use sequential distillation. If a model learns Task 1, then Task 2, then Task 3, it distills knowledge from Model 1 into Model 2, and then from Model 2 into Model 3. This chain causes the original knowledge of Task 1 to become increasingly diluted and distorted with every new task. Furthermore, many methods rely on saving "exemplars" (original images), which is often prohibited by privacy regulations or storage constraints.

The M2KD Framework

The authors propose Multi-model and Multi-level Knowledge Distillation (M2KD) to address these limitations, focusing specifically on the challenging "exemplar-free" setting.

Multi-model Distillation

Instead of learning only from the immediate predecessor, M2KD distills knowledge from all previous model snapshots simultaneously. By directly referencing the original model that mastered a specific task, the current model avoids the cumulative errors of sequential distillation.

Comparison of sequential distillation (left) and the proposed multi-model distillation (right), where the current model (S3) learns from all previous snapshots (S1, S2).

Multi-level Distillation and Model Reconstruction

Beyond final classification logits, M2KD employs Multi-level (Auxiliary) Distillation. It adds auxiliary classifiers to intermediate layers to preserve underlying feature representations, making the network backbone more robust.

To manage the memory overhead of storing multiple model snapshots, the authors utilize mask-based pruning. They identify and freeze weights critical for a task, using the remaining redundant weights for subsequent tasks. By saving only small binary masks, they can reconstruct any previous model version on-the-fly during training with minimal storage requirements.

Experimental Results

The method was evaluated on standard benchmarks including Cifar-100 and iILSVRC-small (ImageNet).

Overview of the incremental learning process and the resulting confusion matrix, demonstrating the model's ability to maintain high accuracy across classes.

Key findings include: * Superior Accuracy: In the exemplar-free Cifar-100 setting (20-class batches), M2KD achieved 42.8% accuracy, significantly outperforming the 30% baseline of LwF-MC. * Extreme Memory Efficiency: M2KD required only 0.84 MB of extra storage for Cifar-100, compared to 9.4 MB for iCaRL. On ImageNet, the efficiency gap was even more pronounced (9.8 MB vs. 68 MB). * Architecture Robustness: The method proved resilient to various pruning ratios, leveraging the inherent redundancy in architectures like ResNet.

Conclusion and Future Work

M2KD demonstrates that direct access to historical model states, enabled by efficient pruning-based reconstruction, is a powerful tool for preventing catastrophic forgetting. While a performance gap remains compared to joint training on all data, M2KD sets a new state-of-the-art for exemplar-free incremental learning. Future research will focus on reducing inter-step class confusion and scaling the pruning approach for even longer task sequences.

Summary updated

BibTeX
@misc{zhou2019m,
  author = {Peng Zhou and Long Mai and Jianming Zhang and Ning Xu and Zuxuan Wu and Larry S. Davis},
  title = {{M2KD: Multi-model and Multi-level Knowledge Distillation for Incremental Learning}},
  year = {2019},
  eprint = {1904.01769},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.01769},
}
Figure