SSPO:子短语级策略优化
SSPO: Subsentence-level Policy Optimization
AI总结:
SSPO在子短语层面计算重要性比率,平衡GRPO与GSPO的优劣,缓解训练崩溃和方差问题,同时避免整个响应被保留导致的不稳定更新。
摘要:
作为大型语言模型(LLM)后训练的关键组成部分,基于可验证奖励的强化学习(RLVR)已显著提升了推理性能。然而,现有RLVR算法存在稳定性问题:GRPO(分组相对策略优化)常因策略更新不稳定而受损,而GSPO(分组序列策略优化)则会保留高方差的token。在GRPO中,重要性比率在token层面计算,过度强调单个token,使学习对异常值敏感,可能导致训练崩溃。GSPO则在响应层面计算重要性比率,缓解方差并减少GRPO中token层面噪声的累积。然而,我们的实验表明,GSPO经常导致接近零的剪裁分数:极端token层面的比率可能被同一响应中的其他token稀释,导致整个响应被保留,从而导致不稳定更新。我们提出SSPO,在子短语层面计算重要性比率,平衡GRPO和GSPO。SSPO缓解了训练崩溃和过度方差的问题,同时避免了剪裁机制无差别保留整个响应的失败模式。此外,我们还将子短语层面的熵纳入PPO-CLIP,以自适应调整剪裁范围:我们鼓励探索高熵token,同时收紧低熵token的剪裁范围。实证结果显示,SSPO在Qwen2.5-1.5B-Math模型上五个数据集上的平均得分为46.72,优于GRPO(43.01)和GSPO(44.42),并在四个数据集上达到最先进的结果。在Qwen2.5-7B-Math模型上,SSPO也以五个基线方法的最高平均分表现。这些结果证明了SSPO在RLVR中的有效性。
英文摘要:
As a key component of large language model (LLM) post-training, Reinforcement Learning from Verifiable Rewards (RLVR) has substantially improved reasoning performance. However, existing RLVR algorithms exhibit distinct stability issues: GRPO (Group Relative Policy Optimization) often suffers from unstable policy updates, while GSPO (Group Sequence Policy Optimization) can retain high-variance tokens. In GRPO, the importance ratio is computed at the token level, which overemphasizes individual tokens and makes learning sensitive to outliers, potentially causing training collapse. GSPO instead computes a response-level importance ratio, mitigating variance and reducing the accumulation of token-level noise present in GRPO. Nevertheless, our experiments show that GSPO frequently yields a near-zero clipping fraction: extreme token-level ratios can be diluted by other tokens in the same response, causing the entire response to be retained and resulting in unstable updates. We propose SSPO, which computes importance ratios at the subsentence level, striking a balance between GRPO and GSPO. SSPO alleviates training collapse and excessive variance while avoiding the failure mode in which the clipping mechanism indiscriminately retains entire responses. Moreover, we incorporate subsentence-level entropy into PPO-CLIP to adaptively adjust the clipping bounds: we encourage exploration for high-entropy tokens while tightening the clipping range for low-entropy tokens. Empirically, SSPO achieves an average score of 46.72 across five datasets on Qwen2.5-1.5B-Math model, outperforming GRPO (43.01) and GSPO (44.42), and attains state-of-the-art results on four datasets. On Qwen2.5-7B-Math model, SSPO also achieves the highest averaged scores over five baseline methods. These results demonstrate SSPO's effectiveness in RLVR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。