T-GMP: Terrain-conditioned Generative Motion Priors for Versatile and Natural Humanoid Locomotion
Abstract
Achieving both anthropomorphic naturalness and rich motion diversity during terrain traversal remains a fundamental challenge in humanoid locomotion. Existing reinforcement learning approaches typically rely on fixed motion priors, limiting their adaptability to varying environments. We propose Terrain-conditioned Generative Motion Priors (T-GMP), a module that captures a terrain-conditioned latent motion manifold from a few expert state-terrain demonstrations. The learned priors enable smooth style transitions, facilitating a unified policy that adapts to terrain variations. We integrate T-GMP into an adversarial learning pipeline, where a discriminator dynamically modulates naturalness constraints conditioned on local terrain features, guiding the generation of versatile and human-like motions. We further introduce a Foothold Penalty to promote safe foot placement on challenging terrains. Experimental results demonstrate that T-GMP outperforms the considered baselines in motion naturalness, motion diversity, and traversal success rates, while preserving physically coordinated motions.
Overview
Method Overview The overall learning pipeline consists of three parts: (I) collecting expert data using privileged policies, (II) training T-GMP using a CVAE, and (III) training a unified RL policy with a terrain-conditioned discriminator. The terrain representation (height map) serves as a conditioning variable across all modules.
Simulation
Robot traverses all terrains at once in mujoco.
Robot traverses unseen terrains.
Style Gallery
Comparison of reference data in MuJoCo with real-world deployment.
Stair Ascent
Stair Descent
Beam
Gap
Stage
Flat
Slope Ascent
Slope Descent
Ablation Analysis
Our Method vs. w/o Foothold Penalty
Stair Ascent
Stair Descent
Our Method vs. w/o Condition
Beam
Gap