Terrain-Grounded Imagination: A Recipe for Training Perceptive Legged Locomotion through a World Model
Abstract
Terrain-grounded imagination enables faster reinforcement learning for legged locomotion by learning only robot responses to pre-generated terrain and computing rewards, terminations, and perception from differentiable terrain queries.
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.
Community
Terrain-Grounded Imagination trains perceptive locomotion policies entirely inside a learned world model. The terrain is generated before training and is looked up as an input to the world model, so it does not have to predict it, it only learns how the robot responds, and rewards, terminations, and the policy's perception come from these differentiable look-ups. New terrain only changes the query, and it supports multiple vision modalities and training setups.
We present humanoid (G1) and quadruped (ANYmal-D) policies match or exceed the success rate of PPO trained in simulation. The humanoid falls more often than with PPO. For the same number of iterations, training takes 6.1x less time for humanoid locomotion on 2.5D terrain and 4.9x less for contact-rich quadruped climbing.
We also show extensions. An impulse world model predicts the contact force on every body, so force penalties work in imagination. We also train the G1 using voxel perception to duck under overhangs, showing how different vision modalities can benefit from training using TGI.
The G1 policy also runs on hardware tested on various terrains, including stairs and soft terrain.
Code and project page: https://github.com/leggedrobotics/terrain-grounded-imagination
Questions welcome!
Get this paper in your agent:
hf papers read 2611.41771 Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper