English

Class-aware Information for Logit-based Knowledge Distillation

Computer Vision and Pattern Recognition 2022-11-29 v1 Machine Learning

Abstract

Knowledge distillation aims to transfer knowledge to the student model by utilizing the predictions/features of the teacher model, and feature-based distillation has recently shown its superiority over logit-based distillation. However, due to the cumbersome computation and storage of extra feature transformation, the training overhead of feature-based methods is much higher than that of logit-based distillation. In this work, we revisit the logit-based knowledge distillation, and observe that the existing logit-based distillation methods treat the prediction logits only in the instance level, while many other useful semantic information is overlooked. To address this issue, we propose a Class-aware Logit Knowledge Distillation (CLKD) method, that extents the logit distillation in both instance-level and class-level. CLKD enables the student model mimic higher semantic information from the teacher model, hence improving the distillation performance. We further introduce a novel loss called Class Correlation Loss to force the student learn the inherent class-level correlation of the teacher. Empirical comparisons demonstrate the superiority of the proposed method over several prevailing logit-based methods and feature-based methods, in which CLKD achieves compelling results on various visual classification tasks and outperforms the state-of-the-art baselines.

Keywords

Cite

@article{arxiv.2211.14773,
  title  = {Class-aware Information for Logit-based Knowledge Distillation},
  author = {Shuoxi Zhang and Hanpeng Liu and John E. Hopcroft and Kun He},
  journal= {arXiv preprint arXiv:2211.14773},
  year   = {2022}
}

Comments

12 pages, 4 figures, 12 tables

R2 v1 2026-06-28T07:13:54.976Z