Constrained Variational Policy Optimization for Safe Reinforcement Learning

Zuxin Liu, Zhepeng Cen, Vladislav Isenbaev, Wei Liu, Zhiwei Steven Wu +2 more
1/28/2022
136 citations
cs.LGcs.AIcs.RO
rl

Official code: liuzuxin/cvpo-safe-rl (82 stars).

Abstract

Safe reinforcement learning (RL) aims to learn policies that satisfy certain constraints before deploying them to safety-critical applications. Previous primal-dual style approaches suffer from instability issues and lack optimality guarantees.

Show full abstract

This paper overcomes the issues from the perspective of probabilistic inference. We introduce a novel Expectation-Maximization approach to naturally incorporate constraints during the policy learning: 1) a provable optimal non-parametric variational distribution could be computed in closed form after a convex optimization (E-step); 2) the policy parameter is improved within the trust region based on the optimal variational distribution (M-step). The proposed algorithm decomposes the safe RL problem into a convex optimization phase and a supervised learning phase, which yields a more stable training performance. A wide range of experiments on continuous robotic tasks shows that the proposed method achieves significantly better constraint satisfaction performance and better sample efficiency than baselines. The code is available at https://github.com/liuzuxin/cvpo-safe-rl.

View on arXivView PDF

Code Implementations(1)

Code for "Constrained Variational Policy Optimization for Safe Reinforcement Learning" (ICML 2022)

828

Similar Papers

Cite this paper

@article{liu2022constrained,
  title  = {Constrained Variational Policy Optimization for Safe Reinforcement Learning},
  author = {Zuxin Liu and Zhepeng Cen and Vladislav Isenbaev and Wei Liu and Zhiwei Steven Wu and Bo Li and Ding Zhao},
  year   = {2022},
  eprint = {2201.11927},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2201.11927}
}

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/2201.11927.svg)](https://codeofpaper.com/paper/2201.11927)

Discussion