Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

When to Stop Reusing: Dynamic Gradient Gating for Sample-Efficient RLVR

About

Reinforcement Learning with Verifiable Rewards (RLVR) has become the dominant paradigm for advanced reasoning in Large Language Models (LLMs), but rollout samples are expensive to obtain, making sample efficiency a critical bottleneck. A natural remedy is to reuse each rollout batch for multiple gradient updates, a standard practice in classical RL. Yet in RLVR, this amplifies policy shift, leading to severe performance degradation. Detecting the onset of degradation early enough to stop reuse remains an open and challenging problem. We close this gap by identifying the \textit{Disproportionate Weight Divergence (DWD)} phenomenon: performance degradation is synchronized with a sharp surge in the \texttt{lm\_head} weight change, while intermediate layers remain stable. Empirically, we verify that DWD emerges consistently across diverse LLMs and tasks. Theoretically, we prove that (i) harmful gradients concentrate at the \texttt{lm\_head} while intermediate layers are structurally attenuated, and (ii) the \texttt{lm\_head} gradient norm lower-bounds the policy divergence. These results establish the \texttt{lm\_head} gradient norm as a principled, real-time signal of catastrophic policy shift. Guided by this insight, we propose \textit{Dynamic Gradient Gating (DGG)}, a lightweight intervention that monitors the \texttt{lm\_head} gradient norm in real time and intercepts harmful gradients before they corrupt the optimizer. DGG consistently matches or exceeds the standard single-use baseline, achieving up to $2.93\times$ sample efficiency and $2.14\times$ wall-clock speedup across math, ALFWorld, WebShop, and search-augmented QA tasks.

Yuchun Miao, Sen Zhang, Yuqi Zhang, Yaorui Shi, Qi Gu, Xunliang Cai, Lefei Zhang• 2026

Related benchmarks

TaskDatasetResultRank
Agentic TaskAlfWorld
Rollout Speedup Factor2.5
2
Agentic TaskWebshop
Rollout Speedup Factor2.88
2
Mathematical ReasoningMath avg. of MATH500, AIME25, Minerva Math, and Olympiad Bench
Rollout Speedup Factor2.93
2
Search-augmented QASearch-QA avg. of HotpotQA, 2Wiki, MuSiQue, and Bamboogle
Rollout Speedup Factor2.24
2
Showing 4 of 4 rows

Other info

Follow for update