Distilling Knowledge via Intermediate Classifiers

Aryan Asadian, Amirali Salehi-Abari
2/28/2021
1 citation
cs.LGcs.AIcs.CV
distillation

Official code: aryanasadianuoit/Distilling-Knowledge-via-Intermediate-Classifiers (16 stars, Python, MIT, last commit 2021-10-03).

Abstract

The crux of knowledge distillation is to effectively train a resource-limited student model with the guide of a pre-trained larger teacher model. However, when there is a large difference between the model complexities of teacher and student (i.e., capacity gap), knowledge distillation loses its strength in transferring knowledge from the teacher to the student, thus training a weaker student.

Show full abstract

To mitigate the impact of the capacity gap, we introduce knowledge distillation via intermediate heads. By extending the intermediate layers of the teacher (at various depths) with classifier heads, we cheaply acquire a cohort of heterogeneous pre-trained teachers. The intermediate classifier heads can all together be efficiently learned while freezing the backbone of the pre-trained teacher. The cohort of teachers (including the original teacher) co-teach the student simultaneously. Our experiments on various teacher-student pairs and datasets have demonstrated that the proposed approach outperforms the canonical knowledge distillation approach and its extensions.

View on arXivView PDF

Code Implementations(1)

MIT

Distilling Knowledge via Intermediate Classifiers

167Python, TeXFeb 6, 20215 years agoMIT
classifier-headscurriculum-learningdeep-learningdihfitnet+2 more

Similar Papers

Cite this paper

@article{asadian2021distilling,
  title  = {Distilling Knowledge via Intermediate Classifiers},
  author = {Aryan Asadian and Amirali Salehi-Abari},
  year   = {2021},
  eprint = {2103.00497},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.00497}
}

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

Discussion