TD-GRPC: Temporal Difference Learning with Group Relative Policy Constraint for Humanoid Locomotion

Khang Nguyen, Khai Nguyen, An T. Le, Jan Peters, Manfred Huber, Ngo Anh Vien, Minh Nhat VuarXiv 2025 · DOI

Humanoid robots represent a significant challenge in reinforcement learning (RL) due to their high-dimensional state spaces, complex contact dynamics, and inherent instability. While model-based RL methods offer potential through internal planning, they often suffer from "policy mismatch," where the learned policy and the internal world model drift apart, leading to unstable training and robotic failures.

Researchers from UT Arlington, VinRobotics, and TU Darmstadt have introduced TD-GRPC, a framework designed to stabilize humanoid locomotion by integrating Group Relative Policy Optimization (GRPO) and explicit trust-region constraints into a model-based RL architecture.

Methodology: Stabilizing the Latent World Model

TD-GRPC builds upon the TD-MPC2 architecture, which utilizes a latent world model to plan actions. To address the instability inherent in off-policy updates for high-degree-of-freedom (DoF) systems, TD-GRPC introduces two primary innovations:

  1. Group Relative Policy Optimization (GRPO): Instead of relying on noisy, absolute Q-value targets for policy gradients, TD-GRPC samples groups of actions and ranks them relative to one another. This softmax-based advantage scoring across action groups results in smoother gradient updates and reduced sensitivity to reward scale outliers.
  2. Explicit Policy Constraints (PC): To prevent the policy from deviating too far from the actions suggested by the Model Predictive Control (MPC) planner, the authors implement a trust-region constraint using Kullback–Leibler (KL) divergence. This ensures the policy remains consistent with the planner's physical priors, effectively acting as a residual learning mechanism.

Experimental Setup

The framework was evaluated using the HumanoidBench simulation environment. The primary test subject was the Unitree H1-2, a 26-DoF humanoid robot. This platform is significantly more complex than its predecessors, featuring arms and a 70kg mass that demands precise balance and coordination.

The Unitree H1-2 humanoid performing various locomotion tasks in HumanoidBench, including standing, sitting, walking, running, crawling, climbing, balancing, and navigating poles.

The evaluation spanned 10 distinct tasks, ranging from basic standing and walking to more complex maneuvers like navigating poles and climbing stairs.

Key Results and Performance

TD-GRPC demonstrated superior performance across several metrics compared to standard baselines like SAC and TD-MPC2:

  • Convergence Speed: In fundamental tasks such as walking and sitting, TD-GRPC reached high reward thresholds significantly faster. For instance, stable walking was achieved within 400,000 iterations, a milestone where baselines often struggled or failed.
  • Gait Quality: Qualitatively, TD-GRPC produced more natural movement. While some baselines learned to walk backward to exploit reward functions, TD-GRPC consistently maintained a forward-moving gait.
  • Task Robustness: In the "sit on chair" task, TD-GRPC was the only method to consistently achieve an optimal, stable leg pose.

Limitations and Future Outlook

Despite its successes, certain high-precision tasks remain challenging for TD-GRPC and other current RL methods.

The "balance" task, involving a humanoid standing on a board atop a ball, remains one of the most difficult challenges for current RL frameworks.

Tasks like stair-climbing and balancing on a ball-board (shown above) require extreme whole-body coordination and environmental awareness that current models have yet to master fully. Additionally, the authors noted that the current constraints might be overly restrictive for non-upright postures, such as crawling. Future research will focus on adaptive constraints that can dynamically adjust based on the specific physical requirements of the task.

Summary updated

BibTeX
@misc{nguyen2025td,
  author = {Khang Nguyen and Khai Nguyen and An T. Le and Jan Peters and Manfred Huber and Ngo Anh Vien and Minh Nhat Vu},
  title = {{TD-GRPC: Temporal Difference Learning with Group Relative Policy Constraint for Humanoid Locomotion}},
  year = {2025},
  eprint = {2505.13549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.13549},
}
Figure