[Paper Review] Towards Safe Reinforcement Learning Using NMPC and Policy Gradients: Part II - Deterministic Case
This paper proposes a safe reinforcement learning framework using deterministic policy gradients combined with robust Model Predictive Control (MPC) to enforce hard constraints on system safety. By embedding safety via parametric optimization in robust linear MPC and correcting for exploration distortion using interior-point methods, the method ensures safety during learning while enabling performance improvement through policy gradient updates.
In this paper, we present a methodology to deploy the deterministic policy gradient method, using actor-critic techniques, when the optimal policy is approximated using a parametric optimization problem, where safety is enforced via hard constraints. For continuous input space, imposing safety restrictions on the exploration needed to deploying the deterministic policy gradient method poses some technical difficulties, which we address here. We will investigate in particular policy approximations based on robust Nonlinear Model Predictive Control (NMPC), where safety can be treated explicitly. For the sake of brevity, we will detail the construction of the safe scheme in the robust linear MPC context only. The extension to the nonlinear case is possible but more complex. We will additionally present a technique to maintain the system safety throughout the learning process in the context of robust linear MPC. This paper has a companion paper treating the stochastic policy gradient case.
Motivation & Objective
- To develop a safe reinforcement learning framework that enforces hard constraints on system behavior during learning.
- To address the technical challenge of distorted exploration statistics when using constrained policy approximations in deterministic policy gradient methods.
- To integrate robust linear Model Predictive Control (MPC) as a safe policy approximation mechanism with learnable parameters.
- To maintain system safety throughout the entire learning process via constrained optimization and parametric sensitivity analysis.
- To provide a computationally efficient method for policy gradient estimation under hard constraints using interior-point techniques.
Proposed method
- Uses robust linear MPC as a parametric optimization problem to embed safety constraints directly into the policy approximation.
- Applies deterministic policy gradient methods to update policy parameters θ by estimating gradients of the closed-loop performance with respect to θ.
- Corrects for exploration distortion caused by hard constraints using parametric sensitivity analysis and interior-point methods for efficient gradient computation.
- Imposes safety during learning via a constrained RL step (equation 84) that ensures all policy updates remain within the safe set of the MPC optimization.
- Employs a batch-based learning scheme where exploration is performed via stochastic perturbations of the policy, with corrections applied to maintain statistical consistency of the gradient estimate.
- Uses the nominal MPC model and bias parameters as learnable components, allowing the RL algorithm to adapt the model to real system dynamics without compromising safety.
Experimental results
Research questions
- RQ1How can deterministic policy gradient methods be correctly applied when the policy is constrained by hard safety limits?
- RQ2What corrections are needed in the policy gradient estimation process when exploration is restricted by parametric optimization with hard constraints?
- RQ3Can robust linear MPC be used as a safe policy approximation framework that supports end-to-end learning with policy gradient methods?
- RQ4How can system safety be preserved throughout the entire reinforcement learning process, even during exploration?
- RQ5What computational techniques enable efficient gradient computation in constrained policy optimization for safe RL?
Key findings
- The proposed method successfully improves closed-loop performance over 100 RL steps, as shown by a monotonic decrease in the performance cost J in simulation.
- System trajectories are driven closer to the reference state while remaining within the safety constraint ‖x‖² ≤ 1, as confirmed by Fig. 5.
- The RL algorithm does not simply identify the true system dynamics, as the nominal MPC model does not converge to the real system, indicating performance-driven adaptation rather than system identification.
- The dispersion set of model biases is reshaped inward over time, particularly in the most critical region near the state constraint, improving performance without violating safety.
- The feedback gain K in the MPC is only marginally adjusted, indicating that performance gains are primarily achieved through adaptation of the nominal model and bias parameters.
- The constrained RL step (84) successfully prevents unsafe policy updates, ensuring that all learned policies remain within the safe set defined by the MPC constraints.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.