NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

HWC-Loco: A Hierarchical Whole-Body Control Approach to Robust Humanoid Locomotion

Sixu Lin, Guanren Qiao, Yunxin Tai, Ang Li, Kui Jia, Guiliang Liu

TL;DR

HWC-Loco introduces a hierarchical whole-body control framework for humanoid robots that dynamically balances natural goal-tracking with robust safety recovery. By decoupling task execution from emergency stabilization using a high-level selector policy, it enables humanoids to navigate challenging terrains and survive severe external disturbances in both simulation and real-world deployments.

What Problem Does This Paper Address?

Deploying humanoid robots in the real world requires them to be both efficient at completing tasks (like walking at a commanded velocity) and resilient to unexpected hazards (like tripping or being pushed).

Standard Reinforcement Learning (RL) approaches often struggle with the "Sim-to-Real" gap. To ensure safety, engineers frequently use robust optimization techniques that train robots for the absolute worst-case scenarios. However, this makes the robot's behavior overly conservative, slow, and unnatural during normal operation. Conversely, prioritizing aggressive goal-tracking leads to catastrophic failures when the robot encounters real-world disturbances. HWC-Loco addresses this fundamental trade-off by dynamically switching between task performance and safety recovery without relying on tedious, hand-tuned reward shaping.

Methods

The authors propose a hierarchical architecture that splits control into two distinct layers: a high-level planning policy and two specialized low-level policies.

Figure 2: Overview of HWC-Loco: The framework consists of two stages: (a) Training goal-tracking policy to effectively enable human-like locomotion across diverse terrains (Section 4.1) and safety recovery policy to recover from safety-ciritical states (i.e., extreme-case) (Section 4.2). (b) Training the high-level planning policy to select between the two pre-trained low-level policies (Section 4.3), thereby ensuring locomotion stability and consistency.
  1. Goal-Tracking Policy: Operates during normal conditions to follow velocity commands. Instead of using manual pose regularization, it leverages adversarial imitation learning. By minimizing the Wasserstein-1 distance between the robot's movements and human motion data, the robot naturally learns human-like gaits that scale with velocity.
  2. Safety-Recovery Policy: Activated only during safety-critical events. It is trained within an "extreme-case uncertainty set" featuring high-intensity sensor noise, actuator fluctuations, and massive external forces. Its optimization is strictly bounded by a physics-guided Zero Moment Point (ZMP) constraint to ensure the robot maintains its center of mass within its support polygon.
  3. High-Level Planning Policy: A discrete decision module trained via Double-DQN. It continuously monitors the robot's state and historical observations to seamlessly switch between the goal-tracking and safety-recovery policies.

Datasets

  • CMU MoCap Dataset: The authors utilized 318 human motion sequences (totaling roughly 3,729 seconds of standing, walking, and running) to extract human behavioral priors. This data was retargeted to match the kinematics of the Unitree H1 and G1 humanoid robots to train the goal-tracking policy.

Key Insights and Ideas

  • Decoupling Safety from Performance: Mixing safety penalties and task rewards in a single policy creates conflicting gradient updates. Separating them into independent low-level modules allows the goal-tracking policy to be agile and natural, while the recovery policy focuses purely on brutal stabilization.
  • ZMP as a Hard Constraint: Rather than treating balance as a soft penalty reward, enforcing Zero Moment Point (ZMP) criteria as a strict feasibility constraint allows the recovery policy to utilize whole-body coordination (like waving arms and lowering the torso) effectively during extreme impacts.
  • Eliminating Manual Regularization: Using a data-driven Wasserstein distance metric to mimic human motion eliminates the need for engineers to manually tune joint limits or upper-body stiffness parameters, which historically limited the generalizability of humanoid control.

Key Results

The framework was validated in the Isaac Gym simulator and on physical Unitree H1 and G1 platforms.

  • Terrain Navigation: In high-speed stair-climbing simulations, HWC-Loco achieved an 84.34% success rate, vastly outperforming standard robust baselines like DreamWaQ (60.58%) and AHL (67.48%).
  • Disturbance Rejection: Under continuous external force/torque perturbations, HWC-Loco maintained a 75.95% success rate—nearly 25% higher than DreamWaQ. It also demonstrated superior resilience against sudden Center of Mass (CoM) impulses and unexpected payload additions.
Table 2: Robustness of Locomotion across Various Terrains under Different Disturbances
  • Real-World Reliability: When deployed on a physical Unitree H1 robot, HWC-Loco successfully withstood aggressive real-world disturbances (pushes, pulls, and kicks) by dynamically lowering its body and adjusting its gait before smoothly transitioning back to normal goal-tracking.

Limitations and Future Work

The authors note three primary limitations:

  1. Discrete Switching: The high-level policy relies on discrete transitions between the low-level controllers. A jointly optimized, continuous hierarchical framework could yield even smoother transitions.
  2. Hardware Constraints: The physical Unitree H1 robot used has only 19 degrees of freedom (DoF), which restricts the expression of complex whole-body recovery behaviors compared to higher-DoF models like the Unitree G1 (23 DoF).
  3. Simulated Perturbations: The safety-recovery policy is trained on pre-programmed simulated noise. Incorporating adversarial training policies to generate more diverse and dynamic real-world disturbances could further improve robustness.

Future work will focus on expanding HWC-Loco to handle loco-manipulation tasks involving object interaction.

Summary updated

BibTeX
@inproceedings{lin2026hwc,
  author = {Sixu Lin and Guanren Qiao and Yunxin Tai and Ang Li and Kui Jia and Guiliang Liu},
  title = {{HWC-Loco: A Hierarchical Whole-Body Control Approach to Robust Humanoid Locomotion}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=3UE3Aatcjy},
}
Figure