Neural Compression of Long ADMM Trajectory for Multiparametric Quadratic Program
Organizations: Johns Hopkins University · Tsinghua University
Abstract
Solving large-scale multiparametric quadratic programs (mpQPs) in real time often requires thousands of iterative optimization updates, creating a major computational bottleneck in model predictive control and learning-enabled systems. This paper proposes TQPNet, a self-supervised neural compression framework that learns to compress long ADMM optimization trajectories into a compact neural warm start followed by a few refinement iterations. We derive a low-dimensional ADMM scheme operating on the primal-dual variables and show that its iteration admits an equivalent ReLU-layer representation, termed ADMM(ReLU). Building on this insight, TQPNet combines a multilayer perceptron with ReLU activations (MLP(ReLU)) and a small number of unrolled ADMM(ReLU) refinement layers. The network is trained offline using an optimality-condition-informed residual loss, eliminating the need for solver-generated labels. The proposed residual-based framework enables both self-supervised training and online solution certification through adaptive ADMM(ReLU) refinement. Experiments on large-scale mpQPs and real-time MPC applications demonstrate that TQPNet achieves high accuracy, strong generalization, and substantially faster inference than conventional optimization-based methods.
Figures & tables
| (1) |
| (3a) | ||||
| (3b) | ||||
| (3c) | ||||
| (9a) | ||||
| (9b) | ||||
| (9c) | ||||
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| 10 | 20 | 4 | ||||||
|---|---|---|---|---|---|---|---|---|
| 100 | 200 | 20 |
| Method | Time (ms) | Speedup | ||
|---|---|---|---|---|
| Full-dim ADMM | — | — | ||
| Low-dim ADMM(ReLU) | 4729 | 10.689 | 1.0 | — |
| MLP only | 3578 | 7.777 | 1.4 | 1132 |
| MLP + 1-layer ADMM(ReLU) | 3692 | 8.032 | 1.3 | 974 |
| MLP + 5-layer ADMM(ReLU) | 3728 | 7.751 | 1.4 | 1000 |
| MLP + 10-layer ADMM(ReLU) | 3392 | 7.305 | 1.5 | 1344 |
| Set | ||||||
|---|---|---|---|---|---|---|
| TQPNet | LQPNet | TQPNet | LQPNet | TQPNet | LQPNet | |
| Train | 5.8e-02 | 1.5e-02 | 5.5e-02 | 1.4e-02 | 5.2e-02 | 1.3e-02 |
| Valid | 5.9e-02 | 1.6e-02 | 5.6e-02 | 1.5e-02 | 5.3e-02 | 1.4e-02 |
| Boundary | 2.2e-01 | 1.0e-01 | 2.1e-01 | 9.7e-02 | 2.0e-01 | 9.1e-02 |
| OOD | 3.5e-01 | 1.9e-01 | 3.4e-01 | 1.9e-01 | 3.2e-01 | 1.8e-01 |
| OSQP | TQPNet ( ) | LQPNet ( ) | Offline | Explicit | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Speedup | RMSE | Cost | Latency | RMSE | Cost | Latency | RMSE | Cost | Latency | TQP | LQP | Latency | ||
| 60 | 3 | 0.221 | 33 | 0.03 | 0.221 | 33 | 1.31 | 0.221 | 33 | 1.23 | 65 | 24 | 0.57 | |
| 140 | 4 | 0.218 | 45 | 0.07 | 0.218 | 45 | 1.30 | 0.218 | 45 | 1.31 | 65 | 25 | 4.11 | |
| 315 | 6 | 0.217 | 63 | 0.21 | 0.217 | 63 | 1.23 | 0.217 | 63 | 1.20 | 65 | 35 | — | |
| 560 | 8 | 0.263 | 124 | 0.59 | 0.264 | 124 | 1.31 | 0.263 | 124 | 1.33 | 71 | 43 | — | |
| 875 | 10 | 0.217 | 99 | 1.38 | 0.217 | 99 | 1.27 | 0.217 | 99 | 1.23 | 84 | 65 | — | |
| Method | RMSE (m) | Latency med/max (ms) | Iter med/max |
|---|---|---|---|
| OSQP ( ) | |||
| OSQP ( ) | |||
| OSQP ( ) | |||
| ADMM(ReLU) ( ) | |||
| TQPNet ( ) | |||
| TQPNet ( ) |
Quadratic Programming
Quadratic programming optimizes quadratic objectives under constraints, supporting applications from robotics and control to finance and machine learning.
See all 20 papers