Abstract
This paper presents the Learned Quadratic Programming (LQP) controller, a novel architecture that bridges the gap between Model Predictive Control (MPC) and Deep Reinforcement Learning (DRL). By structuring a neural network as an unrolled optimization solver, the LQP controller provides the formal safety and stability guarantees of MPC while maintaining the model-free flexibility and computational efficiency of DRL. Experimental results across multiple benchmarks, including a real-world vehicle drifting task, demonstrate that LQP is significantly faster than traditional MPC solvers and more robust to modeling uncertainties than standard MLP-based policies.
Introduction
Control systems for safety-critical applications typically face a trade-off between performance, robustness, and verifiability. Model Predictive Control (MPC) is the industrial standard for verifiable control, as it allows for formal proofs of stability and constraint satisfaction. However, MPC's reliance on accurate system models and its high computational cost—solving an optimization problem at every time step—limit its applicability in complex or resource-constrained environments.
Deep Reinforcement Learning (DRL) offers a model-free alternative that excels in handling nonlinearities and noise. Yet, the "black-box" nature of Multi-Layer Perceptrons (MLPs) makes them difficult to verify, posing risks for safety-critical deployment. The authors propose the LQP controller to resolve this dilemma by embedding the structure of a Quadratic Program (QP) solver directly into a learnable neural network architecture.
Methods: The LQP Controller
The LQP controller is designed to "look like an optimizer but learn like a network."
Unrolled Solver Architecture
The policy architecture is inspired by the Primal-Dual Hybrid Gradient (PDHG) algorithm used to solve QPs. Instead of a generic MLP, the controller is structured as a fixed number of iterations ($n_{\text{iter}}$) of this solver. The matrices involved in the optimization ($P, H, W_q, W_b$) are treated as learnable parameters $\theta$.
Training Framework
The LQP controller is trained using Proximal Policy Optimization (PPO). A critical component of the training process is the inclusion of a residual minimization loss $\ell_{res}$. This loss term ensures that the learned parameters $\theta$ result in a solver that actually converges to a valid QP solution, bridging the gap between a generic RNN and a structured optimizer.
Formal Verification
Because the LQP controller maintains the mathematical structure of a QP, it remains amenable to formal verification. The authors utilize Quadratic Constrained Quadratic Programming (QCQP) and Lyapunov stability theory to provide certificates for persistent feasibility and asymptotic stability, ensuring the system remains within safe bounds and reaches its target state.
Experimental Results
The researchers evaluated LQP against MPC and MLP baselines on three tasks: a Quadruple Tank system, Cartpole balancing, and high-speed Vehicle Drift maneuvering.
Efficiency and Sparsity
LQP demonstrates remarkable computational efficiency. In the quadruple tank benchmark, LQP performed 10x to 100x fewer floating-point operations (FLOPs) than the OSQP solver used in traditional MPC. Furthermore, the structured prior allows for extreme parameter sparsity; LQP achieved superior control with as few as 0.3K parameters, whereas the MLP baseline required 11K.
Robustness and Generalization
Under conditions of modeling uncertainty and process noise, LQP significantly outperformed robust MPC variants. In high-noise scenarios where Scenario and Tube MPC failed frequently (up to 82% failure rate), LQP maintained a failure rate of only 1.4%. Notably, despite its linear-quadratic foundations, LQP successfully generalized to the highly nonlinear task of vehicle drifting, matching the performance of specialized MLPs.
Conclusion
The LQP controller represents a significant step toward verifiable model-free control. By treating structure as a prior, the authors demonstrate that neural networks can be both high-performing and mathematically rigorous. Future research will focus on learning Lyapunov functions end-to-end and extending the framework to inherently nonlinear optimization structures.
Summary updated