On the optimization dynamics of RLVR: Gradient gap and step size thresholds

Joe Suk, Yaqi Duan
10/9/2025
cs.LGcs.AIcs.IT

No confident code implementation found for this paper.

Abstract

Reinforcement Learning with Verifiable Rewards (RLVR), which uses simple binary feedback to post-train large language models, has shown significant empirical success. However, a principled understanding of why it works has been lacking. This paper builds a theoretical foundation for RLVR by analyzing its training process at both the full-response (trajectory) and token levels. Central to our analysis is a quantity called the Gradient Gap, which formalizes the direction of improvement from low-reward to high-reward regions of the response space. We prove that convergence critically depends on aligning the update direction with this Gradient Gap. Moreover, we derive a sharp step-size threshold based on the magnitude of the Gradient Gap: below it, learning converges, whereas above it, performance collapses. Our theory further predicts how the critical step size must scale with response length and the success rate, thereby explaining why practical heuristics such as length normalization improve stability and showing that, with a fixed learning rate, the success rate can stagnate strictly below $100\%$. We validate these predictions through controlled bandit simulations.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{suk2025optimization,
  title  = {On the optimization dynamics of RLVR: Gradient gap and step size thresholds},
  author = {Joe Suk and Yaqi Duan},
  year   = {2025},
  eprint = {2510.08539},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.08539v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.08539.svg)](https://codeofpaper.com/paper/2510.08539)

Discussion