Organizations: Institute of Software Chinese Academy of Sciences · University of Chinese Academy of Sciences · National Key Laboratory of Space Integrated Information System · Wangxuan Institute of Computer Technology, Peking University
Group Relative Policy Optimization (GRPO) has become a widely used approach for post-training Large Language Models (LLMs) for reasoning. In GRPO, the group gradients induced by different queries within the same mini-batch are directly averaged to form the policy update. However, these group gradients can point in conflicting directions. Our empirical analysis suggests that group-gradient conflicts tend to be associated with less effective policy updates, motivating the need for a reliable aggregated update direction under such conflicts. Standard GRPO aggregation treats the realized group gradients as deterministic contributions and does not account for differences in their reliability during aggregation. To address this issue, we propose Gradient Uncertainty-Aware Policy Optimization (GUPO), which models each group gradient as a random variable under a Bayesian formulation and estimates its probability distribution. GUPO then derives gradient uncertainty using a Dirichlet-based formulation and uses it to calibrate the contribution of each group gradient during aggregation. Extensive experiments on multiple benchmarks demonstrate the effectiveness of GUPO.
Figures & tables
Figure 1: Explanation of gradient uncertainty and conflicts. Two-dimensional example of two group gradients from the same GRPO mini-batch.
Figure 2: Empirical results of group-gradient conflicts in GRPO. (a) and (b) show the pairwise cosine-similarity matrices of representative mini-batches with low and high conflict levels. (c) presents the distribution of pairwise cosine similarities among group gradients. (d) compares the validation ΔNLL across mini-batches with low, medium, and high conflict rates.
Figure 3: Illustration of GRPO gradient optimization process.
Figure 4: Overview of our proposed method.
Model
Method
GSM8K
MATH500
MinervaMATH
AMC 2023
AIME 2024
AIME 2025
Average Results
DeepScaleR-1.5B -Preview
Vanilla
89.6
85.2
24.6
83.0
42.8
36.7
60.3
GRPO ( Shao et al. 2024 )
89.4 ( ↓ 0.2)
84.9 ( ↓ 0.3)
24.7 ( ↑ 0.1)
81.5 ( ↓ 1.5)
44.5 ( ↑ 1.7)
39.3 ( ↑ 2.6)
60.7 ( ↑ 0.4)
Length penalty ( Arora and Zanette 2026 )
88.5 ( ↓ 1.1)
83.2 ( ↓ 2.0)
23.0 ( ↓ 1.6)
77.3 ( ↓ 5.7)
40.3 ( ↓ 2.5)
30.3 ( ↓ 6.4)
57.1 ( ↓ 3.2)
ReST-MCTS ( Zhang et al. 2024 )
89.9 ( ↑ 0.3)
84.8 ( ↓ 0.4)
23.9 ( ↓ 0.7)
83.4 ( ↑ 0.4)
45.5 ( ↑ 2.7)
39.5 ( ↑ 2.8)
61.2 ( ↑ 0.9)
GVPO ( Zhang et al. 2026 )
90.4 ( ↑ 0.8)
85.7 ( ↑ 0.5)
25.3 ( ↑ 0.7)
83.6 ( ↑ 0.6)
46.1 ( ↑ 3.3)
39.7 ( ↑ 3.0)
61.8 ( ↑ 1.5)
Dr.GRPO ( Liu et al. 2025 )
90.0 ( ↑ 0.4)
85.3 ( ↑ 0.1)
25.1 ( ↑ 0.5)
82.1 ( ↓ 0.9)
45.8 ( ↑ 3.0)
39.6 ( ↑ 2.9)
61.3 ( ↑ 1.0)
Table 1: Pass@1 performance on mathematical reasoning datasets. We compare base models trained with different approaches. The best results under each base model are highlighted in bold. More results are provided in the Appendix .
Figure 5: Effect of GUPO. (a) and (b) report the mean and batch-wise validation gains over GRPO. (c) shows the performance comparison on high-conflict mini-batches. (d) compares validation ΔNLL produced by GUPO across different conflict levels.
Reinforcement learning post-training adapts pretrained models with reward or feedback signals to improve reasoning, alignment, and interactive behavior.
Post-training plays a crucial role in refining and aligning large language models to meet specific tasks and human preferences. While recent advancements in post-training techniques, such as Group Relative Policy Optimization (GRPO), leverage increased sampling with relative reward scoring to achieve superior performance, these methods often suffer from training instability that limits their practical adoption. As a next step, we present Group Variance Policy Optimization (GVPO). GVPO incorporates the analytical solution to KL-constrained reward maximization directly into its gradient weights, ensuring alignment with the optimal policy. The method provides intuitive physical interpretations: its gradient mirrors the mean squared error between the central distance of implicit rewards and that of actual rewards. GVPO offers two key advantages: (1) it guarantees a unique optimal solution, exactly the KL-constrained reward maximization objective, (2) it supports flexible sampling distributions that avoids on-policy and importance sampling limitations. By unifying theoretical guarantees with practical adaptability, GVPO establishes a new paradigm for reliable and versatile LLM post-training.
Kaichen Zhang, Yuzhong Hong, Junwei Bao +4
Thrust of Artificial Intelligence, Hong Kong University of Science and Technology (Guangzhou) · Zuoyebang Education Technology · Department of Computer Science and Engineering, HKUST
Post-training plays a pivotal role in enhancing the reasoning capabilities and task-specific expertise of large language models (LLMs). Despite recent advances in post-training methods, such as Group Relative Policy Optimization (GRPO), their practical deployment remains impeded by training instability arising from the reliance on importance sampling. We introduce Group Variance Policy Optimization (GVPO), a novel post-training method that integrates the analytical solution of KL-constrained reward maximization into its gradient weighting scheme. This formulation provides an intuitive interpretation: GVPO's gradient corresponds to the mean squared error between the central distance of implicit rewards and that of actual rewards. GVPO offers two key advantages: (1) it guarantees a unique optimal solution, exactly to the KL-constrained reward maximization objective, and (2) it enables flexible sampling distributions without requiring importance sampling. Beyond general post-training, we show that GVPO naturally extends to on-policy distillation (OPD). Furthermore, GVPO enables the optimization of a broad family of extended OPD objectives, providing a principled foundation for diverse objective design. By unifying theoretical guarantees with practical adaptability, GVPO establishes a new paradigm for reliable and versatile LLM post-training and on-policy distillation.
We identify a new dimension for enhancing rollout diversity in Group Relative Policy Optimization (GRPO) for LLMs. While GRPO relies on diverse rollouts, prevailing strategies primarily increase diversity by injecting more token-level randomness, which may introduce step-wise noise and lead to incoherent trajectories. We uncover that smaller models within the same model family inherently exhibit higher policy-level diversity, indicated by their superior pass@k relative to larger counterparts as sample counts increase. Unlike token-level noise, this diversity is temporally correlated, preserves logical consistency, and provides structured exploration signals for gradient estimation. We thus propose S2L-PO (Small-to-Large Policy Optimization), a framework that leverages fixed small models as natural explorers to train larger models. To balance exploration and exploitation, we design a progressive annealing strategy that transitions from offline small-model rollouts to the large learner's own sampling. This shift elegantly avoids mid-training performance drops caused by the small model's capacity limits, achieving faster convergence and unlocking a higher performance ceiling. S2L-PO improves accuracy on diverse mathematical reasoning benchmarks (e.g., +8.8% on AIME 24 using a 1.7B explorer to guide the 8B model) while reducing rollout compute.
Yiming Ren, Yiran Xu, Zicheng Lin +8
Tsinghua University · Shanghai AI Laboratory · The Chinese University of Hong Kong +1