Skip to main content
QUICK REVIEW

[Paper Review] Self-Knowledge Distillation: A Simple Way for Better Generalization

Kyungyul Kim, Byeongmoon Ji|arXiv (Cornell University)|Jun 22, 2020
Advanced Neural Network ApplicationsComputer Science36 references40 citations
TL;DR

This paper proposes Self-Knowledge Distillation (Self-KD), a regularization method that improves deep neural network generalization by having a model progressively distill its own knowledge to soften hard one-hot labels during training. The approach achieves state-of-the-art performance, including BLEU scores of 30.0 and 36.2 on IWSLT15 English-to-German and German-to-English translation tasks, respectively.

ABSTRACT

The generalization capability of deep neural networks has been substantially improved by applying a wide spectrum of regularization methods, e.g., restricting function space, injecting randomness during training, augmenting data, etc. In this work, we propose a simple yet effective regularization method named self-knowledge distillation (Self-KD), which progressively distills a model's own knowledge to soften hard targets (i.e., one-hot vectors) during training. Hence, it can be interpreted within a framework of knowledge distillation as a student becomes a teacher itself. The proposed method is applicable to any supervised learning tasks with hard targets and can be easily combined with existing regularization methods to further enhance the generalization performance. Furthermore, we show that Self-KD achieves not only better accuracy, but also provides high quality of confidence estimates. Extensive experimental results on three different tasks, image classification, object detection, and machine translation, demonstrate that our method consistently improves the performance of the state-of-the-art baselines, and especially, it achieves state-of-the-art BLEU score of 30.0 and 36.2 on IWSLT15 English-to-German and German-to-English tasks, respectively.

Motivation & Objective

  • To improve the generalization capability of deep neural networks in supervised learning with hard targets.
  • To develop a simple yet effective regularization method that enhances model performance without requiring external teachers.
  • To provide high-quality confidence estimates alongside improved accuracy in diverse machine learning tasks.
  • To demonstrate consistent performance gains across multiple tasks, including image classification, object detection, and machine translation.

Proposed method

  • Self-KD applies knowledge distillation where the model acts as both student and teacher, using its own soft predictions to refine the loss during training.
  • The method progressively softens hard one-hot targets by leveraging the model's own output probabilities as target distributions.
  • It integrates seamlessly with existing regularization techniques, enhancing their effectiveness through knowledge distillation from the model's own predictions.
  • The distillation process is applied iteratively during training, allowing the model to refine its internal knowledge representation.
  • The method uses a temperature-scaled cross-entropy loss to encourage smoother probability distributions, improving generalization.

Experimental results

Research questions

  • RQ1Can a model improve its own generalization by distilling knowledge from its own predictions?
  • RQ2Does self-distillation with soft targets lead to better performance and more reliable confidence estimates compared to standard training?
  • RQ3Can Self-KD be effectively combined with existing regularization methods to further improve model performance?
  • RQ4How does Self-KD perform across diverse tasks such as image classification, object detection, and machine translation?

Key findings

  • Self-KD achieves state-of-the-art BLEU scores of 30.0 and 36.2 on the IWSLT15 English-to-German and German-to-English machine translation tasks, respectively.
  • The method consistently improves the performance of state-of-the-art baselines across image classification, object detection, and machine translation tasks.
  • Self-KD enhances model generalization beyond standard training, even when combined with existing regularization techniques.
  • The model trained with Self-KD produces higher quality confidence estimates compared to standard training.

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.