# KL for a KL: On-Policy Distillation with Control Variate Baseline

DevFeed: [KL for a KL: On-Policy Distillation with Control Variate Baseline](<https://devfeed.tech/articles/kl-for-a-kl-on-policy-distillation-with-control-variate-baseline-118215.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.07865>)

Author: Minjae Oh, Sangjun Song, Gyubin Choi, Yunho Choi, Yohan Jo

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [post-training](<https://devfeed.tech/topics/post-training.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [performance](<https://devfeed.tech/tags/performance.md>), [policy](<https://devfeed.tech/tags/policy.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [reverse](<https://devfeed.tech/tags/reverse.md>), [science](<https://devfeed.tech/tags/science.md>), [stabilization](<https://devfeed.tech/tags/stabilization.md>), [token](<https://devfeed.tech/tags/token.md>), [top-k](<https://devfeed.tech/tags/top-k.md>), [value](<https://devfeed.tech/tags/value.md>), [variance](<https://devfeed.tech/tags/variance.md>)

## AI overview

vOPD addresses the high gradient variance that can make single-sample on-policy distillation unstable. It treats distillation as policy-gradient reinforcement learning and subtracts a detached control-variate baseline: the per-token negative reverse KL between student and teacher, computed from the existing forward pass without an extra critic or inference. This keeps the estimator unbiased while reducing variance. Unlike stabilization approaches that calculate reverse KL across the full vocabulary or limit it to a biased top-k support, vOPD retains the single-sample estimator; a top-k approximation of its baseline further reduces cost. The abstract reports that across mathematics, science, and instruction-following benchmarks, vOPD outperforms base OPD and matches the more expensive full-vocabulary method.

## Source excerpt

arXiv:2605.07865v2 Announce Type: replace-cross Abstract: On-Policy Distillation (OPD) has emerged as a dominant post-training paradigm for Large Language Models, especially in reasoning domains. However, OPD remains unstable in practice due to the high gradient variance of its single-sample Monte Carlo estimator, and recipes for stable training are still immature. We propose vOPD (On-Policy Distillation with a control variate baseline), which casts OPD as policy-gradient RL and stabilizes it by introducing a control variate baseline---canonically a value function---from the RL literature. We show that the OPD value function admits a closed form: the per-token negative reverse KL divergence between student and teacher, available directly from the existing forward pass with no additional critic or inference. Existing stabilization methods either compute the full token-level reverse KL over the entire vocabulary, adding significant overhead, or restrict it to a top-k support, biasing the objective. vOPD instead preserves the lightweight single-sample estimator and subtracts the value function as a detached baseline to keep the gradient unbiased while reducing variance. Moreover, we show that a top-k approximation of the baseline further lowers cost without compromising performance. Across mathematics, science, and instruction-following benchmarks, vOPD consistently outperforms base OPD and matches the most expensive full-vocabulary method, offering an efficient stabilization of OPD through principled RL variance reduction.