Manuscript Offprint
arXiv:2610.12161When KL Regularization Misfires in Group Policy Optimization
ABSTRACT
Why does removing reference-policy KL regularization sometimes improve group policy optimization (Wang et al., 2026b)? This motivates studying how reference-policy information should enter group-relative updates. We analyze seven potential failure modes in KL–reward interactions: residual KL updates after reward clipping, after gradient cancellation, and in groups with identical rewards; KL growth with response length and an imbalance in its relative contribution; KL concentration on a small number of tokens; and sampling noise when k1 is incorporated into rewards. We propose Zero-Sum Calibrated Policy Optimization (ZCPO), which uses relative drift measured by conditional KL to calibrate within-group reward coefficients and integrates them into the base surrogate. Mathematical reasoning experiments and ablations support this design’s effectiveness in our settings.
1 INTRODUCTION
Group-relative policy optimization trains language models by comparing rewards within a group, eliminating the need for a value model (Shao et al., 2024). Recent methods improve training through clipping, normalization, and gradient aggregation; among them, DAPO and GMPO omit an explicit reference KL penalty (Yu et al., 2025; Zhao et al., 2026). In controlled experiments, PAPO removes the reference KL from GRPO, increasing the overall average multimodal reasoning accuracy (avg@8) of Qwen2.5-VL-3B and 7B from 47.92% to 50.18% and from 58.78% to 61.30%, respectively (Wang et al., 2026b, Appendix F, Table 4). Text reasoning ablations in Open-Reasoner-Zero also report that PPO without KL outperforms variants that add KL to the loss or reward under their evaluation settings (Hu et al., 2025).
The observation that removing reference KL can help training raises a broader design question: how should reference-policy information enter group-relative optimization? We analyze the interaction between independent KL and reward updates, and study within-group relative calibration using reference-policy drift. Specifically, our contributions are as follows:
• We consolidate seven potential failure modes of KL in GRPO and its variants. These modes characterize residual regularization after reward gradients vanish, KL imbalances across lengths and positions, and sampling noise in KL estimation.
• We propose ZCPO, which uses conditional KL to calibrate group-relative reward coefficients, and characterize coefficient optimality for fixed inputs; mathematical reasoning experiments and ablations support this design’s effectiveness in our settings.
Corresponding author: dignfei@gmail.com.

→ Reward drive
Misaligned KL
F1–F6: Independent KL loss
F7:
Relative calibration
Sampling noise
F7 / ZCPO: KL in response coefficients
ZCPO:
Figure 1: KL placement and seven types of mismatch. The right panel illustrates the coefficient decomposition ( , ): a uniform shift represents the common KL offset, and the gold arrows indicate the relative calibration contribution. denotes the base surrogate, sg stops gradients, is the probability ratio for a sampled token, and is the KL weight; the independent term is illustrated using ( ). , , and ; , , , , , denote the reward, reward standard deviation, length, prefix, group size, and prompt, respectively; overbars indicate group means, and . Conditions illustrated: F2 assumes the same context/token, all gates open, and equal weights; F3 assumes unfiltered groups; F4 assumes no length averaging and ; F5 assumes nonzero denominators; F7 assumes independent single-token responses sampled from the current policy for the same prompt, with distinct, full-support , . The coefficient objective first skips groups with or .
of methods improve clipping or trust regions (Xi et al., 2026; Petrenko et al., 2026; Lee et al., 2026; Wang et al., 2026a; Cai et al., 2026). These studies improve group policy optimization from different perspectives; our focus is the interaction between the KL term and group-relative reward updates and the points at which it may fail. Adaptive AGPO uses statistics such as KL drift to adjust clipping and sampling temperature (Hu et al., 2026); asymmetric AGPO constrains group-relative advantages and strengthens negative updates for incorrect responses (Xu et al., 2026). For groups with limited information, existing methods recover learning signals through sampling allocation, trajectory filtering, or finer-grained rewards (Sudalairaj et al., 2026; Lin et al., 2025; Deng et al., 2026). Bae et al. (2026) retain training prompts with intermediate success rates through online difficulty filtering. GOPO replaces explicit KL regularization with a quadratic probability-ratio penalty (Zixian, 2026).
KL estimators and placement. Vojnovic & Yun (2025) analyze how reward normalization and reference-policy penalties jointly determine GRPO's stationary policy. Tang & Munos (2025) analyze bias in KL gradient estimation and discuss leave-one-out baselines and causal accumulation, but focus primarily on recovering the gradient of a given KL objective rather than the interaction of independent KL with reward clipping or group filtering. Shah et al. (2026) compare the gradient bias of k1/k3 in rewards or losses under current-policy sampling and evaluate performance in asynchronous training, but do not discuss constructing conditional KL as a within-group zero-sum correction coefficient. The online algorithms of GVPO and RPG use an old policy that is updated throughout training as the reference (Zhang et al., 2025; 2026); from the perspective of F6 in this paper, this may alleviate the persistent constraint that a fixed initial reference imposes on policy changes already learned. However, for constructions based on sampled log-ratios, refreshing the reference does not guarantee the elimination of subsequent conditional sampling fluctuations, nor does within-group centering guarantee their elimination.
Conditional KL and local constraint adjustment. Amini et al. (2025) use per-prefix conditional KL to reduce the variance of numerical estimation and full-sequence KL gradient estimation, but do not study a joint coefficient design combining length normalization, within-group centering, and gating on reward-active groups. Vassoyan et al. (2025) weight per-token KL by the reference policy's entropy to relax constraints at highly uncertain positions, but this confidence-based rule does not address cases in which the reference policy is overconfident.
3 SEVEN POTENTIAL FAILURE MODES IN THE INTERACTION BETWEEN KL AND REWARDS IN GRPO AND ITS VARIANTS
This section characterizes differences in how KL signals and group-relative reward updates act under specified conditions, and uses these differences to formulate mechanistic hypotheses about their effects on training. We first analyze the case where per-token KL is added as an independent loss term, then discuss variants that incorporate the k1 sampled log-ratio into rewards in F7; the conditions for each mode are stated separately. GRPO uses an independent KL loss (Shao et al., 2024). The subsequent experiments report structural diagnostics, F1 mechanism controls, and the task performance of the full method. Appendix E reports the F3 group-gating ablation.
Problem setup and notation. For the same prompt , the sampling policy generates responses . Response has length , token at position , context , and reward . The current policy is parameterized by , and is the reference policy; within a single update, the sampling policy, reference policy, samples, and rewards are all fixed. Let the within-group reward mean be and the standard deviation be . The baseline's group-normalized advantage and token probability ratio are
where is a numerical stability constant; groups with identical rewards satisfy , and every group satisfies . No gradient is taken through when computing the policy gradient. We further define the token score-function gradient and the sampled log-ratio relative to the reference policy as
Baseline with an independent KL loss. Let be the KL regularization coefficient. For a base algorithm using per-token probability ratios, let denote its existing policy optimization surrogate objective, where is a fixed advantage coefficient. Whether clipping is used, and the specific clipping rule, are determined by the base algorithm; ZCPO supplies a KL correction coefficient to this surrogate. Let be a differentiable per-token KL regularization loss that is independent of the reward coefficient and its clipping gate. The independently additive baseline objective is
Lemma (F1–F3: residual KL after reward gradients vanish). Using the notation above, consider a piecewise surrogate satisfying , where denotes the base algorithm's gradient gate: it equals 1 on a linear branch and 0 on a branch that is constant with respect to . By the chain rule, at differentiable points within each piece,
When and , the KL term is nonzero. Thus, an independent KL gradient may remain after the reward gradient vanishes, including in the following three cases.
F1: residual KL-driven updates after reward clipping. When clipping by the base algorithm makes the reward surrogate locally flat, : the reward term is zero while the KL term remains unchanged, so the token's direct gradient comes entirely from the independent KL branch.
F2: residual KL after reward gradient cancellation. When within-group reward gradients cancel during aggregation, independent KL gradients need not cancel simultaneously, so KL-driven updates may remain. With all gradient gates open (the reward branch is unclipped) and equal-weight aggregation, reward gradients at prefix positions shared by the entire group, with identical sampled tokens, cancel exactly because the advantages sum to zero, providing an exact special case. Whether identical segments in different contexts yield approximate cancellation depends on their actual gradients and reward coefficients.
F3: residual KL-driven updates in groups with identical rewards. When all in a group are equal and the group still participates in the update, , so the reward term is zero for every token. The group's direct gradient contains only the independent KL term and may remain nonzero.
F4: KL modulates language model response length. Let the conditional KL at each position be
Since , sequence KL accumulates along a response; without length normalization, longer responses incur larger KL penalties when per-token KL values are comparable and positive. An independent KL loss can also affect response length through the gradient at the stopping position in Eq. (1).
F5: the relative contribution of KL may increase as more tokens are aggregated. The two gradient branches in Eq. (1) may accumulate at different rates because they undergo different degrees of cancellation. If reward gradients grow more slowly due to cancellation while KL gradients accumulate more rapidly, the gradient contribution of KL relative to that of rewards may increase as more tokens participate in aggregation.
F6: potential suppression of beneficial policy changes when KL signals are concentrated. If KL signals are concentrated on a small number of tokens, their local pull toward the reference may weaken reward update signals at those positions when it conflicts with reward updates. Taking the per-token k3 KL loss as an example,
The nonzero local descent direction of this term pulls the sampled token's probability toward the reference policy. When the reward update pushes it further away from the reference, the two directions oppose each other, potentially suppressing beneficial policy changes. Comparisons of KL signal concentration and drift are presented in Section 5.
F7: conditional sampling noise in the k1 coefficient. Even when all responses have the same length-normalized conditional KL, response-level KL coefficients constructed using k1 may still contain noise introduced by token sampling, and within-group centering does not guarantee its removal. For example, consider independent single-token responses sampled from the current policy for the same prompt . If and have full support and differ, then
Here, is identical for all (the context is the same), and all differences arise from sampling.
4 ZERO-SUM CALIBRATED POLICY OPTIMIZATION (ZCPO)
ZCPO uses conditional KL as reference information to calibrate response-level update coefficients relative to their group, then incorporates them into the base algorithm (Figure 2).
We first compute
ZCPO

