arXiv:2510.17564cs.LGcs.AI2025-10

揭示安全强化学习中拉格朗日乘子对性能与安全的敏感影响

Towards a Practical Understanding of Lagrangian Methods in Safe Reinforcement Learning

  • 通过多目标分析构建返回值与代价的帕累托前沿
  • 发现乘子λ在不同任务中对安全约束极为敏感
  • 为8个常见任务推荐合适成本限制,适合评估安全算法者

安全强化学习需在提升性能与遵守安全约束间取得平衡,拉格朗日方法是常用手段。其效果高度依赖于拉格朗日乘子λ的选择,该参数决定收益与成本之间的权衡。实践中常自动更新λ,但缺乏对其最优权衡的实证研究,也无系统性基准对比自动更新机制与理论最优解。本文研究了8个典型安全任务的约束几何结构,并揭示不同λ更新机制在约束区域敏感性上的差异。通过多目标分析,我们呈现了各任务中收益与成本的完整帕累托前沿。结果表明,λ的影响极为敏感,且同一任务内不同成本限制下的约束严格性存在显著差异。这强调了在评估安全强化学习方法时,需针对不同成本严格性区域审慎选择成本限制。我们为每个任务提供了推荐的成本限制,并开源代码库:https://github.com/lindsayspoor/Lagrangian_SafeRL。

原文摘要 · Abstract (English)

Safe reinforcement learning addresses constrained optimization problems where maximizing performance must be balanced against safety constraints, and Lagrangian methods are a widely used approach for this purpose. However, the effectiveness of Lagrangian methods depends crucially on the choice of the Lagrange multiplier $λ$, which governs the multi-objective trade-off between return and cost. A common practice is to update the multiplier automatically during training. Although this approach is standard in practice, there remains limited empirical evidence on the optimally achievable trade-off between return and cost as a function of $λ$, and there is currently no systematic benchmark comparing automated update mechanisms to this empirical optimum. Therefore, we study (i) the constraint geometry for eight widely used safety tasks and (ii) the previously overlooked constraint-regime sensitivity of different Lagrange multiplier update mechanisms in safe reinforcement learning. Through the lens of multi-objective analysis, we present empirical Pareto frontiers that offer a complete visualization of the trade-off between return and cost in the underlying optimization problem. Our results reveal the highly sensitive nature of $λ$ and further show that the restrictiveness of the constraint cost can vary across different cost limits within the same task. This highlights the importance of careful cost limit selection across different regions of cost restrictiveness when evaluating safe reinforcement learning methods. We provide a recommended set of cost limits for each evaluated task and offer an open-source code base: https://github.com/lindsayspoor/Lagrangian_SafeRL.

安全强化学习拉格朗日方法多目标优化帕累托前沿

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。