Adapt Your Teacher: Improving Knowledge Distillation for Exemplar-free Continual Learning

Filip Szatkowski, Mateusz Pyla, Marcin Przewięźlikowski, Sebastian Cygert, Bartłomiej Twardowski +1 more
8/18/2023
cs.LGcs.AIcs.CV

Official code: fszatkowski/cl-teacher-adaptation (12 stars, MIT, last commit 2024-03-25).

Abstract

In this work, we investigate exemplar-free class incremental learning (CIL) with knowledge distillation (KD) as a regularization strategy, aiming to prevent forgetting. KD-based methods are successfully used in CIL, but they often struggle to regularize the model without access to exemplars of the training data from previous tasks. Our analysis reveals that this issue originates from substantial representation shifts in the teacher network when dealing with out-of-distribution data. This causes large errors in the KD loss component, leading to performance degradation in CIL models. Inspired by recent test-time adaptation methods, we introduce Teacher Adaptation (TA), a method that concurrently updates the teacher and the main models during incremental training. Our method seamlessly integrates with KD-based CIL approaches and allows for consistent enhancement of their performance across multiple exemplar-free CIL benchmarks. The source code for our method is available at https://github.com/fszatkowski/cl-teacher-adaptation.

View on arXivView PDF

Code Implementations(1)

MIT

Source code for the paper "Adapt Your Teacher: Improving Knowledge Distillation for Exemplar-free Continual Learning" from WACV 2024

123Shell, PythonNov 2, 20232 years agoMIT

Similar Papers

Cite this paper

@article{szatkowski2023adapt,
  title  = {Adapt Your Teacher: Improving Knowledge Distillation for Exemplar-free Continual Learning},
  author = {Filip Szatkowski and Mateusz Pyla and Marcin Przewięźlikowski and Sebastian Cygert and Bartłomiej Twardowski and Tomasz Trzciński},
  year   = {2023},
  eprint = {2308.09544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.09544v3}
}

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/2308.09544.svg)](https://codeofpaper.com/paper/2308.09544)

Discussion