arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.09920cs.LGcs.AI
收藏

通过内在梯度-范数奖励实现无需验证器的LLM强化学习

Verifier-Free RL for LLMs via Intrinsic Gradient-Norm Reward

Zhejiang University(浙江大学);Ant Group(蚂蚁集团)

Xuexiang Wen, Hang Yu, Linchao Zhu, Gaoang Wang

AI总结:

本文提出VIGOR,一种无需外部验证器的强化学习奖励机制,通过内在偏好信号提升政策优化效果,在数学推理和代码基准测试中表现优于现有方法。

摘要:

尽管可验证奖励的强化学习(RLVR)最近成为大型语言模型(LLMs)后训练有希望的范式,但其依赖黄金标签或领域特定验证器限制了其在新任务和领域中的可扩展性。本文提出无需验证器的内在梯度-范数奖励(VIGOR),一种仅使用策略模型本身的简单奖励。给定提示,VIGOR会采样一组完成,并将奖励分配给诱导较小$\ell_2$范数的教师强制负对数似然梯度的输出。直观上,较小的梯度范数表明完成更符合当前策略,作为政策优化的内在偏好信号。为了使这一内在信号对强化学习实用,我们通过$\sqrt{T}$缩放修正平均token级梯度的系统长度偏差,并应用组间排名塑造以稳定奖励尺度。在数学推理基准测试中,VIGOR优于最先进的基于内部反馈的强化学习(RLIF)基线,并且在仅训练于数学数据时表现出跨领域转移能力到代码基准测试。例如,在Qwen2.5-7B-Base后训练于MATH的情况下,VIGOR在数学准确率上提高了+3.31%,在代码准确率上提高了+1.91%,同时表现出更稳定的训练动态。代码可在https://github.com/ZJUSCL/VIGOR上获得。

英文摘要:

While Reinforcement Learning with Verifiable Rewards (RLVR) has recently emerged as a promising post-training paradigm for Large Language Models (LLMs), its dependency on the gold label or domain-specific verifiers limits its scalability to new tasks and domains. In this work, we propose Verifier-free Intrinsic Gradient-Norm Reward (VIGOR), a simple reward that uses only the policy model itself. Given a prompt, VIGOR samples a group of completions and assigns higher within-group rewards to outputs that induce smaller $\ell_2$ norms of the teacher-forced negative log-likelihood gradients under the current parameters. Intuitively, lower gradient norms suggest the completion aligns better with the current policy, serving as an intrinsic preference signal for policy optimization. To make this intrinsic signal practical for RL, we correct the systematic length bias of averaged token-level gradients with a $\sqrt{T}$ scaling, and apply group-wise rank shaping to stabilize reward scales across prompts. Across mathematical reasoning benchmarks, VIGOR outperforms the state-of-the-art Reinforcement Learning from Internal Feedback (RLIF) baseline, and it also exhibits cross-domain transfer to code benchmarks when trained only on math data. For instance, on Qwen2.5-7B-Base post-trained on MATH, VIGOR improves the average math accuracy by +3.31% and the average code accuracy by +1.91% over this baseline, while exhibiting more stable training dynamics. The code is available at https://github.com/ZJUSCL/VIGOR.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