SGPC: Safety-Guiding Policy Constraint for Stable Off-Policy Safe Reinforcement Learning
Abstract
Off-policy safe reinforcement learning (RL) faces a challenging trade-off between task optimality and constraint feasibility. In primal-dual methods, the coupled optimization of cumulative reward and constraint penalties through adaptive Lagrange multipliers may induce oscillatory policy updates near the safety boundary and amplify the effect of unreliable reward estimates outside the safe set. To address these issues, we formulate a new constrained optimization problem (COP) for safe RL by introducing a Safety-Guiding Policy (SGP) and a corresponding Safety-Guiding Policy Constraint (SGPC). The proposed COP augments the standard COP in safe RL with a conditional safety-guidance constraint. During actor updates, the current actor is evaluated using the learned cost critic. If it is predicted to be outside the safe set, SGP provides a nearby lower-cost training reference, and SGPC guides actor optimization toward this reference. Once the policy enters the safe set, the added constraint becomes inactive, and the formulation reduces to the original COP. This formulation leads to a plug-in actor-training constraint that can be integrated into off-policy safe RL algorithms. By applying primal-dual optimization to the auxiliary COP, we finally derive an SGPC-based off-policy safe RL algorithm and implement it in two representative off-policy algorithms, yielding SAC-SGPC and TD3-SGPC. Experiments on multiple Safety-Gymnasium benchmarks demonstrate that SGPC achieves a better optimality-safety trade-off by substantially reducing constraint violations and cost oscillations while maintaining competitive or better task returns.
Create a lesson
Metadata
- Categories
- cs.LG, cs.RO
Related papers
Evaluable Language-Model Treatment Policies for Sepsis Resuscitation via Offline Value-Guided Selection
Shared title terminologycs.LGYue Pei, Shining Bo, Yingying Zhang et al.
Reinforcing Diffusion Models by Instantaneous Trajectory Distribution Matching
Shared title terminologycs.LGYihong Luo
PVFormer: Proper Velocity Transformer for Stable and Scalable Hyperbolic Representation Learning
Shared title terminologycs.LGXianglong Shi, Nicu Sebe, Bernhard Schölkopf et al.
Policy Invariance Is Not Learning Invariance: Potential-Based Reward Shaping for Navigation with a Limited View
Shared title terminologycs.LGNodirjon Khabibullaev, Rajat Dandekar
Verifiable On-Policy Distillation
Shared title terminologycs.LGJuntong Shi, Stefano Ermon, Jure Leskovec et al.
Topology-Prior-Guided Regional Latent Dynamics for Transient Structural Response Prediction
Shared title terminologycs.LGYuan Zhang, Mohammad Amin Nabian, Shaotong Fu et al.