Dexterous Legged Locomotion in Confined 3D Spaces with Reinforcement Learning

Zifan Xu, Amir Hossain Raj, Xuesu Xiao, Peter Stone · DOI

Introduction

Navigating tight, 3D-constrained spaces like tunnels, industrial crawl spaces, or cluttered voids presents a significant challenge for legged robots. Unlike standard locomotion, which focuses on ground-level obstacles, these environments require the robot to coordinate its entire body to avoid collisions from all directions—floor, walls, and ceiling. This paper introduces a hierarchical locomotion controller that combines classical sampling-based planning with reinforcement learning (RL) to achieve dexterous, end-to-end motor skills capable of navigating these complex 360° constraints.

The Challenge of 3D Constraints

Most research in quadruped locomotion addresses "underneath" challenges: traversing rugged rocks, slippery ice, or stairs. In these scenarios, the primary goal is maintaining a stable, upright torso while the legs adapt to the terrain. However, in confined 3D spaces, a level torso may be impossible. The robot must often tilt aggressively, crawl, or move its limbs asymmetrically to fit through gaps.

Existing RL methods often rely on parameterized skills, such as following a specific velocity or body height, which are too rigid for all-around constraints. Conversely, pure end-to-end RL struggles with the "sparse reward" problem of reaching distant goals in complex, maze-like environments.

Methodology: Hierarchical Control

The authors propose a hierarchical locomotion controller that decouples long-term navigation from short-term motor skill acquisition:

  1. High-Level Reactive Planner: A classical sampling-based planner analyzes the immediate surroundings via a local height map. It selects a feasible 6-DoF "local goal" pose (position and orientation) just in front of the robot, handling the logic of immediate collision avoidance.
  2. Low-Level RL Policy: A neural network trained using Proximal Policy Optimization (PPO) in the Isaac Gym simulator. This policy is trained to reach the local goal pose rather than follow a predefined gait. It outputs joint positions directly at 50Hz, allowing the robot to discover emergent, non-cyclic movements.

To enable 360° perception, the robot’s observation includes a "Height Field" that captures both floor and ceiling heights in a 1-meter square around the robot.

Procedural Training Environments

To train the RL policy, the researchers developed a procedural environment generation pipeline. They used matrices of pyramids on both the floor and ceiling to create irregular "voids," as illustrated in the training setup.

Procedural pyramid environments used to train the RL policy, featuring irregular floor and ceiling heights to simulate 3D constraints.

Environments were categorized into Easy, Medium, and Hard levels based on the density of these pyramids. This variety ensured the model could generalize to diverse geometries during sim-to-real transfer.

Key Results and Real-World Validation

The hierarchical approach significantly outperformed baseline methods. In the most difficult simulated environments, it achieved a 39.4% success rate, compared to just 5.1% for pure end-to-end RL and 2.4% for parameterized motor skills. Furthermore, the hierarchical model converged in just 40 million steps (approx. 2.2 hours), whereas the end-to-end approach required 600 million steps.

The Unitree Go1 robot navigating a real-world confined space, demonstrating the ability to tilt and crawl through narrow gaps.

One of the most striking insights was the emergence of "obstacle-aided locomotion." The RL agent learned that brushing against or leaning on obstacles is a valid strategy for maintaining progress in tight spaces. This behavior, while increasing collision counts, dramatically improved success rates in environments where a "no-touch" policy would lead to failure.

Conclusion

By combining the strengths of classical planning and RL, this system enables quadrupeds to navigate environments previously considered inaccessible. While the current high-level planner is reactive and the training geometries are simplified, the results prove that moving away from rigid, gait-based assumptions is essential for true 3D dexterity. Future work will focus on more sophisticated global pathfinding and improving the robustness of 3D perception in challenging field conditions like dust or low light.

Summary updated

BibTeX
@inproceedings{xu2024dexterous,
  author = {Zifan Xu and Amir Hossain Raj and Xuesu Xiao and Peter Stone},
  title = {{Dexterous Legged Locomotion in Confined 3D Spaces with Reinforcement Learning}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2024},
  url = {https://openreview.net/forum?id=u52zFd6vEV},
}
Figure