arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06717cs.LGcs.AI
收藏

F-GRPO: 别让你的策略学到显而易见的而忘记罕见的

F-GRPO: Don't Let Your Policy Learn the Obvious and Forget the Rare

T-Tech

Daniil Plyusov, Alexey Gorbatovski, Boris Shaposhnikov, Viacheslav Sinii, Alexey Malakhov, Daria Korotyshova, Daniil Gavrilov

AI总结:

针对强化学习中有限采样组导致罕见正确轨迹被忽略的问题,提出基于Focal loss的难度感知缩放系数F-GRPO,在不增加组大小和计算成本下提升数学推理性能。

摘要:

基于可验证奖励的强化学习通常依赖组采样来估计优势并稳定策略更新。实践中,计算限制往往排除非常大的组,因此训练使用有限的rollout集合,这些集合只能强化它们暴露的正确行为。在实际组大小下,更新可能会遗漏罕见的正确轨迹,同时仍然包含混合奖励,将概率集中在更常见的采样解上。我们推导了这种提示局部尾部遗漏事件作为组大小函数的概率,展示了非单调行为,并在分类抽象中描述了未采样的正确质量如何在总正确质量增长时缩小。受此分析启发,我们提出了一种难度感知缩放系数,灵感来自Focal loss,它降低了高成功采样组的更新权重。经验上,分类模拟在分类设置中展示了相同效果,Maze提供了单解测试,LLM实验包括代表性的GRPO组大小扫描以及GRPO、DAPO和CISPO之间的固定N迁移。在Qwen2.5-7B上,N=8时,我们的方法将平均数学pass@256从64.1提高到70.3(GRPO),69.3提高到72.5(DAPO),73.2提高到76.8(CISPO);在所有三种情况下,OOD pass@256也得到改善,且不增加组大小或计算成本。

英文摘要:

Reinforcement Learning with Verifiable Rewards (RLVR) is commonly based on group sampling to estimate advantages and stabilize policy updates. In practice, computational limits often rule out very large groups, so training proceeds with finite rollout sets that can reinforce only the correct behavior they expose. At practical group sizes, updates can miss rare-correct trajectories while still containing mixed rewards, concentrating probability on more common sampled solutions. We derive the probability of such prompt-local tail-miss events as a function of group size, showing non-monotonic behavior, and in the categorical abstraction characterize how unsampled-correct mass can shrink even as total correct mass grows. Motivated by this analysis, we propose a difficulty-aware scaling coefficient, inspired by Focal loss, that down-weights updates on high-success sampled groups. Empirically, categorical simulation illustrates the same effect in the categorical setting, Maze provides a single-solution test, and LLM experiments include a representative GRPO group-size sweep together with fixed-$N$ transfer across GRPO, DAPO, and CISPO. On Qwen2.5-7B at $N{=}8$, our method improves average math pass@256 from 64.1 $\rightarrow$ 70.3 (GRPO), 69.3 $\rightarrow$ 72.5 (DAPO), and 73.2 $\rightarrow$ 76.8 (CISPO); OOD pass@256 also improves in all three cases, without increasing group size or computational cost.

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

↑