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

为LLM推理稳定化策略梯度以实现样本高效的强化学习

Stabilizing Policy Gradients for Sample-Efficient Reinforcement Learning in LLM Reasoning

OATML, University of Oxford(OATML,牛津大学);OXCAV, University of Oxford(OXCAV,牛津大学)

Luckeciano C. Melo, Alessandro Abate, Yarin Gal

AI总结:

CAPO通过曲率感知优化提升LLM推理的样本效率和稳定性

摘要:

强化学习,特别是通过策略梯度方法,在使大语言模型具备推理能力方面发挥了核心作用。然而,在这种设定下策略梯度的优化稳定性仍缺乏研究。因此,现有实现通常依赖于保守的超参数选择以确保稳定性,这需要更多的训练样本并增加计算成本。因此,开发能够可靠跟踪底层优化动态并利用其进行训练的模型,可以实现更高效的样本 regime,并进一步释放可扩展的训练后能力。我们通过正式化策略梯度的随机优化问题,明确考虑二阶几何,来填补这一空白。我们提出了一种可计算的框架,在策略更新过程中跟踪并利用曲率信息。我们进一步利用该框架通过数据选择设计优化过程中的干预措施。所得到的算法,曲率感知策略优化(CAPO),识别出贡献于不稳定更新的样本并将其屏蔽。理论上,我们在现实假设下建立了单调改进保证。在标准数学推理基准上,我们实验证明,CAPO在激进学习制度下确保稳定的更新,而基线方法则惨遭失败。通过最小的干预(拒绝少于8%的token),CAPO在LLM推理中实现了标准GRPO的30倍样本效率提升。

英文摘要:

Reinforcement Learning, particularly through policy gradient methods, has played a central role in enabling reasoning capabilities of Large Language Models. However, the optimization stability of policy gradients in this setting remains understudied. As a result, existing implementations often resort to conservative hyperparameter choices to ensure stability, which requires more training samples and increases computational costs. Hence, developing models for reliably tracking the underlying optimization dynamics and leveraging them into training enables more sample-efficient regimes and further unleashes scalable post-training. We address this gap by formalizing the stochastic optimization problem of policy gradients with explicit consideration of second-order geometry. We propose a tractable computational framework that tracks and leverages curvature information during policy updates. We further employ this framework to design interventions in the optimization process through data selection. The resultant algorithm, Curvature-Aware Policy Optimization (CAPO), identifies samples that contribute to unstable updates and masks them out. Theoretically, we establish monotonic improvement guarantees under realistic assumptions. On standard math reasoning benchmarks, we empirically show that CAPO ensures stable updates under aggressive learning regimes where baselines catastrophically fail. With minimal intervention (rejecting fewer than 8% of tokens), CAPO achieves up to 30x improvement in sample efficiency over standard GRPO for LLM reasoning.

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

↑