Skip to content
AI Learning Ground Start learning

Research ·

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

Researchers introduce LSPD, an RL-inspired framework for on-policy distillation that uses optimistic exploration and off-policy data reuse, improving rollout efficiency and preserving policy diversity in LLM reasoning tasks.

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

A new paper reframes on-policy distillation (OPD) through the lens of reinforcement learning, showing that the reverse-KL objective used in OPD has an exact interpretation as KL-regularized policy optimization, with a reward defined by the teacher relative to a reference policy. Building on this connection, the authors propose Least-Square Policy Distillation (LSPD), an RL-inspired framework for distilling language models.

Rather than driving policy-gradient updates with teacher feedback, LSPD directly matches student and teacher log probabilities through a robust least-squares objective, motivated by optimistic reward estimation and KL-regularized policy improvement. This lets it reuse previously collected trajectories instead of learning only from fresh rollouts. Theoretical analysis connects LSPD to optimistic value-based learning and shows its idealized formulation achieves a logarithmic O(log K) regret bound under online exploration.

Empirically, LSPD outperforms existing distillation baselines across six mathematical reasoning benchmarks and three teacher-student settings, with average gains of +1.59 points in Avg@16. Pass@k evaluations up to k=64 indicate it better preserves policy diversity, performing stronger as k grows. Its fully off-policy replay-based variant, LSPD-RB, matches vanilla OPD using only about the first 25% of rollout batches.

For practitioners building with AI, the result suggests distillation can be treated as an RL problem, unlocking value-based RL techniques like off-policy reuse to cut rollout costs substantially while retaining diversity and improving reasoning performance.

References

Read the full story at Hugging Face ↗Like, save or discuss on Buzz

#research