Robot Learning and Sim-to-Real: How a World Model Helps a Humanoid Walk on Stepping Stones
Instead of choosing the next step only from what it has already seen, WM-LOCO teaches a humanoid to anticipate where each step will take it, trained entirely in simulation and deployed zero-shot on real hardware.

Crossing a row of stepping stones leaves a humanoid robot with almost no margin for error. On flat ground, a slightly misplaced foot can be corrected on the next step. On sparse, narrow footholds, a few centimeters of drift can mean stepping into space, and by the time the robot notices, it has often already lost its balance.
That raises a simple question for anyone working on robot learning: Can a robot anticipate the outcome of its next move before taking it?
WM-LOCO (World-Model-Augmented Visual Locomotion), developed by researchers at D-Robotics, is built around that question. It trains a predictive world model and a reinforcement learning policy together in simulation, then deploys the same weights zero-shot on a real humanoid. Instead of choosing the next step solely from what it has already seen, the robot learns to anticipate the effects of its next action.
This article covers how WM-LOCO works, why its approach matters for sim-to-real transfer, and what the simulation and real-robot results show.
Key Takeaways
- WM-LOCO trains a recurrent world model and a PPO locomotion policy end to end, in a single training process, for humanoid walking on foothold-constrained terrain.
- It uses no foothold labels, no terrain map, no teacher-student distillation and no separate pretraining stage. The inputs are proprioception and a single onboard depth image.
- In simulation, WM-LOCO averages 94.8% success across stairs, gaps, stepping stones and balance beams. A PPO baseline with the same rewards, sensors, and network, but without the world model, fails on every terrain except stairs.
- The same weights transfer zero-shot to a Unitree G1 humanoid, succeeding in 37 of 40 real-world trials (92.5%), including crossing a 0.8 m gap in a single stride.
- D-Robotics has also run WM-LOCO live, in public, on a humanoid powered by its Sunrise compute platform, with perception, world modeling and whole-body control running in real time on the robot.
Resources: Paper on arXiv · Project page

Robot Learning and Sim-to-Real: The Basics
Robot learning is the practice of teaching robots skills from data and experience instead of hand-coding every behavior. Two approaches dominate. In imitation learning, a robot copies demonstrations. In reinforcement learning (RL), it improves through trial and error, guided by a reward signal.
For legged locomotion, reinforcement learning in robotics usually happens in simulation. A physical humanoid can't safely fall thousands of times a day, but a simulated one can, and robot simulation lets thousands of copies train at once. In WM-LOCO's case, training runs in Isaac Lab with 8,192 Unitree G1 environments in parallel on a single 48 GB workstation GPU, across procedurally generated stairs, gaps, stepping stones and balance beams.
The hard part is sim-to-real transfer: getting a policy trained in simulation to work on a real robot. Simulated physics, contacts and sensors never match reality exactly, and that mismatch is the sim-to-real gap. Depth cameras add noise, motors behave differently under load, and real terrain is never as clean as a procedurally generated mesh.
Zero-shot sim-to-real means the policy goes onto the real robot with no further training or fine-tuning on hardware. That is the bar WM-LOCO sets for itself, and it makes the method relevant beyond humanoid walking.
Why Learning From the Past isn't Enough on Complex Terrain
A typical visual RL locomotion policy takes in current and recent camera frames plus the robot's proprioception (joint positions, velocities, IMU readings) and outputs joint commands at each control step.
These history-based policies can see what the robot has already been through. From a stack of frames or a short window of body states, they can infer how the robot has been moving and how the terrain has been changing, and act on that.
The limitation is that everything they use is in the past tense. Nothing in the training objective forces the policy to model how a given action will change the future state of the robot and its surroundings. On flat or regular ground, this rarely matters. On stepping stones, gaps, narrow stair treads and balance beams, where footholds are tightly constrained, it matters a great deal.
Walking over difficult terrain is not a series of independent steps. Where the current foot lands affects the robot's center of mass, its support polygon, the swing leg's trajectory and which footholds are reachable next. A step that looks fine right now can leave the robot with nowhere to go one step later.
So the robot needs to know what has happened, and it also needs a working answer to a second question: if I take this action, what is likely to happen next?
What a Robotic World Model Adds
WM-LOCO takes input from a head-mounted depth camera and the robot's proprioception, and uses a recurrent world model to learn, in latent space, how the robot, its actions and the environment evolve together.
This world model is not meant to produce video of the future for people to watch. Its job is to learn a compact representation of what is about to happen, one that is fast enough to support real-time control. At every step, it is effectively answering three questions:
- What state are the robot and the terrain in right now?
- After this action, how will what the robot sees and feels change?
- Will that change help or hurt the next few steps?
Architecturally, WM-LOCO uses a recurrent state-space model (RSSM), the same family of world models introduced in PlaNet and later used in the Dreamer agents:
- A deterministic memory carries history forward through time and is updated with each action.
- A stochastic latent state captures what the current observation reveals. A posterior infers it from memory plus the current observation; a prior has to predict it from memory alone.
- Prediction heads reconstruct proprioception, the depth image and the reward.
- A KL term pulls the prior toward the posterior. That pressure forces the memory to hold information that predicts what the robot is about to observe, not just what it has already observed.
The policy receives a projection of that memory as an extra input. On top of the steps, obstacles and footholds visible in the current depth image, and on top of its own short proprioceptive history, the policy now gets a forward-looking signal about how the robot's state is likely to evolve.

