Controlling Underestimation Bias in Constrained Reinforcement Learning for Safe Exploration
Shiqing Gao, Jiaxin Ding, Luoyi Fu, Xinbing Wang
TL;DR
The paper tackles constraint violations in CRL by addressing systematic underestimation of the cost value. It introduces MICE, a memory-driven intrinsic cost mechanism realized through a flashbulb memory of high-cost states and a pseudo-count intrinsic cost, integrated via an extrinsic-intrinsic cost value function with bias correction. The approach is optimized within a trust region, yielding theoretical bounds on constraint violation and convergence guarantees, and is validated across Safety Gym and MuJoCo tasks where it reduces violations while preserving policy performance. This work advances safe exploration in CRL with a principled, memory-informed framework that can be integrated with existing CRL algorithms.
Abstract
Constrained Reinforcement Learning (CRL) aims to maximize cumulative rewards while satisfying constraints. However, existing CRL algorithms often encounter significant constraint violations during training, limiting their applicability in safety-critical scenarios. In this paper, we identify the underestimation of the cost value function as a key factor contributing to these violations. To address this issue, we propose the Memory-driven Intrinsic Cost Estimation (MICE) method, which introduces intrinsic costs to mitigate underestimation and control bias to promote safer exploration. Inspired by flashbulb memory, where humans vividly recall dangerous experiences to avoid risks, MICE constructs a memory module that stores previously explored unsafe states to identify high-cost regions. The intrinsic cost is formulated as the pseudo-count of the current state visiting these risk regions. Furthermore, we propose an extrinsic-intrinsic cost value function that incorporates intrinsic costs and adopts a bias correction strategy. Using this function, we formulate an optimization objective within the trust region, along with corresponding optimization methods. Theoretically, we provide convergence guarantees for the proposed cost value function and establish the worst-case constraint violation for the MICE update. Extensive experiments demonstrate that MICE significantly reduces constraint violations while preserving policy performance comparable to baselines.
