# Watch Your Step: Anticipated Perception for Humanoid Locomotion

Robotics.world

> Perceptive locomotion policies are usually fed a dense robot-centric elevation map (in this work, 693 height cells covering 1.6 m × 1.0 m), even though only the terrain where the feet will land…

**arXiv**: 2610.29612 · Preprint · not peer-reviewed

**Published**: 2026-10-21

**Authors**: Matthias Heyrman, Chenhao Li, Ioannis Dadiotis, Marco Hutter

## In plain words

Perceptive locomotion policies are usually fed a dense robot-centric elevation map (in this work, 693 height cells covering 1.6 m × 1.0 m), even though only the terrain where the feet will land actually matters for the next step. Learned encoders have to figure out which parts of that map are relevant while simultaneously learning to walk, which slows training and makes generalization harder.

## AI summary

## Overview

**Research area:** Legged robotics — perceptive locomotion for humanoid robots, combining deep reinforcement learning with terrain perception (elevation mapping).

**Technical level:** Intermediate. The paper assumes familiarity with reinforcement learning for locomotion (PPO, reward terms, terrain curricula, sim-to-real), but its central idea is easy to state: only show the policy the ground it is about to step on.

**Scope:** The paper proposes a lightweight, self-supervised foothold predictor that gates a humanoid's elevation-map input down to small patches around the robot's next two predicted foot placements, and evaluates the resulting policy in simulation against five baselines and on a Unitree G1 in indoor and outdoor hardware tests.

## What This Paper Is About

Perceptive locomotion policies are usually fed a dense robot-centric elevation map (in this work, 693 height cells covering 1.6 m × 1.0 m), even though only the terrain where the feet will land actually matters for the next step. Learned encoders have to figure out which parts of that map are relevant while simultaneously learning to walk, which slows training and makes generalization harder. The authors instead predict where the robot's next two footholds will be from proprioception and the velocity command alone, and sample the elevation map only in small patches around those predictions before the policy ever sees it.

## Key Contributions

1. **A self-supervised foothold prediction model (FPM)** that predicts the next two footholds as planar positions in the base frame from a 70-dimensional proprioceptive state and velocity command only — it never observes the elevation map or its own previous output — and is co-trained on rollouts of the current locomotion policy.
2. **A human-inspired perceptive locomotion pipeline** in which the elevation map is sampled as two 7×7 patches (0.35 m squares) centered on the FPM's predicted footholds, reducing the exteroceptive input from 693 cells to 102 values, together with analysis of key design choices such as prediction horizon and patch encoding.
3. **Simulation and hardware experiments** comparing against full-map, alternative-sampling, and encoder-based baselines, showing faster learning, better performance on sparse terrain, and zero-shot transfer to a Unitree G1 humanoid.

## Main Findings

