TextOp: Real-time Interactive Text-Driven Humanoid Robot Motion Generation and Control

Weiji Xie, Jiakun Zheng, Jinrui Han, Jiyuan Shi, Weinan Zhang, Chenjia Bai, Xuelong LiarXiv 2026

TL;DR

TextOp is a real-time, text-driven motion generation and control framework that allows humanoid robots to execute complex, fluid sequences of behaviors driven by streaming natural language commands. By bridging a high-level autoregressive motion diffusion model with a low-level whole-body tracking policy, TextOp enables users to modify instructions on the fly with sub-second latency.

What Problem Does This Paper Address?

While recent advances in reinforcement learning have made humanoid robots highly capable of tracking complex motions, how we command them remains a bottleneck. Current systems typically rely on two paradigms:

  1. Predefined motion trajectories: These are rigid and cannot adapt if a user changes their mind mid-execution.
  2. Continuous teleoperation: This requires constant human input (via VR or mocap suits), which is labor-intensive and limits robot autonomy.

Text-to-motion models offer a promising alternative, but existing frameworks are mostly offline—they generate a complete, static motion sequence from a single prompt upfront. This paper tackles the challenge of creating an interactive, real-time control loop where a robot can dynamically interpret a continuous stream of evolving language commands and smoothly transition between diverse skills (like dancing, jumping, or waving) without stopping.

Methods

TextOp introduces a hierarchical, two-level architecture to decouple semantic intent from physical execution:

Fig. 2: Overview of TextOp’s framework. The framework consists of three main parts: (a) Interactive Motion Generation, including VAE training and LDM training, which together model future reference motion sequences conditioned on history motion and text prompt in an autoregressive style; (b) Dynamic Motion Tracking, where the MLP-based policy π takes reference motions and robot states to generate joint actions, trained in the simulation for stable execution; (c) Deployment, where the real-time user text prompt is converted into motions by the generator, translated into actions by the tracking policy based on the robot state, and executed on the physical robot.
  • High-Level Interactive Motion Generation: Operating at 6.25 Hz, this module uses a Transformer-based Variational Autoencoder (VAE) combined with a Latent Diffusion Model (LDM). Conditioned on text prompts (encoded via CLIP) and recent motion history, it autoregressively predicts short-horizon kinematic trajectories (8 future frames).
  • Low-Level Dynamic Motion Tracking: Operating at 50 Hz, a multi-layer perceptron (MLP) tracking policy trained via Proximal Policy Optimization (PPO) translates these short-horizon trajectories into joint-level motor commands, ensuring stable, physically feasible execution in the real world.

To make this pipeline robust on physical hardware, the authors introduced two critical design choices:

  • Robot-Skeleton Motion Representation: Instead of using standard human motion representations (like HumanML3D), which assume ball joints, they designed a Degree-of-Freedom (DoF)-based local incremental representation tailored to the single-DoF rotational joints of real robots.
  • Data Augmentation via Generation: To bridge the distribution gap between pristine motion-capture datasets and the noisy trajectories generated online by the LDM, the tracking policy's training data was augmented with over 31 hours of generator-produced motions.

Datasets

The framework was trained and evaluated using:

  • AMASS: A large-scale public motion capture dataset, retargeted to the robot skeleton.
  • BABEL: Used to provide frame-level language annotations paired with the AMASS motions to enable natural language switching.
  • Private Dataset: A small, specialized dataset containing complex dance and martial arts sequences.
  • SnapMoGen: A public motion capture dataset used as an entirely unseen benchmark to evaluate the tracking policy's generalization capabilities.

Key Insights and Ideas

  • Motion as a Time-Varying Stream: Rather than treating text-to-motion as a one-shot generation task, TextOp treats both the text input and the generated motion as continuous, time-varying signal streams. This allows for fluid, "one-take" behavioral transitions.
  • The Power of Coarse-Grained Labeling for Style: For complex, long-horizon motions in their private dataset, simply wrapping style labels in markers (e.g., "<hiphop 3>") allowed the diffusion model to capture distinct stylistic nuances and generate consistent motions without needing frame-by-frame text alignment.
  • Tracker-Generator Alignment: Training a low-level controller solely on clean human data makes it fragile to the slight jitters and imperfections of an online generative model. Exposing the tracker to the generator's actual output distribution during simulation training is what unlocks real-world deployment success.

Key Results

The authors deployed TextOp on a physical Unitree G1 humanoid robot (29 degrees of freedom).

The Unitree G1 robot executing a continuous sequence of diverse skills driven by real-time text commands.
  • Sub-Second Latency: The average user interaction latency—the time from typing a command to the robot physically responding—was just 0.73 seconds, making it highly responsive.
  • Robustness to Perturbations: The low-level tracking policy proved highly resilient. When physically pushed or pulled during execution, the robot dynamically adjusted its actions to maintain balance while continuing to fulfill the text command.
Real-time recovery of the robot under external physical perturbations.
  • High Tracking Fidelity: In 30-second long-horizon simulation tests, the policy achieved a 99.3% success rate when tracking generator-produced motions, significantly outperforming prior general motion trackers like GMT and Any2Track.

Limitations and Future Work

Currently, TextOp operates blindly regarding its surroundings; it lacks explicit environment perception and interactive physical reasoning. If an obstacle is placed in front of the robot, it cannot automatically alter its generated path to avoid it.

The authors note that promising future directions include integrating environment-aware sensing (like vision) and combining TextOp with the high-level reasoning capabilities of Large Language Models (LLMs) to build fully autonomous, instruction-driven robotic agents.

Summary updated

BibTeX
@misc{xie2026textop,
  author = {Weiji Xie and Jiakun Zheng and Jinrui Han and Jiyuan Shi and Weinan Zhang and Chenjia Bai and Xuelong Li},
  title = {{TextOp: Real-time Interactive Text-Driven Humanoid Robot Motion Generation and Control}},
  year = {2026},
  eprint = {2602.07439},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.07439},
}
Figure