Towards Safe Learning-Based Non-Linear Model Predictive Control through Recurrent Neural Network Modeling
Organizations: Institute of Computer Engineering, TU Wien, Vienna, Austria · AIT Austrian Institute of Technology, Vienna, Austria · Institute of Mechanics and Mechatronics, TU Wien, Vienna, Austria
Abstract
The practical deployment of nonlinear model predictive control (NMPC) is often limited by online computation: solving a nonlinear program at high control rates can be expensive on embedded hardware, especially when models are complex or horizons are long. Learning-based NMPC approximations shift this computation offline but typically demand large expert datasets and costly training. We propose Sequential-AMPC, a sequential neural policy that generates MPC candidate control sequences by sharing parameters across the prediction horizon. For deployment, we wrap the policy in a safety-augmented online evaluation and fallback mechanism, yielding Safe Sequential-AMPC. Compared to a naive feedforward policy baseline across several benchmarks, Sequential-AMPC requires substantially fewer expert MPC rollouts and yields candidate sequences with higher feasibility rates and improved closed-loop safety. On high-dimensional systems, it also exhibits better learning dynamics and performance in fewer epochs while maintaining stable validation improvement where the feedforward baseline can stagnate.
Figures & tables
| AMPC | Seq-AMPC | |||
| Epochs | Feas. | Epochs | Feas. | |
| Task | [ ] | [%] | [ ] | [%] |
| Quadcopter | 72 | 2.75 | 83.6 | |
| ST-Vehicle Kinematic | 35.3 | 4.1 | 36.4 | |
| ST-Vehicle Dynamic | 3.7 | 35.6 | 39.5 | |
| AMPC | Seq-AMPC | |||
| Task | Safe [%] | Interv. [%] | Safe [%] | Interv. [%] |
| Quadcopter | 84.8 | 8.2 | 89.1 | 78.8 |
| ST-Vehicle Kinematic | 92.2 | 90.6 | 92.9 | 90.0 |
| ST-Vehicle Dynamic | 54.1 | 94.4 | 58.7 | 95.6 |
| Training | Closed-loop | |||
| Samples | Epochs [ ] | Feas. [%] | Safe [%] | Interv. [%] |
| 1x | 2.75 | 83.6 | 89.1 | 78.8 |
| 1/4x | 83.5 | 87.5 | 78.4 | |
| 1/10x | 79.9 | 82.8 | 78.2 | |
| AMPC | Seq-AMPC | |||||
| Task | State | Term. | Cost | State | Term. | Cost |
| Quadcopter | 72.5 | 2.6 | 40.6 | 9.2 | 98.5 | 44.5 |
| ST-Vehicle Kinematic | 0.0 | 90.5 | 57.7 | 0.0 | 89.5 | 64.0 |
| ST-Vehicle Dynamic | 0.0 | 90.0 | 79.6 | 0.0 | 90.0 | 71.6 |
Nonlinear MPC
Nonlinear model predictive control (NMPC) repeatedly optimizes future actions using nonlinear system models and constraints.
See all 79 papers