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

基于学习的非马尔可夫安全约束的安全强化学习

Safe Reinforcement Learning with Learned Non-Markovian Safety Constraints

School of Computing and Information Systems, Singapore Management University(新加坡管理大学计算与信息系统学院)

Siow Meng Low, Akshat Kumar

AI总结:

本文针对安全标签定义在轨迹上的非马尔可夫安全约束问题,提出可学习的安全模型进行信用分配,并通过对偶梯度方法动态调整奖励与安全的权衡,实现可扩展的安全策略优化。

摘要:

在安全强化学习(RL)中,安全代价通常被定义为依赖于即时状态和动作的函数。在实践中,由于状态表示的保真度不足,安全约束往往可能是非马尔可夫的,并且安全代价可能未知。因此,我们研究一个一般性设定,其中安全标签(例如,安全或不安全)与状态-动作轨迹相关联。我们的主要贡献是:首先,我们设计了一个安全模型,该模型专门执行信用分配,以评估部分状态-动作轨迹对安全性的贡献。该安全模型使用带标签的安全数据集进行训练。其次,利用RL-as-inference策略,我们推导出一种有效算法,使用学习到的安全模型来优化安全策略。最后,我们设计了一种动态调整奖励最大化与安全合规之间权衡系数的方法。我们将约束优化问题改写为其对偶问题,并推导出一种基于梯度的方法,在训练过程中动态调整权衡系数。我们的实证结果表明,该方法具有高度可扩展性,并且能够满足复杂的非马尔可夫安全约束。

英文摘要:

In safe Reinforcement Learning (RL), safety cost is typically defined as a function dependent on the immediate state and actions. In practice, safety constraints can often be non-Markovian due to the insufficient fidelity of state representation, and safety cost may not be known. We therefore address a general setting where safety labels (e.g., safe or unsafe) are associated with state-action trajectories. Our key contributions are: first, we design a safety model that specifically performs credit assignment to assess contributions of partial state-action trajectories on safety. This safety model is trained using a labeled safety dataset. Second, using RL-as-inference strategy we derive an effective algorithm for optimizing a safe policy using the learned safety model. Finally, we devise a method to dynamically adapt the tradeoff coefficient between reward maximization and safety compliance. We rewrite the constrained optimization problem into its dual problem and derive a gradient-based method to dynamically adjust the tradeoff coefficient during training. Our empirical results demonstrate that this approach is highly scalable and able to satisfy sophisticated non-Markovian safety constraints.

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

↑