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

可验证奖励强化学习中的边际引导令牌信用

Margin-Guided Token Credit for Reinforcement Learning with Verifiable Rewards

Chi Liu, Xin Chen, Yuchuan Weng, Srinivasan Manoharan

AI总结:

针对可验证奖励强化学习中GRPO平均分配奖励的问题,提出MCPO方法,利用边际分配信用,在竞赛数学基准上较GRPO取得显著性能提升。

摘要:

在可验证奖励的强化学习中,语言模型会因最终答案正确获得奖励,而GRPO会将该奖励平均分配给解决方案的每个令牌。我们提出了一种名为MCPO(边际信用策略优化)的方法,将信用分配在模型犹豫的地方。我们通过策略下一个令牌分布的top-2边际M=p₁-p₂来衡量犹豫程度,用两个固定阈值将其映射为分数,并在保持均值不变的情况下将每个解决方案的优势分配给其令牌。该边际来自训练者已执行的前向传播,因此无需额外的模型评估和批量统计。我们使用LoRA在2048个DAPO-Math问题上对MiniCPM5-2B-Base训练200步,并在六个竞赛数学基准上进行评估。MCPO在所有五个数据种子上均优于未修改的GRPO基线,宏观avg@32平均提升6.55个百分点(95%置信区间[4.1,9.0]);Qwen3-4B-Base复制品在所有三个种子上也有提升(+4.75)。在GRPO仅部分解决的问题上增益最大,且随pass@k中的k增大而增加,在pass@32时达到13.8个百分点。MCPO模型生成的答案长度是原来的2-3倍,且生成更长答案的运行得分更高;我们的实验未区分这两种效应。

英文摘要:

In reinforcement learning with verifiable rewards, a language model is rewarded for a correct final answer, and GRPO passes that reward to every token of the solution in equal measure. We instead place the credit where the model hesitated, in a method we call MCPO (Margin-Credit Policy Optimization). We measure hesitation by the top-2 margin $M=p_1-p_2$ of the policy's next-token distribution, map it to a score with two fixed thresholds, and spread each solution's advantage over its tokens so that the mean stays unchanged. The margin is read from a forward pass the trainer already performs, so the method needs no extra model evaluation and no batch statistics. We train MiniCPM5-2B-Base with LoRA for 200 steps on 2,048 DAPO-Math problems and evaluate on six competition-math benchmarks. MCPO beats an unmodified GRPO baseline for all five data seeds, by 6.55 points of macro avg@32 on average (95\% CI $[4.1, 9.0]$), and a Qwen3-4B-Base replication improves for all three seeds ($+4.75$). The gain is largest on problems that GRPO solves only some of the time and grows with $k$ in pass@$k$, reaching 13.8 points at pass@32. MCPO models also write two to three times longer answers, and runs that write longer score higher; our experiments do not separate the two effects.

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

↑