Abstract
This paper presents a hybrid "explicit-implicit" Model Predictive Control (MPC) framework designed for large-scale systems. By leveraging a deep neural network to provide a high-quality warm start for a primal active set solver, the method achieves a 2× reduction in online inference time for systems with thousands of variables. Crucially, the framework maintains deterministic guarantees for recursive feasibility and asymptotic stability by utilizing a suboptimality certificate for early solver termination.
Introduction
Model Predictive Control (MPC) is a cornerstone of modern control engineering due to its ability to handle complex constraints naturally. However, its real-time application is often limited by computational speed. Traditional approaches fall into two categories: Implicit MPC, which solves a Quadratic Program (QP) online, and Explicit MPC, which uses offline-calculated lookup tables. While implicit methods are computationally intensive for high-speed robotics, explicit methods suffer from the "curse of dimensionality," making them impractical for large-scale systems. This work proposes a hybrid approach that combines the speed of neural network approximations with the rigorous safety of optimization-based solvers.
Methodology
The proposed framework rests on three technical pillars designed to scale MPC to high-dimensional state spaces:
- Neural Network Trajectory Approximation: A deep ReLU neural network is trained to approximate the entire optimal control sequence rather than just the immediate next action. This provides a rich initialization for the solver.
- Lagrangian-Based Loss Function: To capture the underlying structure of the optimization problem, the network is trained using a primal-dual loss function based on the Lagrangian. This "physics-informed" approach helps the network respect the relationship between objective functions and constraints.
- Hybrid Explicit-Implicit Planner: The neural network's output serves as a "warm start" for a primal active set solver. The solver operates in two phases: Phase I ensures feasibility (safety), and Phase II optimizes the trajectory.
As shown in the algorithm above, the system uses a suboptimality certificate to terminate the solver early. If the current solution is "good enough" to satisfy stability criteria, the solver stops, significantly reducing latency without compromising safety.
Experimental Setup
The method was evaluated on four benchmark systems of increasing complexity, culminating in a High-Dimensional Oscillating Mass system (Sys 4) with 36 states, 9 inputs, and a 50-step horizon. This results in a QP with 2,250 optimization variables and nearly 5,000 constraints.
To generate training data for these high-dimensional spaces, the authors developed a Geometric Random Walk algorithm. Traditional rejection sampling is highly inefficient in high dimensions (0.4% success rate for Sys 4), whereas the proposed random walk generated 1.7 million feasible states in just 5.2 hours.
Results and Discussion
The hybrid approach demonstrates significant performance gains over traditional baselines. On the largest system (Sys 4), the proposed method reduced the number of required solver iterations by 58× compared to a "cold start" initialization.
As detailed in the results table, the NN-based warm-starting method (NN p.f.
- sub.) achieved a total average online inference time of 664ms, representing a 2× reduction compared to high-performance commercial solvers like Gurobi or Mosek. Furthermore, the system maintains deterministic guarantees for stability, a critical requirement for safety-critical robotics that "black box" neural networks alone cannot provide.
Conclusion
By combining neural network approximations with primal active set solvers, this work provides a scalable path for MPC in high-dimensional systems. While currently focused on Linear Time-Invariant (LTI) systems, the framework's ability to reduce inference time while maintaining safety guarantees marks a significant step toward real-time control of complex, large-scale robotic platforms. Future work will explore extending these techniques to non-linear dynamics and optimizing memory footprints for embedded hardware.
Summary updated