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

离策略原始-对偶安全强化学习

Off-Policy Primal-Dual Safe Reinforcement Learning

Sun Yat-sen University(中山大学);Meituan(美团);Institute for Advanced Algorithms Research(高级算法研究院)

Zifan Wu, Bo Tang, Qian Lin, Chao Yu, Shangqin Mao, Qianlong Xie, Xingxing Wang, Dong Wang

AI总结:

针对离策略原始-对偶安全强化学习中代价估计误差导致约束不满足的问题,提出保守策略优化结合局部策略凸化的方法,在少样本下实现媲美最优同策略方法的性能并降低训练约束违反。

摘要:

原始-对偶安全强化学习方法通常在策略的原始更新与拉格朗日乘子的对偶更新之间进行迭代。这种训练范式极易受到累积代价估计误差的影响,因为该估计是连接原始更新与对偶更新过程的关键纽带。我们表明,在使用离策略方法时,该问题会导致代价被严重低估,进而无法满足安全性约束。为解决这一问题,我们提出保守策略优化方法,该方法通过考虑代价估计中的不确定性,在满足约束的区域内学习策略。这提升了约束满足度,但也可能阻碍奖励最大化。随后我们引入局部策略凸化技术,通过逐步降低估计不确定性来帮助消除这种次优性。我们对这两个组成部分的联合耦合效应提供了理论解释,并通过大量实验进一步验证了这些结论。在基准任务上的结果表明,我们的方法不仅在使用少得多的样本的情况下,取得了与当前最优同策略方法相当的渐近性能,还显著降低了训练过程中的约束违反情况。我们的代码可在https://github.com/ZifanWu/CAL获取。

英文摘要:

Primal-dual safe RL methods commonly perform iterations between the primal update of the policy and the dual update of the Lagrange Multiplier. Such a training paradigm is highly susceptible to the error in cumulative cost estimation since this estimation serves as the key bond connecting the primal and dual update processes. We show that this problem causes significant underestimation of cost when using off-policy methods, leading to the failure to satisfy the safety constraint. To address this issue, we propose conservative policy optimization, which learns a policy in a constraint-satisfying area by considering the uncertainty in cost estimation. This improves constraint satisfaction but also potentially hinders reward maximization. We then introduce local policy convexification to help eliminate such suboptimality by gradually reducing the estimation uncertainty. We provide theoretical interpretations of the joint coupling effect of these two ingredients and further verify them by extensive experiments. Results on benchmark tasks show that our method not only achieves an asymptotic performance comparable to state-of-the-art on-policy methods while using much fewer samples, but also significantly reduces constraint violation during training. Our code is available at https://github.com/ZifanWu/CAL.

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

↑