μMPC: Microsecond-Scale Nonlinear and World Model Control from Edge to GPU via Koopman-Linearized Precompilation
$\mu$MPC is a model predictive control framework that cuts online computation by precomputing finite-horizon control-to-output maps from learned Koopman-linearized dynamics. This removes lifted-state trajectories and yields an action-only Koopman-Compiled QP with $Hn_u$ decision variables independent of lifted dimension; a fixed precomputed primal operator then enables primal-dual iterations using only matrix-vector products and projections, so changing goals and constraints need no refactorization. The same efficiency supports control-aware dynamics learning via differentiable KC-QPs and batched DAgger-style aggregation. Reported solve times reach $23\mu$s on a desktop CPU and 24 ms on a 168 MHz Crazyflie microcontroller, scaling to 4096D quadruped control under 5 ms and 2048D world-model visual planning in 0.4 ms, with up to $108\times$ faster constrained MPC and $1907\times$ faster visuomotor planning than competing methods.