Real-Time Gait Adaptation for Quadrupeds using Model Predictive Control and Reinforcement Learning
Prakrut Kotecha, Ganga Nair B, Shishir Kolathaya
TL;DR
The authors address the limitation of fixed gait policies in quadrupedal locomotion by introducing a hybrid framework that couples Model Predictive Path Integral (MPPI) planning with a Dreamer-based learned model to enable real-time, continuous gait adaptation. Gait parameters are optimized jointly with actions in an online optimization, guided by a generalized reward for deployment and a terminal value for infinite-horizon planning. The approach demonstrates substantial energy efficiency gains (up to 36.48% across speeds) and smooth, task-appropriate gait transitions in simulation on the Unitree Go1, with a modular architecture that supports terrain-aware extensions. This work advances practical quadruped locomotion by unifying gait versatility, stability, and energy efficiency through real-time planning and learned priors.
Abstract
Model-free reinforcement learning (RL) has enabled adaptable and agile quadruped locomotion; however, policies often converge to a single gait, leading to suboptimal performance. Traditionally, Model Predictive Control (MPC) has been extensively used to obtain task-specific optimal policies but lacks the ability to adapt to varying environments. To address these limitations, we propose an optimization framework for real-time gait adaptation in a continuous gait space, combining the Model Predictive Path Integral (MPPI) algorithm with a Dreamer module to produce adaptive and optimal policies for quadruped locomotion. At each time step, MPPI jointly optimizes the actions and gait variables using a learned Dreamer reward that promotes velocity tracking, energy efficiency, stability, and smooth transitions, while penalizing abrupt gait changes. A learned value function is incorporated as terminal reward, extending the formulation to an infinite-horizon planner. We evaluate our framework in simulation on the Unitree Go1, demonstrating an average reduction of up to 36.48 % in energy consumption across varying target speeds, while maintaining accurate tracking and adaptive, task-appropriate gaits.
