Logit-Based Losses Limit the Effectiveness of Feature Knowledge Distillation

Nicholas Cooper, Lijun Chen, Sailesh Dwivedy, Danna Gurari
11/18/2025
cs.CVcs.AIcs.LG

Official code: Thegolfingocto/KD_wo_CE (0 stars, MIT, last commit 2025-11-20).

Abstract

Knowledge distillation (KD) methods can transfer knowledge of a parameter-heavy teacher model to a light-weight student model. The status quo for feature KD methods is to utilize loss functions based on logits (i.e., pre-softmax class scores) and intermediate layer features (i.e., latent representations). Unlike previous approaches, we propose a feature KD framework for training the student's backbone using feature-based losses exclusively (i.e., without logit-based losses such as cross entropy). Leveraging recent discoveries about the geometry of latent representations, we introduce a knowledge quality metric for identifying which teacher layers provide the most effective knowledge for distillation. Experiments on three image classification datasets with four diverse student-teacher pairs, spanning convolutional neural networks and vision transformers, demonstrate our KD method achieves state-of-the-art performance, delivering top-1 accuracy boosts of up to 15% over standard approaches. We publically share our code to facilitate future work at https://github.com/Thegolfingocto/KD_wo_CE.

View on arXivView PDF

Code Implementations(1)

MIT

Public-facing repo for code from the paper "Logit Losses Limit the Effectiveness of Feature Knowledge Distillation"

01PythonOct 19, 202511 months agoMIT

Similar Papers

Cite this paper

@article{cooper2025logitbased,
  title  = {Logit-Based Losses Limit the Effectiveness of Feature Knowledge Distillation},
  author = {Nicholas Cooper and Lijun Chen and Sailesh Dwivedy and Danna Gurari},
  year   = {2025},
  eprint = {2511.14981},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.14981v1}
}

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

Discussion