Constrained Variational Policy Optimization for Safe Reinforcement Learning
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. 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.
Cite
Text
Liu et al. "Constrained Variational Policy Optimization for Safe Reinforcement Learning." International Conference on Machine Learning, 2022.Markdown
[Liu et al. "Constrained Variational Policy Optimization for Safe Reinforcement Learning." International Conference on Machine Learning, 2022.](https://mlanthology.org/icml/2022/liu2022icml-constrained/)BibTeX
@inproceedings{liu2022icml-constrained,
title = {{Constrained Variational Policy Optimization for Safe Reinforcement Learning}},
author = {Liu, Zuxin and Cen, Zhepeng and Isenbaev, Vladislav and Liu, Wei and Wu, Steven and Li, Bo and Zhao, Ding},
booktitle = {International Conference on Machine Learning},
year = {2022},
pages = {13644-13668},
volume = {162},
url = {https://mlanthology.org/icml/2022/liu2022icml-constrained/}
}