NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Terrain-Aware Quadrupedal Locomotion via Reinforcement Learning

Haojie Shi, Qingxu Zhu, Lei Han, Wanchao Chi, Tingguang Li, Max Q.-h. MengarXiv 2023 · DOI

Introduction

Quadrupedal robots have demonstrated impressive agility on continuous terrains like grass and gravel. However, navigating "discrete" terrains—such as stepping stones, narrow poles, or significant gaps—remains a formidable challenge. Traditional methods often rely on complex hierarchical systems that separate high-level path planning from low-level control, requiring extensive manual tuning and precise physical modeling. This research presents a purely learning-based framework that enables robots to traverse these difficult environments by dynamically adjusting their gait based on visual data.

The Challenge of Discrete Terrains

Most current quadrupedal systems rely primarily on proprioception (internal sensors like joint angles and accelerometers). While effective for reacting to slips on flat ground, proprioception alone is insufficient for planning foot placement on discontinuous surfaces. Navigating a series of stepping stones requires the robot to "see" the environment and proactively adjust its movement. Existing visual solutions often struggle with the complexity of the robot's physics or require rigid, hand-coded gait patterns that lack the flexibility needed for varied obstacles.

Proposed Framework: DNN Policy and Parameterized TG

The researchers developed a framework that integrates a Deep Neural Network (DNN) with a Parameterized Trajectory Generator (TG). This hybrid approach combines the rhythmic stability of traditional gait generators with the adaptive intelligence of reinforcement learning.

Overview of the proposed framework, showing the integration of proprioceptive and exteroceptive states into the DNN policy and Parameterized Trajectory Generator.

System Components

  • Parameterized Trajectory Generator (TG): This serves as the robot's "rhythmic engine," producing a basic trotting gait. Unlike static generators, its frequency and foot-lifting height are parameters that the AI can adjust in real-time.
  • DNN Policy: Using Proximal Policy Optimization (PPO) and an Long Short-Term Memory (LSTM) network, the policy processes two data streams:
  • Proprioceptive State: Internal data including joint positions and body orientation.
  • Exteroceptive State: A local "height map" sampled around each foot, providing a visual representation of the immediate terrain.
  • Reward Functions: The AI is trained using specific rewards to encourage safety and efficiency. A Foot Terrain Reward penalizes stepping into gaps, while a Lifting Foot Height Reward teaches the robot to clear obstacles with minimal energy expenditure by avoiding unnecessary "high-stepping."

Experimental Setup and Simulation

The system was trained in the PyBullet physics engine across four challenging simulated environments:

  1. Block Terrains: Jagged, uneven surfaces.
  2. Stairs: Variable heights to test vertical clearance.
  3. Stepping Stones: Platforms separated by gaps of up to 25cm.
  4. Poles: Narrow circular platforms requiring high precision.

To bridge the "sim-to-real" gap, the team employed dynamics randomization, introducing noise into the simulation's friction, mass, and sensor data to ensure the learned policy would remain robust in the physical world.

Key Results and Real-World Validation

In simulation, the proposed method consistently reached the map limit (~4.95m) across all terrain types, significantly outperforming "blind" robots or those with fixed-height gaits, which typically failed within 2 meters on discrete terrains.

Robot Max successfully traversing real-world stepping stones with varying gap widths (up to 25.5cm) using the trained policy.

The policy was successfully deployed on Robot Max, a physical quadruped. The robot demonstrated the ability to cross stepping stones with gaps as large as 25.5cm. Observations showed that the robot intelligently adjusted its joint amplitudes based on the visual height map—lifting its legs higher and reaching further only when the terrain demanded it.

Conclusion and Future Work

This research demonstrates that a learning-based approach, combining visual exteroception with a parameterized gait engine, can effectively master complex, discrete terrains. While successful, the authors note that future iterations will focus on incorporating formal safety guarantees to prevent falls and integrating real-time onboard sensing (like Lidar or depth cameras) to replace the external motion capture systems used in these initial physical trials.

Summary updated

BibTeX
@misc{shi2023terrain,
  author = {Haojie Shi and Qingxu Zhu and Lei Han and Wanchao Chi and Tingguang Li and Max Q.-H. Meng},
  title = {{Terrain-Aware Quadrupedal Locomotion via Reinforcement Learning}},
  year = {2023},
  eprint = {2310.04675},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.04675},
}
Figure