Better Estimation of the Kullback--Leibler Divergence Between Language Models
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
also in 1 more
Abstract (arXiv)
Estimating the Kullback--Leibler (KL) divergence between language models has many applications, e.g., reinforcement learning from human feedback (RLHF), interpretability, and knowledge distillation. However, computing the exact KL divergence between two arbitrary language models is intractable. Thus, practitioners often resort to sampling-based estimators. While it is easy to fashion a simple Monte Carlo (MC) estimator that provides an unbiased estimate of the KL divergence between language models, this estimator notoriously suffers from high variance and can even result in a negative estimate of the KL divergence, a non-negative quantity. In this paper, we introduce a Rao--Blackwellized estimator that is unbiased and provably has variance less than or equal to that of the standard Monte Carlo estimator. In an empirical study on sentiment-controlled fine-tuning, we show that our estimator provides more stable KL estimates and reduces variance substantially. Additionally, we derive an analogous Rao--Blackwellized estimator of the gradient of the KL divergence, which leads to more stable training and produces models that more frequently appear on the Pareto frontier of reward vs. KL compared to the ones trained with the MC estimator of the gradient.
Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 15 of its 41 references that are in the map. First posted on arXiv 14 Apr 2025.
Builds on
15 of 41 references.
Closest ancestors · 2
Same direction, newest first
- 2023Zephyr: Direct Distillation of LM Alignment25 Oct
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 13
- 2017Attention Is All You Needcited by 60,361
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 8,065
- 2017Deep reinforcement learning from human preferencescited by 3,912
- 2020Learning to summarize from human feedbackcited by 2,588
- 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
- 2023UltraFeedback: Boosting Language Models with Scaled AI Feedbackcited by 406
- 2024Activation Scaling for Steering and Interpreting Language Modelscited by 35
- 2024Context versus Prior Knowledge in Language Modelscited by 26
- 2018Using Large Ensembles of Control Variates for Variational Inferencecited by 21
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2024Can Transformers Learn n-gram Language Models?cited by 11
1 more
Built on by
Citing papers per year: 2025: 1; 2026: 10.
11 papers.
- 2026Reinforcement Learning via Self-Distillationcited by 332
- 2026Self-Distillation Enables Continual Learningcited by 247
- 2026Privileged Information Distillation for Language Modelscited by 90
- 2026Composer 2 Technical Reportcited by 22
- 2025A Comedy of Estimators: On KL Regularization in RL Training of LLMscited by 18
- 2026Hybrid Policy Distillation for LLMscited by 9
- 2026Learning to Explore with Parameter-Space Noise: A Deep Dive into Parameter-Space Noise for Reinforcement Learning with Verifiable Rewardscited by 6
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agentscited by 2
- 2026Total Variation Distance Estimation in Autoregressive Modelscited by 2
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfercited by 1
- 2026Function-Space Temporal Self-Distillation for Policy Optimizationcited by 0
- 2026Function-Space Temporal Self-Distillation for Policy Optimization14 Oct 2026
- 2026Total Variation Distance Estimation in Autoregressive Models21 Jul 2026
- 2026PrivacyAlign: Contextual Privacy Alignment for LLM Agents19 Jun 2026
- 2026Hybrid Policy Distillation for LLMs22 Apr 2026
- 2026Composer 2 Technical Report25 Mar 2026
- 2026Privileged Information Distillation for Language Models4 Feb 2026
- 2026The Alignment Curse: Modality Alignment Supercharges Audio Attacks via Text Transfer30 Jan 2026
- 2026Learning to Explore with Parameter-Space Noise: A Deep Dive into Parameter-Space Noise for Reinforcement Learning with Verifiable Rewards30 Jan 2026
- 2026Reinforcement Learning via Self-Distillation28 Jan 2026
- 2026Self-Distillation Enables Continual Learning27 Jan 2026
- 2025A Comedy of Estimators: On KL Regularization in RL Training of LLMs26 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2024Rethinking Kullback-Leibler Divergence in Knowledge Distillation for Large Language Models
- 2025Establishing a Scale for Kullback-Leibler Divergence in Language Models Across Various Settings
- 2024Correcting the Mythos of KL-Regularization: Direct Alignment without Overoptimization via Chi-Squared Preference Optimization
- 2026Diversity-Aware Reverse Kullback-Leibler Divergence for Large Language Model Distillation
- 2025Learning Parametric Distributions from Samples and Preferences
- 2026Do We Really Need KL Divergence for On-Policy Distillation of Large Language Models?
- 2026Theoretical Limits of Language Model Alignment
- 2025Achieving Logarithmic Regret in KL-Regularized Zero-Sum Markov Games