Safe But Not Sorry: Reducing Over-Conservatism in Safety Critics via Uncertainty-Aware Modulation
Daniel Bethell, Simos Gerasimou, Radu Calinescu, Calum Imrie
TL;DR
The paper tackles the safety–performance trade-off in reinforcement learning for real-world deployment, where existing safety critics either over-inflate costs or suppress exploration. It introduces Uncertain Safety Critic (USC), which modulates conservatism using parameter-space uncertainty and adds an uncertainty refinement step to sharpen cost predictions in uncertain regions. USC combines an uncertainty-weighted conservative objective with a refinement procedure powered by Gauss-Newton influence estimates and a log-sum-exp penalty to preserve gradient information in safe regions while remaining cautious where needed, and theory shows the LSE penalty becomes more conservative under uniform action sampling. Empirically, USC reduces safety violations by approximately $\approx 40\%$ and reduces gradient error by approximately $\approx 83\%$, while delivering competitive or higher rewards across Safety Gymnasium, Gymnasium Robotics, and MuJoCo tasks, and demonstrates scalable deployment with high success rates.
Abstract
Ensuring the safe exploration of reinforcement learning (RL) agents is critical for deployment in real-world systems. Yet existing approaches struggle to strike the right balance: methods that tightly enforce safety often cripple task performance, while those that prioritize reward leave safety constraints frequently violated, producing diffuse cost landscapes that flatten gradients and stall policy improvement. We introduce the Uncertain Safety Critic (USC), a novel approach that integrates uncertainty-aware modulation and refinement into critic training. By concentrating conservatism in uncertain and costly regions while preserving sharp gradients in safe areas, USC enables policies to achieve effective reward-safety trade-offs. Extensive experiments show that USC reduces safety violations by approximately 40% while maintaining competitive or higher rewards, and reduces the error between predicted and true cost gradients by approximately 83%, breaking the prevailing trade-off between safety and performance and paving the way for scalable safe RL.
