Unpacking the Compute Efficiency of Strong-to-Weak OPD against GRPO

Zeyu Leo Liu, Yang Li, Bo Pang, Emre Can Acikgoz, Xuan-Phi Nguyen, Anurag Koul, Srijan Bansal, Erik Nijkamp, Shafiq Joty, Semih YavuzarXiv 2026 · arXiv

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.
Figure 1: OPD compute efficiency, at a glance. (a) GRPO achieves higher performance at fewer FLOPs than OPD across external teacher sizes (up to 32B) on the OOD math evaluation (AIME24/25 and AMC23); the same ordering holds across the other settings. (b) On the OOD math eval with a Qwen3-4B-Base student, OPD with a self-GRPO teacher (a GRPO checkpoint of the student) is the only setup that matches GRPO performance with 50.0× fewer FLOPs than GRPO, and 135.6× fewer FLOPs than OPD with an external teacher Qwen3-8B. (c) On a multi-domain data mix with math and code, running multi-teacher OPD with self-GRPO teachers (per domain) matches joint GRPO at 42.0% fewer total FLOPs. A single external 8B teacher substantially underperforms despite its stronger overall performance; the trained student demonstrates severe degenerate behavior like unstoppable repetition, and Chinese characters given an English prompt.

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.
Figure 2: GRPO vs OPD across difficulty levels. We stratify DAPO-Math-17K by mean@32 solve rate of the student (Qwen3-1.7B-Base) and teacher (Qwen3-4B). This yields eight subsets, each corresponding to a performance level by student and teacher; each subplot shows in-domain mean@16 against cumulative training FLOPs. GRPO outperforms every OPD variant in every cell, including the cell most favourable to OPD (top-right: student barely solves, teacher performs very well). OOD results in Figure 8.
  • 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

Abstract

On-policy distillation (OPD) trains a student on its own rollouts under a frozen teacher's per-token supervision. Does this dense signal reduce the training FLOPs needed to reach a target accuracy compared with reinforcement learning? We systematically compare vanilla reverse-KL OPD with Group Relative Policy Optimization (GRPO) across task difficulty, student and teacher size, domain, and optimization choices, measuring held-out accuracy against training FLOPs. With an external post-trained teacher, OPD generally loses to GRPO in accuracy per training FLOP at matched settings, even when the teacher is further trained with GRPO, and often suffers response-length inflation. Yet a different teacher changes the picture: when the teacher is the student's own GRPO checkpoint, OPD recovers that checkpoint's accuracy on math with $50\times$ fewer distillation FLOPs than GRPO needs to reach the same accuracy. Following the same teacher setting, we consistently observe this high efficiency with a larger student, on code, and in a second model family. On a single domain, however, the GRPO checkpoint is already the desired model, so distilling it adds to total compute. Across domains, separate GRPO checkpoints hold different capabilities, and no single checkpoint serves every domain. Multi-teacher OPD (DeepSeek-AI, 2026) consolidates per-domain GRPO experts into a single student that matches each expert's accuracy, with the distillation stage costing only 5.2% (on 2 domains) and 8.0% (on 4 domains) of the specialist training FLOPs. Counting specialist training and distillation together, this pipeline reaches joint GRPO's performance on the 2-domain mix with 42.0% fewer total FLOPs.
BibTeX
@misc{liu2026unpacking,
  author = {Zeyu Leo Liu and Yang Li and Bo Pang and Emre Can Acikgoz and Xuan-Phi Nguyen and Anurag Koul and Srijan Bansal and Erik Nijkamp and Shafiq Joty and Semih Yavuz},
  title = {{Unpacking the Compute Efficiency of Strong-to-Weak OPD against GRPO}},
  year = {2026},
  eprint = {2611.08453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08453},
}
Figure