Abstract
We establish an algorithm to learn feedback maps from data for a class of robust model predictive control (MPC) problems. The algorithm accounts for the approximation errors due to the learning directly at the synthesis stage, ensuring recursive feasibility by construction. The optimal control problem consists of a linear noisy dynamical system, a quadratic stage and quadratic terminal costs as the objective, and convex constraints on the state, control, and disturbance sequences; the control minimizes and the disturbance maximizes the objective. We proceed via two steps -- (a) Data generation: First, we reformulate the given minmax problem into a convex semi-infinite program and employ recently developed tools to solve it in an exact fashion on grid points of the state space to generate (state, action) data. (b) Learning approximate feedback maps: We employ a couple of approximation schemes that furnish tight approximations within preassigned uniform error bounds on the admissible state space to learn the unknown feedback policy. The stability of the closed-loop system under the approximate feedback policies is also guaranteed under a standard set of hypotheses. Two benchmark numerical examples are provided to illustrate the results.
Introduction: The Challenge of Real-Time Robust MPC
Model Predictive Control (MPC) is a cornerstone of modern control engineering due to its ability to handle strict system constraints by solving an optimization problem at every time step. However, the computational burden of solving these problems online is significant, particularly in robust MPC. In robust settings, the controller must account for system uncertainties and noise, transforming the task into a complex "minmax" optimization problem that often exceeds the real-time capabilities of embedded hardware.
To address this, researchers use Explicit MPC, which precomputes the control policy offline. While machine learning—specifically neural networks—offers a promising way to approximate these explicit policies, it introduces a critical risk: approximation errors. In safety-critical systems, even minor errors can lead to constraint violations or instability. This research proposes a framework to learn fast, explicit feedback policies while mathematically guaranteeing that learning errors do not compromise system safety.
The Approximation-Aware Framework
The core innovation of this work is the "approximation-aware" formulation. Rather than training a model and hoping for low error, the authors treat the anticipated learning error (bounded by a margin $\varepsilon$) as an explicit disturbance during the initial control design phase.
As shown in the framework above, the process involves:
- Approximation-Aware MPC (AA-MPC): The baseline MPC is modified to incorporate a bounded error term $v_t$. By assuming the final policy will have an error up to $\varepsilon$, the optimizer builds a robust policy that is inherently conservative enough to handle the subsequent learning inaccuracies.
- Exact Data Generation: To generate high-quality training data, the authors convert the robust MPC problem into a convex Semi-Infinite Program (SIP). This is solved exactly using the "MSA algorithm" combined with simulated annealing, avoiding the conservatism found in standard robust optimization tools.
Learning Engines: QuIFS and NN
Once the exact (state, action) data is generated, two distinct learning engines are employed to approximate the feedback map:
- Quasi-Interpolation-based Feedback Learning (QuIFS): Designed for low-dimensional systems, this grid-based scheme provides deterministic uniform error guarantees. It is practically realizable and ensures the error stays strictly within the $\varepsilon$ bound.
- Neural Network-based Feedback Learning (NN): For higher-dimensional systems, deep ReLU neural networks are used. While theoretical bounds for uniform approximation with ReLU networks can be astronomically conservative (suggesting millions of layers), the authors demonstrate that standard shallow networks (e.g., depth of 4) achieve the required accuracy in practice.
Key Results and Performance
The proposed method demonstrates significant improvements over traditional approaches in both feasibility and speed:
- Expanded Feasible Region: By solving the SIP exactly rather than using conservative approximations, the authors reduced infeasible starting points in a 2D benchmark by 51.25% compared to standard tools like YALMIP.
- Computational Speedup: Online execution is transformed from a heavy optimization task into a simple function evaluation. In Julia, evaluation times dropped to microseconds (13.5 $\mu$s for QuIFS and 0.01 $\mu$s for NN), compared to hundreds of milliseconds for standard online MPC.
- Guaranteed Stability: Both learning methods strictly respected pre-assigned error margins, maintaining closed-loop stability throughout testing.
Conclusion and Future Directions
This work bridges the gap between high-performance robust control and the efficiency of machine learning. By "baking" the approximation error into the design stage, the authors provide a pathway for deploying neural network controllers in safety-critical environments with mathematical confidence.
Future research will focus on addressing the "curse of dimensionality" in grid-based methods and refining the theoretical bounds for neural networks to make them less conservative. Additionally, the authors plan to explore alternative architectures like Kolmogorov-Arnold Networks (KANs) and validate the framework on physical hardware systems.
Summary updated