Residual Koopman MPC
- Residual Koopman MPC is a family of predictive control methods that uses lifted linear Koopman models with residual corrections to capture unmodeled dynamics.
- It integrates various formulations, including tube-based, adaptive, and dual-control schemes, to maintain linear or convex optimization structures while boosting prediction fidelity.
- Practical implementations in cart-pole stabilization, quadruped locomotion, and vehicle tracking demonstrate improved robustness, reduced estimation errors, and enhanced computational efficiency.
Searching arXiv for Residual Koopman MPC and closely related Koopman MPC variants to ground the article in the cited literature. Residual Koopman Model Predictive Control (RKMPC) denotes a family of data-driven predictive-control formulations in which Koopman-based lifted linear models are used to represent residual dynamics, residual prediction error, or residual control corrections inside a receding-horizon controller. In the literature, closely related labels include robust tube-based Koopman MPC or r-KMPC, RK-MPC, and RKMPC. Across these variants, the common objective is to improve prediction fidelity while preserving linear MPC or convex optimization structure, or to recover formal robustness and stability guarantees that are not automatic for finite-dimensional Koopman approximations (Zhang et al., 2021, Narayanan et al., 5 Apr 2026, Zhou et al., 22 Apr 2025, Fu et al., 24 Jul 2025, Pouladi, 16 May 2026). This suggests that RKMPC is best understood as a methodological family rather than a single canonical construction.
1. Conceptual development and scope
The 2021 robust tube-based formulation introduced r-KMPC for nonlinear discrete-time dynamical systems with additive disturbances and explicitly identified robustness of the closed-loop Koopman MPC under modeling approximation errors and possible exogenous disturbances as a crucial issue to be resolved. Its controller is composed of a nominal MPC using a lifted Koopman model and an off-line nonlinear feedback policy, and the approach does not assume the convergence of the approximated Koopman operator, which allows using a Koopman model with a limited order for controller design (Zhang et al., 2021).
Subsequent work broadened the meaning of “residual” within Koopman MPC. One direction treats the residual as a learned correction to a nominal mechanistic predictor. In quadruped locomotion, RK-MPC augments a nominal template model with a compact linear residual predictor learned from data in lifted coordinates, enabling systematic correction of model mismatch induced by contact variability and terrain disturbances with provable bounds on multi-step prediction error (Narayanan et al., 5 Apr 2026). In vehicle trajectory tracking, RKMPC uses two linear MPC architecture to calculate control inputs: a Linear Model Predictive Control computes the baseline control input based on the vehicle kinematic model, and a neural network-based RKMPC calculates the compensation input (Fu et al., 24 Jul 2025).
A second direction treats residuals as online decision variables or online learned unknown dynamics. The adaptive Koopman-MPC methodology develops a convex MPC formulation in which residual terms are incorporated directly in the lifted dynamics and regulated by quadratic penalties, while model parameters are adapted online through soft update of target networks (Uchida et al., 2024). The no-regret formulation studies simultaneous system identification and model predictive control for nonlinear systems with unknown residual dynamics that can be expressed by Koopman operators and proves sublinear dynamic regret (Zhou et al., 22 Apr 2025).
A third direction integrates residual dynamics into certified latent models. Stable Fiber-Koopman Residual Dynamics constructs an environment-conditioned Koopman operator for the dominant linear evolution and a contraction-constrained residual neural network for unmodeled nonlinear effects, then embeds the predictor in a sampling-based MPPI controller with an explicit input-to-state stability certificate (Pouladi, 16 May 2026).
2. Residual quantities and lifted models
The literature places the residual at different levels of the prediction stack: as aggregated disturbance in lifted coordinates, as one-step nominal-model error, as unknown additive dynamics, as a compensation control channel, or as a latent nonlinear correction. The following table organizes the principal formulations.
| Formulation | Residual quantity | Lifted or corrected model |
|---|---|---|
| r-KMPC (Zhang et al., 2021) | Approximation error, disturbance, and reconstruction residual | |
| RK-MPC for quadrupeds (Narayanan et al., 5 Apr 2026) | One-step nominal error, in practice centroidal twist error | |
| Adaptive Koopman MPC (Uchida et al., 2024) | Embedded-space residual | |
| No-regret RKMPC (Zhou et al., 22 Apr 2025) | Unknown residual dynamics | |
| Vehicle RKMPC (Fu et al., 24 Jul 2025) | Residual control | |
| SFKD (Pouladi, 16 May 2026) | Residual neural correction |
In the robust tube-based setting, the starting point is a nonlinear, discrete-time system with additive disturbance,
0
together with a lifting map 1 and lifted state 2. After identifying 3, the perturbed linear predictor is
4
where 5 collects all approximation errors: the truncation of the true infinite-dimensional Koopman operator, the unknown disturbance 6, and any model-reconstruction residual (Zhang et al., 2021).
In quadruped locomotion, the nominal reduced-order physics template is a linearized single-rigid-body predictor
7
and the residual is the one-step nominal error
8
In practice RK-MPC corrects only the centroidal twist, so
9
With a lifted residual state 0, the learned residual dynamics are
1
and the combined predictor becomes
2
(Narayanan et al., 5 Apr 2026).
In the adaptive Koopman-operator formulation, the embedding model is
3
and the true residual in embedded space is
4
Over a horizon 5, the one-step dynamics with residual correction are written as
6
The no-regret formulation begins from
7
defines the nominal step 8, and treats
9
as unknown residual dynamics. With observables 0 and 1, the lifted residual evolves approximately as
2
In the vehicle-tracking formulation, the residual is not the state prediction error but the control compensation,
3
where 4 is the LMPC’s predicted input and 5 the “true” input needed on-track. The lifted state is generated by a DNN,
6
and the Koopman linear residual system is
7
In SFKD, the residual is a contraction-constrained neural network added to an environment-conditioned Koopman backbone:
8
Here the encoder maps 9 onto a fiber bundle latent manifold, and different environments occupy disjoint or smoothly separated submanifolds in the latent space (Pouladi, 16 May 2026).
3. MPC embeddings and computational structure
A central feature of RKMPC is that the residual model is inserted into a receding-horizon optimization without discarding the computational advantages of linear or convex predictive control. In the robust tube-based formulation, ignoring 0 and 1 yields the nominal lifted model
2
and the nominal MPC solves
3
subject to dynamics, tightened constraints, and a terminal set. The actual control law is
4
so the online problem remains a nominal MPC, while residual robustness is handled by the tube and offline feedback (Zhang et al., 2021).
In quadruped locomotion, the finite-horizon controller is a convex Quadratic Program. The optimization minimizes a quadratic tracking-and-effort objective over the horizon subject to affine dynamics,
5
with
6
and inequality constraints
7
Because all dynamics and constraints are affine in the decision variables, this is a convex Quadratic Program. The inequality constraints select only the contact forces of feet in stance and enforce a linearized friction pyramid plus unilaterality (Narayanan et al., 5 Apr 2026).
The adaptive Koopman-MPC formulation makes the residual itself a decision variable. The stacked lifted-state constraints are
8
and the quadratic cost is
9
Input bounds, state constraints via 0, and optional residual bounds 1 preserve convexity, so the optimization is a convex QP in 2 (Uchida et al., 2024).
The no-regret setting also uses finite-horizon receding-horizon MPC, but the residual dynamics are predicted by the currently learned Koopman model of the unknown disturbance. At each time 3, the controller solves
4
subject to
5
then applies 6, observes the next state, computes the realized residual, and updates the Koopman estimate (Zhou et al., 22 Apr 2025).
Vehicle RKMPC uses a dual-LMPC architecture. The baseline LMPC computes
7
from a linearized kinematic bicycle model, while the residual Koopman MPC computes
8
subject to lifted residual dynamics. The total control is
9
The paper describes this as a design that preserves the reliability and interpretability of traditional mechanistic model while achieving performance optimization through residual modeling (Fu et al., 24 Jul 2025).
SFKD departs from the QP paradigm and embeds the residual Koopman predictor in a sampling-based MPPI controller. For each rollout, the latent state is propagated via the SFKD one-step map, decoded, and evaluated under a path-integral cost. This is still an RKMPC construction in the sense that the predictive model consists of an environment-conditioned Koopman linear part plus a residual correction, but the control optimizer is sampling-based rather than quadratic-program based (Pouladi, 16 May 2026).
4. Robustness, convergence, regret, and stability guarantees
The strongest formal robustness results in the cited literature appear in the tube-based r-KMPC formulation. With
0
the error dynamics are
1
Choosing a robust positively invariant set 2 such that 3 yields 4 for all 5. Tightened sets
6
guarantee hard constraint satisfaction. Under standard assumptions, the paper derives stabilizability and observability of the Koopman model and proves recursive feasibility, closed-loop robustness, and nominal point-wise convergence. The optimal value satisfies
7
so the nominal state and input converge to zero. If 8 and the net gain
9
is Schur, then 0, coupled with 1, 2, and 3 (Zhang et al., 2021).
The quadruped formulation provides a multi-step prediction-error bound for the combined nominal-plus-residual predictor. Under mild Lipschitz assumptions on 4 and a uniform bound 5 on the residual-model one-step error,
6
and over 7 steps,
8
Because 9 is small, the paper states that multi-step error remains well-behaved (Narayanan et al., 5 Apr 2026).
The online adaptive Koopman-operator methodology emphasizes stabilization of model learning. It uses a “main” network and a “target” network and updates the target parameters by soft update,
0
with 1 small. The stated stability remarks are that the target network in the QP prevents large swings in the controller and that one can choose to only adapt a subset of parameters online, such as only 2 and 3, to further improve numerical stability and reduce computation (Uchida et al., 2024).
The no-regret formulation provides a different type of guarantee. The Koopman matrices are updated online by ordinary least squares or online gradient descent on the per-step loss
4
Dynamic regret is defined against the clairvoyant non-causal controller,
5
and Theorem 1 gives
6
hence 7 as 8. The paper interprets this as asymptotic convergence to the optimal non-causal controller (Zhou et al., 22 Apr 2025).
SFKD provides an explicit ISS certificate in latent space. With latent error 9, contraction bound
0
and combined gain
1
the one-step bound is
2
which yields
3
The corresponding ultimate bound is
4
The paper further states a closed-loop tracking bound in physical coordinates when the nominal MPPI tracking error in latent space is 5 (Pouladi, 16 May 2026).
5. Reported implementations and empirical results
The empirical literature spans cart-pole stabilization, quadruped locomotion, vehicle trajectory tracking, and environment-switching autonomous vehicle path tracking. Reported metrics indicate that the residual construction is used either to recover performance lost by model mismatch or to reduce sensitivity to the choice of observables.
| Domain | Configuration | Reported outcome |
|---|---|---|
| Cart-pole (Uchida et al., 2024) | Adaptive Koopman MPC | 6 s per 6 s rollout vs 0.70 s nominal MPC, 1.12 s RFF-MPC, 5.11 s GP-MPC |
| Cart-pole (Zhou et al., 22 Apr 2025) | Online learned residual Koopman MPC | Under 45% mismatch, only RKMPC succeeds in all trials |
| Quadruped locomotion (Narayanan et al., 5 Apr 2026) | Gazebo and Unitree Go1, 500 Hz | RK-MPC: 0.020 m/s linear-velocity RMSE, 0.095 rad/s angular-rate RMSE, 0.89 ms average QP solve time |
| Vehicle trajectory tracking (Fu et al., 24 Jul 2025) | Carsim–MATLAB and F1TENTH | Requires only 20% of KMPC training data; lateral error reduced by 11.7%-22.1% |
| Environment switching (Pouladi, 16 May 2026) | MPPI with SFKD | 0.120 m RMSE in scenario S3 and 44% improvement in control smoothness |
For quadruped locomotion, the open-loop comparison over 100-step rollouts on held-out data shows one-step RMSE for linear velocity 7 of SRB 8, EDMD-mono 9, EDMD-00, and Res-Koopman 01; for angular velocity 02, SRB 03, EDMD-mono 04, EDMD-05, and Res-Koopman 06. The paper states that 07 EDMD exhibits drift in the 08 geodesic error over horizon, while monomial EDMD blows up (Narayanan et al., 5 Apr 2026). In closed-loop simulation for a circular reference under randomized friction and rough terrain, linear-velocity RMSE is SRB 09 m/s, SE3-KMPC 10 m/s, and RK-MPC 11 m/s; angular-rate RMSE is SRB 12 rad/s, SE3-KMPC 13 rad/s, and RK-MPC 14 rad/s. Average QP solve times are SRB-MPC 15 ms, SE3-KMPC 16 ms, and RK-MPC 17 ms. On Unitree Go1 hardware with onboard NVIDIA Xavier NX, the controller runs at 500 Hz, achieves 9/10 successes over loose obstacles in debris traversal and push recovery, transfers from trot to crawl by simply changing contact-schedule 18, and is reported stable on grass, gravel, snow, and ice, with slip on ice beginning when the controller pushes normal forces to limit (Narayanan et al., 5 Apr 2026).
For vehicle dynamics, the simulation study on the Carsim–MATLAB platform reports the following table entries: LMPC lateral error 19 m, heading error 20 rad, steer-rate 21 rad/s, computation time mean 22 ms and max 23 ms; NMPC lateral error 24 m, heading error 25 rad, steer-rate 26 rad/s, computation time 27 ms; KMPC lateral error 28 m, heading error 29 rad, steer-rate 30 rad/s, computation time 31 ms; and RKMPC lateral error 32 m, heading error 33 rad, steer-rate 34 rad/s, computation time 35 ms. The paper states that RKMPC reduces lateral error by 11.2%, heading by 8.6%, steering jitter by 27.6% versus LMPC, while running well within a 50 ms cycle, and that KMPC’s performance suffers under small datasets while NMPC cannot meet real-time budgets (Fu et al., 24 Jul 2025). In physical 1:10 F1TENTH tests, LMPC yields lateral error 36 m and heading error 37 rad, KMPC is reported as uncontrollable, and RKMPC yields lateral error 38 m and heading error 39 rad with computation time 40 ms. The same paper states that RKMPC requires only 20% of the training data needed by traditional KMPC while delivering superior tracking performance (Fu et al., 24 Jul 2025).
For the adaptive cart-pole study, nominal MPC without residual or adaptation fails to stabilize quickly, whereas GP-MPC and RFF-MPC do stabilize but are 2–10× slower. The reported solve times are 41 s per 6 s rollout for RKMPC, 0.70 s for nominal MPC, 1.12 s for RFF-MPC, and 5.11 s for GP-MPC (Uchida et al., 2024). In the no-regret cart-pole study, the system has 4D state 42, scalar input 43, is discretized at 15 Hz with horizon 44, and uses cost weights 45, 46. Under 25% mismatch, RKMPC stabilizes fastest and outperforms nominal-MPC, GP-MPC, and RFF-MPC; under 45% mismatch, only RKMPC succeeds in all trials; and the estimation error in the Koopman fit decays quickly (Zhou et al., 22 Apr 2025).
For environment-constrained robust control, SFKD is evaluated on a bicycle model with varying road friction 47 and lateral wind 48 m/s. In scenario S3, mean 49 std over 200 runs gives Koopman MPC RMSE 50 m, Neural ODE RMSE 51 m, ICODE-MPPI RMSE 52 m, and SFKD RMSE 53 m. Control smoothness, measured as mean 54, is 55 rad/s for ICODE-MPPI and 56 rad/s for SFKD. The latent-stability violation study reports that uncertified baselines exceed the theoretical bound in 40–60% of trials, whereas SFKD stays within bound 57 of the time (Pouladi, 16 May 2026).
6. Interpretation, misconceptions, and active directions
A common misconception is that Residual Koopman MPC refers to one fixed algorithmic template. The literature does not support that reading. The label covers at least the following constructions: a tube-based lifted MPC with offline residual feedback (Zhang et al., 2021); a compact residual predictor correcting a nominal reduced-order model (Narayanan et al., 5 Apr 2026); a convex lifted QP with explicit residual decision variables and online parameter adaptation (Uchida et al., 2024); an online least-squares or OGD scheme for unknown residual dynamics with dynamic-regret guarantees (Zhou et al., 22 Apr 2025); a dual-MPC compensation architecture for vehicle tracking (Fu et al., 24 Jul 2025); and an environment-conditioned latent Koopman model with contraction-constrained residual network inside MPPI (Pouladi, 16 May 2026). This suggests that the defining feature is not one optimizer or one notion of residual, but the explicit insertion of a residual Koopman mechanism into predictive control.
A second misconception is that a Koopman lift alone yields robustness. The 2021 tube-based work states the opposite problem formulation: robustness of the closed-loop Koopman MPC under modeling approximation errors and possible exogenous disturbances is still a crucial issue to be resolved, and its solution requires tube-based robustification, tightened constraints, and offline feedback design (Zhang et al., 2021). The environment-conditioned SFKD results make a related point from a different angle: latent stability is enforced by spectral-norm constraints on 58 and a contraction constraint on the residual network, not by lifting alone (Pouladi, 16 May 2026).
A third misconception is that RKMPC is necessarily fully data-driven. Several implementations are explicitly hybrid. The quadruped controller combines a physics-based SRB template with a compact Koopman-learned residual (Narayanan et al., 5 Apr 2026). The vehicle controller keeps the well-understood kinematic baseline intact and uses the residual Koopman block only to correct unmodeled nonlinearities, which the paper presents as preserving interpretability and reliability (Fu et al., 24 Jul 2025).
Active directions are stated directly in the cited papers. For quadruped RK-MPC, future work includes online adaptation of residual operator by incremental least-squares or recursive EDMD, robust or tube-MPC extensions using residual uncertainty bounds, and application to other legged platforms and full-body hybrid dynamics (Narayanan et al., 5 Apr 2026). The adaptive Koopman-operator methodology discusses choosing only a subset of parameters as online updated parameters to improve numerical stability and reduce computation (Uchida et al., 2024). The no-regret formulation points toward continued integration of online identification and predictive control under explicit performance guarantees (Zhou et al., 22 Apr 2025). The SFKD formulation extends the residual Koopman paradigm toward environment-aware geometric consistency, latent-space stability certification, and bounded residual perturbation propagation under environment switching (Pouladi, 16 May 2026).