An RL View of OPD: Least Square Policy Distillation for Sample-Efficient LLM Reasoning

Hugging Face Daily Papers Papers

Summary

Introduces Least Square Policy Distillation (LSPD), an RL-based method for sample-efficient distillation in large language models, improving performance on mathematical reasoning benchmarks.

We study on-policy distillation (OPD) through the lens of reinforcement learning, establishing a connection between the reverse-KL objective in OPD and KL-regularized policy optimization. Building on this connection, we introduce Least-Square Policy Distillation (LSPD), an RL-inspired framework that brings optimistic exploration and off-policy data reuse from value-based RL into policy distillation. LSPD preserves policy diversity through exploration while improving rollout efficiency by repeatedly learning from previously collected trajectories. Our theoretical analysis connects LSPD to optimistic value-based learning and shows that its idealized formulation achieves a sharp mathcal O(log K) regret bound under online exploration. Empirically, LSPD consistently outperforms existing distillation baselines across six mathematical reasoning benchmarks and diverse teacher-student settings, with average gains of +1.59 points in Avg@16. Remarkably, through Pass@k evaluations up to k=64, we found that LSPD better preserves policy diversity by achieving stronger performance as k grows. Its fully off-policy variant achieves comparable performance to vanilla OPD using only the first 25% of rollout batches. Together, these results provide an RL perspective on OPD that offers both a principled interpretation and a practical route toward more effective and rollout-efficient language model distillation.
Original Article
View Cached Full Text

Cached at: 09/29/26, 08:09 AM

Paper page - An RL View of OPD: Least Square Policy Distillation for Sample-Efficient LLM Reasoning

Source: https://huggingface.co/papers/2609.35505

https://huggingface.co/papers/2609.35505#lspd-an-rl-view-of-on-policy-distillationLSPD: An RL View of On-Policy Distillation

On-policy distillation (OPD) is commonly implemented with policy-gradient updates. But its reverse-KL objective also has an exact interpretation asKL-regularized reinforcement learning, with a reward defined by the teacher relative to a reference policy. This raises a natural question:can value-based RL principles make policy distillation more sample-efficient?

We introduceLeast Square Policy Distillation (LSPD), motivated by optimistic reward estimation and KL-regularized policy improvement. Rather than using teacher feedback only to drive policy-gradient updates, LSPD directly matches student and teacher log probabilities through a robust least-squares objective. This formulation enables learning from accumulated experience, bringing a central advantage of value-based RL to LLM distillation. Our theoretical analysis establishes logarithmic reverse-KL regret for an idealized optimistic formulation.

Across six mathematical reasoning benchmarks and three teacher–student settings, LSPD improves reasoning performance and multi-sample solution coverage. Its replay-based variant,LSPD-RB, achieves performance comparable to vanilla OPD with approximatelyone-quarter of the rollout batches. The broader message:viewing distillation as an RL problem opens up algorithmic choices beyond on-policy policy gradients—and opportunities to learn more from each interaction with the teacher.

📄Paper· 💻Code

Similar Articles

The Weakest Link: Distilling LLM Reasoning with Worst-Case Constrained Reinforcement Learning

arXiv cs.LG

This paper formulates LLM reasoning distillation as a constrained reinforcement learning problem, maximizing task reward subject to a worst-case teacher-likelihood constraint along every step of the reasoning trajectory, avoiding the reward hacking of pure GRPO and the diluted task performance of KL-based distillation. Experiments on math reasoning and code generation show the method significantly expands the accuracy-fidelity Pareto front.

OPRD: On-Policy Representation Distillation

Hugging Face Daily Papers

OPRD proposes a new knowledge distillation method that aligns student and teacher hidden states across layers during on-policy rollouts, eliminating sampling variance from token-space KL estimation. Empirically, OPRD outperforms output-space baselines on math reasoning benchmarks (AIME 2024/2025, AIMO) while being 1.44x faster and using 54% less memory.

Overcoming Scaling Limits in On-Policy Self-Distillation for LLM Reasoning

Hugging Face Daily Papers

This paper analyzes on-policy self-distillation (OPSD) for LLM reasoning and shows that unverified student scaffolds create an imitation gap that worsens with model scale, motivating OASIS, a method that supervises mostly verified by-label on-policy trajectories using model-generated attempts as teacher context, improving Qwen3 1.7B/4B/8B by 3.2-3.8 points on AIME/HMMT benchmarks.