Towards Adaptive Humanoid Control via Multi-Behavior Distillation and Reinforced Fine-Tuning

Yingnan Zhao, Xinmiao Wang, Dewei Wang, Xinzhe Liu, Dan Lu, Qilong Han, Peng Liu, Chenjia BaiarXiv 2025 · DOI

Abstract

Humanoid robots face significant challenges in maintaining stability across diverse behaviors and complex terrains. Traditional methods often struggle with gradient conflicts when training multi-task policies or fail during transitions between specialized controllers. This paper introduces Adaptive Humanoid Control (AHC), a two-stage framework designed for robust humanoid locomotion and recovery. AHC first distills expert skills into a single policy using Adversarial Motion Prior (AMP) and then employs reinforced fine-tuning with gradient surgery and behavior-specific critics to adapt to irregular terrains. Experimental results on the Unitree G1 robot demonstrate high success rates in fall recovery and navigation on slopes and hurdles, outperforming existing baselines in both simulation and real-world deployments.

Introduction

Humanoid robots are notoriously difficult to control due to their high degrees of freedom and inherently unstable balance. Traditionally, researchers have trained independent "expert" policies for specific tasks—such as walking or standing up from a fall. However, these specialized controllers often fail when faced with irregular terrain or when they need to transition seamlessly between behaviors.

Directly training a single "multi-task" policy from scratch is equally problematic. Different tasks often have varying reward scales and objectives, leading to gradient conflicts where the optimization for one task (e.g., walking) actively sabotages the learning of another (e.g., recovery). This research aims to bridge the gap between multi-behavior versatility and rugged terrain adaptability.

Methodology

The AHC framework addresses these challenges through a two-stage pipeline that transitions from specialized expertise to generalized robustness.

Stage 1: Multi-Behavior Distillation

In the first stage, "teacher" policies are trained for specific tasks—Walking and Recovery—on flat ground using Reinforcement Learning (RL) and Adversarial Motion Prior (AMP). AMP utilizes human motion capture data to ensure the robot moves in a natural, human-like manner, which has been found to enhance physical stability. These experts are then distilled into a single "student" policy using DAgger (Dataset Aggregation). The student policy employs a Mixture-of-Experts (MoE) architecture, allowing the neural network to specialize different internal components for different states.

Overview of the AHC framework compared to standard Multi-Task Reinforcement Learning (MTRL).

Stage 2: Reinforced Fine-Tuning

The distilled policy is then exposed to a Terrain Curriculum consisting of slopes, hurdles, and discrete blocks. To prevent task interference during this phase, the researchers employ Projecting Conflicting Gradients (PCGrad), or "gradient surgery." If the gradients of two tasks conflict, one is projected onto the normal plane of the other to find a non-conflicting update direction. Additionally, the system uses Behavior-Specific Critics. While the "Actor" (the decision-making component) is shared, each task has its own "Critic" to handle the different reward magnitudes of walking versus standing up.

Experimental Setup

The framework was developed and tested using the following resources:

  • Datasets: The LAFAN1 dataset provided human motion capture for locomotion, while custom Retargeted Mocap data was used for prone and supine recovery behaviors.
  • Simulation: IsaacGym was used to generate synthetic data across 4,096 parallel environments, facilitating rapid training.
  • Hardware: The final controller was deployed on the Unitree G1 humanoid robot to validate sim-to-real performance.

Key Results

The AHC framework was benchmarked against several baselines, including HOMIE and HoST, showing superior performance across all metrics.

  • Locomotion Success: On sloped terrain, the AHC policy achieved a 97.5% success rate, whereas a standard walking-only policy failed completely.
  • Recovery Robustness: AHC maintained a 100% success rate for standing up on both flat ground and slopes, outperforming baselines that struggled with uncoordinated limb movements.
  • Real-World Deployment: The controller demonstrated the ability to recover from falls on slopes and continue walking even after external disturbances (e.g., being pushed), proving a successful sim-to-real transition.
The humanoid robot navigating various complex terrains including slopes and discrete obstacles.

Conclusion and Future Work

The AHC framework demonstrates that distillation provides a stable foundation for complex terrain training. By decoupling critics and utilizing gradient surgery, the system successfully manages multiple behaviors without interference.

Future work will focus on integrating visual perception (cameras or LiDAR) to allow the robot to plan paths around large obstacles, rather than relying solely on proprioception. Additionally, the researchers aim to expand the behavior library to include more dynamic actions such as jumping, running, and manual manipulation tasks in extreme environments.

Summary updated

BibTeX
@misc{zhao2025towards,
  author = {Yingnan Zhao and Xinmiao Wang and Dewei Wang and Xinzhe Liu and Dan Lu and Qilong Han and Peng Liu and Chenjia Bai},
  title = {{Towards Adaptive Humanoid Control via Multi-Behavior Distillation and Reinforced Fine-Tuning}},
  year = {2025},
  eprint = {2511.06371},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.06371},
}
Figure