Balanced Aggregation: Understanding and Fixing Aggregation Bias in GRPO
On the map: LLM reasoning → Reinforcement learning for reasoning
Abstract (arXiv)
Reinforcement learning with verifiable rewards (RLVR) has become a central paradigm for improving reasoning and code generation in large language models, and GRPO-style training is widely adopted for its simplicity and effectiveness. However, an important design choice remains underexplored: how token-level policy gradient terms are aggregated within each sampled group. Standard GRPO uses sequence aggregation, while recent work has advocated token aggregation as a better alternative. We show that these two rules induce different optimization biases: token aggregation introduces sign-length coupling, while sequence aggregation implicitly downweights longer responses through sequence-level equal weighting. To address this tension, we propose Balanced Aggregation (BA), a simple drop-in replacement that computes token-level means separately within the positive and negative subsets and then combines them with sequence-count-based weights. Experiments with Qwen2.5-Math-7B and Qwen3-1.7B on DAPO-17k and Polaris, evaluated on six reasoning and coding benchmarks, show that BA consistently improves training stability and final performance over standard token and sequence aggregation. Our analysis further shows that the relative effectiveness of token and sequence aggregation is largely governed by response-length variation and the positive-negative length gap, highlighting aggregation as a critical design dimension in GRPO-style RLVR.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Reinforcement learning for reasoning, one of 17 directions in LLM reasoning. Builds on 21 of its 26 references that are in the map. First posted on arXiv 14 Apr 2026.
Builds on
21 of 26 references.
Closest ancestors · 7
Same direction, newest first
- 2025RLoop: An Self-Improving Framework for Reinforcement Learning with Iterative Policy Initialization6 Nov
- 2025Part I: Tricks or Traps? A Deep Dive into RL for LLM Reasoning11 Aug
- 2025Geometric-Mean Policy Optimization28 Jul
- 2025Understanding R1-Zero-Like Training: A Critical Perspective26 Mar
- 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scale18 Mar
- 2023Let's Verify Step by Step31 May
- 2017Proximal Policy Optimization Algorithms20 Jul
Other references · 14
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2025Qwen3 Technical Reportcited by 8,195
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2024OpenAI o1 System Cardcited by 1,220
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,057
- 2025Group Sequence Policy Optimizationcited by 788
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 248
- 2025The Art of Scaling Reinforcement Learning Compute for LLMscited by 91
- 2025Stabilizing MoE Reinforcement Learning by Aligning Training and Inference Routerscited by 67
- 2024Scaling of Search and Learning: A Roadmap to Reproduce o1 from Reinforcement Learning Perspectivecited by 49
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026SPO++: Stream-Aligned Policy Optimization for Asynchronous Agentic RL25 Aug 2026
- 2026Multimodal Reward Hacking in Reinforcement Learning10 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2025λ-GRPO: Unifying the GRPO Frameworks with Learnable Token Preferences
- 2026BoT-GRPO: Efficient Process-Reward RL for Reasoning via Bag-of-Token Aggregation
- 2026Token-Level Policy Optimization: Linking Group-Level Rewards to Token-Level Aggregation via Sequence-Level Likelihood
- 2025GTPO and GRPO-S: Token and Sequence-Level Reward Shaping with Policy Entropy
- 2026Orchestrating Tokens and Sequences: Dynamic Hybrid Policy Optimization for RLVR
- 2025Token-Level Policy Optimization: Linking Group-Level Rewards to Token-Level Aggregation via Markov Likelihood
- 2025SSPO: Subsentence-level Policy Optimization
- 2026AMIR-GRPO: Inducing Implicit Preference Signals into GRPO