- **Faster learning:** The FPM policy reaches terrain curriculum level 5 after 7.5k iterations, versus 26.1k for the full-map baseline (HM), 25.2k for HM CNN, 27.6k for Wild, 37.9k for Naive, and 20.0k for AME2 — a 3.4–3.5× speedup over full-map methods and 2.7× over the attention-based encoder. Overall convergence occurs after roughly 15k iterations for FPM. The abstract summarizes this as reaching a given terrain difficulty in roughly a third of the iterations required with the complete map.
- **Cheaper than attention:** AME2 ends marginally above FPM at 40k iterations, but requires four GPUs and 6.3 s per policy update versus 0.55 s on a single GPU for FPM, with equal rollout collection time. FPM also shows one seventh of the seed-to-seed spread at 40k iterations.
- **Best on sparse training and OOD terrain:** In the locomotion test (8 m tiles), FPM achieves the highest success on training terrains (84.6%), the best results on stepping stones (80.2%) and gaps (77.7%), and the lowest fall rate on OOD terrain (5.2%). AME2 leads on aggregate OOD success (83.6% versus 83.1%), including sparse pallets (87.1%), and has a lower training-terrain fall rate (2.4%).
- **Clear advantage in narrow corridors:** In a 1.3 m wide corridor test, FPM has the highest overall success (89.2%) and the best sparse-terrain success (74.2%), with AME2 second (71.7%). All other methods cover less than half the commanded distance on sparse corridor terrain.
- **The placement matters, not the size:** Wild and Naive sample as many heights as FPM or more, but around the current feet or along the commanded direction respectively, and both perform worse than the complete-map baseline on the locomotion test.
- **Emergent caution on hardware:** On a Unitree G1, the policy slows down before crossing a 0.55 m gap and before a 0.6 m drop (both outside the training distribution), lowering its body and stepping off with one foot forward to catch itself. It also traversed an outdoor staircase with 18 continuous steps.
- **Two-step horizon is the sweet spot:** FPM1 (latest plus next foothold) drops to 62.2% sparse corridor success versus 74.2% for FPM2; FPM3 (second and third future footholds) shows lower overall locomotion success and a third-step prediction error of roughly 22 cm, approximately the length of the G1 foot. Prediction error grows roughly linearly at about 6 cm per step, and the G1 foot is 20.8 cm long and 7.6 cm wide.
- **Patch encoding is largely unnecessary:** Adding a CNN encoder to the sampled patches gives FPM CNN the lowest fall rates (1.4% training, 4.0% OOD) but does not beat plain FPM overall, suggesting the sampled patches already form effective features.

## Methodology in Plain English

The system has two learned pieces that are trained in alternation.

**The predictor.** A small neural network (two hidden layers of width 128) takes the robot's own state — velocities, gravity direction, the commanded velocity, joint positions and velocities — and outputs where the next two foot landings will be, relative to the body. Training labels come for free: during simulation rollouts the authors detect each new foothold from foot contact indicators and, after the rollout, pair every past state with the next two footholds that actually followed it. Windows whose labels would fall past a fall or termination are masked out, but pre-fall states whose footholds still occurred are kept, so the predictor stays accurate for unstable gaits.

**The filter.** Each predicted foothold is rounded to the nearest cell of the elevation map, and a 7×7 patch of heights is cut out around it. Those two patches, each preceded by its predicted coordinate, replace the full map as the policy's terrain input. Random offsets of ±0.05 m on the sampled patches and noise of ±0.1 m on individual heights prevent the policy from over-trusting the exact query point.

**The alternation.** At the start of training the policy cannot walk, so predictions are pinned directly beneath the body for the first 500 iterations. After that, every 500 PPO iterations, the authors roll out the current policy to collect 5×10^5 transitions, relabel them with true future footholds, retrain the predictor from scratch for 25 epochs, and hot-swap it into the observation pipeline. Retraining from scratch rather than fine-tuning prevents the predictor from inheriting a stale gait.

**The training setup.** The policy is trained with PPO in IsaacLab across 8192 parallel environments on a 29-DoF Unitree G1, with physics at 200 Hz and control at 50 Hz. An asymmetric critic sees the complete 693-cell map during training, so the full map informs value estimation but is not needed at deployment. Terrains are procedurally generated with 10 difficulty levels dominated by stepped and sparse geometry, and an assistive upward force is applied at low terrain levels to give the policy room to learn mid-air foot adjustment.

## Why This Matters

This paper reframes perception for legged locomotion as an input-selection problem rather than a representation-learning problem. Instead of asking a network to compress a dense map and hoping it learns what matters, the authors use the robot's own predicted gait to decide what to look at. The result is a policy that trains several times faster, runs at a fraction of the compute cost of an attention-based encoder, and is measurably better on exactly the terrains where the choice of foothold is critical.

**Real-world applications:**

- **Search-and-rescue and disaster response**, where humanoids must cross rubble, gaps, and broken stairs where valid footholds are sparse and dense mapping may be unreliable.
- **Industrial inspection and maintenance**, including walking through narrow plant corridors, climbing stairs, and stepping over pipes and pallets.
- **Construction and logistics sites** with irregular stepping-stone-like geometry such as scattered materials, pallets, and trenches.
- **Assistive and service robots in homes**, where stairs, thresholds, and clutter require careful foot placement with limited onboard compute.

