Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Self-Knowledge Distillation with Progressive Refinement of Targets

About

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

Kyungyul Kim, ByeongMoon Ji, Doyoung Yoon, Sangheum Hwang• 2020

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy89.36
3518
Image ClassificationCIFAR-10 (test)
Accuracy98.37
3381
Object DetectionPASCAL VOC 2007 (test)--
844
Image ClassificationImageNet-1K
Top-1 Acc79.2
600
Image ClassificationTinyImageNet (test)
Accuracy89.32
440
Image ClassificationImageNet (test)
Top-1 Accuracy79.18
299
Image ClassificationCIFAR-100 (test)--
175
CalibrationCIFAR-100 (test)
ECE3.73
104
Out-of-Distribution DetectionCIFAR-10 (ID) vs SVHN (OOD) (test)
AUROC98.28
88
Out-of-Distribution DetectionCIFAR100 (ID) vs SVHN (OOD) (test)
AUROC88.82
67
Showing 10 of 16 rows

Other info

Code

Follow for update