This paper from Salesforce AI Research takes a critical look at the "common wisdom" surrounding post-training for Large Language Models (LLMs). Specifically, it pits On-Policy Distillation (OPD)—where a student model learns from a teacher's per-token probabilities on its own attempts—against Group Relative Policy Optimization (GRPO), a popular reinforcement learning (RL) method that relies on simple binary rewards (correct/incorrect).
TL;DR
While OPD is often praised for its "dense" learning signal, it usually loses to GRPO in terms of raw compute efficiency (FLOPs) when using external teachers. However, the authors discover a "self-GRPO" recipe—distilling from the student's own RL-trained checkpoint—that is 50x more efficient than standard training and enables a "specialize, then consolidate" pipeline that beats joint RL by 42% in total compute.
What Problem Does This Paper Address?
In the race to build better reasoning models, researchers have two main tools for post-training: RL (like GRPO) and Distillation (like OPD). OPD is theoretically attractive because the teacher provides feedback on every single token, whereas RL only gives a "thumbs up" at the very end of a long response.
Previous studies claimed OPD is more efficient, but they often measured efficiency using inconsistent metrics like "GPU hours" or "optimizer steps," which ignore the massive compute cost of running a large teacher model for every training token. This paper asks: When we account for every floating-point operation (FLOP), is OPD actually better than RL?
Methods
The authors conduct a massive, systematic comparison between vanilla reverse-KL OPD and GRPO. They control for:
- Compute Accounting: They use a rigorous FLOP-based metric that includes the cost of teacher forward passes.
- Teacher Provenance: They test external "thinking" models (like Qwen-32B) versus "self-GRPO" teachers (checkpoints of the student itself that were previously trained with GRPO).
- Multi-Teacher OPD: A setup where different domain-expert teachers (e.g., a math expert and a code expert) are distilled into a single generalist student.
Datasets
The study spans several challenging reasoning and knowledge domains:
- Math: DAPO-Math-17K and DeepMath-103k for training; AIME24/25 and AMC23 for out-of-distribution (OOD) evaluation.
- Code: LiveCodeBench (v1-v5) and a high-quality subset of CodeForces.
- Multi-domain: MMLU-Pro (general knowledge) and IFBench-RLVR (instruction following).
Key Insights and Ideas
- The External Teacher Trap: Using a large, smart external teacher for OPD often backfires. The student suffers from "response-length inflation," generating massive, repetitive outputs that waste compute without improving accuracy. In these cases, GRPO is almost always more FLOP-efficient.
- The "Self-GRPO" Breakthrough: The most efficient teacher isn't the biggest one; it's a version of the student itself that has already undergone some RL. Distilling from a "self-GRPO" checkpoint allows the student to recover the teacher's accuracy with 50x fewer distillation FLOPs than the original RL run required.
- Specialize, then Consolidate: The authors propose a new pipeline. Instead of training one model on everything at once (Joint GRPO), they train domain specialists (e.g., one for math, one for code) and then use multi-teacher OPD to merge them. This "consolidation" step is incredibly cheap, adding only ~5-8% to the total training cost.
Key Results
- Efficiency Gains: On a multi-domain mix of math and code, the "specialize, then consolidate" pipeline reached the same performance as joint GRPO while using 42.0% fewer total FLOPs.
- Difficulty Stratification: Even in the "sweet spot" for distillation—where the student is weak and the teacher is strong—GRPO still generally outperformed external-teacher OPD in terms of accuracy per FLOP.
- Teacher Recovery: OPD with a self-GRPO teacher not only recovers the teacher's performance but, in some cases (like with the Olmo-3-7B model), the student actually outperformed the teacher by 11%.
Limitations and Future Work
- Objective Scope: The study focused on "vanilla" reverse-KL OPD. Hybrid objectives that combine OPD with outcome rewards might narrow the gap.
- The "Why" of Self-GRPO: While the authors show that self-GRPO is efficient, the underlying reason why a student can so easily absorb its own RL-trained weights—but struggles with external ones—remains an open research question. They suggest weight-space spectral analysis as a promising direction.
- Hyperparameter Sensitivity: The study notes that OPD is particularly sensitive to rollout group sizes, which can flip the efficiency results in narrow, single-domain settings.
Summary updated