Research
XMimic and XSoma: Learning Humanoid Motion Tracking and Locomotion in Under a Minute
Learning a humanoid policy in simulation normally means either model-free RL such as PPO or FastSAC, or training through a learned world model, which is far more sample-efficient but historically…
- arXiv
- 2611.20452 · Preprint · not peer-reviewed
- Published
- 2026-11-16
- Authors
- Nico Bohlinger, Jan Peters
In plain words
Learning a humanoid policy in simulation normally means either model-free RL such as PPO or FastSAC, or training through a learned world model, which is far more sample-efficient but historically slow in wall-clock time.
AI summary
Overview
Research area: Legged robotics / humanoid control — reinforcement learning with learned world models, GPU-parallel simulation, and distributed training.
Technical level: Advanced. The paper assumes familiarity with model-based RL, analytic policy gradients, JAX/XLA compilation and GPU pipelining, though the core ideas are describable in plain terms.
Scope: The paper presents two training systems, XMimic (humanoid motion tracking) and XSoma (humanoid locomotion on rough terrain), that reach their respective performance targets in under a minute of training on four NVIDIA H100 GPUs by shortening the dependency chain of each training iteration and running parts of it concurrently on separate GPUs.
What This Paper Is About
Learning a humanoid policy in simulation normally means either model-free RL such as PPO or FastSAC, or training through a learned world model, which is far more sample-efficient but historically slow in wall-clock time. The authors observe that world-model training does not speed up on bigger GPUs because each iteration is a long chain of small, interdependent GPU operations — most of all the backpropagation through the world model — so the iteration time is set by the number of operations rather than by available compute.
The goal is to break that bottleneck: shorten the chain itself, then hide the remaining sequential steps by running them simultaneously on separate GPUs, so that both motion tracking and rough-terrain locomotion are learned in under a minute on four H100 GPUs.
Key Contributions
-
XMimic, a JAX reimplementation of BlinkMimic's algorithm and hyperparameters, in which the complete training loop — including the MuJoCo Warp simulator run through MJX — is compiled into XLA programs, and the policy update is restructured (bfloat16 matrix multiplications, hoisting everything independent of the imagined states out of the rollout, fewer and larger matrix multiplications in the backward pass) to make the policy update almost 40% faster than a direct translation of BlinkMimic's code.
-
A pipeline-parallel training iteration for XMimic, where data collection, world-model update and policy update run concurrently on three GPUs with slightly stale policies and world models, and the evaluation-guided resets run on a fourth GPU so that an iteration takes only as long as its slowest step.
-
XSoma, which adapts the same machinery to Holosoma's velocity-tracking locomotion task by leaving only the robot dynamics to the world model and computing rewards and terminations exactly on the imagined states, including forward-kinematic foot positions and exact heightfield lookups of the terrain under the feet, with a straight-through estimator that keeps the exact termination in the return but takes a smoothed gradient near contact.
-
A gradient-parallel policy update for XSoma, in which three learners each compute a policy gradient on their own batch of start states concurrently, exchange gradients, and each apply all of them in sequence, yielding three updates per iteration on four GPUs.
Main Findings
-
Motion tracking in 0.86 minutes: On four H100 GPUs, XMimic learns to track all 40 LAFAN1 clips (about 2.5 hours of human motion retargeted to the Unitree G1) in 0.86 minutes, 3.7 times faster than BlinkMimic on one GPU. Even on a single GPU it is 1.3 times faster than BlinkMimic.
-
Staleness is cheap: Splitting the iteration across GPUs barely affects learning — the older policy and world model cost only about 10% more iterations until the 0.82 normalized-return target — and on four GPUs an iteration takes as long as the actor's data collection, giving three times as many iterations per second as on one GPU.
-
Locomotion in 0.77 minutes: XSoma reaches Holosoma's tracking target (linear-velocity reward 0.95, yaw-rate reward 0.8, for three consecutive checkpoint evaluations) in 0.77 minutes on four H100 GPUs, 12.3 times faster than FastSAC on one GPU, while needing only an eighth of its environment steps. On a single GPU it takes 2.50 minutes, 3.8 times faster than FastSAC.
-
PPO does not reach the target: Holosoma's PPO configuration does not reach the target within the first hour of its schedule; it comes closest after about 11 minutes, after which its curriculum raises the penalty weights and tracking drops again.
-
Scaling behaviour differs by task: XSoma on a single GPU collects fewer than half as many environment steps per second as FastSAC because it spends most of its time on policy updates; three GPUs already run 3.4 times as many iterations per second as one, and the fourth GPU adds a third policy update per iteration.
-
Better final accuracy: After 15 minutes, XSoma's velocity error (mean distance between commanded and actual planar velocity) is a third lower than FastSAC's on every number of GPUs, and FastSAC does not reach that error even at the end of its complete schedule of about 50 minutes; both fall in fewer than 1% of episodes.
-
Design choices that mattered for XSoma: A horizon of 32 steps was not enough to learn to avoid falls, whereas 48 steps (about one second at the 50 Hz control rate) was — and a critic, whether for bootstrapping or λ-returns, slowed tracking down or destabilized training. When all parallel environments added exploration noise, the deterministic policy sank into a crouch and fell in up to 61% of evaluation episodes after about 45 minutes; letting half the environments act deterministically kept every run stable and reached the target sooner.
-
Computation was traded for wall-clock time: The four GPUs of XMimic together use slightly more GPU time than BlinkMimic on its single GPU.
-
Simulation only: All policies were trained and evaluated in simulation; deployment on the real G1 is left to future work.
Methodology in Plain English
The starting point is SuperMimic as implemented by BlinkMimic, which repeats three steps: the policy collects experience in 4096 parallel simulated environments; a learned world model is trained to predict the next state from the current state, action and domain-randomization parameters; and the policy is improved by rolling it out inside the world model for a short horizon and backpropagating analytically through the imagined return. Because that imagined return is differentiable end to end, the gradient has much lower variance than the sampled gradient PPO estimates.
The bottleneck is that these steps, and the backward pass inside the policy update in particular, are long chains of small dependent GPU operations. The authors attack this in two ways. First, they shrink the chain: the whole training loop, simulator included, is compiled with JAX so Python only queues programs, and the policy update is rewritten so that anything not depending on the imagined states is computed once before the rollout, and the backward pass uses fewer, larger bfloat16 matrix multiplications.
Second, they overlap the remaining steps. Since the policy and world model change little between iterations, the steps can use slightly out-of-date copies instead of waiting for each other. XMimic assigns the actor, the world-model/critic learner, the policy learner and the evaluation-guided resets to separate GPUs and copies models and experience directly between them. XSoma spends most of its iteration on the two policy updates, so instead of a three-stage pipeline it has three learners compute gradients in parallel and then apply all of them in sequence, keeping their policy copies identical while each learner effectively contributes an update.
For locomotion, the reference motion is gone, so the world model cannot be trusted to predict everything. XSoma computes the task's reward and termination terms exactly on the imagined states — foot positions by forward kinematics, terrain height by direct heightfield lookup, termination when the pelvis, a hip or a shoulder reaches the terrain — and feeds the world model the foot clearance plus Holosoma's randomization parameters. Half of the imagined rollouts start from a resampled velocity command so the policy learns to react to command changes.
Evaluation follows each baseline's own protocol: XMimic is checkpointed every 100 iterations against the 0.82 normalized-return target with no failed clip for three consecutive evaluations; XSoma is checkpointed about every 15 seconds and evaluated in 2048 episodes of 20 seconds with deterministic actions, Holosoma's randomization, pushes and commands. Start-up and one-time compilation (20 to 40 seconds with cached programs, up to about 3 minutes otherwise) are excluded from all reported times.
Why This Matters
The paper reframes a practical question in robot learning: the limiting factor for world-model training is no longer GPU compute but the serial structure of an iteration. That suggests wall-clock training time, not just sample efficiency, can be engineered down by an order of magnitude without changing the underlying algorithm — XSoma uses the same learning objective as before, only reorganised and given exact task terms.
Real-world applications:
- Rapid retargeting of new human motion capture to a humanoid: a routine library of skills could be learned per-client or per-performance in about a minute rather than hours.
- Fast task and embodiment iteration in hardware development, where controllers can be relearned each time the robot model, payload, or actuator parameters change.
- On-site or field adaptation, where a robot relearns a locomotion policy for new terrain conditions within a maintenance window instead of a long offline job.
- Lowering the compute barrier for academic labs, since the method remains 1.3 times faster than BlinkMimic on a single GPU for tracking and 3.8 times faster than FastSAC for locomotion.
Industry relevance: Training cost and iteration latency are direct cost drivers for anyone producing humanoid controllers at scale; a sub-minute training loop makes large-scale hyperparameter sweeps, per-customer policy customisation and continuous re-training economically plausible, and the released code (two repositories) plus the use of standard tooling (JAX, MJX/MuJoCo Warp, the Unitree G1, Holosoma's task definition) makes the approach relatively easy to adopt.
Future Directions
- Deployment on the real G1. The authors explicitly state that policies have so far only been trained and evaluated in simulation, and that sim-to-real transfer is future work.
- Harder terrain and tasks for XSoma. The paper plans to extend XSoma beyond Holosoma's flat tiles, rough tiles and shallow pits with height differences of a few centimetres.
- Removing the actor bottleneck. On four GPUs the data-collection actor is now the slowest stage of both systems, so the authors intend to spread data collection across more GPUs.
- Open question about which task terms must be exact. XSoma's gains come from computing everything except robot dynamics exactly; how far that principle extends to tasks whose rewards depend on contact forces or other quantities not captured by forward kinematics and heightfield lookups is untested, as is whether the deterministic-action half of the environments remains necessary in other task settings.
Target Audience
Researchers and engineers working on legged and humanoid locomotion, model-based RL, and GPU-accelerated simulation who want to understand where wall-clock time actually goes in world-model training. It is most useful to readers already comfortable with JAX/XLA, MuJoCo Warp, analytic policy gradients and the SuperMimic/BlinkMimic line of work; the systems-level lessons about pipelining, stale models and gradient-parallel updates generalise to other GPU training loops, while the task-specific details (LAFAN1, Holosoma, Unitree G1) will mainly interest humanoid practitioners.
Authors’ abstract
We present XMimic and XSoma, which learn humanoid motion tracking and locomotion on rough terrain in under a minute of training. Both follow SuperMimic, which learns a world model of the robot and optimizes the policy with analytic gradients through short rollouts imagined in this model. Existing implementations of this method do not make use of larger GPUs, as every training iteration is a long chain of small GPU operations that run one after another. XMimic and XSoma…
The full abstract on arXivRelated papers
- STRIDE: Learning Humanoid Locomotion in Minutes with Acceleration-Based Rewards 2026-11-06 · cs.RO · Also by Jan Peters, Nico Bohlinger
- It Takes Two to Tangram: Multi-Agent Object Centric Reinforcement Learning for Assembly 2026-11-06 · cs.RO · Also by Jan Peters, Nico Bohlinger
- CrossBFM: Distilling a Shared Latent Behavior Space Across Humanoid Embodiments 2026-09-29 · cs.RO · Also by Jan Peters, Nico Bohlinger
- Rapid Embodiment Adaptation for Quadrupedal Locomotion 2026-08-02 · cs.RO · Also by Jan Peters, Nico Bohlinger
- Whole-Body Humanoid Control via Stochastic Motion Tokenization 2026-10-27 · cs.RO · Also by Jan Peters