Self-Knowledge Distillation with Progressive Refinement of Targets

Kyungyul Kim, ByeongMoon Ji, Doyoung Yoon, Sangheum Hwang
6/22/2020
cs.LGstat.ML
distillation

Official code: lgcnsai/PS-KD-Pytorch (90 stars, Python, MIT, last commit 2022-08-05).

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 progressive self-knowledge distillation (PS-KD), which progressively distills a model's own knowledge to soften hard targets (i.e., one-hot vectors) during training.

Show full abstract

Hence, it can be interpreted within a framework of knowledge distillation as a student becomes a teacher itself. Specifically, targets are adjusted adaptively by combining the ground-truth and past predictions from the model itself. We show that PS-KD provides an effect of hard example mining by rescaling gradients according to difficulty in classifying examples. 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, it is confirmed that PS-KD achieves not only better accuracy, but also provides high quality of confidence estimates in terms of calibration as well as ordinal ranking. 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. The code is available at https://github.com/lgcnsai/PS-KD-Pytorch.

View on arXivView PDF

Code Implementations(1)

MIT

Official PyTorch implementation of PS-KD

9014PythonOct 8, 20214 years agoMIT

Similar Papers

Cite this paper

@article{kim2020selfknowledge,
  title  = {Self-Knowledge Distillation with Progressive Refinement of Targets},
  author = {Kyungyul Kim and ByeongMoon Ji and Doyoung Yoon and Sangheum Hwang},
  year   = {2020},
  eprint = {2006.12000},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2006.12000}
}

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

Discussion