**Industry relevance:** The method cuts the exteroceptive input by a factor of roughly seven (693 cells to 102 values) and reduces per-update training time by more than an order of magnitude relative to the attention baseline, which matters for teams training policies on limited GPU budgets. Because the predictor is a small MLP conditioned only on proprioception and the velocity command, it also imposes essentially no inference overhead on the robot's onboard computer.

## Future Directions

- **Active depth-based perception:** Replacing the elevation map with a depth sensor that is actively pointed at the predicted footholds, rather than filtering a pre-built map, so the system no longer depends on an elevation-mapping pipeline.
- **Handling laterally approaching obstacles:** The authors note that their corridor walls run parallel to the commanded path, so obstacles entering from the side would reach the patches late or not at all. Testing and extending the method to such cases is an open problem.
- **Longer and adaptive horizons:** Prediction error grows roughly 6 cm per step and the third-step prediction is already about a foot length off, so improving far-horizon prediction or making the horizon adaptive to terrain difficulty is a natural extension.
- **Manipulative locomotion:** Using predicted hand and foot contacts jointly to guide which points the policy observes when arms and legs are both used for support.

## Target Audience

Robotics researchers and graduate students working on perceptive locomotion, reinforcement learning for legged robots, and sim-to-real transfer. It is also useful for engineers building humanoid or quadruped products who need a cheap, deployable alternative to dense-map encoders or attention-based terrain encoders. Readers without a background in RL-based locomotion will find the high-level idea accessible, but the evaluation and training details assume familiarity with PPO, terrain curricula, and elevation mapping.

## Authors’ abstract

Perceptive locomotion policies typically observe a dense robot-centric elevation map, although only the terrain beneath and around the next footsteps informs the control decision. Learned encoders compress the whole visual input, leaving the policy to work out which inputs matter while learning the baseline locomotion task. Learning both at once slows training and, without computationally expensive attention mechanisms, makes generalization to new terrain harder. We instead…

[The full abstract on arXiv](https://arxiv.org/abs/2610.29612)

[Read the original paper](https://arxiv.org/abs/2610.29612)

## Related papers

- [Learning Agile Humanoid Dodgeball with Onboard Monocular Vision](https://robotics.world/paper/learning-agile-humanoid-dodgeball-with-onboard-monocular-vision-2611.01197) 2026-10-31 · cs.RO · Also by Chenhao Li, Marco Hutter +1
- [Vision as Proprioception: Estimating Humanoid Robot Pose from Video](https://robotics.world/paper/vision-as-proprioception-estimating-humanoid-robot-pose-from-video-2610.25288) 2026-10-18 · cs.RO · Also by Marco Hutter, Matthias Heyrman
- [HOI-Retarget: Contact-Centric Retargeting for Human-Object Interaction](https://robotics.world/paper/hoi-retarget-contact-centric-retargeting-for-human-object-interaction-2609.34674) 2026-09-28 · cs.RO · Also by Marco Hutter, Matthias Heyrman
- [RangeNav: Task-Aligned LiDAR Range-Image Pretraining for Robot Navigation](https://robotics.world/paper/rangenav-task-aligned-lidar-range-image-pretraining-for-robot-navigation-2610.29845) 2026-10-21 · cs.RO · Also by Marco Hutter
- [RESPLE2: Inertial-Informed Recursive Non-Uniform Spline Estimation for Multi-Sensor Odometry with Global Refinement](https://robotics.world/paper/resple2-inertial-informed-recursive-non-uniform-spline-estimation-for-2610.37602) 2026-10-27 · cs.RO · Also by Marco Hutter

---

Canonical: https://robotics.world/paper/watch-your-step-anticipated-perception-for-humanoid-locomotion-2610.29612
