CUP: A Conservative Update Policy Algorithm for Safe Reinforcement Learning

Long Yang, Jiaming Ji, Juntao Dai, Yu Zhang, Pengfei Li +1 more
2/15/2022
cs.LGcs.AI
rl

Official code: RL-boxes/Safe-RL (9 stars, Python, last commit 2022-09-15).

Abstract

Safe reinforcement learning (RL) is still very challenging since it requires the agent to consider both return maximization and safe exploration. In this paper, we propose CUP, a Conservative Update Policy algorithm with a theoretical safety guarantee.

Show full abstract

We derive the CUP based on the new proposed performance bounds and surrogate functions. Although using bounds as surrogate functions to design safe RL algorithms have appeared in some existing works, we develop them at least three aspects: (i) We provide a rigorous theoretical analysis to extend the surrogate functions to generalized advantage estimator (GAE). GAE significantly reduces variance empirically while maintaining a tolerable level of bias, which is an efficient step for us to design CUP; (ii) The proposed bounds are tighter than existing works, i.e., using the proposed bounds as surrogate functions are better local approximations to the objective and safety constraints. (iii) The proposed CUP provides a non-convex implementation via first-order optimizers, which does not depend on any convex approximation. Finally, extensive experiments show the effectiveness of CUP where the agent satisfies safe constraints. We have opened the source code of CUP at https://github.com/RL-boxes/Safe-RL.

View on arXivView PDF

Code Implementations(1)

RL-boxes/Safe-RLOfficial100%
93PythonApr 6, 20224 years ago

Similar Papers

Cite this paper

@article{yang2022cup,
  title  = {CUP: A Conservative Update Policy Algorithm for Safe Reinforcement Learning},
  author = {Long Yang and Jiaming Ji and Juntao Dai and Yu Zhang and Pengfei Li and Gang Pan},
  year   = {2022},
  eprint = {2202.07565},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.07565}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.07565.svg)](https://codeofpaper.com/paper/2202.07565)

Discussion