Abstract
Reinforcement Learning with Verifiable Rewards (RLVR) is commonly based on group sampling to estimate advantages and stabilize policy updates. In practice, large group sizes are not feasible due to computational limits, which biases learning toward trajectories that are already likely. Smaller groups often miss rare-correct trajectories while still containing mixed rewards, concentrating probability on common solutions. We derive the probability that updates miss rare-correct modes as a function of group size, showing non-monotonic behavior, and characterize how updates redistribute mass within the correct set, revealing that unsampled-correct mass can shrink even as total correct mass grows. Motivated by this analysis, we propose a difficulty-aware advantage scaling coefficient, inspired by Focal loss, that down-weights updates on high-success prompts. The lightweight modification can be directly integrated into any group-relative RLVR algorithm such as GRPO, DAPO, and CISPO. On Qwen2.5-7B across in-domain and out-of-domain benchmarks, our method improves pass@256 from 64.1 $\rightarrow$ 70.3 (GRPO), 69.3 $\rightarrow$ 72.5 (DAPO), and 73.2 $\rightarrow$ 76.8 (CISPO), while preserving or improving pass@1, without increasing group size or computational cost.
Abstract (translated)
带有可验证奖励的强化学习(RLVR)通常基于分组采样来估计优势并稳定策略更新。在实践中,由于计算限制,大型分组不可行,导致学习倾向于已知可能的轨迹。小规模分组往往错过罕见但正确的轨迹,同时仍包含混合奖励,从而集中概率于常见的解决方案上。我们推导出随着分组大小变化而更新遗漏稀有正确模式的概率函数,并展示非单调行为;还描述了更新如何在正确集合内重新分配质量,揭示未采样正确质量即使在总体正确质量增加时也可能减少。 受此分析启发,我们提出了一种难度感知的优势缩放系数,灵感来自Focal loss机制,该机制降低了对高成功率提示的更新权重。这一轻量级修改可以直接集成到任何基于分组相对的RLVR算法中,例如GRPO、DAPO和CISPO。在Qwen2.5-7B模型上,无论是领域内还是跨领域的基准测试,我们的方法都能提高pass@256指标:从64.1提升至70.3(对于GRPO),从69.3提升至72.5(对于DAPO),以及从73.2提升至76.8(对于CISPO)。同时,该改进保持或提升了pass@1的性能,并且没有增加分组大小或计算成本。
URL
https://arxiv.org/abs/2602.06717