Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Exploration

Gao, Shiqing, Ding, Jiaxin, Fu, Luoyi, Wang, Xinbing

–arXiv.org Artificial Intelligence 

Abstractwith safety requirements (Stooke et al., 2020; Xu et al., 2021; Yang et al., 2022; Gao et al., 2024), such as roboticsConstrained Reinforcement Learning (CRL) aims to maximize cumulative rewards while satisfy- (Tang et al., 2024) and autonomous driving (Zhang et al., ing constraints. However, existing CRL meth-rithms often encounter significant constraint viods often exhibit persistent constraint violations during pol-olations during training, limiting their applicaicy training (Sootla et al., 2022a;b), undermining their relia-bility in safety-critical scenarios. In this paper, we identify the underestimation of the cost valuebility in real-world deployments. To address this issue, we propose thetion of the cost value. In CRL, unsafe high-cost regions pose Memory-driven Intrinsic Cost Estimation (MICE) the risk of constraint violations, prompting policy updates method, which introduces intrinsic costs to miti-to reduce the cost value. Inspired by flashbulb memory, under a minimization objective (Thrun & Schwartz, 2014), where humans vividly recall dangerous experi-resulting in cost underestimation. Consequently, high-cost ences to avoid risks, MICE constructs a mem-states may appear deceptively safe, enticing the agent to exory module that stores previously explored unsafeplore them for potentially high rewards. This underestimastates to identify high-cost regions. The intrinsiction leads to frequent constraint violations during training, cost is formulated as the pseudo-count of the cur-even when an optimal safe policy theoretically exists. Furthermore, Although biases in cost estimation are generally undesir-we propose an extrinsic-intrinsic cost value funcable, they are not inherently detrimental and can enhancetion that incorporates intrinsic costs and adopts policy learning and exploration in certain scenarios (Lana bias correction strategy. Using this function, we formulate an optimization objective withinet al., 2020; Karimpanal et al., 2023). Underestimation genthe trust region, along with corresponding opti-erally encourages exploration, while overestimation tends to discourage exploration. Theoretically, we provide conoverestimation can help prevent unsafe exploration to re-vergence guarantees for the proposed cost value duce risks, whereas underestimation may induce excessivefunction and establish the worst-case constraint violation for the MICE update.