Abstract
Reinforcement Learning (RL) with rule-based binary rewards has become a cornerstone for enhancing the reasoning capabilities of Large Language Models (LLMs). However, training stability remains a significant challenge due to high gradient variance. We present Beta Normalization Policy Optimization (BNPO), a framework that dynamically normalizes rewards using an adaptive Beta distribution. By evolving normalization parameters alongside model performance, BNPO significantly stabilizes training and outperforms existing methods like GRPO and REINFORCE on complex mathematical benchmarks.
Introduction
Recent advancements in AI reasoning, exemplified by models like DeepSeek-R1, rely on RL with binary rewards (e.g., "Is the answer correct?"). While effective, this setup often suffers from erratic gradient updates. Standard normalization techniques in methods like Group Relative Policy Optimization (GRPO) use static strategies that fail to account for the shifting "win rate" as a model improves. This mismatch leads to high gradient variance, which can derail training or result in suboptimal convergence.
Methodology: Beta Normalization
The core innovation of BNPO is treating the expected reward as a random variable following a Beta distribution. Since rewards are binary (0 or 1), the success probability follows a Bernoulli process, for which the Beta distribution is the natural conjugate prior.
Dynamic Normalization and Adaptive Parameters
Unlike fixed-standard-deviation methods, BNPO utilizes a Beta distribution $f_N(p; \alpha, \beta)$ to normalize the advantage function. The parameters $\alpha$ and $\beta$ are updated dynamically during training using the method of moments based on the model's current performance. This allows the normalization to "evolve" as the model transitions from a low success rate (right-skewed distribution) to a high success rate (left-skewed distribution).
Variance Reduction
BNPO provides a mathematically principled way to minimize the variance of the policy gradient estimator. By setting $\alpha = 1 + a/3$ and $\beta = 1 + b/3$, the framework theoretically minimizes gradient variance, leading to smoother training trajectories and avoiding the massive "spikes" common in REINFORCE or GRPO.
Experimental Evaluation
We evaluated BNPO using the Qwen2.5-Math (1.5B and 7B) base models. The models were fine-tuned on the MATH dataset (7,500 problems) and tested across four rigorous benchmarks: MATH500, AMC23, AIME2024, and AIME2025.
Key Results
BNPO consistently outperformed baseline policy optimization methods across all tested scales and benchmarks.
As shown in the table above, the Qwen2.5-Math-7B model trained with BNPO achieved an average score of 47.8%, surpassing GRPO (47.1%) and REINFORCE++ (46.8%). Notably, on the AMC23 dataset, BNPO reached 68.8% accuracy, a substantial improvement over GRPO's 64.5%.
Discussion and Insights
- Mathematical Alignment: The choice of the Beta distribution is principled, as it perfectly models the Bernoulli nature of binary rewards.
- Generalization: BNPO acts as a superset of existing algorithms; under specific parameter constraints, it reduces to REINFORCE with a baseline or a variant of GRPO.
- Efficiency: BNPO achieves these gains without the need for additional greedy decoding steps (unlike methods like ReMax), making it approximately 25% faster to train while maintaining superior stability.
Conclusion and Future Work
BNPO addresses a fundamental bottleneck in RL for reasoning by stabilizing gradient updates through adaptive normalization. While currently optimized for binary rewards, future research could extend this framework to multi-valued or continuous rewards using Dirichlet distributions. Additionally, exploring BNPO in broader RLHF contexts with complex preference models remains a promising avenue for further development.
Summary updated