Rethinking the Role of Temperature in Large Language Model Distillation

Luong, Hoang-Chau, Chen, Lingwei

–arXiv.org Artificial Intelligence 

Although temperature has been extensively studied in vision-based KD (Beyer et al., 2022; Li et al., Reverse Kullback-Leibler (RKL) divergence is 2023; Sun et al., 2024, 2025), it is often omitted in widely favored over forward KL (FKL) in large LLM distillation. Early sequence-level KD work language models (LLM) distillation, yet thisfor language tasks (Kim and Rush, 2016) reported preference is largely based on comparisons that omit the temperature τ, overlooking its central that τ = 1achieved the best empirical performance role in softening teacher distributions and imand therefore adopted the default softmax distriproving knowledge transfer. Subsequent LLM distillation methodsvisit temperature in LLM distillation and show that it fundamentally changes the comparisonsimilarly formulate and evaluate their distillation between FKL and RKL. Our analysis revealsframeworks under the default τ = 1 setting (Gu an asymmetric effect: temperature substantiallyet al., 2024; Agarwal et al., 2024; Ko et al., 2024; enriches FKL with non-dominant token signals, Wang et al., 2025; Song and Zheng, 2026), implicwhereas it mainly rescales RKL gradients, causing FKL to benefit much more from τ scalitly removing temperature from the design space ing than RKL. Moreover, superiority of RKL is largely established through the impact of temperature is not limited to FKL; evaluations conducted at τ = 1 (Gu et al., 2024; it improves a broader family of distillation ob-Ko et al., 2024; Wu et al., 2025). As a result, low-entropy teacher soft targets suppress the non-target prob1 Introduction ability mass that FKL relies on, making it appear Knowledge distillation (KD) (Hinton et al., 2015) isinferior not due to an inherent limitation of the a widely used paradigm for model compression thatobjective itself, but because it is evaluated under transfers knowledge from a large teacher model toinsufficiently softened teacher distributions.