XMimic and XSoma: Learning Humanoid Motion Tracking and Locomotion in Under a Minute
This preprint presents XMimic and XSoma, two systems for training a simulated Unitree G1 to imitate human motion or follow velocity commands on rough terrain. On four NVIDIA H100 GPUs, XMimic met its target across all 40 LAFAN1 clips in 0.86 minutes, while XSoma hit its locomotion target in 0.77 minutes. The training times, measured after start-up and compilation, point to faster iteration on humanoid controllers.
Can a learned model of robot dynamics bring simulated humanoid motion tracking and rough-terrain locomotion to their benchmark targets in under a minute of training?
Training had become a bottleneck even when larger GPUs were available. Much of each iteration consisted of small operations that had to run in order, especially when computing policy gradients through the learned dynamics. Rough-terrain locomotion adds a separate challenge because velocity commands leave the controller to work out foot placement and balance without a reference pose at each step.
SuperMimic and BlinkMimic trained motion-tracking policies by differentiating through short rollouts of a learned world model. BlinkMimic gained little from a faster GPU because so much of the work was sequential. Terrain-Grounded Imagination (TGI) used exact terrain heights in its rollouts but took hours to train, while FastSAC and PPO learned locomotion directly from simulator experience.
Both systems compile the training loop in JAX, with MuJoCo Warp running through MJX, and collect experience in 4096 parallel simulated environments. XMimic retains BlinkMimic's 32-step rollouts and critic. On four GPUs, it assigns experience collection, world-model and critic updates, policy updates, and reset evaluations to separate devices. XSoma learns only robot dynamics. It computes foot positions with forward kinematics, reads heights from the simulator, and evaluates rewards and termination conditions on the predicted states. It trains without a critic over 48 steps at 50 Hz and computes three policy gradients in parallel before applying them in sequence.
In Unitree G1 simulation, XMimic passed three consecutive checkpoint evaluations with a normalized return of at least 0.82 and no failures across 40 LAFAN1 clips. It took 0.86 minutes on four H100s (four runs), 3.7 times as fast as single-GPU BlinkMimic (five runs). On one H100, XMimic was 1.3 times as fast as BlinkMimic. InstantTrack v1.3 reached the target in about the same time as BlinkMimic. In Holosoma, XSoma met linear-velocity and yaw-rate reward targets of 0.95 and 0.8 over three consecutive checkpoints, each evaluated in 2048 episodes of 20 seconds. XSoma took 0.77 minutes on four H100s (eight runs), 12.3 times as fast as FastSAC on one H100 (eight runs). On one H100, XSoma took 2.50 minutes, 3.8 times as fast as FastSAC, with one eighth of its environment steps. PPO missed the shared target within an hour. After 15 minutes, XSoma's planar velocity error was one third lower than FastSAC's. Both fell in fewer than 1% of episodes.
Training and evaluation used a simulated Unitree G1, and the locomotion terrain varied in height by only a few centimeters. Reported times exclude post-training checkpoint evaluation and start-up and compilation. Start-up and compilation take 20 to 40 seconds with a cache and up to about 3 minutes without one. Four-GPU XMimic used slightly more aggregate GPU time than single-GPU BlinkMimic. Code for both systems is public.
Humanoid developers with access to H100s could use the released code now to iterate on motion and locomotion controllers offline. Use in deployed products within 1 to 3 years is conditional on real G1 trials confirming tracking and fall rates, including on terrain more demanding than the simulation.
The full text is not republished here because the paper's license does not allow it. Read the original on arXiv.