DeepGait: Planning and Control of Quadrupedal Gaits Using Deep Reinforcement Learning

Vassilios Tsounis, Mitja Alge, Joonho Lee, Farbod Farshidian, Marco Hutter

Abstract

DeepGait is a hierarchical deep reinforcement learning (DRL) framework designed to enable quadrupedal robots to navigate complex, non-flat terrain such as stairs, gaps, and stepping stones. By replacing computationally expensive physics simulations with a rapid "transition feasibility" check during high-level training, the authors achieved an 18-fold reduction in sample complexity. The resulting system outperforms traditional model-based methods in challenging scenarios while maintaining high robustness through a decoupled, proprioceptive control architecture.

Introduction

Legged robots offer significant advantages over wheeled systems in unstructured environments, yet planning their movement over non-flat terrain remains a major challenge. Traditional approaches generally fall into two categories: model-based optimization, which is often too slow for real-time application, and end-to-end DRL, which typically requires massive datasets and can produce jittery, unphysical behaviors. DeepGait bridges this gap by combining the strategic intelligence of a planner with the speed and robustness of a neural network controller.

Methodology

The DeepGait framework utilizes a two-level hierarchy to separate high-level strategy from low-level execution:

  1. High-Level Gait Planner (GP): This module processes local terrain data via a height map and determines optimal footholds and body trajectories. It is trained using Proximal Policy Optimization (PPO). To accelerate training, the authors introduced a Transition Feasibility Criterion based on Convex Resolution Of Centroidal dynamics (CROC). This Linear Program (LP) mathematically verifies if a move is physically possible, allowing the agent to simulate thousands of steps per second without a full physics engine.
  2. Low-Level Gait Controller (GC): This "muscle" module executes the footholds provided by the GP. It relies solely on proprioceptive sensing (internal joint data), making it highly robust to sensor noise or delays. It is trained using Trust-Region Policy Optimization (TRPO) in the high-fidelity RaiSim physics engine.
The DeepGait agent uses a local height map to plan footholds (colored dots) which are then executed by the low-level controller.

Experimental Setup

The system was evaluated using a simulated ANYmal quadruped across three distinct environments:

  • Flat-World: A baseline infinite plane for standard locomotion.
  • Random-Stairs: A rugged 20x20m area with randomly generated elevations.
  • Temple-Ascent: A complex environment featuring winding stairs, varying gaps, and narrow "stepping stone" bridges designed to test the limits of the planning hierarchy.

Key Results and Insights

The hierarchical approach yielded several significant improvements over state-of-the-art methods:

  • Efficiency: The use of the transition feasibility criterion resulted in an 18-fold reduction in sample complexity compared to standard physics-based RL training.
  • Performance: DeepGait achieved a near 100% success rate in the complex Temple-Ascent scenario. In head-to-head tests against Free-Gait (a leading model-based optimizer), DeepGait successfully crossed a 40cm gap that caused the traditional optimizer to fail due to overly conservative stability heuristics.
  • Robustness: The proprioceptive controller remained stable even when the robot's mass was increased by 25% or leg lengths were altered by 10% at test time, despite these variations not being present during training.
  • Emergent Behavior: The agent naturally developed cyclic gaits on flat ground and transitioned to careful, acyclic stepping when navigating gaps, all without explicit gait-cycle rewards.
DeepGait successfully navigates diverse terrains, including the complex Temple-Ascent map and various gap-crossing scenarios.

Discussion and Future Work

While DeepGait demonstrates exceptional performance on static terrains, it is currently limited to 3 or 4 active contacts, precluding highly dynamic maneuvers like jumping. Additionally, the CROC feasibility model is somewhat conservative, potentially rejecting valid but risky moves. Future work will focus on incorporating angular momentum into the planner to enable more athletic motions and expanding the contact model to support a wider range of dynamic gaits.

Summary updated

BibTeX
@article{tsounis2020deepgait,
  author = {Vassilios Tsounis and Mitja Alge and Joonho Lee and Farbod Farshidian and Marco Hutter},
  title = {{DeepGait: Planning and Control of Quadrupedal Gaits Using Deep Reinforcement Learning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2020},
  doi = {10.1109/lra.2020.2979660},
}
Figure