# GM-Loco: Terrain-Adaptive Humanoid Locomotion on Granular Media

Robotics.world

> Walking on sand, gravel, and loose soil is hard because the ground yields, sinks, and slides in ways that rigid-contact simulators cannot reproduce, so policies trained in simulation fail on real…

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

**Published**: 2026-09-09 · revised · 2026-09-14

**Authors**: Junnosuke Kamohara, Feiyang Wu, Andy Ningan Zong, Daniel I. Goldman, Yashwanth Nakka, Seth Hutchinson, Ye Zhao

## In plain words

Walking on sand, gravel, and loose soil is hard because the ground yields, sinks, and slides in ways that rigid-contact simulators cannot reproduce, so policies trained in simulation fail on real terrain. Existing work either ignores granular physics entirely or uses a simplified normal-force model plus hand-tuned friction hacks for the sideways and tangential forces.

## AI summary

## Overview

**Research area:** Legged robotics / humanoid locomotion, contact physics modeling, and reinforcement learning (sim-to-real).

**Technical level:** Advanced. The paper combines granular contact mechanics (resistive force theory), whole-body dynamics, variational inference, and teacher-student RL; the results tables and metric definitions assume familiarity with legged-robot benchmarking.

**Scope:** A physics-grounded 3D granular contact model integrated into an RL training pipeline, plus a terrain-adaptive teacher-student humanoid controller, evaluated in MPM simulation and on real basalt, dry sand, and beach sand.

## What This Paper Is About

Walking on sand, gravel, and loose soil is hard because the ground yields, sinks, and slides in ways that rigid-contact simulators cannot reproduce, so policies trained in simulation fail on real terrain. Existing work either ignores granular physics entirely or uses a simplified normal-force model plus hand-tuned friction hacks for the sideways and tangential forces. The authors instead build a single 3D resistive-force-theory (3D RFT) contact model into an RL training environment, and add a learned terrain encoder so the humanoid can infer how soft the ground is and change its gait accordingly.

## Key Contributions

1. **3D RFT contact model in a mainstream simulator.** A contact solver derived entirely from three-dimensional resistive force theory — no ad-hoc tangential heuristics — integrated into IsaacLab for RL training, with the net foot wrench (rather than every finite-element contact point) applied to the whole-body dynamics to keep simulation cheap.
2. **Terrain-adaptive policy via teacher-student RL with a VAE encoder.** A teacher policy conditioned on a compact terrain latent, distilled into a deployable student that infers that latent from proprioceptive history alone.
3. **Terrain-dependent gait modulation.** The resulting policy produces adaptive swing foot clearance and gait frequency as terrain stiffness changes.
4. **Multi-gait humanoid demonstration.** Circular walking, running, and jumping in simulation and on real granular terrain, which the authors describe as the first demonstration of agile humanoid locomotion on real-world granular terrain.

## Main Findings

