arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.07573cs.LG
收藏

基于约束近端策略优化算法的基于模型的安全深度强化学习

Model-based Safe Deep Reinforcement Learning via a Constrained Proximal Policy Optimization Algorithm

Indian Institute of Science(印度科学学院)

Ashish Kumar Jayant, Shalabh Bhatnagar

摘要:

在大多数强化学习(RL)算法的初始训练迭代期间,代理执行大量随机探索步骤。在现实世界中,这可能会限制这些算法的实用性,因为它可能导致潜在的危险行为。因此,安全探索是在现实世界中应用RL算法的一个关键问题。这个问题最近在约束马尔可夫决策过程(CMDP)框架下得到了很好的研究,其中除了单阶段奖励外,代理还根据状态转换接收单阶段成本或惩罚。规定的成本函数负责将任何给定时间步的不良行为映射到标量值。然后,目标是找到一个可行的政策,最大限度地提高回报,同时限制成本回报低于规定的阈值,在训练和部署。我们提出了一种基于策略模型的安全深度RL算法,在该算法中,我们以在线方式学习环境的过渡动态,并使用基于拉格朗日松弛的近端策略优化找到可行的最优策略。我们使用不同初始化的神经网络的集成来解决环境模型学习过程中所面临的认知和任意不确定性问题。我们使用具有挑战性的安全强化学习基准-Open AI Safety Gym,将我们的方法与约束RL中的相关无模型和基于模型的方法进行比较。我们证明,我们的算法是更有效的样本,并在较低的累积危险违规的结果相比,受约束的无模型的方法。此外,我们的方法显示出更好的回报性能比其他约束的基于模型的方法在文献中。

英文摘要:

During initial iterations of training in most Reinforcement Learning (RL) algorithms, agents perform a significant number of random exploratory steps. In the real world, this can limit the practicality of these algorithms as it can lead to potentially dangerous behavior. Hence safe exploration is a critical issue in applying RL algorithms in the real world. This problem has been recently well studied under the Constrained Markov Decision Process (CMDP) Framework, where in addition to single-stage rewards, an agent receives single-stage costs or penalties as well depending on the state transitions. The prescribed cost functions are responsible for mapping undesirable behavior at any given time-step to a scalar value. The goal then is to find a feasible policy that maximizes reward returns while constraining the cost returns to be below a prescribed threshold during training as well as deployment. We propose an On-policy Model-based Safe Deep RL algorithm in which we learn the transition dynamics of the environment in an online manner as well as find a feasible optimal policy using the Lagrangian Relaxation-based Proximal Policy Optimization. We use an ensemble of neural networks with different initializations to tackle epistemic and aleatoric uncertainty issues faced during environment model learning. We compare our approach with relevant model-free and model-based approaches in Constrained RL using the challenging Safe Reinforcement Learning benchmark - the Open AI Safety Gym. We demonstrate that our algorithm is more sample efficient and results in lower cumulative hazard violations as compared to constrained model-free approaches. Further, our approach shows better reward performance than other constrained model-based approaches in the literature.

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

↑