Abstract
Humanoid robots, capable of assuming human roles in various workplaces, have become essential to the advancement of embodied intelligence. However, as robots with complex physical structures, learning a control model that can operate robustly across diverse environments remains inherently challenging, particularly under the discrepancies between training and deployment environments. In this study, we propose HWC-Loco, a robust whole-body control algorithm tailored for humanoid locomotion tasks. By reformulating policy learning as a robust optimization problem, HWC-Loco explicitly learns to recover from safety-critical scenarios. While prioritizing safety guarantees, overly conservative behavior can compromise the robot's ability to complete the given tasks. To tackle this challenge, HWC-Loco leverages a hierarchical policy for robust control. This policy can dynamically resolve the trade-off between goal-tracking and safety recovery, guided by human behavior norms and dynamic constraints. To evaluate the performance of HWC-Loco, we conduct extensive comparisons against state-of-the-art humanoid control models, demonstrating HWC-Loco's superior performance across diverse terrains, robot structures, and locomotion tasks under both simulated and real-world environments.
Introduction
Humanoid locomotion is a high-stakes balancing act. While Reinforcement Learning (RL) has made great strides in teaching robots to walk, two major hurdles remain: the Sim-to-Real gap and the Performance-Safety trade-off. Most RL models are trained in simulation, where physics is idealized. When deployed in the real world, discrepancies in friction, motor latency, or sensor noise often cause robots to fail. To mitigate this, researchers often employ robust optimization, which trains the robot to handle worst-case scenarios. However, this often results in overly conservative and unnatural movement. HWC-Loco seeks a "sweet spot": a controller that moves naturally during normal operation but can instantly switch to a high-stability mode when it detects significant disturbances.
Methodology
The HWC-Loco framework utilizes a two-stage hierarchical architecture to decouple performance from safety.
Low-Level Policies
- Goal-Tracking Policy: This policy focuses on efficiency and "naturalness." It uses Adversarial Imitation Learning (specifically implementing Wasserstein distance) to align the robot’s movements with human motion capture data from the CMU MoCap dataset. It is designed to follow velocity commands smoothly.
- Safety-Recovery Policy: This "emergency mode" is trained on an extreme-case uncertainty set involving high-intensity noise and malicious velocity commands. It is guided by a Zero Moment Point (ZMP) constraint to ensure the robot's center of mass stays within its support base to prevent tipping.
High-Level Planning Policy
A Double-DQN (Deep Q-Network) acts as the coordinator, monitoring the robot’s state and historical observations to decide which low-level policy to activate. If it detects a hazardous state, such as a sudden shove, it seamlessly switches from goal-tracking to safety-recovery.
Experimental Setup
Training was conducted in Isaac Gym, featuring a curriculum of diverse terrains including flats, obstacles, slopes, and stairs. The researchers utilized 318 motion sequences from the CMU MoCap dataset, retargeting them to the Unitree H1 and G1 humanoid structures. Saliency analysis revealed that the ZMP encoding is the most critical factor for the high-level policy’s decision-making, providing a clear signal of impending instability.
Results and Discussion
HWC-Loco was tested against state-of-the-art baselines like DreamWaQ and AHL. The results demonstrate that HWC-Loco significantly outperforms existing methods in both success rate and naturalness of movement.
Key findings include:
- Superior Success Rates: In high-speed stair climbing, HWC-Loco achieved an 84.34% success rate, outperforming baselines which ranged from 60% to 78%.
- Robustness to Disturbance: When subjected to constant external force disturbances, HWC-Loco maintained a 75.95% success rate, nearly 25% higher than DreamWaQ.
- Real-World Deployment: The system was successfully deployed on a real Unitree H1 robot, demonstrating the ability to climb 15cm stairs and 20° slopes, and regaining balance after external disturbances on grass and pavement.
- Cross-Embodiment: The model generalized effectively to the Unitree G1 robot, which achieved a 98.14% success rate due to its higher degrees of freedom and lighter mass.
Conclusion
HWC-Loco introduces a robust hierarchical control framework that allows humanoid robots to balance natural, human-like movement with extreme physical robustness. By specializing policies for performance and safety, the system avoids the over-cautious stiffness typical of traditional robust controllers. Future work will focus on smoothing the discrete transitions between policies and integrating these locomotion skills with manipulation tasks.
Summary updated