Approximate non-linear model predictive control with safety-augmented neural networks
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Open-loop control feasibility prediction | Quadcopter disjoint (test) | Epochs (10^3)100 | 2 | |
| Open-loop control feasibility prediction | ST-Vehicle Kinematic disjoint 1,000 samples (test) | Epochs (x1000)7.9 | 2 | |
| Open-loop control feasibility prediction | ST-Vehicle Dynamic disjoint 1,000 samples (test) | Epochs3.70e+3 | 2 | |
| Closed-loop Control Safety | Quadcopter 1,000 random feasible initial states (test) | Safety Rate84.8 | 2 | |
| Closed-loop Control Safety | ST-Vehicle Kinematic 1,000 random feasible initial states (test) | Safety Rate92.2 | 2 | |
| Closed-loop Control Safety | ST-Vehicle Dynamic 1,000 random feasible initial states (test) | Safety Rate54.1 | 2 |