ETH Zurich trains legged robots inside a learned world model
In short
- What it is: ETH Zurich's Robotic Systems Lab has published terrain-grounded imagination (TGI), a way to teach a legged robot to walk by letting it practise inside a learned world model instead of only inside the physics simulator. The model learns just how the robot reacts to the ground; the ground itself is read from the simulator's known terrain.
- The result: for the same number of training iterations, the authors say TGI takes 6.1 times less time for a humanoid (4.9 hours against 29.9) and 4.9 times less for a four-legged robot (5.0 hours against 24.4) than PPO, the standard method. Success rates match or beat PPO, but the humanoid falls more often. The code is open under the MIT licence; it is a preprint.
6.1x less training time, humanoid, same iterations; 4.9x less training time, quadruped, same iterations; 91.8% vs 84.9% humanoid success, TGI vs PPO, Newton test; 0.64 s length of each imagined rollout (32 steps)
How do you train a walking robot faster?
Most walking robots today learn by reinforcement learning in simulation: thousands of simulated copies of the robot try to move, are rewarded for progress and penalised for falling, and a method called PPO slowly improves the controller. It works, but it asks the simulator for a new state at every step, up to billions of times, which is where the time goes.
A world model is a second, learned stand-in for the simulator: a neural network that predicts what happens next. If the controller can practise partly inside it, fewer real simulator steps are needed. The catch, the paper notes, is that such a model normally also has to predict the terrain and what the robot's sensors would see of it, which is hard.
What is new in terrain-grounded imagination?
The paper's observation is simple: in simulation the terrain is generated before training, so it is already known. Heyrman and Hutter's TGI therefore makes the world model learn only the robot's response to the ground around it. Everything else is looked up from the simulator's terrain geometry through differentiable lookups:
- Rewards and terminations: computed from the terrain, not predicted, so edges and gaps stay exact in the imagined rollouts.
- Perception: what the robot "sees" is also read from the terrain. Change the terrain or the sensor and you change the lookup, not what the model has to learn.
- Training loop (README): from simulator states, the controller rolls the world model forward 32 steps (0.64 seconds) and is updated by sending the imagined reward back through the model and the lookups.
- Gradient cut: where an imagined foot lands on poorly supported ground, such as a step edge, the learning signal is unreliable. TGI cuts it there and lets a learned value estimate take over; the authors say this reduces falls.
- Contact forces: the model also predicts the force on every body part, so the controller can be penalised for hard impacts it only imagines.
The team tested two robots: the Unitree G1 humanoid with 2.5D terrain (a height map), and the ANYmal-D quadruped, which climbs, uses its knees and body against walls, and so needs full 3D terrain. A 3D version for the G1, using a laser-scan view, also learns to duck under bars and low ceilings.
What are the numbers, and what is the catch?
The speed-up is per equal number of iterations on the same GPU, not time to reach the same skill. TGI also does less simulator work per iteration: 2.5 steps per environment on average against PPO's 24, which is 9.6 times fewer simulator transitions. On ANYmal-D, the paper says TGI reaches PPO's final curriculum level with about 10 times fewer transitions (0.23 against 2.36 billion).
Success rates are means over five training seeds. Four caveats belong beside those figures:
- More falls. The humanoid falls more often than the PPO one, most on sparse terrain such as stepping stones (20.3% against 15.1% of episodes in the README table). PPO's policies are more cautious.
- Outside the training simulator, the margin shrinks. In a second simulator, PhysX, the G1 scores 86.5% against 85.1% for PPO. For ANYmal-D, TGI loses 9.4 points moving from Newton to PhysX and PPO 4.8.
- Where the model is unsure, it fails. On soft ground and with a heavier load, the world model's error grows (6.6 and 5.3 times) and TGI falls 5 and 9 points more often than PPO.
- Fair-comparison limits. The humanoid setup was tuned for PPO, the quadruped's for TGI. The PPO baselines use existing settings, and TGI was not compared with other model-free methods or with a differentiable simulator.
The paper also says TGI cannot use a training curriculum that changes the robot's dynamics, because the model must learn them, and that its predicted contact forces underestimate impacts.
Does it work on a real robot?
On hardware, the G1 policy climbs a steel staircase and crosses two stacked mattresses, a soft surface the world model could not represent and that was not in training. A person held a safety strap without pulling on it. That is two demonstrations, not a success rate; the quantitative tests are all in simulation.
How open is it?
The code is on GitHub under the MIT licence, copyright ETH Zurich, with training, export and evaluation scripts for the G1 (2.5D and 3D) and ANYmal-D. It runs on Isaac Lab 3.0 with the Newton physics engine. The README gives the defaults: the 2.5D G1 trains 8,192 environments for 40,000 iterations in about 7.5 hours on an RTX PRO 6000, the 3D G1 takes 12.1 hours on an RTX 5080 (16 GB), and ANYmal-D about 5.6 hours. The README time for the G1 differs from the paper's 4.9 hours, and we did not find what causes that. We saw no separate pretrained-weights download; the ANYmal-D robot model and its actuator network are fetched from Isaac Lab's asset server. The README's images and videos have no licence of their own that we read, so we do not reuse them.
All figures are the authors' own, from a preprint that has not been peer reviewed. Speed is compared at equal iteration counts, and the hardware evidence is two short demonstrations.
Terms in plain English
Where things stand
The authors list replacing the known terrain with the robot's own elevation map as future work: that would let the world model be refined on real-world data. For now TGI depends on simulator terrain, so it is a faster way to train in simulation, not yet a way to learn from the real world.
Official channels of ETH Zurich Robotic Systems Lab: Website · LinkedIn · X · YouTube
Sources
- Terrain-Grounded Imagination: A Recipe for Training Perceptive Legged Locomotion through a World Model, arXiv, 30 Nov 2026
- terrain-grounded-imagination, README and MIT licence, ETH Zurich Robotic Systems Lab
Sources
- Terrain-Grounded Imagination: A Recipe for Training Perceptive Legged Locomotion through a World Model
- terrain-grounded-imagination (code, README)
Related stories
- Berkeley AI Research releases FantasticML, a 48-task agent test
- Kyutai cuts Pocket TTS word errors 32% using RL fine-tuning
- Autonomous releases Harness, an open app for coding agents
- Google Research trains a reasoning model from Q&A pairs alone
- NVIDIA releases FailureGen, a model for robot-failure videos
- Skild AI's Steel robot simulator now runs natively on Apple silicon Macs
More from Robot Learning
- NTU S-Lab releases RoMA-27B, an open robot-control model
- Peking and Stanford train one layer of a robot model to match full RL
- BAAI releases Innata-0, an open robot model with a planning agent
- Ai2 releases RoboTrack, a harder test for robot point trackers
- BAAI releases HumanCOIN, a first-person dataset of object handling