Supervision Complexity and its Role in Knowledge Distillation

Hrayr Harutyunyan, Ankit Singh Rawat, Aditya Krishna Menon, Seungyeon Kim, Sanjiv Kumar
1/28/2023
cs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Despite the popularity and efficacy of knowledge distillation, there is limited understanding of why it helps. In order to study the generalization behavior of a distilled student, we propose a new theoretical framework that leverages supervision complexity: a measure of alignment between teacher-provided supervision and the student's neural tangent kernel. The framework highlights a delicate interplay among the teacher's accuracy, the student's margin with respect to the teacher predictions, and the complexity of the teacher predictions. Specifically, it provides a rigorous justification for the utility of various techniques that are prevalent in the context of distillation, such as early stopping and temperature scaling. Our analysis further suggests the use of online distillation, where a student receives increasingly more complex supervision from teachers in different stages of their training. We demonstrate efficacy of online distillation and validate the theoretical findings on a range of image classification benchmarks and model architectures.

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. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

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

Cite this paper

@article{harutyunyan2023supervision,
  title  = {Supervision Complexity and its Role in Knowledge Distillation},
  author = {Hrayr Harutyunyan and Ankit Singh Rawat and Aditya Krishna Menon and Seungyeon Kim and Sanjiv Kumar},
  year   = {2023},
  eprint = {2301.12245},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.12245v1},
  journal = {ICLR 2023 2023}
}

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

Discussion