[Paper Review] Approximate non-linear model predictive control with safety-augmented neural networks
This paper proposes a safety-augmented neural network (NN) approach for approximate non-linear model predictive control (MPC), where the NN predicts the full input sequence online, and a fallback mechanism ensures constraint satisfaction and stability if the NN output is infeasible or suboptimal. The method achieves orders-of-magnitude speedups over online optimization while providing deterministic safety guarantees without assumptions on approximation quality.
Model predictive control (MPC) achieves stability and constraint satisfaction for general nonlinear systems, but requires computationally expensive online optimization. This paper studies approximations of such MPC controllers via neural networks (NNs) to achieve fast online evaluation. We propose safety augmentation that yields deterministic guarantees for convergence and constraint satisfaction despite approximation inaccuracies. We approximate the entire input sequence of the MPC with NNs, which allows us to verify online if it is a feasible solution to the MPC problem. We replace the NN solution by a safe candidate based on standard MPC techniques whenever it is infeasible or has worse cost. Our method requires a single evaluation of the NN and forward integration of the input sequence online, which is fast to compute on resource-constrained systems. The proposed control framework is illustrated using two numerical non-linear MPC benchmarks of different complexity, demonstrating computational speedups that are orders of magnitude higher than online optimization. In the examples, we achieve deterministic safety through the safety-augmented NNs, where a naive NN implementation fails.
Motivation & Objective
- To address the computational bottleneck of online non-linear MPC in resource-constrained systems by approximating the optimal input sequence with a neural network.
- To ensure deterministic safety and constraint satisfaction despite approximation errors in the NN controller.
- To enable real-time deployment of approximate MPC on embedded systems through fast online evaluation.
- To provide a fallback mechanism that guarantees stability and feasibility when the NN solution fails.
- To demonstrate that approximating robust MPC can yield safe NN policies under bounded approximation error.
Proposed method
- Approximate the full input sequence of MPC using a neural network (NN), enabling fast online evaluation of the control action.
- Verify online whether the NN-predicted input sequence satisfies all constraints and improves cost compared to a safe candidate.
- Use a fallback controller based on standard MPC techniques: shift the previous input sequence and append a terminal feedback law to ensure stability and feasibility.
- Apply the NN solution only if it is feasible and cost-improving; otherwise, switch to the safe candidate.
- Leverage Lipschitz continuity of system dynamics to compute tightened constraints for robust MPC, enabling safe approximation.
- Train the NN to imitate a robust MPC formulation, ensuring that bounded approximation error implies feasibility of the NN output.
Experimental results
Research questions
- RQ1Can a neural network be used to approximate the full input sequence of non-linear MPC while ensuring deterministic constraint satisfaction and stability?
- RQ2How can a safe fallback mechanism be designed to guarantee feasibility and convergence when the NN approximation fails?
- RQ3Under what conditions is an NN approximation of a robust MPC guaranteed to be feasible and safe?
- RQ4What is the computational advantage of the proposed method over standard online MPC optimization in non-linear systems?
- RQ5To what extent does the safety augmentation prevent constraint violations compared to naive NN deployment?
Key findings
- The proposed method achieves computational speedups of several orders of magnitude compared to online optimization in three non-linear MPC benchmarks.
- The safety-augmented NN framework ensures deterministic constraint satisfaction and stability, even when the NN approximation is inaccurate.
- Naïve deployment of the NN without safety augmentation results in non-negligible constraint violations across all three benchmark examples.
- When the NN approximates a robust MPC with bounded error (≤ε), the NN solution is guaranteed to be feasible, as shown by Lemma 5.4.
- The fallback mechanism based on shifted input sequences and terminal control laws ensures stability and feasibility without requiring online optimization.
- The method requires only a single forward simulation of the system dynamics for online safety verification, making it efficient for embedded systems.
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.