This is the core difference between WM-LOCO and a policy that simply stacks more frames. Observation history tells the policy what already happened. The world model learns how observations, actions and future states relate, so the policy can reason about what is likely to happen next.

One practical detail matters for deployment: WM-LOCO does not run imagined rollouts at inference time. The predictive knowledge is already compressed into the recurrent memory during training, so the deployed controller makes a single forward pass per step. That keeps the extra compute small enough to run on board a humanoid.
One Training Loop: World Model and Policy Trained Together
Many approaches to rough-terrain locomotion split the problem into separate modules: perception, foothold planning, trajectory generation, a privileged teacher policy and low-level control.
Some first train a teacher with full access to ground-truth terrain, then distill it into a student that only sees onboard sensors. That works, but the training pipeline gets longer, there is more hand-engineering, data is more expensive to build, and errors can compound as they pass from one module to the next.
WM-LOCO takes a more direct route. The world model and the locomotion policy are optimized together, in the same update. The PPO loss and the world-model loss are combined, and world-model gradients flow back into the depth and proprioception encoders the policy also uses. A mixture-of-experts backbone fuses the world-model feature with the policy's own inputs and feeds the actor and critic heads.
What the pipeline leaves out is just as important:
- No hand-labeled footholds or pre-planned foot trajectories
- No terrain height map at deployment
- No teacher-student distillation stage
- No separate world-model pretraining or offline replay buffer
Everything from depth pixels to joint commands is learned in one training process. The world model is not there to reconstruct images for its own sake. Its only purpose is to help the policy make a better next move.
Simulation Results: Higher Success, Smoother Gait
The team compared WM-LOCO with a PPO baseline that shares the same rewards, perception inputs, encoders, motion prior, mixture-of-experts actor-critic and training budget. The only thing it lacks is the world-model pathway and its loss. The paper also reports two recent visual locomotion methods, GLAD and CReF, as additional baselines.
Terrain (mean of easy / medium / hard) | PPO baseline | GLAD | CReF | WM-LOCO |
|---|---|---|---|---|
Stairs | 89.9% | 81.4% | 83.7% | 94.0% |
Gaps | 0.0% | 91.9% | 57.3% | 96.0% |
Stepping stones | 0.0% | 49.4% | 92.3% | 96.9% |
Balance beam | 0.0% | 63.2% | 77.0% | 92.1% |
Simulation success rates from the WM-LOCO paper (arXiv:2609.02542v2, Table I).
The pattern is clear. As footholds get sparser, narrower and less continuous, a policy that relies only on observation history starts to struggle. It plants its feet too early, probes repeatedly, falls out of rhythm between left and right legs, and takes steps that work locally but leave no good next step. On gaps, stepping stones and balance beams, the PPO baseline never learns a reliable crossing at all.
With the world model added, success rises to between 92% and 97% on every terrain, and to 95.4% on a combined course that chains all four terrains in one episode. The improvement isn't only in success rates. The robot makes fewer abrupt corrections and less hesitant, stuttering steps. Its swing, foot placement and weight transfer read as one continuous motion, its left and right legs stay in rhythm, and on stairs it takes longer, more efficient strides. The gait looks more deliberate and closer to how a person walks.
Stepping stones
Stairs
Gap
Zero-Shot Sim-to-Real on a Unitree G1
The real test of any robot learning method is hardware. WM-LOCO was deployed on a Unitree G1 humanoid with the same weights trained in simulation, with no fine-tuning on the real robot. Its only sensors were one head-mounted depth camera and the robot's own proprioception. It had no offboard perception, no terrain map and no additional state estimator.
Real-world terrain | Course | Success |
|---|---|---|
Stepping stones | 0.25 m stone tops, 0.45 m spacing | 10 / 10 |
Stairs | 0.15 m risers, 0.25 m treads | 9 / 10 |
Gap | 0.80 m wide | 9 / 10 |
Balance beam | 3 m long, 0.10 m wide | 9 / 10 |
Total | 37 / 40 (92.5%) |
The 0.8 m gap stands out. The robot clears it in one complete swing, stride and landing. For safety, the team did not test wider gaps on hardware. Even so, 0.8 m is a long crossing distance for a real humanoid compared with what has been shown in published work.

