Model-Based Safe Reinforcement Learning with Time-Varying State and Control Constraints: An Application to Intelligent Vehicles
Xinglong Zhang, Yaoqian Peng, Biao Luo, Wei Pan, Xin Xu, Haibin Xie
TL;DR
This work tackles safe reinforcement learning for nonlinear, discrete-time systems under time-varying state and control constraints by introducing a barrier force-based control policy (BCP) combined with a model-based, multi-step policy evaluation (MPE). By augmenting the cost with barrier terms and reformulating the problem in an extended state, the authors achieve an unconstrained-like optimization while preserving safety through repulsive barrier forces. The barrier-based actor-critic (BAC) implementation provides convergent online learning with theoretical guarantees of safety, stability, and robustness to disturbances, and it demonstrates strong sim-to-real performance on differential-drive and Ackermann-drive intelligent-vehicle platforms, outperforming several state-of-the-art safe RL methods and competing MPC variants. The results highlight the practical impact of a model-based, barrier-informed RL framework for real-world autonomous navigation tasks in dynamic environments, with clear pathways toward extensions to model-free settings. Overall, the paper advances safe RL by integrating continuous barrier-based safety with multi-step predictive evaluation and rigorous stability guarantees applicable to time-varying constraints in intelligent-vehicle control.
Abstract
Recently, safe reinforcement learning (RL) with the actor-critic structure for continuous control tasks has received increasing attention. It is still challenging to learn a near-optimal control policy with safety and convergence guarantees. Also, few works have addressed the safe RL algorithm design under time-varying safety constraints. This paper proposes a safe RL algorithm for optimal control of nonlinear systems with time-varying state and control constraints. In the proposed approach, we construct a novel barrier force-based control policy structure to guarantee control safety. A multi-step policy evaluation mechanism is proposed to predict the policy's safety risk under time-varying safety constraints and guide the policy to update safely. Theoretical results on stability and robustness are proven. Also, the convergence of the actor-critic implementation is analyzed. The performance of the proposed algorithm outperforms several state-of-the-art RL algorithms in the simulated Safety Gym environment. Furthermore, the approach is applied to the integrated path following and collision avoidance problem for two real-world intelligent vehicles. A differential-drive vehicle and an Ackermann-drive one are used to verify offline deployment and online learning performance, respectively. Our approach shows an impressive sim-to-real transfer capability and a satisfactory online control performance in the experiment.
