Read the paper
Terrain-Grounded Imagination: A Recipe for Training Perceptive Legged Locomotion through a World Model
on GitHub
A learned world model for legged locomotion skips re-predicting the terrain by querying the known geometry directly. This trains perceptive policies 5–6× faster than PPO, matching or exceeding its success rate on stairs, gaps, and climbs.
| TGI | PPO | ||||
|---|---|---|---|---|---|
| success | falls | success | falls | ||
| Newton | Locomotion | ||||
| Held out | |||||
| Sparse | |||||
| PhysX | Locomotion | ||||
| Held out | |||||
| Sparse | |||||
| Newton | PhysX | |||
|---|---|---|---|---|
| TGI | PPO | TGI | PPO | |
| All | ||||
| Climb | ||||
| Stairs | ||||
| Stones | ||||
| Pit | ||||
| Gap | ||||
| Boxes | ||||
Going deeper

Imagine teaching a dog to walk across a rocky field. Normally, you'd have to simulate the whole field billions of times—every pebble, every slope, every footfall—just so the dog's brain can try different steps. That's what standard robot training does: it re-creates the entire world from scratch at every tick of a clock.
This paper says: the rocks aren't moving. The field is already laid out. So instead of learning what the ground looks like, only learn how the dog's legs respond when they push against it. When a paw comes down, just look up how high the nearest rock is and what angle it sits at. That lookup is fast and exact, because the field was drawn before training started.
There's one tricky spot: cliff edges. If a paw lands right on the rim of a rock, a tiny shift decides whether the dog steps up or tumbles off. The gradient—the signal that says which way to improve—goes haywire there. So the method notices these rim landings and stops trusting the gradient at that moment, letting a separate estimate of future success take over. The dog still falls more than with the old method, but it learns where to step in a fifth of the time.
The abstract, word for word, with the seven densest phrases unpacked.
Model-free reinforcement learning for perceptive legged locomotion queries the simulator up to billions of times to calculate state transitions at every time step. A world model is a learned, differentiable transition function that requires fewer simulator steps to learn1, and model-based reinforcement learning uses it to reduce collection time. Typically, such a model would also have to predict the environment that the robot walks on and the resulting perceptive inputs for the policy. However, the terrain is generated before training and is therefore already known in simulation2. We present terrain-grounded imagination (TGI), in which the world model only learns how the robot responds to a pre-generated terrain3, and rewards, terminations, and robot perception are computed from differentiable queries of the terrain geometry4. New terrain or perception changes the query rather than what the world model learns. Policies are trained on 3D terrains that require contact-rich locomotion for climbing, and we demonstrate using 3D perception to pass under overhangs. A world model that predicts the contact force on every body of the robot also makes rewards on contact forces available in imagination, and cutting the gradient at terrain edges reduces falls5. Compared to training in simulation with proximal policy optimization (PPO), TGI policies match or exceed its success rate, with more falls for the humanoid. Training for the same number of iterations takes 6.1× less time for humanoid locomotion on 2.5D terrain6 and 4.9× less time for contact-rich quadruped locomotion, for which PPO uses default settings7.
Two lines of work converge: world models for locomotion and perceptive legged RL.
Read four parts, in this order.
Skip Section II if you know model-based RL and perceptive locomotion.
If the speedup or the success rates are misleading, look here first.
| TGI | PPO | ||||
|---|---|---|---|---|---|
| success | falls | success | falls | ||
| Newton | Locomotion | ||||
| Held out | |||||
| Sparse | |||||
| PhysX | Locomotion | ||||
| Held out | |||||
| Sparse | |||||
Table III shows the goals reached by ANYmal-D policies trained with 3D TGI and the impulse model. Over the same number of iterations, TGI outperforms PPO at its default settings with both Newton and PhysX, with the largest gains on stairs and boxes. From Newton to PhysX, TGI loses 9.4 points and PPO 4.8, so its margin is smaller outside the training simulator, as for the G1.
The contact forces of the impulse model (2) allow rewards and penalties on forces in imagination, which we use for the impact penalty of ANYmal-D. The model predicts 99% of the simulated foot contacts, and its foot forces correlate with the simulated ones at 0.90. However, rare contacts are predicted less reliably. The model predicts 81% of the shank contacts, which occur in about 1.5% of the steps. Impacts are also underestimated. Forces above 450N (the penalty starts at 600N) are predicted at a median of 0.65× their simulated size, so a penalty on imagined forces is weaker than the same penalty in the simulator, which may account for part of the margin of TGI over PPO on ANYmal-D.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
The authors would like to thank the members of the Robotic Systems Lab for their advice during this project, and Chenhao Li for his insights into world modeling for robotics. The authors acknowledge the use of generative AI to assist with code generation and language refinement.
More latest news
Read all