TL;DR
Group Relative Policy Optimization (GRPO) is a popular reinforcement learning method for post-training language models, but it suffers from "distributional concentration"—collapsing the model's output onto a narrow set of already-likely answers and hurting performance at large sampling budgets (large Pass@k). This paper introduces ReCo (Reweighting GRPO Against Distributional Concentration), a two-level reweighting method that normalizes response-level updates by expected occurrence and applies a token-level variance ratio to protect reasoning diversity. ReCo consistently outperforms GRPO at large sampling budgets across multiple math and coding benchmarks without sacrificing small-budget efficiency.
What Problem Does This Paper Address?
Reinforcement Learning with Verifiable Rewards (RLVR) via GRPO has become the standard recipe for tuning LLMs in domains like mathematics and coding. However, a known quirk of GRPO is that while it boosts single-sample or low-budget accuracy (small $k$ in Pass@k), it often causes the model to underperform the un-tuned base model at large sampling budgets (large $k$).
The authors diagnose this issue as distributional concentration. As shown via kernel density estimation, GRPO aggressively shifts the policy's distribution toward correct responses that the base model already favored with high probability. By doing so, it kills off alternative, less-likely but valid reasoning paths, severely limiting the model's overall problem-solving coverage.
Methods
ReCo tackles distributional concentration by modifying the GRPO gradient update at two distinct levels:
- Response-Level Count Reweighting: High-probability responses naturally get sampled multiple times within a rollout group. Because standard GRPO averages contributions equally, these frequent paths monopolize the group gradient. ReCo downweights each response's contribution by its length-normalized expected occurrence count under the old policy, ensuring that repeated representation alone doesn't artificially inflate a trajectory's impact.
- Token-Level Variance Reweighting: Standard GRPO uses an importance ratio ($p_\theta / p_{\text{old}}$) that scales up gradients for tokens that become more likely under the current policy, creating a self-reinforcing feedback loop. ReCo replaces this with a variance-based ratio: $$\frac{p_\theta(1 - p_\theta)}{p_{\text{old}}(1 - p_{\text{old}})}$$ The $p(1-p)$ term represents the Bernoulli variance of sampling a token. This product peaks when a decision point is highly uncertain (non-saturated) and drops to zero when a choice is already dominant or highly unlikely. This shifts the gradient's focus to critical branching points where multiple token choices remain plausible.
Datasets
- Training: All models were trained on the standard MATH training set.
- Math Evaluation: Evaluated across five competitive mathematical reasoning benchmarks: AIME 2025, AIME 2024, AMC 2023, OlympiadBench, and MATH 500.
- Code Evaluation: To test generalizability, the authors also evaluated on code reasoning via HumanEval, HumanEval+, and LiveCodeBench.
Key Insights and Ideas
- The Feedback Loop of GRPO: The paper reveals why diversity collapse happens mathematically: GRPO's token-level importance ratio acts as an accelerator for already-dominant paths, creating a self-reinforcing loop that starves alternative reasoning trajectories.
- Targeting Saturated vs. Non-Saturated Decisions: Updating a token that is already at 99% probability does nothing to expand a model's reasoning capacity. ReCo's "aha moment" is using Bernoulli variance to automatically identify and prioritize updates at non-saturated decision points—typically in the early-to-middle segments of a response where strategic branching happens.
- Complementary Corrections: Response-level reweighting fixes how trajectories are aggregated at a macro level, while token-level variance fixes where the update magnitude goes inside a trajectory at a micro level. Together, they prevent both forms of collapse.
Key Results
- Pass@64 Gains: ReCo consistently beats GRPO across all backbones. On Qwen2.5-Math-7B, ReCo improves the average Pass@64 score by +3.6 points, with a peak improvement of +6.4 points on AMC 2023.
- Rescuing Llama-3.1: Standard GRPO famously degrades the reasoning capacity of Llama-3.1-8B-Instruct, dropping its Pass@64 well below the base model. ReCo dramatically mitigates this degradation, providing a massive +11.3 point average boost over GRPO and even surpassing the base model on AIME benchmarks.
- Preserving Training Diversity: While GRPO's rollout diversity metrics (Distinct-2, Self-BLEU) rapidly degrade during training, ReCo maintains diversity metrics close to their initial base-model values throughout the entire training run.
Limitations and Future Work
- Sparse Binary Rewards: This work focuses strictly on RLVR with sparse binary outcome rewards (final-answer correctness). Extending ReCo to denser or continuous rewards—such as step-by-step verification, partial progress rewards, or subjective quality metrics—remains an open direction.
- Uniform Application: ReCo applies its response- and token-level corrections uniformly throughout training. An adaptive variant that dynamically adjusts the strength of these corrections based on real-time rollout distributions could yield even better results.
- Sampling vs. Reweighting: ReCo modifies gradients after rollouts are sampled but does not directly change the decoding process. Combining ReCo with exploration-oriented decoding strategies at training time could further broaden the coverage of learned reasoning paths.
Summary updated