Revisiting Label Smoothing and Knowledge Distillation Compatibility: What was Missing?

Keshigeyan Chandrasegaran, Ngoc-Trung Tran, Yunqing Zhao, Ngai-Man Cheung
6/29/2022
cs.LG
distillation

Official code: sutd-visual-computing-group/LS-KD-compatibility (13 stars, Python, MIT, PyTorch, last commit 2022-12-08).

Abstract

This work investigates the compatibility between label smoothing (LS) and knowledge distillation (KD). Contemporary findings addressing this thesis statement take dichotomous standpoints: Muller et al. (2019) and Shen et al. (2021b).

Show full abstract

Critically, there is no effort to understand and resolve these contradictory findings, leaving the primal question -- to smooth or not to smooth a teacher network? -- unanswered. The main contributions of our work are the discovery, analysis and validation of systematic diffusion as the missing concept which is instrumental in understanding and resolving these contradictory findings. This systematic diffusion essentially curtails the benefits of distilling from an LS-trained teacher, thereby rendering KD at increased temperatures ineffective. Our discovery is comprehensively supported by large-scale experiments, analyses and case studies including image classification, neural machine translation and compact student distillation tasks spanning across multiple datasets and teacher-student architectures. Based on our analysis, we suggest practitioners to use an LS-trained teacher with a low-temperature transfer to achieve high performance students. Code and models are available at https://keshik6.github.io/revisiting-ls-kd-compatibility/

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

[ICML 2022] This work investigates the compatibility between label smoothing (LS) and knowledge distillation (KD). We suggest to use an LS-trained teacher with a low-temperature transfer to render high performance students.

135Python, ShellJul 17, 20223 years agoMIT
cub200-2011imagenetiwsltknowledge-distillationlabel-smoothing+3 more

Similar Papers

Cite this paper

@article{chandrasegaran2022revisiting,
  title  = {Revisiting Label Smoothing and Knowledge Distillation Compatibility: What was Missing?},
  author = {Keshigeyan Chandrasegaran and Ngoc-Trung Tran and Yunqing Zhao and Ngai-Man Cheung},
  year   = {2022},
  eprint = {2206.14532},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.14532}
}

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

Discussion