Figure 2: ZCPO coefficient construction. , . All tokens in a response share . Zero-sum coefficients do not imply a zero total gradient; conditional KL eliminates only token sampling noise conditional on a given prefix.
If , we directly return zero loss without computing . The following quantities are computed only for groups with :
Here, is computed by summing over the full vocabulary distributions of the current and reference policies; scales only the reward term. Conditional KL can reuse the forward-pass outputs of the current and reference policies, with additional computation consisting mainly of vocabulary reductions; implementation details are provided in Appendix A. The coefficient is normalized by the maximum absolute centered reward, unlike the baseline coefficient , which uses standard-deviation normalization.
Integration with the base algorithm. After computing using the current policy, we hold it fixed during the current backward pass and use it to replace the reward coefficient in the base surrogate. For active groups,
where sg denotes stop-gradient and are aggregation weights held fixed during the current update. This expression defines the policy surrogate objective with frozen coefficients: gradients propagate only through and exclude . The surrogate objective is updated whenever the coefficients are recomputed. The base algorithm supplies the probability-ratio treatment, clipping, and aggregation rules.
Mechanistic hypothesis and coefficient calibration. We construct the coefficients under the following mechanistic hypothesis: keep update coefficients close to the normalized reward coefficients while maintaining a within-group zero sum and favoring responses with lower mean KL. Fix and in an active group, let denote the update coefficients to be calibrated, and consider
The quadratic term controls deviations from the reward coefficients, while the linear term introduces a preference for lower drift. The Lagrangian condition yields , where is the multiplier for the zero-sum constraint. Because the objective is strictly convex, the ZCPO joint coefficient is the unique optimum of this zero-sum quadratic calibration problem; the full derivation appears in Appendix D. For fixed inputs and under the within-group zero-sum constraint, this result characterizes the optimal trade-off between staying close to the reward coefficients and favoring lower drift.
When , among responses with equal rewards, those with lower mean KL receive larger joint coefficients, favoring candidates with lower drift at the coefficient level. Adding the same constant to every in a group leaves and unchanged, so the coefficients are unaffected by a shared within-group KL baseline (F6). ZCPO uses reference KL for within-group coefficient calibration, and its task-performance advantage over independent KL is evaluated empirically in the tested settings; Appendix G.1 discusses how common-shift invariance relates to reward feedback and candidate coverage.
Within an active group, . At positions where the entire group shares the same context and token, if all gradient gates of the base surrogate are open and the aggregation weights are equal, the direct gradients of both branches cancel together (a strict special case of F2). When the gate associated with the joint coefficient is closed, both branches are zero (F1). The gate directly skips groups with identical rewards (F3). In general, the KL branch of ZCPO can remain nonzero when reward gradients cancel. The joint coefficient affects the clipping branch, so clipped positions need not coincide with those of the independent-KL baseline.
Length normalization converts cumulative KL into a per-token mean, removing the scale factor due to direct accumulation with length (F4 and F5). Conditional KL eliminates the conditional sampling noise of the current token given its prefix; in the construction for F7, . Variation caused by different sampled prefixes remains. Residual correlations with length and training diagnostics are presented in Section 5.
The optimality and ordering properties of this coefficient calibration do not guarantee that reward increases or KL decreases at every step; when and , we still have . Appendix G.1 develops an implicit reward curriculum perspective that unifies the roles of KL centering and normalization by the maximum absolute advantage, and discusses their implications for mitigating such reversals. Conditional-KL and k1 coefficients generally induce different raw expected updates; the surrogate update with frozen coefficients is not an unbiased reformulation of the original sequence-KL gradient.
5 EXPERIMENTS
Experimental setup. The main mathematical reasoning experiments use Qwen2.5-32B. The vanilla baseline uses DAPO with an independent per-token k3 KL loss, whereas ZCPO integrates our method into DAPO; training and evaluation configurations are provided in Appendix A, and the sensitivity analysis is presented in Appendix B. The ablation that replaces conditional KL with k1 in Table 1 also uses DAPO and is referred to below as the “k1 coefficient control.” Long-context experiments with Qwen3-4B are presented in Appendix E.
Ablation analysis. Table 1 shows that removing within-group KL centering causes the largest drop in mean accuracy. This ablation both breaks the zero-sum property of the coefficients and retains the shared KL component, supporting the role of centering in the current configuration. Removing KL length normalization, replacing conditional KL with k1, or using standard-deviation reward normalization also yields lower mean accuracy than full ZCPO. These results support the contribution of these components in the current configuration. Because a single component can affect multiple update mechanisms, each ablation evaluates its combined effects.
Experimental analysis. The optimality result in Equation (2) characterizes zero-sum coefficient calibration for fixed inputs. Table 1 shows that ZCPO achieves higher mean task accuracy than DAPO, RPG, GVPO, and GOPO in our setting, and the component ablations further support the key design choices. The changes in gradient contributions, response length, and local drift in Figure 3
Table 1: Method comparisons, ablations, and F1 controls. Both AIME24 and AIME25 report avg@32 (%), with means over 3 random seeds. Each ZCPO ablation independently substitutes the definition shown in parentheses; all other training settings match full ZCPO.
| Model/method | AIME24 (%) | AIME25 (%) |
|---|---|---|
| DAPO without KL () | 47.3 | 37.1 |
| DAPO + standard KL, | 31.2 | 18.9 |
| DAPO + standard KL, | 44.5 | 34.7 |
| ZCPO | 56.8 | 48.5 |
| No KL centering () | 45.6 | 36.7 |
| No KL length norm. () | 53.9 | 43.5 |
| k1 in place of conditional KL () | 54.5 | 47.1 |
| Reward std. norm. () | 55.4 | 44.9 |
| RPG | 50.7 | 42.5 |
| GVPO | 52.6 | 41.1 |
| GOPO | 48.5 | 39.9 |
| F1-B: Disable KL at clipped tokens () | 46.1 | 39.3 |
| F1-C: All-token norm control () | 44.8 | 37.5 |
Both F1-B and F1-C use , with DAPO + standard KL at the same coefficient in the table as their baseline. They modify only the KL term, retaining the reward branch and aggregation weights. and , where and are the KL-branch parameter gradients after and before gating, respectively, evaluated at the same model state and on the same batch. The ratio is defined only when its denominator is nonzero.
are consistent with the proposed calibration mechanism. In the figure, vanilla denotes the DAPO + KL-loss baseline described above.
Training performance with larger relative KL gradient contributions. In the recorded diagnostic runs, the median batch-level KL-to-total gradient norm ratio for ZCPO () is approximately 17.5 times that of vanilla () (Table 5), while ZCPO maintains strong task performance. The median ratios for vanilla () and ZCPO () are of similar magnitude (5.8% and 7.0%), but the former exhibits substantially restricted task performance and response length. ZCPO also maintains strong task performance at , where the median ratio reaches 30.1%. These results support ZCPO's ability to tolerate larger relative KL gradient contributions in this diagnostic setting.
F1: Residual KL-driven updates after reward clipping. As shown in Figure 3(a), vanilla retains KL gradients at tokens whose reward-gradient gates are closed. The ratio of their gradient norm to the KL gradient norm over all tokens reaches approximately 51%. The KL-gradient overallocation metric for clipped tokens reaches 68–172 times, indicating a substantial residual KL gradient contribution after reward clipping. For ZCPO, the direct gradients of both the reward and KL branches are zero at positions where its own gradient gate is closed, at every recorded step.
Furthermore, the F1 controls in Table 1 show that disabling KL at positions clipped by the reward surrogate yields higher mean accuracy than both the original independent-KL baseline and the all-token norm control, supporting the role of selectively disabling KL at these positions in the current setting.
F2: Residual KL after reward-gradient cancellation. Let denote the per-token reward-branch parameter gradient, including the reward coefficient, gradient gate, and aggregation weight. For the set of valid tokens included in the statistics, the reward-gradient cancellation rate is defined, when the denominator is nonzero, as
(a) F1: KL gradient share at clipped tokens

