Reproduce “TopKD: Top-scaled Knowledge Distillation” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qi Wang, Jinjia Zhou

TopKD (Top-scaled Knowledge Distillation) improves logit-based knowledge distillation by explicitly leveraging the top-K highest-ranking predictions from the teacher model's output distribution. This framework consistently enhances student model accuracy, achieving competitive or superior performance against state-of-the-art logit-based and feature-based methods across various image classification datasets and model architectures.

Key insights

  • The most confident predictions (Top-K logits) from a teacher model contain significantly richer and more semantically meaningful relational knowledge than the entire output distribution, which can be noisy or less informative.
  • A contrastive learning approach, combined with targeted scaling of Top-K logits and a decoupled loss function, effectively mitigates the information bottleneck in logit-based distillation, improving knowledge transfer without increasing architectural complexity.
  • The proposed modules (TSM and TDL) are plug-and-play, allowing seamless integration into existing logit-based and feature-based distillation methods, consistently enhancing their performance and improving the transferability of learned representations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.