Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Label Smoothing and Knowledge Distillation Compatibility: What was Missing?

Keshigeyan Chandrasegaran, Ngoc-Trung Tran|arXiv (Cornell University)|Jun 29, 2022
Machine Learning and Data ClassificationComputer Science6 citations
TL;DR

This paper resolves the long-standing contradiction over whether label smoothing (LS) harms knowledge distillation (KD) by identifying 'systematic diffusion' as the missing mechanism: when distilling from an LS-trained teacher at high temperatures, student representations systematically diffuse toward semantically similar classes, undermining KD benefits. The authors demonstrate that low-temperature distillation from an LS-trained teacher yields superior student performance, offering a practical solution to the LS-KD compatibility dilemma.

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). 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/

Motivation & Objective

  • To resolve the contradictory findings in the literature regarding whether label smoothing (LS) harms knowledge distillation (KD).
  • To identify the underlying mechanism causing inconsistent results in LS-KD compatibility studies.
  • To provide a principled, empirically validated strategy for combining LS and KD in practice.
  • To demonstrate that high-temperature KD from LS-trained teachers is ineffective due to systematic diffusion of student representations.

Proposed method

  • Propose a novel metric, the diffusion index (η), to quantitatively measure systematic diffusion of penultimate layer representations in student models.
  • Use qualitative visualization of penultimate layer features to show that high-temperature KD from LS-trained teachers causes representations of semantically similar classes to converge.
  • Conduct large-scale experiments across image classification (ImageNet-1K, CUB200-2011), neural machine translation (IWSLT), and compact student distillation (MobileNetV2, EfficientNet-B0) tasks.
  • Validate findings using alternative distance metrics (e.g., pairwise distance) to ensure robustness of the diffusion index (η) across different cluster distance characterizations.
  • Perform ablation studies with increased label smoothing strength (α=0.2) to confirm that systematic diffusion persists and worsens with higher regularization.

Experimental results

Research questions

  • RQ1Why do conflicting results exist regarding the compatibility of label smoothing and knowledge distillation?
  • RQ2What mechanism explains the performance degradation when distilling from a label-smoothed teacher at high temperatures?
  • RQ3Does the benefit of information erasure from LS in a teacher network outweigh the negative effects in KD?
  • RQ4Under what conditions is label smoothing compatible with knowledge distillation?

Key findings

  • Systematic diffusion of student representations toward semantically similar classes occurs when distilling from a label-smoothed teacher at high temperatures, undermining KD benefits.
  • The diffusion index (η) quantitatively confirms that representations from the student trained with high-temperature KD from an LS teacher show significant diffusion toward similar classes.
  • Experiments on ImageNet-1K and CUB200-2011 show that low-temperature distillation from an LS-trained teacher yields superior student performance compared to high-temperature distillation.
  • Using a larger label smoothing hyperparameter (α=0.2) exacerbates systematic diffusion, confirming the phenomenon is generalizable across smoothing strengths.
  • Alternative distance metrics (e.g., pairwise distance) yield consistent results, validating the robustness of the diffusion index (η) across different cluster distance characterizations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.