ETH Zurich trains legged robots inside a learned world model

In short

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:

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:

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

Sources

Related stories

More from Robot Learning

All stories from Robot Learning