TL;DR
When a robot encounters a slippery floor, rough terrain, or an unexpected payload, its pretrained world model—the internal simulator it uses to imagine future outcomes—starts making bad predictions. Instead of expensively retraining that world model, ReKAP keeps it frozen and bolts on a lightweight, online error-feedback corrector updated via recursive least squares (RLS). The catch? While this simple fix can slash prediction errors by up to 62% and cut robot falls, its benefits depend heavily on the prediction horizon, the type of shift, and whether better forecasts actually matter to the downstream controller.
What Problem Does This Paper Address?
Modern robots often rely on learned world models (like Robotic World Model or DreamerV3) to plan actions or train policies in "imagination" before touching the real world. The trouble is that world models are only as good as their training data. Change the robot's policy, drop the floor friction, add a 3 kg payload, and small one-step prediction errors quickly snowball over multi-step rollouts.
Retraining the world model on new data is the obvious fix, but it requires gradient access, compute, and time. This raises two practical questions:
- When is lightweight online correction enough to adapt a frozen world model?
- When does better prediction actually translate into better robot planning and control?
Methods
The authors propose a compact error-feedback residual predictor that sits alongside a frozen world model $F_\phi$ without ever touching its weights.
Here is how it works:
- Online adaptation: As the robot acts, the frozen model predicts the next state $\hat{x}_{t+1}$, and the system measures the true one-step error $e_{t+1} = x_{t+1} - \hat{x}_{t+1}$. A linear readout $\Theta$ is initialized via ridge regression and updated online from these measured errors using Recursive Least Squares (RLS) with exponential forgetting.
- Corrected rollouts: During an imagined rollout (where no real measurements exist), the corrector predicts the next error $\hat{e}_{j+1} = \text{clip}_\gamma(\Theta v_j)$ from the previous predicted error, corrected state, and action. Crucially, the corrected state $\tilde{x}_{j+1} = F_\phi(\tilde{h}_j, u_j) + \hat{e}_{j+1}$ re-enters the world model's recurrent history, so future predictions build on the corrected trajectory.
- Representations & model access: The authors compare four feature dictionaries for $v_t$: affine (just the error, state, and action—essentially DMDc on the error), polynomial (degree-2 monomials), RBF (128 Gaussian features), and a frozen Koopman autoencoder. They also test giving the corrector access to the world model's internal recurrent hidden state $q_t$.
Datasets
All experiments are conducted in simulation across two domains:
- Quadruped locomotion (Isaac Lab): Simulated ANYmal D and Unitree Go1 robots using pretrained Robotic World Models (2-layer GRUs, 50 Hz). Evaluated across nominal/source policies, a held-out policy, reduced friction ($\mu = 0.5, 0.3$), rough terrain (5 cm height noise), and a $0.3$ slope.
- Manipulator planning: A simulated Franka FR3 arm controlled by an MPPI planner (0.5 s horizon) with a 3-layer MLP world model trained on the unloaded arm, then tested with an unmodeled 3 kg payload (fixed or attached/released mid-episode).
Key Insights and Ideas
- Simple affine correction holds its own: Nonlinear lifting (polynomials, RBFs, and Koopman autoencoders) does not consistently beat a plain affine corrector. However, giving the corrector access to the world model's hidden state improves prediction in 11 of 12 robot–condition pairs.
- Correction can backfire at long horizons: Because predicted errors and states feed back into subsequent steps, inaccuracies can compound. On rough terrain or slopes, correction actually becomes harmful (negative gain) at longer horizons—for example, after 24 steps on the ANYmal slope or 27 steps on Go1 rough terrain.
- Better forecasting $\neq$ better control: Improved predictions don't automatically yield better robot behavior. In Franka FR3 planning, correction cuts unsafe plan acceptance, but closed-loop collision reductions mostly appear under compliant control (half stiffness) or slower replanning (0.2 s); stiff, fast-replanning controllers already avoid most collisions. Similarly, in PPO policy adaptation, correction helps with a frozen model and short (24-step) imagination, but retraining the model or extending imagination to 64 steps erases the extra advantage.
Key Results
- Quadruped forecasting: Under a held-out policy, affine RLS reduces 50-step cumulative squared base-state error ($G_{50}$) by 62% on ANYmal D and 49% on Unitree Go1. Under moderate friction ($\mu=0.5$), Go1 gains 75% over 50 steps, while ANYmal gains 25% at 24 steps (dropping to 6% at 50).
- Franka FR3 planning: Affine RLS drops 0.5 s payload-position error from 2.98 cm (frozen) to 1.37 cm, and cuts unsafe plan acceptance from 7.10% to 0.31%. Across 1,440 loaded episodes, collisions drop from 397 (frozen) and 59 (EMA bias) to 3 (affine RLS).
- PPO policy adaptation: With a frozen model and 24-step imagination, polynomial RLS boosts ANYmal final return by +9.5 ($\mu=0.5$) and +17.3 ($\mu=0.3$) over the uncorrected frozen model. Across 2,560 evaluation episodes per method, it lowers fall rates by 38% ($\mu=0.3$) and 54% ($\mu=0.5$) on ANYmal, and by 23% on Go1.
Limitations and Future Work
- Simulation only: All results are in simulation; real-robot validation remains future work.
- No safety guarantees: Neither the corrector nor an optional horizon-dependent switch guarantees accuracy or collision-free behavior.
- Fixed dictionaries: The feature dictionaries themselves are fixed during adaptation; adapting the dictionary online is left for future work.
Summary updated