LLM-Oriented Token-Adaptive Knowledge Distillation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Xie, Xurong, Xue, Zhucun, Wu, Jiafu, Li, Jian, Wang, Yabiao, Hu, Xiaobin, Liu, Yong, Zhang, Jiangning
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917009014390784
author Xie, Xurong
Xue, Zhucun
Wu, Jiafu
Li, Jian
Wang, Yabiao
Hu, Xiaobin
Liu, Yong
Zhang, Jiangning
author_facet Xie, Xurong
Xue, Zhucun
Wu, Jiafu
Li, Jian
Wang, Yabiao
Hu, Xiaobin
Liu, Yong
Zhang, Jiangning
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_11615
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LLM-Oriented Token-Adaptive Knowledge Distillation
Xie, Xurong
Xue, Zhucun
Wu, Jiafu
Li, Jian
Wang, Yabiao
Hu, Xiaobin
Liu, Yong
Zhang, Jiangning
Computation and Language
Artificial Intelligence
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.
title LLM-Oriented Token-Adaptive Knowledge Distillation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2510.11615