[论文解读] MC-GRPO: Median-Centered Group Relative Policy Optimization for Small-Rollout Reinforcement Learning
MC-GRPO 在 GRPO-family 方法中用中位数居中基线替代均值居中基线,以在 rollout 预算较小时稳定学习并提高准确性。它增加一个额外 rollout 以形成中位参考并去掉中位数,从而保持更新大小固定并减少符号翻转。
Group-relative policy optimization methods train language models by generating multiple rollouts per prompt and normalizing rewards with a shared mean reward baseline. In resource-constrained settings where the rollout budget is small, accuracy often degrades. We find that noise in the shared baseline induces advantage sign flips, where some rollouts receive an incorrect advantage sign, and the update direction is reversed. To address this, we propose Median-Centered Group Relative Policy Optimization (MC-GRPO), a simple and effective solution for small-rollout training. Our main idea is to replace the mean baseline with a median baseline: the median is far less sensitive to outlier rewards than the mean, mitigating the sign flips under small rollout size (G). We generate one additional rollout for median reference (G+1), and compute advantages by using the group median. With an odd-sized group, exactly one completion is the median and receives zero advantage, we exclude this pivot rollout from backpropagation so the number of gradient-contributing samples per prompt remains G, preserving the core update cost of standard G-rollout training. Across various GRPO-family methods and a wide range of models and scales, this median-centered training consistently improves stability and final accuracy in the low-rollout regime, reducing the gap between G=2 and G=8 to within 1%. Code is available at https://github.com/lotusroot-kim/MC-GRPO
研究动机与目标
- Identify why GRPO-style baselines become unreliable under small rollout budgets.
- Propose median-centered group-relative policy optimization (MC-GRPO) to mitigate baseline noise.
- Show that MC-GRPO improves stability and final accuracy across GRPO variants and models in low-rollout regimes.
- Demonstrate that MC-GRPO reduces the gap between 2-rollout and 8-rollout performance.
- Assess robustness to outliers and generalization to out-of-distribution math benchmarks.
提出的方法
- Sample G+1 rollouts per prompt to form an odd-sized group.
- Compute the group baseline as the median of rewards across G+1 rollouts (b(q)).
- Compute advantages using (r_i - b(q)) divided by MAD(r) with a small epsilon.
- Exclude the median (the zero-advantage completion) from backpropagation to keep G gradient-contributing samples.
- Replace the standard GRPO group-normalized advantages with the median-centered advantages in the existing GRPO objective.
- Maintain the same update size and pipeline to be a drop-in replacement for GRPO-family methods.

实验结果
研究问题
- RQ1Does median-centering reduce advantage sign flips in small-rollout GRPO-style training?
- RQ2Can MC-GRPO consistently improve stability and final accuracy across GRPO-family methods and model scales with small G?
- RQ3Is the performance gain primarily due to median-baseline robustness rather than simply adding an extra rollout?
- RQ4Does MC-GRPO improve out-of-distribution generalization when trained with small rollouts?
- RQ5How does MC-GRPO perform with composite (fine-grained) rewards?
主要发现
- Median-centered baselines substantially reduce sign-flip rates at small rollout budgets (G in {2,4}).
- MC-GRPO yields accuracy gains over GRPO across multiple models/datasets, with up to +4.62% at G=2 and +2.35% to +2.67% at G=4 in the reported settings.
- Across GRPO-family variants (GRPO, DAPO, DR-GRPO), MC training improves stability and final accuracy in the low-budget regime and remains competitive at higher budgets (G=8).
- MC-GRPO narrows the gap between 2-rollout and 8-rollout performance to within 1% in reported cases.
- Out-of-distribution zero-shot accuracy on AIME-24 and AMC-23 improves under small-rollout MC-GRPO compared to GRPO.
- MC-GRPO remains effective under composite discrete rewards (r_acc + r_fmt) and when tested against an extra sampling control, indicating robustness of the median-baseline mechanism.

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。