Knowledge Distillation: A Good Teacher Is Patient and Consistent

Abstract

There is a growing discrepancy in computer vision between large-scale models that achieve state-of-the-art performance and models that are affordable in practical applications. In this paper we address this issue and significantly bridge the gap between these two types of models. Throughout our empirical investigation we do not aim to necessarily propose a new method, but strive to identify a robust and effective recipe for making state-of-the-art large scale models affordable in practice. We demonstrate that, when performed correctly, knowledge distillation can be a powerful tool for reducing the size of large models without compromising their performance. In particular, we uncover that there are certain implicit design choices, which may drastically affect the effectiveness of distillation. Our key contribution is the explicit identification of these design choices, which were not previously articulated in the literature. We back up our findings by a comprehensive empirical study, demonstrate compelling results on a wide range of vision datasets and, in particular, obtain a state-of-the-art ResNet-50 model for ImageNet, which achieves 82.8% top-1 accuracy.

Cite

Text

Beyer et al. "Knowledge Distillation: A Good Teacher Is Patient and Consistent." Conference on Computer Vision and Pattern Recognition, 2022. doi:10.1109/CVPR52688.2022.01065

Markdown

[Beyer et al. "Knowledge Distillation: A Good Teacher Is Patient and Consistent." Conference on Computer Vision and Pattern Recognition, 2022.](https://mlanthology.org/cvpr/2022/beyer2022cvpr-knowledge/) doi:10.1109/CVPR52688.2022.01065

BibTeX

@inproceedings{beyer2022cvpr-knowledge,
  title     = {{Knowledge Distillation: A Good Teacher Is Patient and Consistent}},
  author    = {Beyer, Lucas and Zhai, Xiaohua and Royer, Amélie and Markeeva, Larisa and Anil, Rohan and Kolesnikov, Alexander},
  booktitle = {Conference on Computer Vision and Pattern Recognition},
  year      = {2022},
  pages     = {10925-10934},
  doi       = {10.1109/CVPR52688.2022.01065},
  url       = {https://mlanthology.org/cvpr/2022/beyer2022cvpr-knowledge/}
}