On-policy learning is widely assumed to mitigate catastrophic forgetting, induce sparser parameter updates, and enhance generalization in LLM post-training. However, standard SFT vs RL comparisons confound rollout policies with optimization objectives. Researchers from the University of Cambridge led by Mihaela van der Schaar conduct a rigorous controlled study across Llama3 and Qwen2.5 on reasoning, scientific, and medical tasks. Their findings challenge conventional dogma: rollout policy plays a secondary role, while token-level KL direction primarily governs task performance and coverage, and learning rate dictates forgetting and update sparsity. Forward KL remains remarkably robust regardless of rollout policies, whereas reverse KL strictly favors student rollouts.

Key Takeaways

  • ✓Deconstructs LLM distillation dynamics, challenging the dogma that on-policy rollouts are inherently superior
  • ✓Proves forward-KL is exceptionally robust to rollout policies, matching online rollouts with offline teacher data
  • ✓Demonstrates that catastrophic forgetting and update sparsity are governed by learning rates rather than on-policy sampling
On-Policy vs Off-Policy Learning in LLM Distillation: Cambridge Study Reveals KL Direction & Learning Rate Outweigh Rollouts
🖼️Official Media
Click to view high-res
🧭

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

🔬

In-Depth Technical Analysis

Background and the Problem

In foundation model distillation, on-policy rollouts are widely hailed as the holy grail for preventing catastrophic forgetting, inducing sparse gradient updates, and bolstering out-of-distribution reasoning. However, empirical comparisons between SFT and RL routinely confound rollout distributions with divergent loss objectives, token clipping, and learning rates, obscuring the true mechanisms of distillation dynamics.

Architecture and How It Works

Cambridge researchers led by Mihaela van der Schaar designed an orthogonal, strong-to-weak distillation framework spanning Llama3 and Qwen2.5 across scientific, medical, and mathematical reasoning tasks:

  1. Orthogonal Variable Isolation: Independently controls rollout policies (along a continuous teacher-student spectrum), token-level KL divergence directions (Forward vs Reverse KL), and learning rates.
  2. Forward KL Robustness: Demonstrates that Forward-KL is remarkably invariant to rollout policies—achieving stable, high performance regardless of whether rollouts originate from teacher or student.
  3. Reverse KL Asymmetry: Reverse-KL exhibits acute sensitivity to rollout distributions, strictly favoring student-generated trajectories.
  4. True Drivers of Forgetting: Parameter update sparsity and catastrophic forgetting are dictated primarily by learning rate and optimization damping rather than on-policy mechanics.

Benchmarks and Measured Results

Benchmarked across medical diagnosis, scientific reasoning, and mathematical Countdown tasks:

  1. Forward KL Parity: Off-policy distillation under Forward-KL matches on-policy student rollouts across primary reasoning benchmarks.
  2. Fragile Generalization Edge: While on-policy rollouts show marginal benefits on extreme OOD arithmetic variants, this margin evaporates after downstream RLVR fine-tuning.
  3. Long-Horizon Invariance: Findings remain robust across unclipped gradients, diverse KL estimators, and extended CoT trajectories.

Getting Started for Developers

These findings provide immediate cost-saving blueprints for post-training teams. When optimizing with standard forward-KL objectives, teams can bypass complex, compute-heavy online rollout infrastructure: curated offline teacher datasets paired with calibrated learning rate schedules yield equivalent distillation fidelity.

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextOn-Policy vs Off-Policy Distillation Dynamics: Cambridge Empirical Study Reveals Forward KL Invariance and Reverse KL Sensitivity
Read Now→