Safety-constrained reinforcement learning with a distributional safety critic
Open Access
- 23 June 2022
- journal article
- research article
- Published by Springer Nature in Machine Learning
- Vol. 112 (3) , 859-887
Abstract
Safety is critical to broadening the real-world use of reinforcement learning. Modeling the safety aspects using a safety-cost signal separate from the reward and bounding the expected safety-cost is becoming standard practice, since it avoids the problem of finding a good balance between safety and performance. However, it can be risky to set constraints only on the expectation neglecting the tail of the distribution, which might have prohibitively large values. In this paper, we propose a method called Worst-Case Soft Actor Critic for safe RL that approximates the distribution of accumulated safety-costs to achieve risk control. More specifically, a certain level of conditional Value-at-Risk from the distribution is regarded as a safety constraint, which guides the change of adaptive safety weights to achieve a trade-off between reward and safety. As a result, we can compute policies whose worst-case performance satisfies the constraints. We investigate two ways to estimate the safety-cost distribution, namely a Gaussian approximation and a quantile regression algorithm. On the one hand, the Gaussian approximation is simple and easy to implement, but may underestimate the safety cost, on the other hand, the quantile regression leads to a more conservative behavior. The empirical analysis shows that the quantile regression method achieves excellent results in complex safety-constrained environments, showing good risk control.Keywords
Funding Information
- Technische Universiteit Delft
- Xidian University
This publication has 15 references indexed in Scilit:
- IPO: Interior-Point Policy Optimization under ConstraintsProceedings of the AAAI Conference on Artificial Intelligence, 2020
- Human-level control through deep reinforcement learningNature, 2015
- Safe Exploration Techniques for Reinforcement Learning – An Overview2014
- An actor-critic algorithm for constrained Markov decision processesSystems & Control Letters, 2005
- Optimization of conditional value-at-riskJournal of Risk, 2000
- The distance between two random vectors with given dispersion matricesLinear Algebra and its Applications, 1982
- The variance of discounted Markov decision processesJournal of Applied Probability, 1982
- Introduction1982
- Robust Estimation of a Location ParameterThe Annals of Mathematical Statistics, 1964
- On Information and SufficiencyThe Annals of Mathematical Statistics, 1951