LLM-Oriented Token-Adaptive Knowledge Distillation

Xurong Xie, Zhucun Xue, Jiafu Wu, Jian Li, Yabiao Wang +3 more
10/13/2025
cs.CLcs.AI

No official code found. Best implementation: SassyRong/AdaKD (8 stars, last commit 2026-02-03).

Abstract

Knowledge distillation (KD) is a key technique for compressing large-scale language models (LLMs), yet prevailing logit-based methods typically employ static strategies that are misaligned with the dynamic learning process of student models. These methods typically treat all tokens indiscriminately and apply a single, fixed temperature, resulting in suboptimal knowledge transfer. To address these limitations, we propose LLM-Oriented Token-Adaptive Knowledge Distillation (AdaKD), a novel framework that adapts the distillation process to the real-time learning state of each token. AdaKD consists of two synergistic modules driven by a unified token difficulty metric. First, our Loss-Driven Adaptive Token Focusing (LATF) module dynamically adjusts the distillation focus by monitoring the student's learning stability, concentrating computational resources on the most valuable tokens at each training phase. Second, we introduce Inverse Difficulty Temperature Scaling (IDTS), a counterintuitive yet effective token-level temperature strategy. It employs low temperatures for difficult tokens for targeted error correction, and high temperatures for easy tokens to encourage students to learn from the teacher's complete and smooth output distribution, thereby enhancing generalization. As a plug-and-play framework, AdaKD can consistently improve the performance of various distillation methods on multiple model architectures and benchmarks.

View on arXivView PDF

Code Implementations(1)

SassyRong/AdaKDCommunity71%

[AAAI 2026] LLM-Oriented Token-Adaptive Knowledge Distillation

81Shell, PythonAug 27, 20258 months ago

Similar Papers

Cite this paper

@article{xie2025llmoriented,
  title  = {LLM-Oriented Token-Adaptive Knowledge Distillation},
  author = {Xurong Xie and Zhucun Xue and Jiafu Wu and Jian Li and Yabiao Wang and Xiaobin Hu and Yong Liu and Jiangning Zhang},
  year   = {2025},
  eprint = {2510.11615},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.11615v1}
}

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

Discussion