Skip to content
Robotics.world

Research

SemPhys: Semantic-Physical Co-Learning for Humanoid Motion Generation via Differentiable World Models

A humanoid told to "turn around and then walk forward" can receive a kinematic reference that looks correct, but the tracking controller may shorten the turn or interrupt a reach to keep its balance…

arXiv
2611.24074 · Preprint · not peer-reviewed
Published
2026-11-18
Authors
Zejian Kang, Yeqiang Wang, Zekai Chen, Boyang Shen, Mingyu Ma, Bingqian Wu, Fan Zhou, Jianjie Zhang, Chentao Shen, Wentao Yang, Rui Qian, Xiangru Huang

In plain words

A humanoid told to "turn around and then walk forward" can receive a kinematic reference that looks correct, but the tracking controller may shorten the turn or interrupt a reach to keep its balance — changing the action an observer would associate with the instruction. The paper's central claim is that semantic alignment must therefore be measured on the complete executed motion, not on the generated reference.

AI summary

Overview

Research area: Robotics — text-conditioned humanoid motion generation, whole-body control, and differentiable world models (physics-in-the-loop learning).

Technical level: Advanced. The paper assumes familiarity with diffusion/DiT motion generators, motion tracking controllers, MuJoCo simulation, and gradient-based alignment.

Scope: SemPhys is a training framework that scores humanoid motion generators on the motion the robot actually executes rather than the kinematic reference it produces, using a differentiable world model to backpropagate semantic feedback through a short predicted segment of a recorded rollout.

What This Paper Is About

A humanoid told to "turn around and then walk forward" can receive a kinematic reference that looks correct, but the tracking controller may shorten the turn or interrupt a reach to keep its balance — changing the action an observer would associate with the instruction. The paper's central claim is that semantic alignment must therefore be measured on the complete executed motion, not on the generated reference. SemPhys trains a text-to-motion generator with semantic feedback taken from simulated executions, while a paired anchoring loss keeps updates close to the original generator's behavior.

Key Contributions

  1. Semantic supervision on executed actions. The generator is trained directly on the semantic match between the instruction and the motion the tracking controller actually produces, instead of scoring in generation space.

  2. A local world-model gradient for whole actions. A short closed-loop prediction window (default H = 32 control steps) is spliced back into its original index within a recorded simulator episode, so a semantic loss over the full trajectory backpropagates only through the predicted segment. The authors argue this preserves global motion context better than static endpoint padding.

  3. Paired prior anchoring for stable adaptation. Each update is tied to the initial generator's output for the same instruction and the same noise vector, which the authors report substantially reduces training variance and physical execution failures.

  4. Large-scale evaluation plus real hardware. Results on BONES-SEED, 16 perturbed dynamics conditions, a blind user study, and deployment on a Unitree G1 without hardware fine-tuning.

Main Findings

  • Executed retrieval accuracy: SemPhys reaches 79.62 ± 0.06% executed R@1 on BONES-SEED with 0.25 ± 0.16‰ sustained failure per thousand upright tasks, plus R@2 of 89.27%, R@3 of 92.93%, MM of 0.843 and FID of 0.0838.

  • Gap over the strongest baseline: MDM, the best baseline on executed R@1, reaches 60.10% — a system-level gap of 19.52 percentage points (approximate simultaneous 95% interval [11.99, 27.05]).

  • Post-tracking semantic drift is largely eliminated: At generation seed 42, SemPhys drops only 1.04 points from reference to executed R@1 (80.63% to 79.59%), whereas MotionGPT3 drops 15.90 points (74.08% to 58.18%). The paired difference favors SemPhys by 14.86 points (interval [7.07, 22.66]).

  • Consistency across motion types: SemPhys has the lowest executed MM in seven of eight motion categories.

  • Robustness to dynamics shifts: Across 16 perturbed conditions (body mass, actuator strength, ground friction, joint damping), SemPhys averages 78.89% executed R@1 and 0.70‰ Fail, beating MDM's mean R@1 by 20.43 points (interval [12.90, 27.97]). TeXedo averages 21.57% R@1 and 0.71‰ Fail under the same conditions.

  • Execution-space supervision beats reference-space supervision: From a shared 76.71% start, execution supervision reaches 79.30 ± 0.16% (about +2.6 points), while the same loss on references gives 74.21 ± 0.40% — a 5.09-point gap. A matched-update control against continued diffusion supervision gives 79.31% versus 73.31% (6.00 points, interval [3.01, 9.00]).

  • Preference learning is far weaker: Learning from preferences between simulated motions yields 48.54% executed R@1 versus 79.31% for SemPhys (paired gain 30.77 points, interval [20.56, 40.97]).

  • Anchoring stabilizes training: Paired anchoring raises mean executed R@1 from 74.61% to 79.30% and cuts across-seed standard deviation from 6.35 to 0.16 points; mean Fail falls from 6.09‰ to 0.25‰.

  • Global context matters: Scoring the 32-step window inside its recorded prefix and suffix gives 79.31% versus 68.07% with static endpoint padding (11.24 points, interval [4.52, 17.96]); scoring the window alone gives 64.88%.

  • Replacing semantic supervision hurts: Ground-truth trajectory reconstruction instead of the semantic loss gives 56.93% executed R@1 versus 79.30% (relative change −28.2%).

  • Window length: H = 32 gives 79.31% R@1 / MM 0.8453 / 0.23‰ Fail; H = 64 gives 80.11% / 0.8332 / 0.15‰; H = 96 gives 79.81% / 0.8320 / 0.31‰. Extending from 32 to 96 steps reduces MM by 0.0133 (interval [0.0029, 0.0264]).

  • Surrogate gradients are directionally faithful: With a step size of 10⁻⁴ over 32 validation prompts, predicted and replayed MM changes agree in sign for 102 of 112 pairs above replay tolerance (91.1%), and replayed MM improves in 107 of 127 finite trials (84.3%), versus 48.8% for random perturbations of equal magnitude.

  • Human evaluation: In a blind study of 50 instructions rated by 10 respondents, SemPhys scores 2.44/3 on motion naturalness and 2.68/3 on semantics, ahead of OMG (1.98) and MoMask (1.86).

  • Hardware: The simulation-trained controller executes a turn followed by forward locomotion on a physical Unitree G1 without hardware fine-tuning.

