arXiv(opens in a new tab)cs.LGSep 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.35259

On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamics

Julianna Piskorz, Antonin Berthon, Mihaela van der Schaar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

On-policy learning has been argued to reduce catastrophic forgetting, produce sparser parameter updates, and improve generalisation. However, existing comparisons between supervised fine-tuning and reinforcement learning vary many factors simultaneously, making the contribution of rollout policy difficult to isolate. We study the effect of rollout policy in a controlled strong-to-weak distillation setting, by independently varying rollout policy, token-level KL direction, and learning rate across the Llama 3 and Qwen2.5 model families and reasoning tasks spanning scientific, medical, and arithmetic domains. Our analysis reveals a nuanced picture of distillation dynamics in which rollout policy does not necessarily play a central role. Instead, token-level KL direction more clearly shapes task performance and output coverage, while learning rate governs forgetting and update sparsity. Analysis of KL gradients and experiments along a continuous student–teacher rollout-policy spectrum explain this pattern: forward KL is remarkably robust to rollout policy, with its performance stable and strong despite changes to the rollout policy, whereas reverse KL is substantially more sensitive and favours student-generated rollouts. On-policy data nevertheless improves generalisation to harder variants of the Countdown arithmetic task under both KL directions, although this advantage does not reliably persist after subsequent RLVR. Our broader conclusions remain robust to removing gradient clipping, using sampled KL estimators, and training on tasks requiring longer reasoning chains. Overall, our results challenge the view that on-policy rollouts are inherently preferable and show that their value depends critically on the objective, evaluation setting, and optimisation hyperparameters.

1 INTRODUCTION

Post-training plays a central role in developing the reasoning capabilities of large language models across a wide range of domains. Prominent approaches include supervised fine-tuning (SFT) on high-quality reasoning traces (Guha et al., 2025; Bai et al., 2025), reinforcement learning with verifiable rewards (RLVR) (DeepSeek-AI, 2025; Shao et al., 2024; Yu et al., 2025), and knowledge distillation (KD) (Hinton et al., 2015; Agarwal et al., 2023; Xiao et al., 2026). Strong-to-weak distillation has become especially prominent in modern post-training pipelines, sing stronger teacher models to transfer reasoning behaviour to weaker students (Yang et al., 2025a; DeepSeek-AI et al., 2026). As the number of available methods grows, classifying their relative strengths and limitations, becomes essential, guiding the development of more effective and efficient training recipes.

One increasingly influential hypothesis singles out the policy used to generate training data as a key factor differentiating post-training methods. Off-policy methods, such as SFT, learn from a fixed dataset or data-generating policy, whereas on-policy methods, such as RLVR, repeatedly train on outputs sampled from the model being optimised. Although SFT and RLVR differ in several other respects, this difference in rollout policy has been proposed as a central factor underlying their differing behaviour. In particular, relative to off-policy learning, on-policy learning has been argued to reduce or prevent catastrophic forgetting (Shenfeld et al., 2025; Chen et al., 2025; Shenfeld et al., 2026), produce substantially sparser parameter updates (Mukherjee et al., 2025), and improve

∗^{*}Authors contributed equally.

generalisation (Chu et al., 2025; Zhang et al., 2026b; Yuan et al., 2026; Ming et al., 2025). These findings have contributed to broader interest in on-policy post-training, including on-policy distillation (Song and Zheng, 2026; Agarwal et al., 2023; Lu and Lab, 2025; Xiao et al., 2026).

Yet the causal role of rollout policy remains unclear. Comparisons between SFT and RLVR also change the objective, source and density of supervision, and optimisation procedure, so effects attributed to on-policy data may arise from these accompanying differences. Resolving this ambiguity is practically important: on-policy methods require continual generation throughout training, whereas off-policy methods can reuse existing data. If their proposed benefits arise from other design choices, this additional cost may often be unnecessary.

In this work, we use strong-to-weak distillation as a controlled testbed for isolating the effect of rollout policy. Unlike SFT vs RLVR comparisons, this setting allows us to change the data-generating policy while holding the remaining training pipeline fixed. Across the Llama 3 and Qwen2.5 model families and reasoning tasks spanning scientific, medical, and arithmetic domains, we independently vary the rollout policy and KL direction, breaking the conventional pairing of forward KL with off-policy learning and reverse KL with on-policy learning, while controlling for the learning rate. We find no consistent advantage from on-policy distillation in final in-distribution accuracy, catastrophic forgetting, or parameter-update sparsity. Instead, KL direction more clearly determines task accuracy, while learning rate governs forgetting and sparsity. In particular, we find no evidence that on-policy rollouts intrinsically preserve prior capabilities or induce sparser updates.

To understand when rollout policy does matter, we examine its interaction with the token-level KL objective through a theoretical and empirical analysis. We vary the rollout policy along a student–teacher spectrum, interpolating between the two policies and extrapolating beyond them to favour tokens preferred by one model over the other. Our analysis reveals a clear objective-dependent asymmetry: forward KL is remarkably robust to changes in the rollout policy, whereas reverse KL is substantially more sensitive and favours on-policy rollouts. Nevertheless, forgetting and update sparsity remain governed by learning rate, with little to no variation caused by the rollout policy.

The benefits of different configurations become more nuanced when considering evaluations beyond final accuracy. Forward KL produces larger pass@k gains on the in-distribution task compared to reverse KL, while generalisation to harder task variants on Countdown consistently benefits from on-policy data, under both KL directions. However, this initial generalisation advantage of on-policy learning does not reliably persist after subsequent RLVR. When combined with reverse KL, on-policy rollouts also reduce incidental teacher-style transfer. Our principal findings remain robust when removing gradient clipping, replacing full-vocabulary KL with commonly used sampled estimators, and training on tasks requiring longer reasoning chains. Our main contributions are:

• A controlled study of distillation. We disentangle rollout policy, KL direction, and learning rate in a controlled study of strong-to-weak distillation, finding no consistent advantage from on-policy rollouts in final accuracy, catastrophic forgetting, or parameter-update sparsity.

• An objective-dependent account of rollout-policy sensitivity. Through gradient analysis and experiments along a continuous student–teacher spectrum, we show that forward KL is robust to rollout policy, whereas reverse KL is substantially more sensitive.

• A characterisation of when on-policy data helps. While training stability and output coverage are largely driven by KL direction, and learning rate determines the degree of catastrophic forgetting and update sparsity, we find that on-policy rollouts consistently help to improve model's generalisation to harder task variants and could reduce incidental teacher-style transfer.

Together, these findings challenge the view that on-policy rollouts are universally preferable for strong-to-weak distillation. Instead, the choice of token-level KL divergence strongly affects task performance, training stability and output coverage, while catastrophic forgetting and update sparsity are driven by the learning rate. We hope that these findings encourage practitioners to weight the additional cost of on-policy distillation over cheaper off-policy alternatives, and help clarify which training outcomes can be attributed to rollout policy rather than KL direction or learning rate.

References (57)