Skip to main content
QUICK REVIEW

[Paper Review] Fast and Efficient Locomotion via Learned Gait Transitions

Yuxiang Yang, Tingnan Zhang|arXiv (Cornell University)|Apr 9, 2021
Robotic Locomotion and ControlEngineering54 references8 citations
TL;DR

This paper proposes a hierarchical reinforcement learning framework that enables quadruped robots to autonomously learn energy-efficient gaits and natural gait transitions across speeds. Using evolutionary strategies to train a high-level gait policy and a low-level convex model predictive control (MPC) controller, the system learns to transition between walking, trotting, and fly-trotting with minimal energy use, achieving robust real-world deployment on a Unitree A1 robot without sim-to-real fine-tuning.

ABSTRACT

We focus on the problem of developing energy efficient controllers for quadrupedal robots. Animals can actively switch gaits at different speeds to lower their energy consumption. In this paper, we devise a hierarchical learning framework, in which distinctive locomotion gaits and natural gait transitions emerge automatically with a simple reward of energy minimization. We use evolutionary strategies (ES) to train a high-level gait policy that specifies gait patterns of each foot, while the low-level convex MPC controller optimizes the motor commands so that the robot can walk at a desired velocity using that gait pattern. We test our learning framework on a quadruped robot and demonstrate automatic gait transitions, from walking to trotting and to fly-trotting, as the robot increases its speed. We show that the learned hierarchical controller consumes much less energy across a wide range of locomotion speed than baseline controllers.

Motivation & Objective

  • To develop a control framework that enables quadruped robots to learn energy-efficient locomotion gaits and transitions without manual gait design.
  • To address the challenge of training end-to-end policies that fail to generalize to real robots due to sim-to-real domain gaps.
  • To enable automatic gait transitions across varying speeds, mimicking biological quadrupedal locomotion.
  • To achieve robust real-world deployment of learned policies without additional fine-tuning or reward shaping.
  • To combine the strengths of reinforcement learning and optimal control by decoupling gait generation from motor command optimization.

Proposed method

  • A hierarchical framework is designed with a high-level gait policy and a low-level convex MPC controller, decoupling gait pattern specification from motor command computation.
  • The high-level gait policy is trained using evolutionary strategies (CMA-ES) with a reward function based on velocity tracking and energy efficiency.
  • The gait policy outputs key parameters that define the foot contact schedule, which the MPC controller uses to compute optimal motor commands in real time.
  • The low-level MPC controller uses simplified dynamics to ensure real-time feasibility and robustness, treating contact forces and sequences as implicit variables.
  • The framework is trained entirely in simulation and deployed directly to the real Unitree A1 robot without additional data collection or sim-to-real adaptation.
  • The observation space includes IMU readings, motor angles, and gait phases to improve policy performance, especially for non-ES algorithms.

Experimental results

Research questions

  • RQ1Can a learning-based framework automatically discover distinct gaits and natural transitions between them without hand-engineered gait timings?
  • RQ2How does a hierarchical design combining RL and optimal control improve sample efficiency and real-world generalization compared to end-to-end policies?
  • RQ3Why do evolutionary strategies outperform standard RL algorithms like PPO and SAC in this hierarchical control setup?
  • RQ4To what extent can a policy trained in simulation be deployed directly to a real robot without fine-tuning or domain randomization?
  • RQ5Can the system achieve high-speed locomotion (up to 2.5 m/s) with low energy consumption while maintaining stability across diverse terrains?

Key findings

  • The hierarchical framework successfully learned and deployed gait transitions from walking to trotting to fly-trotting across a wide speed range (0–2.5 m/s), emulating biological quadrupedal locomotion.
  • The CMA-ES-trained gait policy achieved a cost of transport (CoT) of 0.84 ± 0.017, significantly outperforming PPO, SAC, and ARS in energy efficiency.
  • The policy achieved a speed tracking error of 0.0083 ± 0.00075, demonstrating high accuracy in velocity tracking across all speeds.
  • Non-hierarchical baselines (E2E and PMTG) failed to learn stable locomotion: E2E stood in place, and PMTG used only three legs, indicating poor convergence in the flat policy space.
  • The system was deployed directly on the Unitree A1 robot in diverse environments (carpet, grass, short obstacles) without additional fine-tuning, confirming robust sim-to-real transfer.
  • Evolutionary strategies (CMA-ES and ARS) significantly outperformed PPO and SAC, especially in the original observation space, suggesting that the black-box nature of MPC makes standard RL less effective.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.