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

Zejian Kang, Yeqiang Wang, Zekai Chen, Boyang Shen, Mingyu Ma, Bingqian Wu, Fan Zhou, Jianjie Zhang, Chentao Shen, Wentao Yang, Rui Qian, Xiangru HuangarXiv 2026 · arXiv

TL;DR

SemPhys is a novel framework that bridges the gap between what a humanoid robot is told to do and what it actually executes. By training motion generators using semantic feedback from simulated physical rollouts—rather than just kinematic references—SemPhys ensures that robots remain both physically stable and semantically faithful to complex natural language instructions.

What Problem Does This Paper Address?

In humanoid robotics, the standard pipeline for language-directed movement is: Instruction $\rightarrow$ Kinematic Reference $\rightarrow$ Tracking Controller $\rightarrow$ Execution.

The problem lies in the "Reality Gap" of semantics. A motion generator might produce a perfect kinematic reference for a "180-degree turn," but if that motion is physically unstable, the tracking controller will prioritize balance over accuracy. It might shorten the turn or stumble, resulting in an executed motion that no longer matches the original instruction.

Existing methods typically evaluate semantic alignment on the reference motion. SemPhys argues that for true human-robot collaboration, we must evaluate and provide feedback on the executed motion—the actual trajectory the robot follows under the constraints of gravity and contact.

Methods

The core of SemPhys is a "Semantic-Physical Co-Learning" loop that uses a differentiable world model to backpropagate gradients from the final execution back to the motion generator.

  1. Contextual Execution Surrogate: Since full physics simulators (like MuJoCo) are generally not differentiable, SemPhys uses a learned differentiable world model and a fixed controller to predict a short segment (a "window") of the execution.
  2. Splicing for Global Context: To ensure the semantic scorer understands the full action (e.g., a turn followed by a walk), this predicted window is spliced into a recorded full-episode rollout. This allows the model to calculate a "global" semantic loss while only needing to differentiate through a small, local temporal window.
  3. Executed Semantic Alignment: The framework uses a frozen text-motion matcher (like GloVe or CLIP-style encoders) to score how well the executed trajectory matches the text instruction.
  4. Paired Prior Anchoring: To prevent the generator from drifting into "weird" or unstable regions during fine-tuning, a loss term keeps the updated references close to the original generator's outputs for the same instruction and noise.
Overview of the SemPhys training pipeline, showing how the generator, controller, and world model interact to provide semantic feedback.

Datasets

  • BONES-SEED: A large-scale humanoid motion benchmark containing over 13,000 motion clips. The authors used the test split to evaluate retrieval accuracy and physical failure rates.
  • Real-World Deployment: The system was validated on actual Unitree G1 humanoid hardware to confirm that simulation-trained references transfer effectively to real-world physics.

Key Insights and Ideas

  • Execution-Space Supervision: The most critical insight is that the "meaning" of a robot's action is defined by its physical execution, not its kinematic plan. Training on the execution directly significantly reduces the "semantic drop" seen in other models.
  • Local Gradients, Global Meaning: You don't need to differentiate a 6-second simulation to train effectively. Differentiating a 0.64-second window while providing the surrounding context as a fixed "prefix" and "suffix" is sufficient for the semantic scorer to evaluate complex, sequential tasks.
  • Stability through Anchoring: Without "Paired Prior Anchoring," fine-tuning on physical feedback can lead to high variance and training instability. Binding updates to the initial generator's responses keeps the model grounded.

Key Results

SemPhys significantly outperforms state-of-the-art baselines like MotionGPT3 and MDM in both accuracy and stability:

  • Retrieval Accuracy (R@1): Achieved 79.62% accuracy on executed motions, a nearly 20-percentage-point lead over the strongest baseline (MDM at 60.10%).
  • Semantic Retention: While MotionGPT3 loses nearly 16 points of accuracy when moving from reference to execution, SemPhys loses only 1.04 points, showing it generates highly "executable" references.
  • Physical Stability: Maintained a remarkably low failure rate of 0.25‰ (per thousand tasks), whereas more "expressive" models like MotionGPT3 failed nearly 20 times more often.
  • Robustness: The model remained stable even when the robot's mass was shifted by ±20% in simulation, proving it doesn't just "overfit" to a specific physics configuration.
Figure 4. Executed text–motion matching across eight motion groups. SemPhys (green stars) achieves the lowest matching dis- tance in seven groups. Each group compares all eight methods at generation seed 42. Lower values indicate closer text–motion matching.

Limitations and Future Work

  • Fixed Controller: SemPhys keeps the tracking controller fixed. Future work could explore co-optimizing the controller and the generator simultaneously.
  • Local World Model: The reliance on a local differentiable window might miss very long-range physical dependencies (e.g., an unstable step at the beginning causing a fall 5 seconds later).
  • Task Diversity: While tested on a wide range of "upright" tasks, the authors note that more complex multi-contact scenarios (like climbing or heavy lifting) would be a natural next step for the framework.

Summary updated

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 be evaluated directly on the complete motion the robot physically executes. Building on this insight, we introduce \textbf{SemPhys}, a framework that trains motion generators using semantic feedback from simulated executions. A differentiable world model and a fixed tracking controller predict a short segment of a recorded execution. SemPhys inserts this prediction at its original position, scores the complete trajectory against the instruction, and backpropagates through the predicted segment. A paired anchoring loss stabilizes adaptation by keeping each generated reference close to its counterpart from the initial generator. On BONES-SEED, SemPhys largely preserves instruction retrieval accuracy from reference to execution and achieves the highest retrieval accuracy on executed motions among the evaluated methods.
BibTeX
@misc{kang2026semphys,
  author = {Zejian Kang and Yeqiang Wang and Zekai Chen and Boyang Shen and Mingyu Ma and Bingqian Wu and Fan Zhou and Jianjie Zhang and Chentao Shen and Wentao Yang and Rui Qian and Xiangru Huang},
  title = {{SemPhys: Semantic-Physical Co-Learning for Humanoid Motion Generation via Differentiable World Models}},
  year = {2026},
  eprint = {2611.24074},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24074},
}

Loading related content...

Figure