Densely Distilling Cumulative Knowledge for Continual Learning

Zenglin Shi, Pei Liu, Tong Su, Yunpeng Wu, Kuien Liu +2 more
5/16/2024
cs.LGcs.CV

No confident code implementation found for this paper.

Abstract

Continual learning, involving sequential training on diverse tasks, often faces catastrophic forgetting. While knowledge distillation-based approaches exhibit notable success in preventing forgetting, we pinpoint a limitation in their ability to distill the cumulative knowledge of all the previous tasks. To remedy this, we propose Dense Knowledge Distillation (DKD). DKD uses a task pool to track the model's capabilities. It partitions the output logits of the model into dense groups, each corresponding to a task in the task pool. It then distills all tasks' knowledge using all groups. However, using all the groups can be computationally expensive, we also suggest random group selection in each optimization step. Moreover, we propose an adaptive weighting scheme, which balances the learning of new classes and the retention of old classes, based on the count and similarity of the classes. Our DKD outperforms recent state-of-the-art baselines across diverse benchmarks and scenarios. Empirical analysis underscores DKD's ability to enhance model stability, promote flatter minima for improved generalization, and remains robust across various memory budgets and task orders. Moreover, it seamlessly integrates with other CL methods to boost performance and proves versatile in offline scenarios like model compression.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shi2024densely,
  title  = {Densely Distilling Cumulative Knowledge for Continual Learning},
  author = {Zenglin Shi and Pei Liu and Tong Su and Yunpeng Wu and Kuien Liu and Yu Song and Meng Wang},
  year   = {2024},
  eprint = {2405.09820},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.09820v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.09820.svg)](https://codeofpaper.com/paper/2405.09820)

Discussion