Parameter-Free Logit Distillation via Sorting Mechanism

Stephen Ekaputra Limantoro
8/22/2025
eess.SPcs.LGeess.IV

No official code found. Best implementation: StephenEkaputra/Sort-KD (1 star, PyTorch, last commit 2025-10-16).

Abstract

Knowledge distillation (KD) aims to distill the knowledge from the teacher (larger) to the student (smaller) model via soft-label for the efficient neural network. In general, the performance of a model is determined by accuracy, which is measured with labels. However, existing KD approaches usually use the teacher with its original distribution, neglecting the potential of incorrect prediction. This may contradict the motivation of hard-label learning through cross-entropy loss, which may lead to sub-optimal knowledge distillation on certain samples. To address this issue, we propose a novel logit processing scheme via a sorting mechanism. Specifically, our method has a two-fold goal: (1) fixing the incorrect prediction of the teacher based on the labels and (2) reordering the distribution in a natural way according to priority rank at once. As an easy-to-use, plug-and-play pre-processing, our sort method can be effectively applied to existing logit-based KD methods. Extensive experiments on the CIFAR-100 and ImageNet datasets demonstrate the effectiveness of our method.

View on arXivView PDF

Code Implementations(1)

PyTorch

Parameter-Free Logit Distillation via Sorting Mechanism

10PythonSep 30, 20251 years ago
cococomputer-visiondeep-learningieeeimagenet+3 more

Similar Papers

Cite this paper

@article{limantoro2025parameterfree,
  title  = {Parameter-Free Logit Distillation via Sorting Mechanism},
  author = {Stephen Ekaputra Limantoro},
  year   = {2025},
  eprint = {2508.16544},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2508.16544v1}
}

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

Discussion