DRKL:面向大语言模型蒸馏的多样性感知反向 KL 散度
Diversity-Aware Reverse Kullback-Leibler Divergence for Large Language Model Distillation
AI 导读
arXiv 论文提出多样性感知反向 KL 散度(DRKL),用于大语言模型蒸馏。研究指出反向 KL(RKL)的非目标梯度会持续推高目标 logit,导致学生模型过度自信、输出多样性下降且尾部对齐差。DRKL 消除该梯度效应并强化非目标类监督,在多个数据集与模型家族上优于 FKL、RKL 等蒸馏目标,取得更优的保真度-多样性权衡,代码已开源。
正文 · 原文
Abstract:Reverse Kullback-Leibler (RKL) divergence has recently emerged as the preferred objective for large language model (LLM) distillation, consistently outperforming forward KL (FKL), particularly under large vocabularies and significant teacher-student capacity mismatch, where RKL focuses learning on dominant modes rather than enforcing dense alignment. However, RKL introduces a structural limitation that drives the student toward overconfident predictions. We first analyze RKL by decomposing its gradients into target and non-target components, and show that non-target gradients consistently push the target logit upward even when the student already matches the teacher, thereby reducing output diversity. Also, RKL provides weak supervision over non-target classes, leading to poor tail alignment. We thus propose diversity-aware RKL (DRKL), which removes this gradient effect and strengthens non-target supervision while retaining the optimization benefits of RKL. Experiments across datasets and model families show that DRKL consistently outperforms FKL, RKL, and other strong distillation objectives, achieving a superior fidelity-diversity trade-off. Our code is available at this https URL.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2604.00223 [cs.LG] |
| (or arXiv:2604.00223v2 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2604.00223 arXiv-issued DOI via DataCite |
Submission history
From: Hoang-Chau Luong [view email]
[v1]
Tue, 31 Mar 2026 20:39:47 UTC (886 KB)
[v2]
Fri, 27 Nov 2026 07:41:36 UTC (912 KB)
来源:arXiv cs.AI · arxiv.org