grpo
Credit Assignment Has Been Addressed via Decision Models
Fan, Jiajun, Zheng, Qinglong, Wang, Ziwen, Yang, Bangji, He, Neil, Guo, Ruihan, Cheng, Chaoran, Liu, Ge
Reinforcement learning (RL) from verifiable outcomes gives a language agent one reward per episode: every step is credited alike, and nothing about the task is learned when all rollouts fail. The last mile, step-level credit, usually requires step labels, a learned critic, costly LLM judges or hand-written rules. We introduce DM-PRM, which turns a general-purpose decision model -- one answering yes/no questions with probabilities -- into a general-purpose process reward model (PRM), zero-shot: no step labels, no fine-tuning, no critic. DM-PRM asks one question per step and adds the standardised answers to the advantage. It plugs into any policy-gradient method; one model, with one question text per environment, serves household tasks, web shopping and multiple RL methods. With Qwen2.5-1.5B it lifts GRPO by over twenty points on ALFWorld and over ten on WebShop, overtakes GiGPO on ALFWorld and learns in far fewer iterations; it also improves GiGPO and GraphGPO on both benchmarks and reaches the highest success of our comparison, ahead of critic-based PPO and of state-of-the-art GiGPO, HGPO and GraphGPO. Its scores locate useful steps in failed rollouts, and trained agents drop idle actions and explore instead of circling. DM-PRM shows that step credit need not be learned: it can be asked for.
Multi-Axis Max@K Reinforcement Learning for Representative Diversity in Text-to-Image Generation
Onoda, Ku, Parmas, Paavo, Furuta, Hiroki, Nishimori, Soichiro, Oshima, Yuta, Taniguchi, Shohei, Matsuo, Yutaka
Text-to-image (T2I) models produce realistic, prompt-aligned images, but samples for the same prompt often cover only a few visually distinct modes. For person-centric prompts, this lack of diversity can reflect or amplify demographic skew. We formalize representative diversity as target-mode coverage: how well a set of samples covers predefined modes, such as colors or perceived-race categories. We then propose MultiMaxPO, a reinforcement learning post-training method that improves this coverage in diffusion T2I models by optimizing a multi-axis max@K objective. Given one score per mode for each sample, multi-axis max@K takes the maximum over samples for each mode and then sums these maxima. Because only the best sample counts for each mode, another high score on a mode that is already covered adds little, whereas covering a missing mode adds much more. The objective therefore favors sets whose samples cover different modes. We verify this effect on a synthetic Gaussian mixture and on Stable Diffusion 3.5 Medium with pixel-based color rewards, and then apply it to perceived-appearance fairness. On held-out prompts and under three automatic evaluators, MultiMaxPO improves the Fairness Score over the base model by 0.22-0.36 on Stable Diffusion 3.5 Medium and by 0.07-0.19 on FLUX.1-dev, outperforms matched RL baselines, and maintains image quality and text alignment. Code is available at https://github.com/KuOnoda/multi-axis-maxk.
ProCredit: From Outcome Rewards to Progress Credit in Agentic Reinforcement Learning
Ma, Ming, Zhu, Yi, Zhong, Yiran, Zhu, Feida, Liu, Chonghan, Jiao, Pengkun, Wang, Qichao, Jia, Yanhao, Yang, Tianming, Hoi, Steven
Long-horizon agentic tasks require an agent to modify an environment through a sequence of tool calls, with success determined by the final state. The standard recipe assigns a single outcome reward at the end and compares trajectories sampled for the same task. As a result, a group with no successful trajectory yields no training signal, failed attempts cannot be told apart by how close they came to completion, and turns that advance the task receive the same credit as turns that only query the environment. Prior work refines the unit of comparison from the trajectory to the step, or trains a reward model to supply intermediate signal: the former still derives its signal from final success alone, and the latter estimates it with a model. We observe that the acceptance checks that decide success can also be run on intermediate states, so progress is as verifiable as the outcome. We propose ProCredit, which turns this verified progress into credit: it reruns the acceptance checks after each turn, rewards the turn by its change in progress, and uses these rewards to assign credit both across attempts at the same task and across the turns within a trajectory. Starting from Qwen3.5 base models at three scales on AppWorld, ProCredit outperforms outcome-reward baselines and progress-based baselines in task completion rate at every scale on both test sets, exceeding the strongest outcome-reward baseline by 4.1 percentage points at 4B, and results in a second environment show the same direction of improvement. Ablations show that adding the final progress to the trajectory score alone does not improve performance: the gain comes from crediting progress to the turn where it occurs.
Beyond Sharpening: Proper Scoring Policy Optimization for Online LLM Reasoning
Online reinforcement learning methods such as GRPO have become the main way to improve the reasoning of large language models, yet it is still debated whether their gains come mainly from sharpening, that is, from making the model's existing answer distribution more concentrated. The answer decides how these methods can be improved. We argue that GRPO does sharpen the output distribution, and that the sharpening comes from its training objective, pass@1 (the probability that a single sample is correct), itself. To show this, we study sharpening in reverse, through the single-sample error rate, which we decompose exactly into four layers: errors removed by lowering the sampling temperature, errors removed by majority voting, errors where the correct answer is sampled but is not the most frequent answer, and errors where the correct answer is never sampled. Measurements show that GRPO reduces errors almost only in the first two layers, while the third layer grows and the fourth is unchanged: GRPO sharpens the most frequent answer even when it is wrong, and lowers the chance of sampling correct answers that are in the minority. To counter this effect, we view the distribution of sampled answers as a probabilistic prediction of the correct answer.
Failed Rollouts Still Teach: Teacher-Free Supervision for Code Repair
Zhou, Chenyu, Jiang, Qiliang, Wu, Shuning, Zhou, Xu
Reinforcement learning for code repair pays one verifier call per proposal, yet a failed call reveals only that the program is wrong, not what it should have been. On HumanEval+ repair, over three quarters of GRPO updates have uniform rewards and no reward gradient. We introduce repair witnesses, which supervise each failed proposal with the nearest program in a bank of verified implementations under canonical token edit distance. Bootstrapping the bank from the model's own passing proposals needs no teacher or reference. One retrieval rule yields three operating points: offline (no online calls), online, and success-projected witnesses. Under equal online budgets, online witnesses learn faster and finish above GRPO in all 19 settings (five benchmarks, ten models, 1.7B to 32B), repairing 73% to 82% of held-out HumanEval+ bugs at low temperature, 37 to 58 points above GRPO. With a self-bootstrapped bank, construction included, Qwen3-14B reaches 94% on a hard repair task in 230 calls and matches GRPO's 1,600-call accuracy of 68% with 6.5 times less training GPU time. From a cold start on MBPP+ and LiveCodeBench, witnesses repair 52% and 47% of held-out bugs on functions that begin with a self-generated program, versus GRPO's 1% and 4% (78% against 7% on MBPP+ at 1,200 calls). On every HumanEval+ model, online witnesses write correct programs outside the bank more often than GRPO succeeds at all and beat GRPO even when it mixes a reference into every group. The nearest witness teaches faster than farther ones in every comparison, and the trained policies transfer to unseen functions.
Replay, Don't Resample: Off-Policy Consolidation of Long-Horizon RL Experts
Yue, Zhenrui, Chen, Gongxiaohui, Zeng, Huimin, Zhuang, Honglei, Sun, Jiashuo, Han, Zhen, Wang, Dong
Frontier post-training follows a common recipe: train one expert per domain with reinforcement learning (RL), then consolidate the experts into one model via multi-teacher on-policy distillation (MOPD). Such consolidation is expensive: the student samples in every environment again, an expert scores every sampled token, and the student inherits the drift of the final experts. Yet we argue that the experts' RL runs have already produced what consolidation needs: rollouts with their sampling probabilities and rewards, in the order the experts learned from them. We propose multi-expert replay policy distillation (MRPD), which replays these training logs through the student in the experts' order. At each step, the policy gradient is recomputed on these scored trajectories, and the final experts' distributions are distilled at the logged prefixes. Following the experts' own trajectory reduces the training-inference mismatch and keeps the student within the clip range, so the replay is off-policy in origin but quasi-on-policy throughout consolidation. MRPD samples nothing and calls no environment or reward model: the trainer is the sole process, and consolidating the experts costs only about a seventh of the compute used to train them. On three long-horizon agentic domains (reasoning, search and SQL), MRPD yields the best student model, substantially outperforming online RL baselines, and surpassing MOPD from the same experts at a fraction of MOPD's cost. Our analysis on the same logs shows that the replayed trajectories carry most of the gain, and that both the policy gradient and the distillation term add to it. Most interestingly, the order of the logs matters more than their amount or rewards, suggesting that expert training logs are a curriculum, not a data mixture.
Beyond the Last Loop: Reinforcement Learning with a Teacher Extrapolated from the Model Itself
Looped language models apply one shared transformer stack several times per token, and every loop can be read out through the shared language-model head. Post-training them with verifiable rewards is hard: the outcome reward carries one bit per response, spreading it over loops trains intermediate loops on tokens sampled from the last loop, and distillation needs either a teacher that ignores the reward or an external, larger model. We observe that a looped model already contains a teacher stronger than its last loop: the next-token distribution extrapolated from the first loop through the last. ELGO (Extrapolated-Loop Group-relative Optimization) adds to GRPO a dense per-token distillation term towards this distribution. The teacher is computed from an anchor copy of the model, which stays frozen and is replaced by the current model once the student's KL to the teacher falls below a threshold, so the teacher improves with the student without chasing its own extrapolation. The outcome reward splits probability between correct and incorrect responses, and the teacher decides which tokens are preferred inside a response. Between refreshes the objective is KL-regularised RL anchored at the teacher, whose optimum tilts the teacher by the reward. On Ouro-1.4B-Thinking, ELGO raises the average avg@8 over five math benchmarks from 62.32 with GRPO to 64.20 and is the best compared method on every benchmark, while spreading the reward over loops falls below the base model.
The Ephemeral Cost of Switching Optimizers Across LLM Training Stages
Zhao, Xinyu, Wertheimer, Davis, Sharma, Ashutosh, Panda, Rameswar, Liang, Paul Pu
Recent work suggests that switching optimizers between pretraining and subsequent training stages incurs a performance cost, but systematic investigation of this phenomenon is lacking. We study the mismatch between AdamW and Muon optimizers by pretraining 1.2BLlama-3 models from scratch while varying the proportion of updates taken with each optimizer, and similarly interpolating between the two optimizers during continued pretraining and supervised fine-tuning (SFT). Surprisingly, we find little evidence of a meaningful optimizer mismatch penalty: final performance is largely explained by the independent effects of the pretraining and post-training optimizers, with downstream performance generally improving as the proportion of Muon updates during SFT increases. Although matching the pretraining optimizer can reduce forgetting during SFT, this does not translate into improved final benchmark performance. We further evaluate AdamW and Muon for task-general SFT of open-weight models, across the Llama and Qwen families up to 14B parameters, where Muon remains competitive with AdamW, despite these models having been pretrained with AdamW. Finally, we investigate whether our findings extend to RL via experiments on our 1.2B models as well as Qwen3-1.7B and 4B, and find that AdamW and Muon achieve comparable final performance in math RLVR. Together, our results suggest that the choice of optimizer for post-training can be made largely independently of the optimizer used during pretraining. Our code is released here.
GRTO: Group Relative Tool Optimization for Referring Segmentation
Markov, Mario, Ailuro, Stefan Maria, Mahdi, Mohammad, Van Gool, Luc, Paudel, Danda Pani
Referring segmentation requires reasoning to connect language with visual evidence and identify the intended target in challenging scenarios. This makes GRPO a natural choice for training VLMs together with a segmentation tool. However, existing approaches optimize only the VLM, assuming that the tool is perfect and leaving it untouched. This assumption is particularly limiting when the tool faces domain shift, as segmentation errors can undermine even correct reasoning. We therefore argue that the segmentation tool should be optimized together with the reasoning policy. However, this is challenging because policy optimization and differentiable tool learning rely on fundamentally different objectives. In this work, we introduce group relative tool optimization (GRTO), a mathematically grounded two-stage framework for jointly optimizing a policy and its differentiable tool. The key idea is to first align the tool with the policy expected after joint training, rather than the initial policy. The prealigned tool then leads to a more robust reward signal and superior policy convergence in subsequent policy training. In the first stage, GRTO bootstraps the tool toward the theoretically optimal policy, capturing readily attainable gains without costly on-policy rollouts. This alignment bootstraps the second stage, where GRTO extends GRPO to jointly refine the policy and tool. Across three challenging referring segmentation benchmarks, GRTO achieves substantial improvements over plain GRPO and alternative tool training procedures, matching or surpassing domain-specific state-of-the-art methods. This demonstrates the value of unifying reinforcement learning with differentiable auxiliary objectives for reasoning-intensive segmentation.
Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models
Zhao, Siyan, Xie, Zhihui, Liu, Mengchen, Huang, Jing, Pang, Guan, Chen, Feiyu, Grover, Aditya
Knowledge distillation improves large language model (LLM) reasoning by compressing the knowledge of a teacher LLM to train smaller LLMs. On-policy distillation advances this approach by having the student sample its own trajectories while a teacher LLM provides dense token-level supervision, addressing the distribution mismatch between training and inference in off-policy distillation methods. However, on-policy distillation typically requires a separate, often larger, teacher LLM and does not explicitly leverage ground-truth solutions available in reasoning datasets. Inspired by the intuition that a sufficiently capable LLM can rationalize external privileged reasoning traces and teach its weaker self, we introduce On-Policy Self-Distillation (OPSD), a learning algorithm where a single LLM acts as both teacher and student with different contexts. The teacher policy conditions on privileged information (e.g., verified reasoning traces) while the student policy sees only the question; training minimizes the per-token divergence between these distributions over the student's own rollouts. We demonstrate the efficacy of our method on multiple mathematical reasoning benchmarks, achieving superior token efficiency compared to reinforcement learning methods and better performance over off-policy distillation methods. Code repo: https://github.com/siyan-zhao/OPSD.