Improved Knowledge Distillation via Teacher Assistant

Seyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine, Akihiro Matsukawa +1 more
2/9/2019
1,573 citations
cs.LGcs.AIstat.ML
distillation

Official code: imirzadeh/Teacher-Assistant-Knowledge-Distillation (264 stars, Python, MIT, last commit 2019-10-03).

Abstract

Despite the fact that deep neural networks are powerful models and achieve appealing results on many tasks, they are too large to be deployed on edge devices like smartphones or embedded sensor nodes. There have been efforts to compress these networks, and a popular method is knowledge distillation, where a large (teacher) pre-trained network is used to train a smaller (student) network.

Show full abstract

However, in this paper, we show that the student network performance degrades when the gap between student and teacher is large. Given a fixed student network, one cannot employ an arbitrarily large teacher, or in other words, a teacher can effectively transfer its knowledge to students up to a certain size, not smaller. To alleviate this shortcoming, we introduce multi-step knowledge distillation, which employs an intermediate-sized network (teacher assistant) to bridge the gap between the student and the teacher. Moreover, we study the effect of teacher assistant size and extend the framework to multi-step distillation. Theoretical analysis and extensive experiments on CIFAR-10,100 and ImageNet datasets and on CNN and ResNet architectures substantiate the effectiveness of our proposed approach.

View on arXivView PDF

Code Implementations(1)

MIT

Using Teacher Assistants to Improve Knowledge Distillation: https://arxiv.org/pdf/1902.03393.pdf

26449PythonJan 27, 20197 years agoMIT
deep-learningknowledge-distillationneural-network-compression

Similar Papers

Cite this paper

@article{mirzadeh2019improved,
  title  = {Improved Knowledge Distillation via Teacher Assistant},
  author = {Seyed-Iman Mirzadeh and Mehrdad Farajtabar and Ang Li and Nir Levine and Akihiro Matsukawa and Hassan Ghasemzadeh},
  year   = {2019},
  eprint = {1902.03393},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.03393}
}

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

Discussion