NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SCRIPT: Scalable Diffusion Policy with Multi-stage Training for Language-driven Physics-Based Humanoid Control

Jingyan Zhang, Han Liang, Ruichi Zhang, Bin Li, Juze Zhang, Xin Chen, Jingya Wang, Lan Xu, Jingyi YuarXiv 2026

TL;DR

SCRIPT is a scalable, end-to-end diffusion policy framework that allows physics-based humanoid avatars to be controlled directly via natural language instructions. By combining a novel multi-modal transformer architecture with a two-stage training pipeline (imitation learning followed by reinforcement learning), SCRIPT achieves state-of-the-art text-to-motion alignment and physical stability without requiring a separate kinematic planner.

What Problem Does This Paper Address?

Generating realistic human motion from text descriptions has seen massive progress recently, but most existing models operate purely in the realm of kinematics—they generate trajectories of joint positions without considering forces, gravity, or contact dynamics. When you try to apply these kinematic motions to a physical robot or a rigid-body simulation, the character frequently falls over, floats, or penetrates the ground.

To fix this, traditional approaches use a hierarchical setup: a diffusion model plans a kinematic trajectory, and a separate tracking policy tries to follow it. However, if the planner generates a physically impossible movement, the tracker fails, leading to visible artifacts or simulation crashes. SCRIPT addresses this tension between semantic expressiveness and physical feasibility by introducing an end-to-end diffusion policy that directly outputs executable physical actions conditioned tightly on language.

Fig. 1. SCRIPT translates natural-language motion descriptions (left) into physically simulated humanoid behavior (right) under closed-loop dynamics.

Methods

The SCRIPT framework consists of three core components:

  1. Joint Action-State-Text Diffusion Transformer (JAST-DiT): Instead of treating text as a global, static condition, JAST-DiT maintains independent token streams for actions, physical states, and text. This allows dense, token-level cross-modal interaction through joint attention mechanisms, helping the model map specific words (like "right leg") to specific physical joints and actions.
  2. Nonlinear History Conditioning: For stable autoregressive control, the model needs past context. Rather than uniformly sampling history or using a massive, computationally expensive window, SCRIPT uses a nonlinear downsampling strategy inspired by cognitive working memory. It keeps recent frames dense to capture immediate dynamics (momentum, contact transitions) and samples distant history sparsely to maintain long-term context.
Fig. 3. Nonlinear history sampling. Our strategy keeps recent states densely sampled and distant states sparsely sampled, balancing short-term control dynamics with long-range temporal context.
  1. Multi-Stage Training Pipeline:
  2. Stage I (Flow-Matching Pre-training): The model learns basic behaviors by imitating a large dataset of curated expert demonstrations via supervised flow matching.
  3. Stage II (RL Post-Training with Hybrid Rewards): To prevent error accumulation during closed-loop simulation, the policy is fine-tuned using Proximal Policy Optimization (PPO). It optimizes a hybrid reward combining dense physical tracking metrics with a sparse, trajectory-level state-text contrastive reward. A behavior-cloning anchor loss is added to keep the policy from deviating too far from its pre-trained geometric priors.
Fig. 2. Overview of the SCRIPT framework. Left: Stage I pre-trains a flow matching diffusion policy via behavior cloning, and Stage II applies RL post-training via PPO with hybrid rewards. JAST-DiT jointly models action, state, and text tokens through separate streams with joint attention.

Datasets

The authors evaluated SCRIPT on two primary datasets:

  • HumanML3D: A standard benchmark for text-driven motion generation, used here for baseline comparisons.
  • MotionMillion: A massive dataset containing 1200 hours of motion data. The authors curated this raw kinematic data using pre- and post-tracking filters to eliminate physical artifacts (like ground penetration), resulting in 550,000 high-quality physical trajectories used to study model scaling laws.

Key Insights and Ideas

  • The Danger of "Survival Bias" in RL: When fine-tuning physics-based policies with reinforcement learning, models often fall into a local minimum where they prioritize not falling over above all else. This results in highly conservative, degenerate behaviors that ignore the text prompt. SCRIPT counteracts this by enforcing a strict state-text contrastive reward at the end of episodes.
  • Hierarchical vs. Joint Attention: Global text embeddings often wash out fine-grained semantics. By treating text as an active stream within the transformer blocks, the policy can dynamically cross-reference linguistic cues with physical states at every denoising step.
  • Sparsity in the Past: The nonlinear history sampler proves that immediate physical control relies heavily on high-frequency recent data, whereas long-term intent can be maintained with highly compressed, sparse historical cues.

Key Results

  • State-of-the-Art Performance: On the HumanML3D test set, SCRIPT significantly outperformed prior physics-based baselines (such as PDP, UniPhys, and CLoSD) in text-motion alignment (Top-1 R-Precision of 0.435 vs. CLoSD's 0.370) and motion quality (FID of 0.164 vs. UniPhys's 0.487).
  • Robustness to Perturbations: SCRIPT Stage II demonstrated remarkable physical robustness. When subjected to external forces (up to an 800 N horizontal push pulse applied to the pelvis), the RL-refined policy successfully absorbed the impact and resumed its instructed motion, drastically outperforming the Stage I imitation-only model.
  • Clear Scaling Laws: SCRIPT exhibits predictable performance gains when scaled up. The authors tested three model sizes on the MotionMillion dataset: Base (206M parameters), Large (578M), and Huge (1.2B). Across all metrics—including text alignment and physical realism—performance scaled monotonically with model capacity.

Limitations and Future Work

Despite its strong performance, SCRIPT has a few notable limitations:

  • Flat Terrain Focus: The current policy is restricted to flat environments and does not account for uneven terrain or complex scene obstacles.
  • No Fine-Grained Manipulation: The model controls whole-body locomotion but lacks the hand articulation required for complex object manipulation or grasping.
  • Inference Latency: Generating actions via a 10-step denoising process takes roughly 333 ms for a 4-frame chunk on an NVIDIA A100 GPU. While efficient for a diffusion model, it is not yet optimized for high-frequency, real-time interactive control loops. Future work will explore policy distillation and optimized noise schedules to achieve real-time deployment.

Summary updated

BibTeX
@misc{zhang2026script,
  author = {Jingyan Zhang and Han Liang and Ruichi Zhang and Bin Li and Juze Zhang and Xin Chen and Jingya Wang and Lan Xu and Jingyi Yu},
  title = {{SCRIPT: Scalable Diffusion Policy with Multi-stage Training for Language-driven Physics-Based Humanoid Control}},
  year = {2026},
  eprint = {2605.22894},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.22894},
}
Figure