Logit Standardization in Knowledge Distillation
Shangquan Sun, Wenqi Ren, Jingzhi Li, Rui Wang, Xiaochun Cao

TL;DR
This paper introduces a logit standardization method using Z-score pre-processing in knowledge distillation, allowing better transfer of essential logit relations and improving performance across various models and datasets.
Contribution
It proposes a plug-and-play Z-score standardization of logits, addressing the limitations of shared temperature assumptions in knowledge distillation.
Findings
Improves student model performance on CIFAR-100 and ImageNet.
Enhances existing distillation methods with the proposed pre-process.
Achieves state-of-the-art results with vanilla distillation using logit standardization.
Abstract
Knowledge distillation involves transferring soft labels from a teacher to a student using a shared temperature-based softmax function. However, the assumption of a shared temperature between teacher and student implies a mandatory exact match between their logits in terms of logit range and variance. This side-effect limits the performance of student, considering the capacity discrepancy between them and the finding that the innate logit relations of teacher are sufficient for student to learn. To address this issue, we propose setting the temperature as the weighted standard deviation of logit and performing a plug-and-play Z-score pre-process of logit standardization before applying softmax and Kullback-Leibler divergence. Our pre-process enables student to focus on essential logit relations from teacher rather than requiring a magnitude match, and can improve the performance of…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSemantic Web and Ontologies
MethodsFocus · Knowledge Distillation · Softmax
