Non-Gaited Legged Locomotion with Monte-Carlo Tree Search and Supervised Learning

Ilyass Taouil, Lorenzo Amatucci, Majid Khadiv, Angela Dai, Victor Barasuol, Giulio Turrisi, Claudio Semini · DOI

Abstract

This paper presents a hybrid framework for real-time, non-periodic gait planning in legged robots. By combining the strategic depth of Monte-Carlo Tree Search (MCTS) with the computational speed of Supervised Learning, the authors enable a quadruped robot to dynamically adapt its gait to uneven terrain and external perturbations. The system achieves a 12.5 Hz planning frequency, significantly outperforming traditional optimization methods and providing greater robustness than pure learning-based approaches.

Introduction

Legged locomotion is a complex "hybrid" optimization problem involving discrete contact decisions and continuous force variables. Traditionally, researchers have relied on Mixed-Integer Programming (MIP), which is often too slow for real-time use, or Reinforcement Learning (RL), which can struggle with transparency and the "sim-to-real" gap. This work addresses the need for a planner that is both versatile and fast enough for hardware deployment.

Methodology

The authors propose a three-tier control architecture designed for high-frequency adaptation:

  1. MCTS Gait Planner (12.5 Hz): This high-level planner explores a tree of possible contact sequences. To evaluate these sequences efficiently, the authors replace expensive physics-based rollouts with a learned Value Function (VF).
  2. Supervised Learning Acceleration: A Multi-Layer Perceptron (MLP) is trained to predict the "cost-to-go" of a specific contact state in less than 1ms. This allows the MCTS to explore deeper into the decision tree without the computational overhead of full simulations.
  3. Hybrid Bootstrapping: To maintain reliability in unfamiliar (out-of-distribution) scenarios, the system combines the learned VF with a small number of actual physics-based Model Predictive Control (MPC) simulations.
System architecture showing the hierarchy of MCTS, MPC, and WBC.

The output of this planner is fed into a 250 Hz MPC and a 1 kHz Whole-Body Controller (WBC) to generate motor torques for the robot.

Key Results

The framework was validated on a Unitree Aliengo quadruped, demonstrating several key advantages:

  • Computational Speedup: The Value Function estimates node costs in <1ms, whereas traditional methods require approximately 20ms for the 120 MPC rollouts needed for comparable accuracy.
  • Robustness to Perturbations: In hardware tests, the robot successfully resisted impacts from a 27kg punching bag. The MCTS naturally discovered optimal recovery strategies, such as increasing stance time and widening its base, without being explicitly programmed for these behaviors.
  • Performance Trade-offs: Analysis shows that tracking cost decreases as the number of simulations increases, with the hybrid approach providing a stable baseline even with very few rollouts.
MPC Tracking Cost vs. number of QP Simulations for different time steps (dt).

Discussion and Future Work

By keeping physics-based MPC rollouts in the loop alongside a learned Value Function, the authors achieved the speed of AI with the reliability of classical physics. While the current system is "blind" and relies on proprioception, future work will integrate exteroceptive sensors like LiDAR to handle more complex obstacles and move toward more dynamic, acrobatic maneuvers.

Summary updated

BibTeX
@article{taouil2025non,
  author = {Ilyass Taouil and Lorenzo Amatucci and Majid Khadiv and Angela Dai and Victor Barasuol and Giulio Turrisi and Claudio Semini},
  title = {{Non-Gaited Legged Locomotion with Monte-Carlo Tree Search and Supervised Learning}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  doi = {10.1109/lra.2024.3519908},
}
Figure