Learning Agile Locomotion on Risky Terrains

Chong Zhang, Nikita Rudin, David Hoeller, Marco Hutter · DOI

Introduction

Quadrupedal robots have made significant strides in general locomotion, yet navigating "risky" terrains—environments with sparse footholds where a single misstep leads to failure—remains a formidable challenge. Traditional approaches rely on complex model-based planners that are often too slow for agile movement. Researchers from ETH Zurich have recently demonstrated that end-to-end reinforcement learning (RL) can bridge this gap, enabling the ANYmal-D robot to traverse stepping stones and narrow beams with unprecedented speed and agility.

ANYmal-D robot traversing risky terrains in real-world and simulation environments.

The Challenge of Risky Terrain

Navigating areas like sparse stepping stones or narrow balance beams has traditionally been the domain of model-based controllers. These systems plan every footstep using precise mathematical models. However, they often struggle in real-world scenarios due to model mismatches, unexpected slippage, and high computational costs.

While model-free RL is robust for general locomotion, it typically fails on risky terrains due to two primary issues:

  1. Sparse Rewards: In environments with sparse footholds, robots fail frequently during early training, making it difficult for the agent to identify successful behaviors.
  2. Restrictive Objectives: Standard RL locomotion often uses "velocity tracking," forcing the robot to maintain a specific speed. On risky terrain, this can be counterproductive; a robot needs the flexibility to slow down for precise steps or speed up to utilize momentum across gaps.

Methodology

To overcome these hurdles, the researchers proposed a three-pronged approach integrated into a cohesive RL framework.

Overview of the proposed reinforcement learning framework for agile locomotion.

1. Navigation Formulation

Instead of traditional velocity tracking, the system uses a navigation-based formulation. The robot is given a target position and heading, allowing the policy to autonomously modulate its speed and gait. This freedom enables the discovery of dynamic behaviors, such as leaping across gaps, which a fixed velocity command would otherwise inhibit.

2. Enhanced Exploration Strategy

To facilitate learning in "all-or-nothing" environments, several strategies were combined:

  • Curiosity-Driven Rewards: Utilizing Random Network Distillation (RND) to encourage the exploration of novel states.
  • Symmetry-Based Data Augmentation: Exploiting the robot's physical symmetry to quadruple training data efficiency and ensure balanced motions.
  • Relaxed Curriculum: A modified training curriculum that prevents the robot from getting stuck in loops of constant failure by only demoting it to easier levels if performance drops below random-action thresholds.

3. Double-Stage Training

The training pipeline follows a "generalist-to-specialist" approach. First, a Generalist Policy is trained on disorderly, random stepping stones to establish basic sensorimotor skills. This policy is then finetuned into Specialist Policies for specific challenges like narrow balance beams or large gaps. This pre-training phase is critical; specialist tasks are often too difficult to learn from scratch due to reward sparsity.

Experimental Results

The study utilized the Isaac Gym simulator for massively parallel training across various terrain types, including "Stones-Everywhere," "Balance-Beams," and "Stepping-Beams."

High-Speed Agility

The ANYmal-D achieved a peak forward velocity of 2.7 m/s on stepping stones and 2.5 m/s on balance beams with gaps. This represents a significant leap over previous RL or model-based approaches, which typically operate below 0.5 m/s on similar terrains.

Sim-to-Real Transfer

The learned policies transferred successfully to the physical ANYmal-D robot. In real-world testing, the robot achieved an 80% success rate on stepping stones and a 100% success rate on balance beams. Notably, the RL policy demonstrated an emergent ability to recover from missed steps by rapidly re-adjusting its other limbs—a level of reactivity difficult to achieve with rigid model-based planners.

Discussion and Future Work

While the results demonstrate a breakthrough in agile locomotion, several limitations remain. The current real-world implementation depends on external motion capture and ground-truth maps. Future research will focus on integrating onboard perceptive locomotion using the robot's own cameras. Additionally, the complexity of reward tuning and sensitivity to state estimation drift (where a 5-cm error can cause a fall) are key areas for ongoing development. Despite these challenges, this work proves that end-to-end RL can unlock high-speed, dynamic capabilities for robots in the most demanding environments.

Summary updated

BibTeX
@inproceedings{zhang2024learning,
  author = {Chong Zhang and Nikita Rudin and David Hoeller and Marco Hutter},
  title = {{Learning Agile Locomotion on Risky Terrains}},
  booktitle = {IEEE/RSJ International Conference on Intelligent Robots and Systems},
  year = {2024},
  doi = {10.1109/iros58592.2024.10801909},
}
Figure