Towards Safe Reinforcement Learning via Constraining Conditional Value-at-Risk
Chengyang Ying, Xinning Zhou, Hang Su, Dong Yan, Ning Chen, Jun Zhu
TL;DR
The paper investigates safety in deep reinforcement learning when both transition and observation uncertainties are present.It introduces Value Function Range (VFR) to quantify robustness and adopts CVaR-based constraints to avoid overly pessimistic policies, culminating in the CPPO algorithm.CPPO solves a CVaR-constrained, PPO-based optimization with an adaptive risk threshold, balancing performance and safety.Empirical results on MuJoCo continuous-control tasks show CPPO achieves competitive rewards and superior robustness to perturbations compared with strong on-policy baselines.
Abstract
Though deep reinforcement learning (DRL) has obtained substantial success, it may encounter catastrophic failures due to the intrinsic uncertainty of both transition and observation. Most of the existing methods for safe reinforcement learning can only handle transition disturbance or observation disturbance since these two kinds of disturbance affect different parts of the agent; besides, the popular worst-case return may lead to overly pessimistic policies. To address these issues, we first theoretically prove that the performance degradation under transition disturbance and observation disturbance depends on a novel metric of Value Function Range (VFR), which corresponds to the gap in the value function between the best state and the worst state. Based on the analysis, we adopt conditional value-at-risk (CVaR) as an assessment of risk and propose a novel reinforcement learning algorithm of CVaR-Proximal-Policy-Optimization (CPPO) which formalizes the risk-sensitive constrained optimization problem by keeping its CVaR under a given threshold. Experimental results show that CPPO achieves a higher cumulative reward and is more robust against both observation and transition disturbances on a series of continuous control tasks in MuJoCo.
