Knowledge Distillation with Refined Logits

Wujie Sun, Defang Chen, Siwei Lyu, Genlang Chen, Chun Chen +1 more
8/14/2024
cs.CV

Official code: zju-SWJ/RLD (24 stars, last commit 2024-08-26).

Abstract

Recent research on knowledge distillation has increasingly focused on logit distillation because of its simplicity, effectiveness, and versatility in model compression. In this paper, we introduce Refined Logit Distillation (RLD) to address the limitations of current logit distillation methods. Our approach is motivated by the observation that even high-performing teacher models can make incorrect predictions, creating an exacerbated divergence between the standard distillation loss and the cross-entropy loss, which can undermine the consistency of the student model's learning objectives. Previous attempts to use labels to empirically correct teacher predictions may undermine the class correlations. In contrast, our RLD employs labeling information to dynamically refine teacher logits. In this way, our method can effectively eliminate misleading information from the teacher while preserving crucial class correlations, thus enhancing the value and efficiency of distilled knowledge. Experimental results on CIFAR-100 and ImageNet demonstrate its superiority over existing methods. Our code is available at https://github.com/zju-SWJ/RLD.

View on arXivView PDF

Code Implementations(1)

zju-SWJ/RLDOfficial100%

Official implementation for "Knowledge Distillation with Refined Logits".

241PythonAug 2, 20242 years ago

Similar Papers

Cite this paper

@article{sun2024knowledge,
  title  = {Knowledge Distillation with Refined Logits},
  author = {Wujie Sun and Defang Chen and Siwei Lyu and Genlang Chen and Chun Chen and Can Wang},
  year   = {2024},
  eprint = {2408.07703},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07703v3}
}

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

Discussion