Manuscript Offprint

arXiv:2611.08453

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 Yavuz

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

Zeyu Leo Liu¹, Yang Li¹, Bo Pang¹, Emre Can Acikgoz¹,², Xuan-Phi Nguyen¹, Anurag Koul¹, Srijan Bansal¹, Erik Nijkamp¹, Shafiq Joty¹, Semih Yavuz¹

¹ Salesforce AI Research, ² IUIUC

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× 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.

salesforce

Figure

(c) On multi-domain, OPD with multiple self-GRPO teachers remains highly compute-efficient

Figure

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.

1 Introduction

On-policy distillation (OPD) (Agarwal et al., 2024) trains a student on its own rollouts, with each token scored by a frozen teacher. It combines the dense per-token supervision of classical knowledge distillation (Kim & Rush, 2016; Gu et al., 2024) with on-policy sampling that avoids the train/test mismatch of teacher-generated data. Dense teacher feedback suggests that OPD may learn from fewer rollouts than outcome-reward RL such as GRPO (Shao et al., 2024). Its promise is sharpest on hard problems: when the student rarely finds a correct answer, outcome-reward GRPO has little positive signal, while the teacher can still supervise every generated token. Yet that supervision requires a teacher forward pass on every training token, and longer responses raise the cost further. Fewer rollouts or optimizer steps therefore need not mean fewer FLOPs. Can OPD reach the same accuracy as GRPO with fewer training FLOPs? Existing efficiency reports use GPU-hours, gradient-step ratios, or partial FLOPs comparisons, leaving the matched-FLOPs comparison unresolved. To our knowledge, no prior work systematically compares OPD and GRPO at matched training FLOPs (§2; Appendix A).

In this work, we focus on systematically comparing reverse-KL OPD with GRPO by tracking held-out task performance against cumulative training FLOPs. Our experiments vary data difficulty, student and teacher sizes and initializations, training domain, thinking mode, distillation objective, and the RL framework. With off-the-shelf post-trained teachers, GRPO generally achieves higher accuracy at a fixed FLOP budget. Reducing OPD to one rollout per prompt is the one change that lets an external teacher outperform GRPO, and only on single-domain math; the advantage disappears on code and multi-domain training (Appendix I). To our surprise, this even holds in the subset that should intuitively favour OPD most: a small student that barely solves (mean@32=0) paired with a large teacher that solves well (mean@32>0.6), where GRPO's outcome reward is very weak and dense per-token supervision should matter most (§4.1). External-teacher OPD consistently inflates response length until it reaches the maximum length, increasing the FLOPs paid per step (Appendix E).

We next ask whether the teacher's training history changes the result. Recent work reports that GRPO-training the teacher before distillation can help the student learn better (Li et al., 2026). Building on this evidence, we compare external thinking models, further-GRPO-trained thinking models, and GRPO-trained base models at or above the student's size. Among the teachers tested, OPD consistently recovers the teacher's accuracy only when the teacher is a GRPO checkpoint of the student. In particular, in our math setting, OPD with one rollout per prompt matches that checkpoint's accuracy with 50× fewer distillation-stage FLOPs (6× at the default 8-rollout-per-prompt setting) than the eight-rollout GRPO training needs to reach the same accuracy. We further find such observation generalizes across model sizes, domains, and model families. When using Olmo-3-7B-Instruct-SFT on math, we are surprised to find self-GRPO OPD can lead to a student outperforming teacher substantially by 11% absolute score.

However, distilling from the student's own GRPO checkpoint reveals a paradox: on a single domain, why distill when you already have the GRPO-trained model? The 50× ratio counts only distillation: the GRPO run has already produced the desired single domain model, so distilling it back into the base student adds cost. Consider math and code: separate GRPO runs produce two specialists, but neither checkpoint can serve both domains. This is where multi-teacher OPD has a distinct compute-efficiency opportunity: it can consolidate the GRPO specialists into the multi-domain model neither provides, with only a small additional distillation cost. The decisive compute test is whether the cost of training those experts and consolidating them via distillation beats that of joint GRPO on the same data mix. Recent open-source models (Yang et al., 2026d; Team et al., 2026; DeepSeek-AI, 2026; Kimi Team, 2026) use this recipe, but leave that full-pipeline comparison unmeasured. Multi-teacher OPD combines the per-domain GRPO experts into a single student model that recovers their performance, with distillation adding only 5.2% (two domains) and 8.0% (four domains) to the specialists' training FLOPs. Counting both stages, the two-domain pipeline reaches joint GRPO's accuracy on the same data mix with 42% fewer total FLOPs. On both two-domain and four-domain settings, joint GRPO does not even reach the merged student's performance within the tested budget.

Our contributions identify where OPD falls short of GRPO and how distillation gains a distinct compute advantage with multi-teacher OPD:

  • A comprehensive set of controlled experiments shows that dense token supervision alone does not reliably make external-teacher OPD cheaper than GRPO (§4).

  • Choose teachers by provenance. Among the teachers tested, a GRPO checkpoint of the student model itself transfers most reliably and 50.0× more efficiently, but its distillation-stage savings must be weighed against the cost of training it (§5).

  • Specialize, then consolidate. Train separate GRPO experts on different domains and combine them with routed multi-teacher OPD, in which scenario OPD clearly offers a more compute-efficient solution than joint GRPO by producing the multi-domain model that no single specialist alone supplies (§6).

References (100)