(b) F2: Gradient ratios across groups
(e) F6: KL concentrates on a few tokens
(c) F4: KL modulates response length
(f) F6: First-token drift
(d) F5: KL share in short and long groups
(g) F7: Within-group dispersion of mean KL

(h) F7: Negative KL estimates before centering
Figure 3: KL failure-mode diagnostics. (a) F1: KL gradient share at clipped tokens. (b) F2: KL/total gradient norm ratios for groups in the top/bottom 10% by reward-gradient cancellation. (c) F4: at step 100, vanilla has mean lengths of 774 and 611 tokens at and 4, versus 1695 for ZCPO at . (d) F5: KL gradient shares in the shortest/longest 10% of groups. (e,f) F6: KL signal concentration and first-token drift. (g,h) F7: within-group dispersion of mean response KL and negative-estimate fractions, both before centering. Dashed/dotted curves in (g) give small-KL sampling-noise reference scales; the dashed curve in (h) gives the normal approximation for the k1 control. Vanilla denotes DAPO with independent KL loss.
The numerator sums the gradient vectors before taking the norm, whereas the denominator sums the norms of individual token gradients. In practice, the denominator is estimated by multiplying the mean gradient norm of tokens sampled uniformly from I by . Under this estimator, the reward-branch gradient cancellation rate reaches 99.6% during training.
We rank groups by their estimated within-group reward-gradient cancellation rate and sample from the top and bottom 10% to obtain groups with high and low cancellation, respectively. Across these two selected sets of groups, vanilla's KL gradient share differs by approximately a factor of 524 (Figure 3(b)), indicating a large disparity in the selected groups. The corresponding ratio for ZCPO differs by approximately a factor of 3.45, showing a smaller disparity between the groups.
Mechanistic hypothesis: Reducing disparities in the relative KL contribution across different degrees of reward-gradient cancellation may improve training stability.
F3: Residual KL-driven updates in groups with identical rewards. Both vanilla and ZCPO filter out groups with identical rewards before updating in the main mathematical reasoning experiments, so these experiments do not evaluate F3. The long-context experiments in Appendix E compare full ZCPO against an ablation without gating ( ) to evaluate the role of gating groups with identical rewards.
F4: KL modulates language model response length. As shown in Figure 3(c), vanilla's mean response length decreases as increases, whereas ZCPO produces longer responses at the same nominal . This result supports ZCPO's mitigation of the response-length suppression observed in vanilla in our setting. The normalized remains correlated with , indicating that length effects are not fully eliminated.
F5: The KL share may increase as more tokens are aggregated. Sampling from the shortest and longest 10% of groups, vanilla's median KL share in the longer groups is 12 times that in the shorter groups. For ZCPO, the medians differ by only 0.24 percentage points, indicating a smaller disparity between the sampled short and long groups (Figure 3(d)).
F6: Potential suppression of beneficial policy changes when KL signals are concentrated. The experiments show that a small fraction of tokens accounts for most of the KL signal (Figure 3(e)). Under an independent KL constraint with a fixed reference policy, these positions can continue to experience a local pullback if they reappear in subsequent training and their probabilities still deviate from the reference policy. If this effect conflicts with the direction of reward optimization, it may restrict the corresponding policy changes.
Through within-group centering, ZCPO removes the component of length-normalized KL shared across responses. In our setting, ZCPO exhibits greater drift at the initial token than vanilla, with a magnitude comparable to pure DAPO (Figure 3(f)). At step 20, the covariance contribution of the first 10 tokens to the variance of K is approximately 4%, indicating that the initial segment does not dominate the variance of the relative KL coefficient at this step. These results support ZCPO's mitigation of drift suppression at initial positions.
Mechanistic hypothesis: If these drifts correspond to beneficial policy changes, mitigating their suppression may help preserve those changes. The analysis is given in Appendix G.
F7: Conditional sampling noise in k1 coefficients. Replacing conditional KL in ZCPO's with the k1 sampled log-ratio gives
The final performance of this control is reported in Table 1, and its training diagnostics appear in Figure 3(g) and (h). Using the same seed and configuration, we replace with as a training control. At steps 3–10, 42%–59% of responses in this control receive negative KL estimates before centering, compared with 0 for ZCPO (Figure 3(h)), showing that a single k1 sample can deviate from the nonnegative conditional KL mean. Its within-group dispersion is close to the reference scale under the small-KL approximation (median ratio of 0.95 over steps 3–38; Figure 3(g)), consistent with non-negligible sampling fluctuations.
We further conduct a KL-estimator comparison: fixing the policy, reference policy, and sampled responses recorded in a ZCPO run, we compute using the formula above. Its root mean squared error relative to the ZCPO coefficient is approximately 0.00257 and 0.00617 at steps 3 and 8, respectively (Figure 4(a)), indicating that within-group centering does not eliminate the k1 estimation residuals in these batches. By construction, conditional KL in ZCPO eliminates the sampling noise of the current token given its prefix; variation caused by different sampled prefixes remains.
Under the single-token construction for F7, GVPO's centered sequence log-ratio also has nonzero conditional sampling variance (Zhang et al., 2025). Figure 4(b) shows the GVPO training curves, using the RMS of after within-group centering to measure the magnitude of conditional sampling noise.
6 CONCLUSION AND LIMITATIONS
We study how reference-policy information can enter group-relative optimization, analyze seven potential failure modes in KL–reward interactions, and propose ZCPO to calibrate within-group zero-sum coefficients using relative drift measured by conditional KL. Mathematical reasoning experiments with Qwen2.5-32B and long-context experiments with Qwen3-4B support this design's effectiveness in our settings; the long-context ablations further evaluate the role of group gating. Our current evaluation covers multiple model scales and tasks; cross-model evidence for model families beyond Qwen is provided in Appendix F.
AI USE STATEMENT
No AI was used.
ETHICS STATEMENT
Not applicable.
REPRODUCIBILITY STATEMENT
The supplementary material provides code that can be run directly to reproduce the results in this paper.
REFERENCES
Afra Amini, Tim Vieira, and Ryan Cotterell. Better estimation of the kullback–leibler divergence between language models. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 112092–112124. Curran Associates, Inc., 2025. doi: 10.52202/085713-3745. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/a2e9be3d64bcc196731d0a4e0e2c33ae-Paper-Conference.pdf.
Sanghwan Bae, Jiwoo Hong, Min Young Lee, Hanbyul Kim, Jeongyeon Nam, and Donghyun Kwak. Online difficulty filtering for reasoning oriented reinforcement learning. In Vera Demberg, Kentaro Inui, and Lluís Marquez (eds.), Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 700–719, Rabat, Morocco, March 2026. Association for Computational Linguistics. ISBN 979-8-89176-380-7. doi: 10.18653/v1/2026.eacl-long.30. URL https://aclanthology.org/2026.eacl-long.30/.
Zhicheng Cai, Xinyuan Guo, Hanlin Wu, Mingxuan Wang, Wei-Ying Ma, Ya-Qin Zhang, and Hao Zhou. Beyond euclidean clipping: Overcoming exploration collapse in llm rl via riemannian isometric policy optimization, 2026. URL https://arxiv.org/abs/2607.10169.
Zeyun Deng, Yuzhe Lu, Yawei Wang, Linbo Liu, Qing Ping, Han Ding, Guande Wu, Panpan Xu, and Jun Huan. Prism-grpo: Faster vla policy optimization via splitting same-outcome groups, 2026. URL https://arxiv.org/abs/2608.17423.
GLM Team, Aohan Zeng, Bin Xu, Bowen Wang, Chenhui Zhang, Da Yin, Dan Zhang, Diego Rojas, Guanyu Feng, Hanlin Zhao, Hanyu Lai, Hao Yu, Hongning Wang, Jiadai Sun, Jiajie Zhang, Jiale Cheng, Jiayi Gui, Jie Tang, Jing Zhang, Jingyu Sun, Juanzi Li, Lei Zhao, Lindong Wu, Lucen Zhong, Mingdao Liu, Minlie Huang, Peng Zhang, Qinkai Zheng, Rui Lu, Shuaiqi Duan, Shudan Zhang, Shulin Cao, Shuxun Yang, Weng Lam Tam, Wenyi Zhao, Xiao Liu, Xiao Xia, Xiaohan Zhang, Xiaotao Gu, Xin Lv, Xinghan Liu, Xinyi Liu, Xinyue Yang, Xixuan Song, Xunkai Zhang, Yifan An, Yifan Xu, Yilin Niu, Yuantao Yang, Yueyan Li, Yushi Bai, Yuxiao Dong, Zehan Qi, Zhaoyu Wang, Zhen Yang, Zhengxiao Du, Zhenyu Hou, and Zihan Wang. Chatglm: A family of large language models from glm-130b to glm-4 all tools, 2024. URL https://arxiv.org/abs/2406.12793.
Jingcheng Hu, Yinmin Zhang, Qi Han, Daxin Jiang, Xiangyu Zhang, and Heung-Yeung Shum. Open-reasoner-zero: An open source approach to scaling up reinforcement learning on the base model, 2025. URL https://arxiv.org/abs/2503.24290.
Miaobo Hu, Shuhao Hu, Bokun Wang, Ruohan Wang, Xin Wang, Xiaobo Guo, Daren Zha, and Jun Xiao. Agpo: Adaptive group policy optimization with dual statistical feedback, 2026. URL https://arxiv.org/abs/2605.20722.
Doyeon Lee, Eunyi Lyou, Hyunsoo Cho, Sookyung Kim, Joonseok Lee, and Jaemoo Choi. Quatro: Query-adaptive trust region policy optimization for llm fine-tuning, 2026. URL https://arxiv.org/abs/2602.04620.
Zhihang Lin, Mingbao Lin, Yuan Xie, and Rongrong Ji. Cppo: Accelerating the training of group relative policy optimization-based reasoning models, 2025. URL https://arxiv.org/abs/2503.22342.
Minxuan Lv, Tiehua Mei, Tanlong Du, Junmin Chen, Zhenpeng Su, Ziyang Chen, Ziqi Wang, Zhennan Wu, Ruotong Pan, jian Liang, Ruiming Tang, and Han Li. Golongrl: Capability-oriented long context reinforcement learning with multitask alignment, 2026. URL https://arxiv.org/abs/2605.19577.
Aleksei Petrenko, Ben Lipkin, Kevin Chen, Erik Wijmans, Marco Cusumano-Towner, Raja Giryes, and Philipp Krähenbühl. Entropy-preserving reinforcement learning. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 10953–10982, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/124dde499d62b58e97e42a45b26d7369-Paper-Conference.pdf.
Vedant Shah, Johan Obando-Ceron, Vineet Jain, Brian Bartoldson, Bhavya Kailkhura, Sarthak Mittal, Glen Berseth, Pablo Samuel Castro, Yoshua Bengio, Esmeralda S. Whitammer, Moksh Jain, Siddarth Venkatraman, and Aaron Courville. A comedy of estimators: On kl regularization in rl training of llms, 2026. URL https://arxiv.org/abs/2512.21852.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. Deepseekmath: Pushing the limits of mathematical reasoning in open language models, 2024. URL https://arxiv.org/abs/2402.03300.
Shivchander Sudalairaj, Kai Xu, Akash Srivastava, and Giorgio Giannone. sgpo: Trading inference flops for training efficiency in rlvr, 2026. URL https://arxiv.org/abs/2606.08854.
Yunhao Tang and Rémi Munos. On a few pitfalls in kl divergence gradient estimation for rl, 2025. URL https://arxiv.org/abs/2506.09477.
Jean Vassoyan, Nathanaël Beau, and Roman Plaud. Ignore the KL penalty! boosting exploration on critical tokens to enhance RL fine-tuning. In Luis Chiruzzo, Alan Ritter, and Lu Wang (eds.), Findings of the Association for Computational Linguistics: NAACL 2025, pp. 6123–6133, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-195-7. doi: 10.18653/v1/2025.findings-naacl.340. URL https://aclanthology.org/2025.findings-naacl.340/.
Milan Vojnovic and Se-Young Yun. What is the alignment objective of grp?, 2025. URL https://arxiv.org/abs/2502.18548.
Tianyi Wang, Long Li, Hongcan Guo, Yibiao Chen, Yixia Li, Yong Wang, Yun Chen, and Guanhua Chen. Anchored policy optimization: Mitigating exploration collapse via support-constrained rectification, 2026a. URL https://arxiv.org/abs/2602.05717.
Zhenhailong Wang, Xuehang Guo, Sofia Stoica, Haiyang Xu, Hongru WANG, Hyeonjeong Ha, Xiusi Chen, Yangyi Chen, Ming Yan, Fei Huang, and Heng Ji. Perception-aware policy optimization for multimodal reasoning. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 80502–80530, 2026b. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/82846e19e6d42ebfd4ace4361def29ae-Paper-Conference.pdf.
Zhiheng Xi, Xin Guo, Yang Nan, Enyu Zhou, Junrui Shen, Wenxiang Chen, Jiaqi Liu, Jixuan Huang, Xun Deng, Zhihao Zhang, Honglin Guo, Zhikai Lei, Miao Zheng, Guoteng Wang, Peng Sun, Rui Zheng, Hang Yan, Tao Gui, Qi Zhang, and Xuanjing Huang. Bapo: Stabilizing off-policy reinforcement learning for llms via balanced policy optimization with adaptive clipping. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 126204–126228, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/cca4df598d8066ac9e985852dd1d48b5-Paper-Conference.pdf.
Yang Xu, Kun Yao, Yiming Deng, Zheng Fang, Kai Ming Ting, and Ming Pang. Agpo: Asymmetric group policy optimization for verifiable reasoning and search ads relevance at jd, 2026. URL https://arxiv.org/abs/2605.05826.
Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan, Gaohong Liu, juncai liu, LingJun Liu, Xin Liu, Haibin Lin, Zhiqi Lin, Bole Ma, Guangming Sheng, Yuxuan Tong, Chi Zhang, Mofan Zhang, Ru Zhang, Wang Zhang, Hang Zhu, Jinhua Zhu, Jiaze Chen, Jiangjie Chen, Chengyi Wang, Hongli Yu, Yuxuan Song, Xiangpeng Wei, Hao Zhou, Jingjing Liu, Wei-Ying Ma, Ya-Qin Zhang, Lin Yan, Yonghui Wu, and Mingxuan Wang. Dapo: An open-source llm reinforcement learning system at scale. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 113222–113244. Curran Associates, Inc., 2025. doi: 10.52202/085713-3775. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/a4277440d50f1f15d2cb4c14f7e0c0d2-Paper-Conference.pdf.
Kaichen Zhang, Yuzhong Hong, Junwei Bao, Hongfei Jiang, Yang Song, Hong Dingqian, and Hui Xiong. Gvpo: Group variance policy optimization for large language model post-training. In D. Belgrave, C. Zhang, H. Lin, R. Pascanu, P. Koniusz, M. Ghassemi, and N. Chen (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 165798–165820. Curran Associates, Inc., 2025. doi: 10.52202/085713-5525. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/f21a76d688be0553c943a6b6c1d4bb1f-Paper-Conference.pdf.
Yifan Zhang, Yifeng Liu, Rina Hughes, Yang Yuan, Quanquan Gu, and Andrew Yao. On the design of kl-regularized policy gradient algorithms for llm reasoning. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 88357–88395, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/8e49d32f4668a41b013fbc1ed929c007-Paper-Conference.pdf.
Yuzhong Zhao, Yue Liu, Junpeng Liu, Jingye Chen, xun wu, Yaru Hao, Tengchao Lv, Shaohan Huang, Lei Cui, Qixiang Ye, Fang Wan, and Furu Wei. Geometric-mean policy optimization. In C. Vondrick, B. Hariharan, C. Raffel, L. Pinto, D. Yang, and A. Faust (eds.), International Conference on Learning Representations, volume 2026, pp. 41354–41374, 2026. URL https://proceedings.iclr.cc/paper_files/paper/2026/file/44a1f18afd6d5cc34d7e5c3d8a80f63b-Paper-Conference.pdf.
Chujie Zheng, Shixuan Liu, Mingze Li, Xiong-Hui Chen, Bowen Yu, Chang Gao, Kai Dang, Yuqiong Liu, Rui Men, An Yang, Jingren Zhou, and Junyang Lin. Group sequence policy optimization, 2025. URL https://arxiv.org/abs/2507.18071.
Wang Zixian. Group orthogonalized policy optimization: group policy optimization as orthogonal projection in hilbert space, 2026. URL https://arxiv.org/abs/2602.21269.
A EXPERIMENTAL CONFIGURATION
The base training configuration follows DAPO. Table 2 lists the training and evaluation settings and the KL coefficients used in the main experiments. The reward coefficients and KL constructions for vanilla and ZCPO follow the definitions in the main text.
Table 2: Base training and evaluation settings and KL coefficients for the main experiments.
| Configuration item | Setting |
|---|---|
| Training framework | verl |
| Training data | DAPO-Math-17K: approximately 17K prompts with integer answers |
| Optimizer | AdamW |
| Learning rate | |
| Learning-rate warmup | Linear warmup over the first 20 rollout steps |
| Learning-rate schedule after warmup | Constant |
| Prompt batch size per rollout | 512 |
| Responses per prompt | 16 |
| Training mini-batch size | 512 responses |
| Gradient updates per rollout | 16 |
| Lower clipping margin | 0.2 |
| Upper clipping margin | 0.28 |
| DAPO base loss aggregation | Token-level mean |
| ZCPO KL coefficient in the main experiments | 4 |
| Vanilla KL coefficient in the main experiments | 0.001 |
| Maximum response length without a length penalty | 16,384 tokens |
| Overlong soft-penalty buffer length | 4,096 tokens |
| Maximum generation length | 20,480 tokens |
| Correctness reward | +1 for correct answers; -1 for incorrect answers |
| Evaluation set | AIME 2024 and AIME 2025 |
| Evaluation samples per problem | 32 |
| Evaluation metric | avg@32 |
| Evaluation temperature | 1.0 |
| Evaluation top-p | 0.7 |
Checkpoint selection. The main experiments are aligned by cumulative GPU compute time, and checkpoints corresponding to the same cumulative GPU compute time are selected for evaluation. Checkpoint selection is independent of the AIME24 and AIME25 evaluation results.
Computation reuse. Compared with standard KL, ZCPO uses fused computation to reuse the forward-pass outputs and logits of the current and reference policies, avoiding duplicate full-model forward passes and additional memory for logits. The added arithmetic consists primarily of per-token reductions over the full vocabulary, with essentially negligible additional runtime. When the conditional distributions of the current and reference policies are close, the exact conditional KL is a second-order quantity in the distribution perturbation and is susceptible to rounding errors in bf16 logits. To ensure numerical accuracy during bf16 training, we recompute the output-layer projection in fp32 and perform the KL reduction over the full vocabulary in fp32; together, this projection recomputation and KL reduction increase total GPU compute time by approximately relative to standard KL under the same configuration.
Sampling and filtering. In the main mathematical reasoning experiments, we set before each rollout. Dynamic sampling filters out response groups in which all answers are correct or all are incorrect, and continues sampling until the prompt batch is filled. Overlong filtering masks the losses of truncated responses.
Overlong soft penalty. A length penalty is added to the rule-based correctness reward. Using the response length , this penalty is
B SENSITIVITY TO
The three DAPO configurations in Table 1, with , provide a sensitivity analysis of the independent KL loss with respect to ; corresponds to the no-KL control.
Table 3 summarizes ZCPO's AIME24 performance at , following the training and evaluation settings of the main Qwen2.5-32B experiment. At , normalization by the maximum absolute advantage is retained, giving a control with the KL calibration term disabled.
Table 3: ZCPO sensitivity to : AIME24 avg@32 (%) on Qwen2.5-32B, reporting means over 3 random seeds. The result at is reproduced from Table 1.
| AIME24 (%) | |
|---|---|
| 0 | 48.1 |
| 4 | 56.8 |
| 20 | 53.7 |
Joint comparison of reward normalization and KL-coefficient calibration. Combining Tables 1 and 3, Table 4 organizes four controls by reward normalization and whether KL-coefficient calibration is enabled. The standard-deviation entries correspond to DAPO without KL and the ZCPO ablation using standard-deviation normalization; the maximum-absolute-advantage entries correspond to ZCPO with and .
Table 4: Joint comparison of reward normalization and KL-coefficient calibration. Entries are collected from Tables 1 and 3, reporting Qwen2.5-32B AIME24 avg@32 (%) means over 3 random seeds.
| Reward normalization | KL calibration off () | KL calibration on () |
|---|---|---|
| Standard deviation | 47.3 | 55.4 |
| Maximum absolute advantage | 48.1 | 56.8 |
Replacing standard-deviation normalization with maximum-absolute-advantage normalization increases mean AIME24 accuracy by 0.8 and 1.4 percentage points with KL calibration disabled and enabled, respectively. Conversely, enabling the full KL-coefficient calibration increases mean accuracy by 8.1 and 8.7 percentage points under the two normalization schemes. These mean comparisons support gains beyond the change in reward normalization alone in this configuration, with KL-coefficient calibration providing additional gains under both normalization schemes.
C DIAGNOSTICS OF THE KL GRADIENT SHARE
Measurement. The gradient share is measured on the first mini-batch of each step, when the parameters have not yet been updated in that step, the current policy equals the sampling policy, and every reward gradient gate is open. On the same mini-batch and with the same parameters, two separate full forward–backward passes are run: one with the reward-branch loss only and one with the KL-branch loss only (the k3 term for vanilla, the KL term of the coefficient for ZCPO); the norms of the two parameter gradients and their inner product are read out, and the total gradient norm is composed from them. The share is the ratio of the KL-branch gradient norm to the total gradient norm. Norms are computed over the full parameter vector. These two extra backward passes are used only for recording and do not contribute to the parameter update.
The absolute gradient norms of the two branches show that, within a method, the reward-branch norm stays essentially unchanged across while the KL-branch norm grows approximately linearly with , so changes in the share come from the numerator rather than the denominator. ZCPO's reward coefficient is bounded whereas vanilla's standard-deviation-normalized advantage is not, so the absolute norms of the two methods are on different scales and are compared only within a method.
Table 5 summarizes the batch-level ratio of the KL gradient norm to the total gradient norm, recorded on the first mini-batch of each step from steps 11–100 in the diagnostic runs, and reports the median over this interval; each configuration has one or two random seeds.
Table 5: Median ratio of the KL gradient norm to the total gradient norm in the diagnostic runs (steps 11–100).
| Method | KL/total gradient norm ratio | |
|---|---|---|
| vanilla | 0.001 | 0.4% |
| vanilla | 0.04 | 5.8% |
| ZCPO | 4 | 7.0% |
| ZCPO | 20 | 30.2% |
Figure 4 provides supplementary coefficient diagnostics for F7.
(a) Conditional sampling noise

(b) GVPO training curve

(a) Coefficient comparison between k1 and ZCPO; (b) GVPO training curve. ZCPO's zero error concerns only the current token's conditional sampling error given its prefix.
Figure 4: Conditional sampling-noise comparisons. (a) Using the first mini-batch at each of the first 20 steps of ZCPO, the orange curve shows the residual RMSE of the k1 coefficient relative to ZCPO, and the green curve shows ZCPO's own zero residual. ZCPO's zero conditional sampling error refers only to the local estimation term obtained by replacing sampled with for a given prefix; variation in sampled prefixes remains. (b) GVPO training curves. “Noise” denotes the sampling residual of the log-ratio relative to its per-prefix conditional mean. Its magnitude is the measured RMS of after within-group centering, without multiplication by the KL weight. The green dashed line is the zero reference for conditional sampling error.
D OPTIMALITY OF ZERO-SUM COEFFICIENT CALIBRATION
Fix the samples, rewards, and current policy for an active group, so that and both and are treated as constants. The in Eq. (2) are update coefficients that may be positive or negative. Denote the objective in that equation by and introduce the Lagrange multiplier for the zero-sum constraint to obtain
The first-order optimality conditions are
Summing the first equation over and using gives
This solution satisfies the zero-sum constraint. The Hessian of the objective with respect to is the identity matrix, so the objective is strictly convex under this linear constraint, and the solution above is the unique global optimum.
This construction is invariant to a common shift: adding a constant to every changes the objective by , leaving the optimal coefficients unchanged. For two responses in the same active group, the difference between their optimal coefficients is
Thus, when and , implies .
This optimality result concerns coefficient calibration with fixed inputs; is a linear drift score, not a policy KL divergence. The policy parameters are fixed in this problem. During actual training, the optimal coefficients are detached from the gradient computation and inserted into the base surrogate objective in Section 4.
E CROSS-MODEL AND CROSS-TASK EXPERIMENTS
Starting from Qwen3-4B-Thinking-2507, we conduct long-context training on a fixed subset of 8,000 examples from the GoLongRL dataset (Lv et al., 2026). We compare GRPO with standard KL, GRPO without KL, GRPO-ZCPO, and its group-gating ablation on six benchmarks. The standard KL baseline uses a coefficient of 0.001, and the values for full ZCPO and the ablation without gating are both 4.
Full ZCPO retains the gate defined in the main text. The ablation without gating sets and sets the reward coefficient to zero when :
Table 6: Long-context evaluation results and group-gating ablation for Qwen3-4B. All methods trained in this work use the same data subset. denotes the ablation that removes gating for groups with identical rewards, with all other ZCPO settings unchanged.
| Model | DocMath | LBV2 | Frames | MRCR | CorpusQA | LBV1-QA |
|---|---|---|---|---|---|---|
| Qwen3-4B-Thinking-2507 | 60.7 | 39.4 | 64.9 | 37.5 | 49.2 | 64.2 |
| + (GRPO + standard KL) | 61.6 | 41.7 | 64.8 | 49.3 | 53.8 | 64.3 |
| + (GRPO without KL) | 62.3 | 45.2 | 66.4 | 65.7 | 61.9 | 65.6 |
| + (GRPO-ZCPO) | 63.8 | 48.2 | 68.2 | 66.0 | 69.6 | 66.4 |
| + (GRPO-ZCPO, ) | 63.3 | 48.0 | 67.6 | 66.3 | 68.5 | 66.1 |
E.1 TRAINING HYPERPARAMETERS FOR LONG-CONTEXT EXPERIMENTS
Table 7 summarizes the training hyperparameters for the long-context experiments. The KL and group-filtering settings for each method are listed in Table 8.
Evaluation tasks. The long-context evaluation includes DocMath, LongBench-V2, Frames, MRCR, CorpusQA, and LongBench-v1 QA (LBV1-QA). The last benchmark comprises five subsets: 2WikiMultihopQA, HotpotQA, MuSiQue, NarrativeQA, and Qasper.
Table 7: Training hyperparameters for the long-context experiments.
| Hyperparameter | Value |
|---|---|
| Data | |
| Max prompt length | 160K |
| Max response length | 16K |
| Responses per prompt | 16 |
| Optimization | |
| Learning rate | 2e-6 |
| LR warmup steps | 5 |
| Weight decay | 0.1 |
| Gradient clipping | 1.0 |
| PPO epochs | 1 |
| Total epochs | 10 |
| Train prompt batch size | 128 |
| Loss aggregation | token-mean |
| Clipping | |
| Clip ratio (low) | 0.2 |
| Clip ratio (high) | 0.28 |
| Clip ratio | 3.0 |
| Importance Sampling | |
| IS level | token |
| IS clipping mode | clip |
| IS threshold (upper) | 5.0 |
| IS threshold (lower) | 0.5 |
| IS veto threshold | 1e-4 |
E.2 ADDITIONAL CONFIGURATION FOR LONG-CONTEXT EXPERIMENTS
Table 8 provides the model, KL, sampling, parallelism, and checkpoint settings.
Table 8: Additional configuration for the Qwen3-4B long-context experiments. KL and group-gating settings that differ across methods are listed separately.
| Parameter | Setting |
|---|---|
| Model, Data, and Method | |
| Starting model | Qwen3-4B-Thinking-2507 |
| Training data | A fixed subset of 8,000 GoLongRL examples; the same subset for all methods |
| Training framework and entry point | verl; recipe.dapo.main_dapo |
| Trainer configuration | dapo_megatron_trainer |
| Update coefficient | GRPO uses group-relative advantages; ZCPO uses the joint coefficient defined in the main text |
| Additional difficulty weighting | Disabled |
| Objective, KL, and Filtering | |
| Policy loss mode | vanilla |
| KL added to rewards | use_kl_in_reward=False |
| Reward KL coefficient | kl_coef=0.0 |
| Separate KL loss | Enabled only for the GRPO baseline with standard KL; disabled for GRPO without KL and ZCPO |
| Standard KL baseline coefficient | 0.001 |
| ZCPO | 4 (for both the full method and the ablation without gating) |
| Entropy regularization coefficient | entropy_coeff=0 |
| Prefilter groups with identical rewards | Disabled (filter_groups.enable=False) |
| Internal ZCPO group gating | The full method retains ; the ablation without gating sets |
| Reward coefficient for groups with identical rewards in the ablation without gating | Set to zero when |
| Rollout importance sampling correction | Enabled; see Table 7 for other thresholds |
| Reward manager | dapo |
| Soft overlength penalty | Disabled (overlong_buffer.enable=False) |
| Overlength buffer / penalty coefficient | 4,096 tokens / 1.0; inactive because the option is disabled |
| Generation, Batch Sizes, and Lengths | |
| Training sampling temperature / top-p | 1.0 / 1.0 |
| Training sampling top-k | -1 (top-k truncation disabled) |
| Generation prompt batch size | 512 |
| Training prompt batch / PPO mini-batch | 128 / 128 |
| PPO micro-batch per GPU | 1 |
| Dynamic batch size | Disabled |
| Maximum prompt / response length | 163,840 / 16,384 tokens |
| Maximum model length for rollouts | 180,224 tokens |
| Maximum assistant turns per rollout | 1 |
| Overlength prompt filtering | filter_overlong_prompts=True |
| Data truncation direction | truncation=left |
| Data order / prompt field | shuffle=True; prompt |
| Filtering cache | use_filtered_cache=True;rebuild_filtered_cache=False |
| Parallelism and Runtime Configuration | |
| GPU nodes / GPUs per node | 16 / 8 (128 GPUs in total) |
| Training / inference backend | Megatron (mbridge enabled) / SGLang |
| Rollout service mode | async |
| Training tensor parallelism TP | 8 |
| Training expert parallelism EP | 1 |
| Context / pipeline parallelism CP / PP | 8 / 1 |
| Expert tensor parallelism ETP | 1 |
| Inference tensor parallelism | 8 |
Table 8 (continued)
| Parameter | Setting |
| Actor/ref parameter, gradient, optimizer offload | All True |
| Attention backend / padding removal | flash / True |
| Actor activation recomputation | uniform, full, 1 layer per group |
| PPO / log-prob token budget per GPU | 22,528 / 22,528; dynamic batch size disabled |
| Log-prob micro-batch / dynamic batching | 1 / False |
| Rollout GPU memory utilization | 0.6 |
| Rollout workers / buffer capacity | 16 / 32 |
| Maximum concurrent requests / CUDA graph batch | 512 / 512 |
| Chunked prefill / rollout log-prob | Both enabled |
| Weight update bucket size | 2,048 MB |
| Actor/ref Torch compile | Both disabled |
| Checkpoints and In-Script Validation | |
|---|---|
| Checkpoint saving interval | Every 5 training steps |
| Maximum actor checkpoints retained | 60 |
| Resume mode / total epochs | auto / 10 |
| Validation before training | val_before_train=False |
| Periodic validation frequency | test_freq=-1 (periodic validation disabled) |
| Validation sampling temperature / top-p | 0.6 / 0.95 |
| Validation top-k / do-sample / samples | -1 / True / 1 |
| Validation generations logged | 15 |
| Logging backends | console, tensorboard |
F CROSS-MODEL GENERALIZATION: GLM-4-9B-0414 MATH EXPERIMENTS
To examine ZCPO on models outside the Qwen family, we use GLM-4-9B-0414 (GLM Team et al., 2024) as the training start for math RLVR, comparing DAPO without KL against ZCPO built on DAPO (i.e., our method). Apart from the training start, the training and evaluation settings follow the main experiments (Appendix A), with for ZCPO; the metric is AIME24 avg@32, reporting means.
Table 9: Cross-model math results on GLM-4-9B-0414 (AIME24 avg@32, %).
| Model/method | AIME24 avg@32 (%) |
|---|---|
| GLM-4-9B-0414 + DAPO without KL | 24.5 |
| GLM-4-9B-0414 + ZCPO | 36.2 |
On this non-Qwen base, adding ZCPO improves the AIME24 mean accuracy over DAPO without KL, with a trend consistent with the main experiments, providing preliminary support for ZCPO's cross-family generalization.
G INDEPENDENT KL SUPPRESSION OF WEAK REWARD SIGNALS
The following construction fixes samples, rewards, the old policy, and the reference policy, and demonstrates both reversal directions and the trade-off in global adjustment without clipping.
Reversal of a weak continuous-reward signal. Let and let the group rewards consist of seven pairs and one pair , where . The group mean is zero. With sample-standard-deviation normalization,
For a token in the response with reward , the independent KL loss in ordinary GRPO is . Writing , its direct gradient-descent contribution at is
Set the current and old probabilities to 0.4 and the reference probability to 0.2, giving . For any , a sufficiently small gives , making the coefficient in Equation (3) negative. With , , and , we obtain and a combined coefficient of approximately -0.0189649.
The corresponding negative-to-positive reversal. The response with reward in the same group has . Set its token's current and old probabilities to 0.6/15 and the reference probability to 0.8/15. Then , , and its direct update coefficient is . For any , a sufficiently small makes this positive; the values above give . Independent KL can therefore turn a negative reward contribution positive. Both examples are unclipped mathematical constructions concerning direct token contributions, not overall training performance.
Global adjustment under uniform and concentrated contributions. For the unclipped surrogate, consider only positions where KL opposes the reward direction and , namely . Define the local KL gradient coefficient before multiplication by and its strength relative to the reward coefficient:
The two terms for a token share its score gradient and aggregation weight, so their contribution-norm ratio is . Avoiding local direction reversal at all such positions requires
where the maximum is restricted to the conflicting positions above. If the values are approximately uniform, lowering the global mitigates suppression comparably across positions. If relative KL contributions concentrate at a few conflicting positions, lowering to protect them also weakens regularization elsewhere: uniformly scales without changing the relative disparity across positions.
For two conflicting positions with the same and , let and , giving . Protecting the former requires , limiting the other position's KL-to-reward ratio to 0.01; it cannot simultaneously remain at least 0.1. This is a trade-off in global tuning. Here concentration refers to relative gradient contributions that oppose rewards, which cannot be inferred from scalar KL concentration alone.
G.1 How ZCPO Mitigates This Failure Mode
ZCPO combines relative drift with normalization by the maximum absolute advantage to remove the direct coefficient penalty from shared drift and turn reference information into a signal for comparing candidates within a group. Write and decompose the mean conditional KL as , where is common to the group. Then
The shared drift no longer enters the coefficient penalty, while informative relative differences remain. For equal rewards, : responses with lower drift receive larger coefficients, turning reference information into a relative preference.
Common-shift invariance and reward feedback. An independent KL term against a fixed reference penalizes policy deviation without evaluating its task benefit, so a beneficial change that increases KL also incurs a regularization cost. ZCPO removes the direct coefficient penalty from the shared component ; this algebraic property does not distinguish whether a shared change is beneficial. Both approaches retain reward-driven updates. Because different prompts share policy parameters, the absence of reward comparisons in the current group does not imply an absence of reward feedback throughout training: when the reward captures a behavior's effects and other prompts or later rollouts provide informative alternatives, corresponding reward comparisons may still arise. This describes a possible source of learning signals, not an established effect of correction across groups. If a change leaves the reward unchanged across the relevant training distribution and its effect on KL is entirely shared within each group, the reward provides no direct signal to distinguish that change, and the common KL component removed by centering provides no direct pull toward the reference policy.
Group size and the probability of reward comparisons. Fix the prompt, policy, and sampling configuration for each response, and consider binary rewards with probability of sampling a high-reward response. Under G independent and identically distributed draws, the probability that a group contains both high- and low-reward responses and its increment are
Thus, under this fixed distribution, increasing G raises the probability of obtaining reward comparisons within a single group. This is a statement about sampling coverage, not training performance after changing G; the shared KL component still cancels from for any G.
Restoring the weak reward direction in the same example. Instantiate the preceding construction with 16 single-token responses to one prompt and a vocabulary of 16 tokens. For the token with weak positive reward, set the current and old probabilities to 0.4 and the reference probability to 0.2. Assign each remaining token probability 0.6/15 under the current and old policies and 0.8/15 under the reference. Consider a sampled group containing each token once, with the preceding seven reward pairs and one pair .
All responses share the same prefix, so their full-vocabulary conditional KL is identical:
For the same policies, sampled group, and , setting gives local coefficients of approximately -0.0189649 and +0.0122982 for the responses with weak positive and negative advantages under ordinary k3, versus +0.001 and -0.001 under ZCPO. Removing shared drift restores both reward directions without reducing the global to accommodate the common component.
Fixing the strongest reward signal to stabilize relative calibration. Normalization by the maximum absolute advantage fixes the strongest reward signal in every active group, preventing its peak from varying with the within-group reward distribution:
Here is the peak coefficient ratio between the KL correction and the reward term. Variation in the reward peak is therefore removed as a source of fluctuation in relative KL calibration strength, leaving that strength determined by and the actual within-group drift differences. Standard-deviation normalization uses a second-order scale, whereas normalization by the maximum absolute advantage fixes the peak scale.
An implicit reward curriculum: from dominant signals to residual differences. ZCPO's within-group calibration can be viewed as an implicit reward curriculum. Consider with . When the dominant factor becomes shared, , its reward contribution cancels. If still varies, we obtain
The original scale cancels, restoring the strongest remaining reward signal to unit magnitude, while relative KL removes the shared drift . Factors that become common leave the within-group comparison, and residual differences gain renewed relative weight without an additional curriculum scheduler. This coefficient-level reweighting offers a perspective on how the focus of updates can shift from dominant signals to previously masked differences.
These properties concern calibration coefficients; the actual KL gradient share also depends on relative drift, clipping, and gradient aggregation.
H MINI-BATCH UPDATES WITH FROZEN COEFFICIENTS
In the main experiments, full ZCPO computes coefficients once per rollout. Let be the sampling-policy snapshot, , with a fixed reference policy. We write the coefficient construction for one active prompt group.
Computing coefficients at the sampling-policy snapshot. Before parameter updates, we reuse the old-policy and reference forward passes to compute
Rewards, groups, and these coefficients stay fixed through the rollout’s mini-batch updates and are refreshed for the next rollout. The gate skips groups with identical rewards.
Mini-batch updates with fixed coefficients. Each rollout’s training batch contains responses. One PPO epoch uses 16 mini-batches of 512 responses, preserving prompt groups. For active responses in mini-batch , the surrogate is
Weights follow the base aggregation rule. Updates change and the probability ratios, keeping and fixed. The clipping gate is evaluated from the current ratio and the fixed joint coefficient, so its state can change during optimization.
Roles of KL computation and the outer probability ratio. Conditional KL is evaluated by full-vocabulary summation at the snapshot; the outer ratio and clipping govern updates to . For the paired log-ratio , a token drawn from satisfies
This is a conditional estimation identity at the sampling snapshot. Later updates do not change the frozen quantities' target, so no extra importance correction is needed for subsequent changes in . Equation (2) calibrates coefficients; defines the policy update.
I EVIDENCE SCOPE AND DISCUSSION
We study the use of reference-policy information at three levels: update structure, coefficient construction, and task performance. The theoretical analysis characterizes the interaction between KL and reward updates under specified conditions and gives the optimal zero-sum coefficient calibration for fixed inputs. The F1 mechanism controls and F3 group-gating ablation evaluate the roles of KL updates at clipped positions and gating groups with identical rewards, respectively, in their corresponding settings. Other gradient, length, and drift diagnostics characterize training behavior and motivate testable mechanistic hypotheses about its effects on optimization. Mathematical reasoning, long-context, and cross-model experiments jointly support ZCPO's task performance in the evaluated configurations. These cross-setting results assess the effectiveness of the full method, while the scope and contribution of individual mechanisms to task gains are discussed separately through analyses and controls under their respective conditions.