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

End-to-End Humanoid Robot Safe and Comfortable Locomotion Policy

Zifan Wang, Xun Yang, Jianzhuang Zhao, Jiaming Zhou, Teli Ma, Ziyao Gao, Arash Ajoudani, Junwei LiangarXiv 2025 · DOI

TL;DR

Researchers have developed an end-to-end locomotion policy for humanoid robots that maps raw 3D LiDAR data directly to motor commands. By integrating Control Barrier Functions (CBFs) into a constrained reinforcement learning framework and adding "comfort-oriented" rewards, the robot (a Unitree G1) achieves agile navigation that is not only collision-free but also socially acceptable and predictable around humans.

Introduction and Problem Statement

Most current legged robots are "blind," relying solely on internal sensors (proprioception) to balance, which makes them limited in cluttered environments. While some recent work uses depth cameras to create 2D "height maps," this approach is fundamentally flawed for humanoids: it collapses 3D space into a 2D plane, making the robot blind to overhanging obstacles like tables or the upper bodies of people.

Furthermore, ensuring safety in Reinforcement Learning (RL) is notoriously difficult. Simply penalizing crashes often leads to "brittle" behaviors—the robot either becomes too scared to move or skirts dangerously close to obstacles. Finally, for robots to live among us, they need to move "comfortably"—avoiding jerky, unpredictable movements that might startle or threaten human bystanders.

Methods

The proposed framework integrates three main pillars into a single end-to-end policy:

  1. 3D Perception: Instead of simplified maps, the policy processes raw, spatio-temporal LiDAR point clouds. A Gated Recurrent Unit (GRU) extracts temporal patterns from the LiDAR data, which is then fed into a Multi-Layer Perceptron (MLP) alongside proprioceptive data (joint positions, velocities, etc.).
  2. Principled Safety (P3O + CBF): The authors use Penalized Proximal Policy Optimization (P3O), a constrained RL algorithm. Crucially, they translate model-based Control Barrier Functions (CBFs)—a concept from classical control theory that provides safety guarantees—into cost functions for the RL agent. This allows the robot to "anticipate" future safety violations based on its current dynamics rather than just reacting to distance.
  3. Comfort-Oriented Rewards: Drawing from Human-Robot Interaction (HRI) research, the authors added rewards for Proxemics (maintaining an ideal "social distance" of 1.2 meters), Tangential Avoidance (encouraging the robot to arc around obstacles), and Smoothness (penalizing high joint acceleration).
The network architecture processes point cloud history through a GRU and combines it with proprioception and command data to drive the MLP Actor.

Key Insights

  • 3D is Essential for Humanoids: Tests involving suspended obstacles proved that 2D elevation maps are insufficient. A robot needs to know if its head or torso will hit something, not just its feet.
  • Anticipation vs. Reaction: By using CBF-based costs, the policy learns to initiate avoidance maneuvers much earlier. Standard RL agents often "skirt the edge" of a crash, while the CBF-informed agent takes wider, smoother turns.
  • Safety and Comfort are Distinct: Safety is a "hard" constraint (don't hit things), while comfort is a "soft" objective (don't be creepy). Separating these into costs (for safety) and rewards (for comfort) within a Constrained Markov Decision Process (CMDP) framework allows for more stable training.

Key Results

The proposed P3O-CBF framework significantly outperformed standard PPO and basic constrained RL in both simulation and real-world deployment on a Unitree G1 humanoid.

Comparison of navigation paths: P3O with CBF (blue) demonstrates a smoother, safer trajectory that anticipates obstacles earlier than standard PPO (orange) or P3O (green).
  • Success Rates: In a "Narrow Passage" scenario, the P3O-CBF policy achieved a 60% success rate, compared to 33% for standard P3O and 0% for PPO with reward shaping.
  • Safety Margin: The robot reduced time spent in the "Unsafe Space" (within 0.6m of an obstacle) by 53% compared to the PPO baseline.
  • Dynamic Reactivity: In real-world tests, the robot successfully navigated a cluttered lab and demonstrated reactive avoidance when a human suddenly approached it from behind.

Conclusion and Future Work

While the paper demonstrates robust 3D navigation, some limitations remain. The "comfort" metrics are currently based on fixed heuristics (like the 1.2m distance), which could be improved by learning preferences directly from human feedback. Additionally, while the policy runs successfully on the G1's onboard computer, processing raw point clouds is computationally intensive. Future work will look toward extending this to complex, uneven outdoor terrain.

Summary updated

BibTeX
@misc{wang2025end,
  author = {Zifan Wang and Xun Yang and Jianzhuang Zhao and Jiaming Zhou and Teli Ma and Ziyao Gao and Arash Ajoudani and Junwei Liang},
  title = {{End-to-End Humanoid Robot Safe and Comfortable Locomotion Policy}},
  year = {2025},
  eprint = {2508.07611},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.07611},
}
Figure