Skip to main content
QUICK REVIEW

[Paper Review] Revisiting Knowledge Distillation via Label Smoothing Regularization

Yuan, Li, Francis E. H. Tay|arXiv (Cornell University)|Sep 25, 2019
Domain Adaptation and Few-Shot LearningComputer Science22 references16 citations
TL;DR

This paper proposes Teacher-free Knowledge Distillation (Tf-KD), a novel framework that enables student models to improve through self-training or a manually designed regularization distribution, bypassing the need for a pre-trained teacher. The authors theoretically link knowledge distillation to label smoothing regularization, showing that soft labels act as a form of learned regularization—enabling performance comparable to standard KD without extra computation, achieving up to 0.65% top-1 accuracy gain on ImageNet.

ABSTRACT

Knowledge Distillation (KD) aims to distill the knowledge of a cumbersome teacher model into a lightweight student model. Its success is generally attributed to the privileged information on similarities among categories provided by the teacher model, and in this sense, only strong teacher models are deployed to teach weaker students in practice. In this work, we challenge this common belief by following experimental observations: 1) beyond the acknowledgment that the teacher can improve the student, the student can also enhance the teacher significantly by reversing the KD procedure; 2) a poorly-trained teacher with much lower accuracy than the student can still improve the latter significantly. To explain these observations, we provide a theoretical analysis of the relationships between KD and label smoothing regularization. We prove that 1) KD is a type of learned label smoothing regularization and 2) label smoothing regularization provides a virtual teacher model for KD. From these results, we argue that the success of KD is not fully due to the similarity information between categories from teachers, but also to the regularization of soft targets, which is equally or even more important. Based on these analyses, we further propose a novel Teacher-free Knowledge Distillation (Tf-KD) framework, where a student model learns from itself or manuallydesigned regularization distribution. The Tf-KD achieves comparable performance with normal KD from a superior teacher, which is well applied when a stronger teacher model is unavailable. Meanwhile, Tf-KD is generic and can be directly deployed for training deep neural networks. Without any extra computation cost, Tf-KD achieves up to 0.65\% improvement on ImageNet over well-established baseline models, which is superior to label smoothing regularization.

Motivation & Objective

  • To challenge the common belief that knowledge distillation relies primarily on similarity information between categories from strong teacher models.
  • To investigate whether knowledge distillation can still be effective when the teacher is weak or even worse than the student.
  • To theoretically link knowledge distillation to label smoothing regularization and reveal the regularization role of soft labels.
  • To propose a generic, computation-free method for knowledge distillation that works without a teacher model.
  • To validate that self-training or a manually designed virtual teacher can achieve performance comparable to standard KD.

Proposed method

  • Proposes Teacher-free Knowledge Distillation (Tf-KD) as a framework that replaces the need for a teacher model by using the student's own predictions as soft labels.
  • Introduces Tf-KD reg, a variant that uses a manually designed target distribution with 99% probability on the correct class and uniform distribution on others, acting as a virtual teacher.
  • Theoretically proves that knowledge distillation is a form of learned label smoothing regularization, where the teacher's soft targets serve as the smoothing distribution.
  • Demonstrates that label smoothing regularization is equivalent to a form of ad-hoc knowledge distillation with a fixed, uniform virtual teacher.
  • Employs temperature scaling and a weighted combination of cross-entropy loss and KL divergence to train the student model.
  • Validates the method across multiple datasets (ImageNet, CIFAR100, Tiny-ImageNet) and models (ResNet, DenseNet, ResNeXt), using standard training protocols.

Experimental results

Research questions

  • RQ1Can a weak or poorly-trained teacher still significantly improve a student model, contrary to the belief that only strong teachers provide useful knowledge?
  • RQ2Does knowledge distillation rely primarily on inter-class similarity information from the teacher, or is regularization via soft labels equally or more important?
  • RQ3Can a student model effectively train itself using its own predictions as soft targets, eliminating the need for a separate teacher?
  • RQ4Is there a theoretical connection between knowledge distillation and label smoothing regularization?
  • RQ5Can a manually designed, non-informative virtual teacher (e.g., uniform distribution) still yield performance comparable to standard KD?

Key findings

  • Tf-KD reg, which uses a manually designed virtual teacher with 99% probability on the correct class, achieves a 0.65% top-1 accuracy improvement on ImageNet over ResNet50, outperforming standard label smoothing regularization.
  • For a powerful ResNeXt101-32×8d model with 88.79M parameters, Tf-KD reg achieves a 0.48% accuracy gain on ImageNet without any additional computational cost.
  • On CIFAR100, the self-training variant of Tf-KD (Tf-KD self) improves accuracy from 81.03% to 82.08%, demonstrating strong performance on small datasets.
  • Tf-KD reg consistently outperforms standard label smoothing regularization across all evaluated datasets, including ImageNet, CIFAR100, and Tiny-ImageNet.
  • Theoretical analysis confirms that knowledge distillation is a form of learned label smoothing regularization, with the teacher's soft targets acting as the smoothing distribution.
  • The success of KD is not solely due to inter-class similarity information but is significantly driven by the regularization effect of soft labels, which is equally or more important.

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.