- **3D RFT best matches continuum ground truth in isolation.** In a single-rigid-body intrusion test (a 35 kg object, matching the Unitree G1's mass, initialized 0.1 m above the surface at 1.0 m/s forward velocity, with randomized grain density and friction coefficients), the proposed model reproduced MPM's horizontal travel distance and sinkage most closely. Heuristic-RFT and Cone-RFT-Multi overshot horizontal travel distance; Cone-RFT-Single slipped excessively and was dropped because its single-point contact assumption does not hold for a large humanoid foot.
- **Lateral force emerges naturally rather than from a heuristic.** Heuristic-RFT produced no lateral force response at all, because its Coulomb-type tangential term acts only along the slip direction in the sagittal plane; the 3D formulation generates lateral force intrinsically.
- **Better contact model yields better policies.** Comparing PPO policies trained with each model and evaluated on MPM poppy-seed terrain: on circular walking over flat ground, DTW path error was 0.106 ± 0.024 m (3D-RFT) versus 0.142 ± 0.026 (Heuristic-RFT) and 0.173 ± 0.034 (Cone-RFT-Multi); on rough ground, 0.141 ± 0.047 versus 0.216 ± 0.042 and 0.455 ± 0.101; on deep sand, success rate was 85% versus 3% and 8%.
- **Deep sand is where the modeling gap bites hardest.** The 30 cm deep, 20° internal friction angle sand scenario collapsed the baseline success rates (3% and 8%) while 3D-RFT held 85%, indicating that tangential intrusion dynamics, not normal force, dominate in soft ground.
- **Rigid-contact policies fail completely on soft terrain.** Across basalt, sand, and poppy seed with commands sampled from 1.0 to 2.5 m/s, the Rigid policy scored 98% success on basalt but 0% on both sand and poppy seed (tracking errors reported as N/A). The 3D-RFT PPO policy scored 100% on all three.
- **The terrain-aware student gives the best tracking accuracy overall.** On basalt: 0.29 ± 0.15 m/s velocity error and 0.93 ± 0.27° yaw error versus 0.35 ± 0.18 and 2.71 ± 0.89 for the vanilla 3D-RFT PPO policy. On sand: 0.33 ± 0.14 and 1.86 ± 0.47 versus 0.35 ± 0.14 and 2.14 ± 0.85. On poppy seed: 0.35 ± 0.14 and 2.07 ± 0.42, with the vanilla policy slightly better on yaw (1.77 ± 0.73).
- **Zero-shot terrain identification and adaptation.** The abstract reports that MPM studies with NVIDIA Newton show generalization to unseen granular terrains and zero-shot terrain identification, i.e., the student recovers terrain stiffness from proprioception without ever seeing that material in training.
- **Hardware validation across three real materials.** Experiments are reported on basalt, dry sand, and beach sand. The available text describes these as extensive, but the specific hardware success rates and tracking numbers fall in the truncated portion of the paper and are not reported here.

## Methodology in Plain English

**Modeling the ground.** Resistive force theory treats the foot as a collection of small surface patches. Each patch, while buried, pushes back on the robot with a force proportional to how deep it is and shaped by the angle between the patch, its direction of motion, and gravity. Summing these patches gives a total force and torque on the foot. The authors take the full three-dimensional version of this theory and clip the tangential component inside a friction cone. The scalar coefficients come from a third-order polynomial fit to plate-intrusion data generated in MPM simulation. The foot collider is a fixed grid of points; only points below the terrain surface are active, and their forces sum to one net wrench applied through the ankle, avoiding an oversized aggregated contact Jacobian.

**Training.** Locomotion is set up as a velocity-tracking task with 29 joint-position-offset actions relative to a nominal pose. A teacher policy sees proprioception plus privileged information (base linear velocity, global foot height, contact state, contact force, swing time, and the normalized media-dependent scaling coefficient η). A VAE encoder compresses that privileged stream into a small latent that conditions the actor; critically, the decoder is asked to reconstruct only η — the terrain's effective strength — so the latent is steered toward material properties rather than general state. The teacher loss is PPO plus VAE reconstruction and KL terms. The student, a temporal convolutional network over proprioceptive history, is then distilled with DAgger, matching teacher actions, teacher latents, and teacher decoded η.

**Scale and speed.** Training uses 4096 parallel agents on one RTX 4090 for 20,000 iterations per stage, with RL at 50 Hz and PD control and physics at 200 Hz. The soft contact model is implemented with NVIDIA Warp, reaching hundreds of thousands of frames per second. Curricula ramp command velocity and tracking reward over the first 15,000 iterations, and lower the hard-contact ground so the robot learns to walk before it learns to sink.

**Evaluation.** Policies are tested in NVIDIA Newton's MPM solver (with MuJoCo Warp handling rigid body dynamics), judged over 100 episodes on success rate, velocity error, and yaw error. Failure means dropping below 0.2 m base height, tilting past π/4 rad in roll or pitch, or not finishing within 10 s.

## Why This Matters

**Research impact.** The paper argues that the dominant workaround — brute-force domain randomization over a rigid contact model — is not sufficient when the terrain is genuinely deformable, and that a principled, computationally tractable contact model is a better inductive bias. It also offers a template for what "terrain adaptation" should mean: not just estimating height maps or friction, but recovering a physically meaningful media parameter from proprioception.

**Real-world applications.**

- Search-and-rescue and disaster response, where rubble, debris, and loose soil are the default ground.
- Construction and mining sites with gravel, tailings, and uncompacted fill.
- Agricultural and outdoor field inspection, where loose tilled soil and mud are common.
- Planetary and off-road exploration, where regolith and sand dominate and pre-mapping is impossible.
- Beach, coastal, and flood-plain patrol or survey work on dry and wet sand.

**Industry relevance.** Humanoid platforms are moving toward outdoor deployment, and locomotion stacks that only validate on flat laboratory floors or rigid terrain leave a large failure mode unaddressed. A contact model that plugs into a widely used simulator (IsaacLab) and trains at hundreds of thousands of frames per second on a single consumer-grade GPU is directly usable by teams that cannot afford particle-scale simulation.

## Future Directions

1. **Full quantitative hardware reporting.** The simulation side is measured carefully; extending the same success-rate, velocity-error, and yaw-error protocol to field trials would clarify how much of the sim performance survives real basalt, dry sand, and beach sand.
2. **Handling wet, cohesive, and mixed media.** RFT's coefficients were fitted for dry granular intrusion. Mud, wet sand, and layered ground (sand over rock, gravel over soil) are the obvious next test of whether one media-scaling coefficient suffices.
3. **Beyond stiffness as the single latent.** The decoder reconstructs only η, the effective strength coefficient. Whether the latent can be extended to carry friction angle, density, or depth-dependent layering — and whether the student can identify more than one parameter — is open.
4. **Closing the loop with perception.** The current student uses proprioception only. Exteroceptive sensing (depth cameras, foot-mounted tactile pads) could identify terrain before contact and reduce the sinkage penalty paid during the identification phase.

## Target Audience

Robotics researchers and graduate students working on legged locomotion, contact dynamics, and sim-to-real reinforcement learning; engineers building humanoid or quadruped locomotion stacks for outdoor deployment; and physicists or biomechanists interested in terradynamics who want to see RFT used inside a learning loop rather than only in analysis or model-based control. Readers without a background in granular mechanics will find the methodology section accessible but the evaluation tables demanding.

## Authors’ abstract

Humanoid locomotion on granular terrain remains a significant challenge due to its complex foot-terrain interaction dynamics that are difficult to model. Existing approaches either ignore granular contact dynamics or incorporate simplified normal force models with heuristic tangential components. In this work, we present a physics-grounded granular contact model based on three-dimensional resistive force theory (3D RFT) and efficiently simulate granular terrain for…

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

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

## Related papers

- [Humanoid SRL: Augmenting Humanoids with Supernumerary Limbs for Coordinated Loco-Manipulation](https://robotics.world/paper/humanoid-srl-augmenting-humanoids-with-supernumerary-limbs-for-2610.25628) 2026-10-19 · cs.RO · Also by Feiyang Wu, Ye Zhao
- [Learning Expressive and Compositional Motion Representation via Spectral Skills](https://robotics.world/paper/learning-expressive-and-compositional-motion-representation-via-2609.37677) 2026-09-29 · cs.RO · Also by Feiyang Wu, Ye Zhao
- [CAP: Continuously Adaptive Perception-Blind Humanoid Locomotion via Learned Denoising](https://robotics.world/paper/cap-continuously-adaptive-perception-blind-humanoid-locomotion-via-2609.11553) 2026-09-10 · cs.RO · Key terms of the title in common
- [World-Model-Augmented Visual Locomotion for Humanoids on Foothold-Constrained Terrain](https://robotics.world/paper/world-model-augmented-visual-locomotion-for-humanoids-on-foothold-2609.02542) 2026-09-02 · cs.RO · Key terms of the title in common
- [A System for Fast, Resilient, and Adaptable Loco-Manipulation Behaviors on Humanoid Robots](https://robotics.world/paper/a-system-for-fast-resilient-and-adaptable-loco-manipulation-behaviors-2609.01518) 2026-09-01 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/gm-loco-terrain-adaptive-humanoid-locomotion-on-granular-media-2609.10286
