Abstract
Navigating irregular and "gappy" terrain remains a significant challenge for legged robots. Traditional end-to-end reinforcement learning (RL) approaches often struggle with generalization and require extensive reward engineering. This paper presents a hierarchical framework that decouples locomotion into a low-level controller for footstep execution and a high-level optimizer for footstep planning. By leveraging the low-level policy's value function as a feasibility map, the system achieves superior generalization and collision avoidance on challenging terrains without requiring additional high-level training.
Introduction
Legged locomotion is a fundamental problem in robotics, particularly when navigating environments where wheeled vehicles fail, such as stairs, rocky slopes, and terrains with significant gaps. While Reinforcement Learning (RL) has shown promise in developing robust controllers, training a single agent to handle both the physics of walking and the strategic planning of pathfinding is notoriously difficult. These end-to-end models frequently fail to generalize to environments that differ even slightly from their training data and often require finicky reward functions to achieve stable behavior.
This research addresses the specific challenge of footstep planning on treacherous terrain. On surfaces with holes or varying heights, a single misplaced step can lead to a catastrophic fall. The authors propose a hierarchical solution that separates the "muscle memory" of stepping from the strategic decision of where to place the feet.
Methodology
The proposed framework consists of a two-layer hierarchy designed to simplify the learning process and improve reliability.
Low-Level Policy (LLP)
The LLP serves as the robot's motor control layer. It is trained using Proximal Policy Optimization (PPO) to reach specific footstep targets. The architecture utilizes Policies Modulating Trajectory Generators (PMTG), which blends a basic rhythmic gait (such as a trot) with adjustments learned through RL. This allows the robot to maintain a consistent gait while remaining flexible enough to adjust to specific target coordinates.
High-Level Policy (HLP)
In a departure from standard hierarchical RL, the HLP is not a trained neural network. Instead, it is an online optimization process that requires no additional environment samples. The HLP utilizes the LLP’s Value Function—the component of the RL agent that estimates future rewards—as a "feasibility map."
When deciding on the next footstep, the HLP performs a grid search followed by gradient ascent to maximize an objective function composed of:
- The Value Function: An estimate of how likely the robot is to successfully hit a target and continue moving.
- Directional Objective: A metric ensuring the chosen spot moves the robot toward its ultimate destination.
By optimizing for the value function, the robot naturally avoids gaps or unreachable ledges because the LLP "knows" those areas are associated with low rewards and potential falls.
Experimental Setup
The framework was evaluated using the NVIDIA Isaac Gym physics simulator.
- Training: The robot was trained on procedurally generated blocks with 10% gaps (90% infill) and height variations of up to 5 cm.
- Testing: The system was tested across 12 different environments, including "stress tests" with 20% gaps (80% infill) and height variations up to 10 cm—double the difficulty of the training environment.
Key Results and Discussion
Superior Generalization
The hierarchical approach demonstrated remarkable zero-shot generalization. It successfully navigated terrains with 10 cm height variations despite only being trained on 5 cm variations. In contrast, the end-to-end RL baseline struggled significantly as the terrain difficulty increased beyond its training distribution.
Collision Avoidance and Safety
In environments with significant gaps (80-90% infill), the end-to-end policy frequently suffered from leg collisions as it attempted to step into holes. The HLP-LLP framework maintained nearly zero collisions. Because the optimizer treats the value function as a safety guide, the robot exhibits a "natural conservatism," choosing shorter, safer steps over risky leaps when the feasibility of a target is low.
Efficiency of the Value Function
A major insight of this work is that the "critic" (the value function) is a powerful, often underutilized resource in RL. By repurposing it for high-level planning, the researchers created a sophisticated navigator "for free," without the need for the massive data collection typically required to train a high-level neural network planner.
Conclusion
This hierarchical framework provides a robust method for quadruped locomotion on challenging terrains. By separating execution from planning and utilizing the value function for real-time optimization, the system achieves high performance and impressive generalization. While the current model prioritizes safety over raw speed, future work will explore integrating model-based controllers and addressing the noise associated with real-world sensors to facilitate sim-to-real transfer.
Summary updated