Research
FAME-QP: A GPU-Accelerated Quadratic-Programming Solver for Real-Time Model Predictive Control
Model predictive control requires solving a constrained optimization problem inside every control sampling period, so solver latency directly limits how fast and how complex a controller can be.

- arXiv
- 2611.13766 · Preprint · not peer-reviewed
- Published
- 2026-11-10
- Authors
- Santosh Mohan Rajkumar, Debdipta Goswami, Stephanie Stockar
In plain words
Model predictive control requires solving a constrained optimization problem inside every control sampling period, so solver latency directly limits how fast and how complex a controller can be. Most established QP solvers run on the CPU, and bolting them onto GPU-based robotics pipelines adds CPU–GPU data-transfer latency.
AI summary
FAME-QP: A GPU-Accelerated QP Solver for Real-Time MPCOverview
Research area: Numerical optimization for control — GPU-accelerated convex quadratic programming (QP) solvers for linear model predictive control (LMPC), with evaluation in robotics benchmarks (simulated humanoid and quadrotor control in MuJoCo).
Technical level: Advanced. The paper assumes familiarity with ADMM operator splitting, KKT conditions, CUDA kernel/graph execution, and condensed MPC formulations.
Scope (one sentence): The paper presents FAME-QP, an open-source ADMM-based GPU solver for dense QPs that exploits constraint structure, fuses iterations into CUDA graphs, and automatically picks its execution configuration, then benchmarks it against CPU and GPU QP/MPC baselines.
What This Paper Is About
Model predictive control requires solving a constrained optimization problem inside every control sampling period, so solver latency directly limits how fast and how complex a controller can be. Most established QP solvers run on the CPU, and bolting them onto GPU-based robotics pipelines adds CPU–GPU data-transfer latency. The paper's goal is a GPU-native solver that keeps all optimization data and computation on the device and is fast enough for real-time linear MPC, while still accepting general dense QPs rather than only MPC-structured ones.
Key Contributions
- Constraint-dependent operator representations. FAME-QP classifies the constraint matrix
Ginto box, split, or general structure and stores smaller operators accordingly — reducing operator storage by up to 4× and iteration time by up to 3× relative to treating all constraint rows as dense. - Fused iterations with CUDA-graph replay and automatic mode selection. Single-kernel (stacked operator) and two-kernel (factored operator) iterations are fused with the elementwise ADMM updates and replayed as a captured CUDA graph; the configuration is chosen via device calibration plus problem-specific timing of placeholder operators.
- Penalty handling for changing problems. The initial penalty is selected by probing a cached bank of five pre-inverted operators, and "lazy" operator updates refresh only the active bank entry when
PorGchange while preserving the constraint structure. - Numerical and robotic MPC evaluation plus open-source code. Benchmarks against CPU solvers (OSQP, PIQP, ProxQP, Clarabel, DAQP), GPU QP solvers (cuOSQP, ReLU-QP, qpax, CuPIQP), and GPU MPC solvers (CUDA MPC, πMPC), with an implementation released at
github.com/santoshrajkumar/fame-qp.
Main Findings
- Random dense QPs (cold solve, setup excluded): FAME-QP in
float64outperforms all GPU baselines at every tested size and all CPU baselines forn ≥ 220. Overn = 220–1400, speedups are 1.2–25.9× over DAQP (best CPU baseline) and 1.5–4.3× over ReLU-QP (best competing GPU baseline). - Precision trade-off at
n = 1400: mean solve time is 1.95 ms infloat32, versus 5.01 ms infloat64and 326 ms for cuOSQP.float32reduces solve time at most sizes, butfloat64remains faster atn = 600andn = 800. - Operator-size savings are analytical, not just empirical: in split form the factored operator holds
m_c²fewer entries per iteration than the stacked one (Eq. 13); for box constraints onlyn² + nentries are stored, versus4n²(stacked) or3n²(factored) if the diagonal block were treated as dense. - Adaptation is free at solve time: because five penalties spaced by factors of 10 are pre-inverted (centered initially at
ρ₀ = 0.1), changingρmid-solve selects a stored operator rather than recomputing an inverse;λis carried across switches because its optimal value is independent ofρ. - Probing pays setup cost, not per-solve cost: each bank entry runs a trial of at most 400 iterations from zero, and the resulting
j_estalso feeds the CUDA-graph time prediction; at most two bank rebuilds occur if an endpoint wins. - Closed-loop validation: simulated humanoid and quadrotor experiments in MuJoCo are cited as demonstrating reduced latency with maintained solution accuracy and control performance; the abstract states comparable control performance, not improved control performance. (The benchmark section of the provided text is truncated mid-sentence during the random-LMPC setup, so per-experiment LMPC speedups, tracking errors, and the humanoid/quadrotor numerical results are not reported in the available content.)
- Stalling behavior in single precision:
float32residuals may stagnate near10⁻⁶; a stalled solve returnssolved_inaccurateonly if it meets the termination test at 100× the requested tolerances.
Methodology in Plain English
The solver is built on ADMM, the same decomposition used by OSQP: split the hard constrained problem into a smooth quadratic piece and a simple box-constrained piece, and alternate between them. Because the quadratic piece's linear system depends only on the problem matrices and the penalty, it can be inverted once at setup and stored, so each iteration is mostly a matrix–vector product followed by cheap elementwise clipping and dual updates.
The paper's insight is that most MPC constraint matrices are far from fully dense. Input bounds give a purely diagonal block; adding state bounds gives a diagonal block plus a smaller dense block; only after tricks like LQR pre-stabilization do you get a fully general dense block. FAME-QP detects which case applies and stores the smallest operator that works — in the diagonal case, just an n × n inverse and an n-vector. Then it chooses between two execution strategies: one big fused kernel that does the whole iteration at once (fewer launches, but a larger operator to read) or two smaller kernels (less memory traffic, but an extra launch). A simple timing model — kernel-node overhead τ plus streaming time for the operator bytes — predicts which wins; the model prunes candidates, and actual timed trials of the real dimensions make the final call. The prediction is that the one-kernel version wins when m_c < sqrt(τ · BW / β).
To hide CPU launch overhead, a fixed number of iterations plus the convergence check are recorded into a CUDA graph and replayed with one host call; the host reads only five scalars per replay to decide whether to stop, declare a stall, or switch penalty. Penalty selection is handled by a pre-inverted bank of five operators, and the starting penalty is chosen by running short trials of each entry at setup so no per-solve search is needed. When the problem matrices change online, only the active bank entry is re-inverted ("lazy" mode), and the captured graph is kept. Setup also includes ten passes of modified Ruiz equilibration, and the precision (float32 vs float64) can be chosen from a power-iteration estimate of the condition number of K, falling back to timing both.
Why This Matters
Impact on research. The paper moves the performance lever for QP solvers from "faster math" to "match the operator to the constraint structure and the launch overhead to the hardware," and it does so for dense general QPs rather than only MPC-structured ones. It also gives the community an open-source GPU-native ADMM baseline that competes directly with ReLU-QP, cuOSQP, qpax, and CuPIQP, plus a GPU-MPC comparison against CUDA MPC and πMPC.
Real-world applications.
- Legged and humanoid robots running short-sampling-time whole-body or gait MPC (the paper evaluates a Unitree G1 setting).
- Quadrotor and drone trajectory tracking with tight state and input bounds.
- GPU-resident autonomy stacks where simulation, learned models, and control already live on the device, avoiding CPU–GPU round trips.
- Large-scale MPC built on learned linear or Koopman representations, where the prediction model itself is a large dense matrix.
Industry relevance. Any deployment where the controller must fit inside a fixed sampling period — automotive, aerospace, warehouse robotics, drone delivery — benefits from lower per-solve latency without sacrificing accuracy. Because the solver runs on commodity NVIDIA hardware (the experiments use an RTX 3080 Laptop GPU with 48 SMs and 16 GB VRAM), it targets the same GPUs already onboard or in the loop for perception and learning.
Future Directions
- Structure beyond the current three classes. The paper assumes box, split, or fully general
G; banded or block-sparse MPC structure (e.g., the un-condensed formulation) is not exploited and could shrink operators further. - Better handling of single-precision limits.
float32residuals stalling near10⁻⁶is currently handled by an accuracy-relaxedsolved_inaccuratestatus; iterative refinement or mixed-precision residual computation could recover tight accuracy atfloat32speed. - Online structural changes. Lazy updates preserve the captured graph only when
PorGchanges in ways that preserve constraint structure; changes that alter the structure (e.g., toggling constraints) force a full re-setup whose cost is not characterized in the available text. - Wider closed-loop validation. The provided content describes humanoid and quadrotor MuJoCo experiments and a random unstable-system LMPC benchmark, but the quantitative closed-loop results are outside the truncated text — reporting margins against sampling-period deadlines, and comparisons on hardware with different SM counts and memory bandwidths, would clarify how much of the gain is device-specific.
Target Audience
Researchers and practitioners working on real-time optimization and MPC for robotics and control who already understand ADMM-style QP solving and want to know how to make it fast on GPUs. It is also useful for engineers choosing between CPU and GPU QP solvers for a GPU-resident autonomy stack, and for solver developers interested in constraint-structure-aware operator design, CUDA-graph replay, and penalty-bank strategies. Readers without CUDA or convex-optimization background will find the systems-level contributions harder to follow than the benchmark results.
Authors’ abstract
We present FAME-QP, a GPU-accelerated solver for dense quadratic programs arising in linear model predictive control. FAME-QP combines constraint-dependent operator representations with fused single- and two-kernel iterations replayed through CUDA graphs, automatically selecting the execution configuration through device calibration and problem-specific timing. It probes a cached operator bank to select the initial penalty and updates operators lazily when problem matrices…
The full abstract on arXivRelated papers
- K-PWM: Control-Oriented Structured Bilinear World Models under Partial Observation 2026-11-08 · cs.RO · Also by Debdipta Goswami, Santosh Mohan Rajkumar
- LLA-MPPI: Rapidly Adaptive Whole-body Control of Legged Robots with GPU-Accelerated Parallel Simulations 2026-10-07 · cs.RO · Key terms of the title in common
- GPU-accelerated Incremental Euclidean Distance Transform for Online Motion Planning of Mobile Robots 2026-10-30 · cs.RO · Key terms of the title in common
- cuArms: GPU-Accelerated Conflict-Based Planning for Multi-Arm Manipulation 2026-10-26 · cs.RO · Key terms of the title in common
- GGraph: A GPU-Accelerated Library for Graph-Based Robot Deployment and Learning 2026-10-20 · cs.RO · Key terms of the title in common