Beyond the Demo Reel: A Live, Public Run
Most locomotion work is shown through curated videos, which rarely tell you how a method holds up from one run to the next.A live demonstration is a different test. The robot has to cope with real sensor noise, changing hardware conditions and lighting, and a single attempt with no retakes. Any perception or control error happens in front of the audience.At a recent D-Robotics media briefing, a humanoid running WM-LOCO walked a stepping-stone course live, with the whole loop running in real time on the robot: visual perception, world modeling and whole-body control, powered by D-Robotics' Sunrise compute platform.
Running in public, on a robot, with no edits, asks more of a method's stability, latency and deployment reliability than a video does. It is good evidence that WM-LOCO works as an engineering system, not just as a benchmark result.
What This Means for Robot Learning Teams
WM-LOCO is a locomotion paper, but several of its design choices apply well beyond humanoid walking:
- Prediction can stand in for privileged information. Teacher-student distillation exists because onboard sensors can't see everything. A jointly trained world model offers another route: instead of copying a teacher that saw more, the policy learns to anticipate what it is about to see.
- Auxiliary losses should serve control. The world model in WM-LOCO is judged only by whether it improves the policy. Coupling the two in one update keeps representation learning focused on what matters for the task.
- Keep inference cheap. Because the predictive knowledge lives in a recurrent state rather than in rollouts computed at test time, the deployed policy fits real-time, onboard compute budgets. That makes it practical on the edge AI hardware that real robots carry.
- Test sim-to-real claims in the open. Zero-shot transfer measured across repeated trials, and a live run with no retakes, is a stronger standard than a highlight reel.
If you are building perception and control stacks for your own robots, see our guide to robot development kits and our overview of edge AI hardware for robotics. For depth perception on the edge, read about X-Lens, D-Robotics' open-source model for real-time metric depth estimation. For high-performance embodied AI development, explore the RDK S100 and the RDK documentation.
Webinar: World Models for Humanoid Locomotion
Want to take a deeper look at the research behind WM-LOCO? Watch the full webinar featuring Yuxi Liu, a robotics researcher at D-Robotics, as he walks through the approach in detail, covering how the world model and locomotion policy are jointly trained, how predictive information supports humanoid locomotion, and how the approach is evaluated in both simulation and real-world tests.
This session is part of D-Robotics Frontier, our technical webinar series covering cutting-edge robotics research, advanced algorithms, and emerging technologies in embodied AI. If you find this content valuable, feel free to share it with others who may benefit from these insights. Stay tuned for more D-Robotics Frontier sessions.
Citation
Yuxi Liu, Lijun Han, Ziming Wang, Ao Zhang, Cong Yang, Wei Sui. World-Model-Augmented Visual Locomotion for Humanoids on Foothold-Constrained Terrain. arXiv:2609.02542, 2026. https://arxiv.org/abs/2609.02542
