arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.05863cs.LGcs.CLcs.RO
收藏

带约束的群体相对策略优化

Constrained Group Relative Policy Optimization

Mila - Quebec AI Institute(魁北克AI研究所);CIFAR AI Chair(CIFAR人工智能主席)

Roger Girgis, Rodrigue de Schaetzen, Luke Rowe, Azalée Robitaille, Christopher Pal, Liam Paull

AI总结:

本文提出带约束的GRPO,通过拉格朗日松弛解决受约束策略优化问题,实验验证其在网格世界和机器人任务中的有效性。

摘要:

尽管群体相对策略优化(GRPO)已发展为一种可扩展的框架,用于无批评者策略学习,但将其扩展到有显式行为约束的设置仍鲜有研究。我们引入了带约束的GRPO,这是GRPO的一种拉格朗日扩展,用于受约束的策略优化。约束通过指示成本函数指定,使通过拉格朗日松弛直接优化违规率成为可能。我们展示,优势估计中的朴素多组件处理会破坏受约束的学习:不匹配的组件间标准差会扭曲不同目标项的相对重要性,从而破坏拉格朗日信号并阻止有意义的约束执行。我们正式推导了这种效应,以激励我们的标量优势构造,该构造保留了奖励和约束项之间的预期权衡。在玩具网格世界中的实验验证了预测的优化病理现象,并证明了标量优势恢复了稳定的约束控制。此外,我们在机器人任务中评估了带约束的GRPO,其中它在提高约束满足的同时提高了任务成功率,建立了一种简单而有效的受约束策略优化方法,适用于日益依赖大规模多模态基础模型的具身AI领域。

英文摘要:

Group Relative Policy Optimization (GRPO) remains the dominant critic-free approach for fine-tuning LLMs and VLMs, but its compatibility with constrained policy optimization (e.g. for safety-critical domains) has not been carefully examined. In this work, we introduce Constrained GRPO, a Lagrangian-based extension of GRPO for constrained policy optimization. We show that the standard practice of scalarizing rewards before normalization introduces a critical Lagrangian-specific failure mode: GRPO's within-group normalization makes constrained optimization highly sensitive to how multi-component learning signals are aggregated. We show that scalarizing rewards before normalization introduces shared-denominator coupling, so that changing one multiplier alters not only the emphasis on its corresponding constraint, but also the relative weighting of the reward and other constraints. We address this with a simple but crucial modification: scalarizing standardized advantages rather than rewards. This yields a better-conditioned update by addressing the coupling induced by reward scalarization, resulting in better-behaved multiplier dynamics and more stable constraint enforcement in practice. Empirically, across a controlled gridworld, a real-world autonomous driving benchmark, and a mathematical reasoning task, Constrained GRPO consistently achieves better adherence to specified constraints while maintaining or improving task performance.

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

↑