A Good Teacher Adapts Their Knowledge for Distillation

Cheng-Yao Qian, T. Le, Mehrtash Harandi
1/1/2025
distillation

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Knowledge distillation (KD) is an effective method for enhancing a small model, named student, by training it under the supervision of larger teacher models. However, existing studies indicate that a substantial capacity gap between the student and teacher can lead to poor learning for the student model.

Show full abstract

This capacity gap problem limits the applicability of KD and necessitates careful selection of the teacher's size. Despite its importance, the underlying cause of the capacity gap problem remains underexplored. In this paper, we reveal that a substantial disparity in the output distributions of teacher and student models is a key factor behind this issue. To demonstrate this, we decompose the KD loss into two components: class-wise similarity and intra-class distribution, and analyze the contribution of each term. Our analysis shows that a large distributional mismatch can lead to poor student learning.Inspired by this observation, we propose the Adapted Intra-class Distribution (AID) method, wherein the teacher model is fine-tuned to optimize its intra-class distribution to better align with the student's capacity prior to knowledge distillation. This approach effectively bridges the capacity gap between teacher and student models and consistently achieves state-of-the-art performance across a diverse range of architectures.

Semantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — 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{qian2025good,
  title  = {A Good Teacher Adapts Their Knowledge for Distillation},
  author = {Cheng-Yao Qian and T. Le and Mehrtash Harandi},
  year   = {2025},
  url    = {https://api.semanticscholar.org/CorpusID:2260572509f1899330c727d920f3954d628b3d7c},
  journal = {IEEE International Conference on Computer Vision}
}

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

Discussion