在GRPO中,密集奖励值得消耗这些token吗?

·

研究论文 · 2026/11/11

RLVR通过奖励正确最终答案来训练语言模型推理。GRPO算法给解决方案的每个token相同信用,因此有人提出密集过程奖励来给中间步骤信用,例如用蒙特卡洛奖励通过采样后续来评分每个步骤。在每次训练更新时比较这种奖励与GRPO,或在单个批次上用梯度测试验证它,忽略了成本:在我们的设置中,仅后续采样就占所有生成token的91%。我们引入匹配计算协议,给每个训练干预相同的预算(以生成token和训练GPU小时计),并在预注册研究中测试,控制副作用。在六个模型上的1668次运行中,匹配计算逆转了排名。在Qwen2.5-1.5B上,蒙特卡洛奖励每次更新领先标准GRPO,但在等token下最终低14.3个百分点,在等训练时间下低7.8个百分点,且四种密集奖励变体在相同训练时间下均未超过GRPO。每token梯度测试对这些奖励的排序与训练一致,但高估每个1到2个百分点,与它旨在检测的增益相当。相比之下,在预测成功最接近1/2的提示上训练,在匹配计算下提高了准确率,Qwen3-0.6B上提高1.7个百分点,Qwen2.5-1.5B上提高0.8个百分点。这些增益在新种子和未见问题上可复现,且一个简单规则——候选提示被预测更常失败——在六次预注册测试中的五次预测了它们出现的位置。两种增益都出现在训练早期,而标准GRPO以两倍初始学习率训练可接近它们,差距在半个百分点以内。我们认为训练干预应在匹配计算下验证,这推翻了一些表面增益并确认了另一些。

该研究通过匹配计算协议揭示了密集奖励在GRPO中的真实成本,推翻了表面增益,并提出了更可靠的训练干预验证方法,对RLVR领域有重要方法论意义。

RLVR trains language models to reason by rewarding correct final answers. A widely used algorithm, group-relative policy optimization (GRPO), gives every token of a solution the same credit, so dense process rewards have been proposed to credit intermediate steps, for example with a Monte-Carlo reward that scores each step by sampling continuations from it. Comparing such a reward with GRPO per training update, or vetting it with a gradient test on a single batch, leaves out what it costs: in our setting, the continuations alone take 91% of all generated tokens. We introduce a matched-compute protocol that gives every training intervention the same budget, measured in generated tokens and training GPU-hours, and tests it in preregistered studies with controls for side effects. Across 1,668 runs on six models, matching compute reverses the ranking. On Qwen2.5-1.5B, the Monte-Carlo reward leads standard GRPO per update, yet ends 14.3 percentage points lower at equal tokens and 7.8 points lower at equal training time, and none of four dense-reward variants outperforms GRPO even with as much training time. A per-token gradient test orders these rewards as training does but overestimates each by one to two points, as much as the gains it is meant to detect. In contrast, training on the prompts whose predicted success is nearest 1/2 improves accuracy at matched compute, by 1.7 points on Qwen3-0.6B and 0.8 on Qwen2.5-1.5B. These gains replicate on fresh seeds and unseen problems, and a simple rule, that the candidate prompts are predicted to fail more often than not, predicted where they appear in five of six preregistered tests. Both gains come early in training, and standard GRPO with twice the initial learning rate comes within half a point of them. We argue that training interventions should be validated at matched compute, which overturns some apparent gains and confirms others.

阅读原文

参与讨论