Feasibility Consistent Representation Learning for Safe Reinforcement Learning
Zhepeng Cen, Yihang Yao, Zuxin Liu, Ding Zhao
TL;DR
This work tackles the challenge of safely balancing reward with sparse safety costs in reinforcement learning by introducing Feasibility Consistent Safe RL (FCSRL). It jointly learns a safety-aware latent representation using a Transition Dynamics Consistency objective and a Feasibility Consistency objective, the latter leveraging a smooth feasibility score $F^\ anglepi(s,a)$ and a distributional regression head to improve constraint estimation. Empirical results across vector-state and image-based tasks from Safety Gymnasium show that FCSRL consistently outperforms baselines, especially under stricter safety constraints, by producing embeddings that better capture safety contexts and support safer policy updates. The approach is compatible with standard model-free safe RL algorithms such as PPO-Lag and TD3-Lag, enabling practical deployment to real-world safety-critical domains. Overall, FCSRL advances safe RL by embedding explicit safety awareness into representation learning, improving both safety satisfaction and task performance.
Abstract
In the field of safe reinforcement learning (RL), finding a balance between satisfying safety constraints and optimizing reward performance presents a significant challenge. A key obstacle in this endeavor is the estimation of safety constraints, which is typically more difficult than estimating a reward metric due to the sparse nature of the constraint signals. To address this issue, we introduce a novel framework named Feasibility Consistent Safe Reinforcement Learning (FCSRL). This framework combines representation learning with feasibility-oriented objectives to identify and extract safety-related information from the raw state for safe RL. Leveraging self-supervised learning techniques and a more learnable safety metric, our approach enhances the policy learning and constraint estimation. Empirical evaluations across a range of vector-state and image-based tasks demonstrate that our method is capable of learning a better safety-aware embedding and achieving superior performance than previous representation learning baselines.
