Diversity-Aware Reverse Kullback-Leibler Divergence for Large Language Model Distillation
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.