Reinforcement Learning with Verifiable Rewards (RLVR),利用简单的二元反馈对大语言模型进行后训练,已取得显著的实证成功。然而,其为何有效仍缺乏系统理解。本文通过分析RLVR在完整响应(轨迹)和令牌层面的训练过程,构建了其理论基础。核心分析引入了新的量度——梯度间隙,该量度形式化了从低奖励到高奖励区域的改进方向。我们证明收敛关键依赖于更新方向与梯度间隙的对齐。此外,我们基于梯度间隙的大小推导出一个尖锐的步长阈值:低于该阈值,学习收敛;高于该阈值,性能崩溃。本文理论进一步预测了临界步长必须随响应长度和成功率的缩放,从而解释了实践中如长度归一化的启发式方法如何提升稳定性,并表明在固定学习率下,成功率可以严格低于100%。重要的是,本文理论灵活适用于任何策略梯度算法,因此刻画了流行方法如REINFORCE和GRPO的动力学。我们通过受控的Bandit模拟和语言模型实验验证了这些预测,包括在后训练Qwen2.5-Math-7B上使用GRPO的实验。
英文摘要:
Reinforcement Learning with Verifiable Rewards (RLVR), which uses simple binary feedback to post-train large language models, has found significant empirical success. However, a principled understanding of why it works is 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 new 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\%$. Importantly, our theory holds flexibly for any policy-gradient algorithm and so characterizes the dynamics of popular approaches such as REINFORCE and GRPO. We validate these predictions through controlled bandit simulations and language model experiments on post-training Qwen2.5-Math-7B with GRPO.
GMTS: Gradient Magnitude-based Token Selection Improves RLVR Training for LLM Reasoning
School of Mathematical Sciences, Shanghai Jiao Tong University(上海交通大学数学科学学院);Institute of Natural Sciences, Shanghai Jiao Tong University(上海交通大学自然科学研究院)
Flexible Entropy Control in RLVR with a Gradient-Preserving Perspective
School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);MAIS, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所MAIS);Meituan(美团)
When to Stop Reusing: Dynamic Gradient Gating for Sample-Efficient RLVR
National Engineering Research Center for Multimedia Software, School of Computer Science, Wuhan University(国家多媒体软件工程研究中心,武汉大学计算机学院);Meituan Longcat Team(美团Longcat团队);The University of Sydney(悉尼大学);University of Science and Technology of China(中国科学技术大学)
Hindsight-Privileged RLVR: Single-Rollout Token Credit Without Group Sampling
South China University of Technology(华南理工大学);Tsinghua University(清华大学);The Hong Kong University of Science and Technology(香港科技大学);Huawei 2012 Laboratories(华为2012实验室);Shenzhen Technology University(深圳技术大学)
Revisiting Entropy in Reinforcement Learning for Large Reasoning Models
TJUNLP Lab, School of Computer Science and Technology, Tianjin University, China(天津大学计算机科学与技术学院 TJUNLP 实验室,中国);Independent Researcher(独立研究者);College of Computer and Information Engineering, Tianjin Normal University, China(天津师范大学计算机与信息工程学院,中国)
The University of Texas at Austin(德克萨斯大学奥斯汀分校);UIUC(伊利诺伊大学香槟分校);Emory University(埃默里大学);Together AI(联合人工智能公司);Recursive Superintelligence Inc(递归超级智能公司);ELLIS Institute Tübingen(图宾根埃利斯研究所)
LearnAlign: Data Selection for LLM Reinforcement Learning with Improved Gradient Alignment
Nanjing University(南京大学);The Hong Kong Polytechnic University(香港理工大学);The Chinese University of Hong Kong(香港中文大学);University of Science and Technology of China(中国科学技术大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所)
From Exploration to Exploitation: A Two-Stage Entropy RLVR Approach for Noise-Tolerant MLLM Training
Independent Researcher(独立研究者);The Chinese University of Hong Kong(香港中文大学);City University of Hong Kong(香港城市大学);Hong Kong University of Science and Technology(香港科技大学);University of Hong Kong(香港大学)
Reinforcement Learning for Reasoning in Large Language Models with One Training Example
University of Washington(华盛顿大学);University of Southern California(南加州大学);Microsoft(微软);University of California, Santa Cruz(加州大学圣克鲁兹分校);Georgia Institute of Technology(佐治亚理工学院)
MaPP: A Unified Marginalized Posterior-Predictive Framework for Data-Efficient RLVR
Beihang University(北京航空航天大学);Zhongguancun Academy(中关村学院);Communication University of China(中国传媒大学);Nanyang Technological University(南洋理工大学);Lobachebsky University(罗巴切夫斯基大学);Peking University(北京大学);Hangzhou Innovation Institute of Beihang University(北京航空航天大学杭州创新研究院)
CAST: Non-Privileged Clipped Asymmetric Self-Teaching with Advantage Flipping for GRPO
School of Software and Microelectronics, Peking University, Beijing(北京大学软件与微电子学院);School of Artificial Intelligence, Peking University, Beijing(北京大学人工智能学院);School of Computer Science, Peking University, Beijing(北京大学计算机科学学院);School of Future Technology, Peking University, Beijing(北京大学未来技术学院)
Department of Computer Science, University of California, Los Angeles, CA, USA(加州大学洛杉矶分校计算机科学系);Princeton AI Laboratory, Princeton University, Princeton, NJ, USA(普林斯顿大学普林斯顿AI实验室)