Terrain-Grounded Imagination: A Recipe for Training Perceptive Legged Locomotion through a World Model
Matthias Heyrman, Marco Hutter
ETH Zürich
Published November 30, 2026 · on the feed December 1, 2026 · arXiv 2611.41771
The abstract
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 learn, 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 simulation. We present terrain-grounded imagination (TGI), in which the world model only learns how the robot responds to a pre-generated terrain, and rewards, terminations, and robot perception are computed from differentiable queries of the terrain geometry. 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 falls. 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.1x less time for humanoid locomotion on 2.5D terrain and 4.9x less time for contact-rich quadruped locomotion, for which PPO uses default settings.
The Brief
2:51A short podcast summary of the paper. Written and voiced by AI.
Transcript
Terrain-Grounded Imagination. A Recipe for Training Perceptive Legged Locomotion through a World Model. By Matthias Heyrman and one other, from ETH Zurich. Published on the thirtieth of November.
Teaching a legged robot to walk over terrain it can see is expensive with model-free reinforcement learning. The simulator is queried up to billions of times, computing a state transition at every time step. A world model offers a way out: it is a learned, differentiable transition function that needs fewer simulator steps to learn, and model-based reinforcement learning uses it to cut collection time. But a world model for this task would normally also have to predict the ground the robot walks on, and what the robot's sensors would perceive of it. That is a lot to learn, and in simulation some of it is redundant. The terrain is generated before training starts, so it is already known.
Terrain-grounded imagination, or TGI, takes that observation at its word. The world model learns only one thing: how the robot responds to a terrain that has already been generated. Everything else is computed rather than learned. Rewards, terminations, and the robot's perception all come from differentiable queries of the terrain geometry. The consequence is a clean division of labour. A new terrain, or a change in how the robot perceives, changes the query, not what the world model has to learn.
Policies are trained on 3D terrains that call for contact-rich locomotion in order to climb, and the authors show 3D perception being used to pass under overhangs. Climbing and ducking under an overhang are exactly the cases where what the robot perceives of the terrain shapes what it has to do, and under TGI that perception is a query against geometry that already exists, not something the world model must imagine.
Two further details matter. The first concerns rewards. When the world model predicts the contact force on every single body of the robot, rewards defined on contact forces become available inside imagination too, so the policy can be shaped on contact while it trains against the learned model. The second concerns gradients. The terrain queries are differentiable, and where the terrain has an edge, the authors cut the gradient. Doing so reduces falls.
The comparison is against training in simulation with proximal policy optimization, or PPO. TGI policies match or exceed its success rate, though the humanoid falls more often under TGI. For the same number of training iterations, TGI takes six point one times less time on humanoid locomotion over two point five D terrain. On contact-rich quadruped locomotion it takes four point nine times less, and there PPO uses its default settings. So the picture is a trade: comparable or better success, and a large cut in training time, with more falls on the humanoid as the cost the authors report.
The recipe rests on not asking a model to learn what the simulator already holds. The terrain is known before training, so it stays a known quantity that is queried, and the learned part shrinks to the robot's own response. That split is what lets perception and terrain change without changing what the world model has learned.
More with an account
Listen to every day’s papers
Daily playlists, deep dives, quests for the papers, and quizzes on their key terms.
Join free