NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Clipping Bottleneck: Stabilizing RLVR via Stochastic Recovery of Near-Boundary Signals

Shuo Yang, Jinda Lu, Chiyu Ma, Kexin Huang, Haoming Meng, Qihui Zhang, Yuyang Liu, Bolin Ding, Guoyin Wang, Li Yuan, Jingren Zhou

TL;DR

This paper identifies a critical bottleneck in Reinforcement Learning with Verifiable Rewards (RLVR) for LLMs: the rigid "hard clipping" of gradients that discards potentially useful signals near decision boundaries. They propose Near-boundary Stochastic Rescue (NSR), a simple, plug-and-play method that stochastically recovers these near-boundary signals, leading to significantly more stable training and improved performance across various LLM sizes and architectures.

What Problem Does This Paper Address?

Large Language Models (LLMs) are increasingly being trained using Reinforcement Learning with Verifiable Rewards (RLVR) to improve their reasoning capabilities, especially in domains like math and coding. However, a common issue in this training paradigm is instability and suboptimal convergence. The paper pinpoints a specific culprit: the "hard clipping" mechanism used in popular RLVR algorithms like GRPO and DAPO. This mechanism acts like a strict gatekeeper, discarding any gradient information that falls even slightly outside a predefined "trust region." The authors argue that this binary decision is too unforgiving, potentially discarding valuable learning signals from tokens that are just on the edge of this region, leading to the observed training difficulties.

Methods

The core of the paper's contribution is the Near-boundary Stochastic Rescue (NSR) method. NSR is designed as a minimal, "plug-and-play" modification to existing RLVR algorithms. Instead of a hard binary decision (keep or discard), NSR introduces a stochastic element for tokens that fall just outside the trust region.

Here's how it works:

  1. Diagnosis: The authors first perform a detailed analysis to confirm that the decision of whether to clip (the binary mask) is the primary source of instability, not the magnitude of the gradients themselves. They achieve this through carefully designed interventions on existing baselines.
  2. NSR Mechanism: For tokens that are slightly out-of-bounds, NSR doesn't simply discard them. Instead, it uses a probabilistic approach to "rescue" these tokens. This means there's a chance these slightly out-of-bounds signals will still contribute to the policy update, effectively allowing the model to learn from signals that would have been lost.
  3. Theoretical Interpretation: While NSR is stochastic in practice, its expected behavior can be understood as an implicit "soft clipping" mechanism. It induces a smooth, inverse-square decay in gradients for out-of-bound tokens, rather than a sharp cutoff. Crucially, ablations show that the stochastic nature of this rescue is more effective than deterministic soft clipping.

Datasets

The paper evaluates NSR on:

  • Mathematical Reasoning Benchmarks: AIME24, AIME25, and AMC.
  • General Reasoning Benchmarks: GPQA (STEM-focused) and MMLU-Pro.

The authors used the dapo-math-17k dataset for training, which is aligned with the original DAPO and GSPO studies to ensure fair comparison.

Key Insights and Ideas

  • Hard Clipping is the Bottleneck: The most significant insight is that the rigid, binary nature of gradient clipping in RLVR is the primary cause of training instability, not the magnitude of the gradients themselves.
  • Near-Boundary Signals Matter: Informative learning signals can exist just outside the clipping threshold, and discarding them is detrimental.
  • Stochasticity is Key: While a deterministic soft clipping might seem intuitive, the paper's ablations strongly suggest that the stochastic nature of NSR's rescue mechanism is what truly drives its effectiveness and stability.
  • NSR is a Minimal, Plug-and-Play Solution: The method is designed to be easily integrated into existing RLVR frameworks without significant architectural changes or computational overhead.

Key Results

  • Improved Stability: NSR consistently leads to more stable training trajectories, with faster convergence and higher peak validation accuracy compared to baselines like DAPO. Policy entropy also remains stable, avoiding the collapse often seen in other methods.
  • Performance Gains: NSR delivers significant and consistent improvements in performance (measured by Pass@1 and Pass@16 scores) across various LLM sizes (7B to 30B) and architectures (dense and MoE). For instance, on math benchmarks, it boosted the 7B model by an average of 10%.
  • Generalizability: The benefits of NSR extend beyond math tasks, showing competitive performance on general reasoning benchmarks like GPQA and MMLU-Pro.
  • Reduced Clip Fraction: Figure 10 shows that NSR significantly reduces the fraction of clipped gradients during training, indicating that it effectively recovers valuable signals.

Limitations and Future Work

  • Scope: The current work is focused on clipping-based RLVR objectives with verifiable rewards and group-relative advantage estimation. Direct transfer to standard RL with learned value functions, dense rewards, or unclipped/KL-only objectives is not claimed.
  • Hyperparameter: NSR introduces an additional hyperparameter, the rescue window δ. Further research is needed for broader tuning guidance across different clip widths and algorithms.
  • Model Architectures: Experiments were primarily conducted on Qwen-family models.
  • Future Directions: The authors suggest exploring the interaction between NSR, MoE routing, and different levels of clipping (token vs. sequence). They also note that a formal bias-variance or convergence analysis of NSR is left for future work.

Summary updated

BibTeX
@inproceedings{yang2026clipping,
  author = {Shuo Yang and Jinda Lu and Chiyu Ma and Kexin Huang and Haoming Meng and Qihui Zhang and Yuyang Liu and Bolin Ding and Guoyin Wang and Li Yuan and Jingren Zhou},
  title = {{Clipping Bottleneck: Stabilizing RLVR via Stochastic Recovery of Near-Boundary Signals}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=ZXFTvoBZ1B},
}
Figure