Methodology in Plain English

The system has three parts: a text-conditioned DiT generator that turns an instruction (fused with an LLM-predicted event plan) into a reference motion; a frozen tracking controller that makes a simulated Unitree G1 follow that reference in MuJoCo; and a learned differentiable world model that can predict what the physics will do next.

Training proceeds as follows. The generator produces a reference from text and noise, and the controller executes it, producing a full recorded rollout. From this episode a short window (H = 32 control steps, 0.64 s at 50 Hz control and 200 Hz simulation) is re-simulated through the world model, starting from the recorded state. Those predicted poses are pasted back at their original time indices inside the recorded episode, and a frozen text–motion matcher scores the entire hybrid trajectory against the instruction. Only the predicted window carries gradients, so the generator learns how its local contribution changes the meaning of the whole action. A second loss pulls the generator's output toward the frozen initial generator's output for the same text and noise, and AdamW updates only the projection heads while the controller, matcher, and dynamics stay frozen.

Training uses three epochs over 84,287 simulation records, with the world model re-fitted to recent simulator transitions before each generator update cycle and the final two DDIM denoising steps differentiated. At deployment the world model and matcher are discarded; the generator plus controller run normally in real time.

Why This Matters

Research impact. The paper reframes text-to-motion evaluation and training: what the robot does, not what the generator drew, is what a human collaborator perceives. It also demonstrates a practical way to backpropagate a sequence-level semantic objective through physics — holding the controller fixed and updating the generator — which contrasts with approaches that train the controller or rank candidates post hoc.

Real-world applications:

  • Natural-language instruction of humanoid assistants in homes and hospitals, where a shortened turn or aborted reach changes the commanded action.
  • Teleoperation augmentation and expressive whole-body motion for avatars and animatronics.
  • Warehouse and logistics tasks requiring compound commands such as turn-then-walk while carrying an object.
  • Safety-critical deployment where sustained falls must be rare — the reported 0.25‰ sustained failure rate is the relevant metric.

Industry relevance. Because the world model and matcher are training-only, deployment adds no inference overhead — attractive for humanoid vendors who already ship a tracking controller and want better instruction following without retraining that controller. Robustness across 16 perturbed dynamics conditions (mass, actuator strength, friction, damping) speaks directly to sim-to-real concerns.

Future Directions

  1. Contrastive variants of the semantic score. Preference-based learning scored only 48.54% executed R@1 in the authors' matched-update control, and 1.04 points of reference-to-execution loss remain; sharper sequence-level objectives are an obvious next step.

  2. Longer or adaptive gradient windows. R@1 peaks at H = 64 (80.11%) rather than 32 or 96, and MM keeps improving to 96 steps — suggesting tension between window length, stability, and cost that is not yet resolved.

  3. Further closing the sim-to-real gap. The G1 deployment used no hardware fine-tuning and is reported qualitatively; quantitative hardware evaluation and adaptation to real contact dynamics remain open.

  4. Extending beyond the frozen controller. SemPhys deliberately holds the tracking policy fixed; jointly adapting controller and generator, or applying the surrogate-gradient machinery to other robot embodiments, is untested.

Target Audience

Robotics and graphics researchers working on text-to-motion generation, physics-based character animation, and humanoid whole-body control; engineers at humanoid companies evaluating execution-aware training pipelines; and graduate students who already know diffusion-based motion generation and reinforcement-learning tracking controllers and want a concrete example of differentiable-world-model alignment.

Authors’ abstract

In human-robot collaboration, natural language lets people direct a humanoid's whole-body movements without programming joint trajectories. A common approach generates a kinematic reference from an instruction and relies on a tracking controller to execute it. However, as the controller maintains balance under contact constraints, the executed motion can depart from the reference in ways that change the action it conveys. Our central insight is that semantic alignment must…

The full abstract on arXiv
Read the original paper

Related papers