MotionODE: Enhancing Autoregressive Text-to-Motion Generation with Continuous-Depth Modeling

Zhaoxin Fan, Jian Yang, Kejian Wu, Zeming Liu, Wenjun Wu, Lili WangarXiv 2026

TL;DR

Generating natural 3D human motion from text using GPT-style models often produces jerky, fragmented actions because each local prediction struggles to keep track of the overarching choreography. MotionODE upgrades existing pretrained generators without retraining them from scratch by treating their internal Transformer layers as continuous differential equations rather than discrete, clunky steps. With a lightweight post-training tune-up, characters transition smoothly between complex actions and follow spatial instructions with noticeably sharper precision.

Figure 1. MotionODE: continuous-depth adaptation for autoregressive text-to-motion generation. Given a text prompt describing multiple actions, MotionODE adapts the hidden-state evolution of pretrained autoregressive generators while preserving their original generation mechanisms. The illustrated comparison highlights the transition from fragmented action sequences (left) to more coherent motion that follows the described action progression (right).

What Problem Does This Paper Address?

Text-to-motion generation translates written prompts—like "walk forward, turn around, and jump with both arms raised"—into 3D character animations. Many state-of-the-art approaches treat motion like language: they chop continuous movement into discrete "motion tokens" and use autoregressive Transformers to predict them step-by-step (either one token at a time or coarse-to-fine across scales).

The catch? Local token predictions are myopic. Choosing the next snippet of movement requires juggling immediate posture with long-term instructions. While researchers have spent years tweaking how motion is tokenized or ordered, almost everyone has ignored how the Transformer builds its internal hidden state before making each prediction. Standard Transformers update hidden states via discrete residual connections ($z_{b+1} = z_b + f(z_b)$). Mathematically, that is just a crude, single-step forward Euler approximation of a continuous trajectory. Can smoothing out that internal "thought process" yield better choreography without tearing down and rebuilding the model?

Methods

MotionODE is a minimally invasive post-training framework that plugs directly into pretrained autoregressive generators, leaving their tokenizers, text encoders, and outer generation loops untouched.

Figure 2. Overview of MotionODE. (a) Continuous-depth adaptation. Selected residual branches of a pretrained autoregressive motion generator are reinterpreted as local vector fields and integrated using midpoint RK2, refining internal hidden-state evolution while pre- serving the outer generation mechanism. (b) Mixed integration-path post-training. A shared student alternates between one-step and two-step RK2 integration under ground-truth motion-token supervision. Optional prediction-distribution distillation and local update-map anchoring from a frozen pretrained teacher regularize deviations from the original model. At inference, the student uses a fixed integration step count without the teacher.

Here is what changes vs. what stays standard:

  • Continuous-Depth Adaptation (RK2 Integration): Instead of standard discrete residual jumps, selected self-attention and feed-forward branches are reinterpreted as local vector fields—ordinary differential equations (ODEs) evolving across network depth. MotionODE replaces the default Euler step with midpoint Runge–Kutta (RK2) numerical integration, which queries an intermediate midpoint state before committing to the layer's update. (An optional finite-difference field correction further refines the update direction.)
  • Mixed Integration-Path Post-Training: You cannot just drop a new ODE solver into a frozen model; the weights were never trained to handle those newly queried intermediate states. To bridge this gap, the authors fine-tune the Transformer for just six epochs while alternating microbatches between 1-step and 2-step RK2 integration.
  • Teacher Regularization: To prevent the model from forgetting its pretrained priors during adaptation, a frozen copy of the original model acts as a teacher. It regularizes the student via output-level KL-divergence distillation and a branch-level local update-map anchor (ensuring the new integrated increments don't drift wildly from the original Euler increments). At inference, the teacher is discarded, adding zero extra parameters.

Datasets

The authors train and evaluate exclusively on HumanML3D, a standard benchmark representing 3D human motion across 22 skeletal joints at 20 FPS paired with natural language descriptions. No new datasets are introduced; MotionODE uses the exact splits and evaluators of its baseline models.

Key Insights and Ideas

  • Internal dynamics are an untapped lever: Improving how hidden representations evolve across layers boosts semantic adherence just as effectively as redesigning tokenizers—and works seamlessly across different paradigms, whether next-token (BAMM) or next-scale (MoScale).
  • Naive ODE solver swaps fail without path adaptation: Higher-order numerical integration isn't magic out of the box because intermediate hidden states fall out-of-distribution for pretrained weights. Alternating 1-step and 2-step RK2 paths during fine-tuning forces a shared set of weights to learn smooth, well-behaved vector fields.
  • The Alignment–Fidelity Trade-off: Pushing a model to strictly obey complex text prompts (semantic alignment) doesn't automatically make the overall distribution of movements look more statistically "average" or natural (measured by FID). Optimizing hidden trajectories exposes a clear tension between strict instruction-following and distributional fidelity.

Key Results

Tested across three distinct autoregressive backbones—MoScale, BAMM, and LMR (Discrete)—using 1-step RK2 at inference, MotionODE consistently improves text-motion semantic alignment:

  • Quantitative Gains: Top-1 R-Precision (retrieval accuracy matching motion to text) climbs across the board: MoScale improves from 0.535 to 0.548, BAMM from 0.522 to 0.529, and LMR from 0.497 to 0.504. Text-motion matching distances drop across all three, and conditional diversity (Multimodality) increases (e.g., BAMM rises from 1.782 to 1.831). However, while BAMM slightly improves its Fréchet Inception Distance (FID from 0.052 to 0.051), MoScale (0.048 to 0.092) and LMR (0.039 to 0.098) trade off some distributional fidelity for their sharper text alignment.
  • Qualitative Gains: Visualized animations show far better spatial and sequential awareness. Where native models wave hands lazily at shoulder height or turn a forward lunge into an awkward squat, MotionODE-adapted models sustain clear overhead waves and cleanly return to an upright standing posture after lunging.
Figure 3. Qualitative comparisons of autoregressive generators with and without MotionODE. For both MoScale and BAMM, continuous-depth adaptation improves adherence to fine-grained action descriptions. Red dashed boxes highlight representative poses that reflect the specified spatial constraint or final action state.

Limitations and Future Work

  • Single-Benchmark Scope: Evaluation is restricted to HumanML3D, leaving open how well the method generalizes to broader motion domains (like expressive dance or multi-person interactions) and wilder text prompts.
  • Compute Overhead & FID Trade-offs: Even though inference adds zero new parameters and discards the teacher, RK2 integration requires extra evaluations of the Transformer branches per step, increasing compute cost. Furthermore, because better text alignment occasionally degrades FID, future work is needed to harmonize semantic accuracy with motion-distribution realism.

Summary updated

Abstract

Autoregressive text-to-motion generation requires local motion predictions to reconcile cross-temporal textual requirements with the available motion context. While existing methods primarily improve motion representations and generation order, the internal formation of conditioned motion representations remains less explored. We introduce MotionODE, a continuous-depth post-training framework that refines hidden-state evolution in pretrained autoregressive generators. MotionODE reinterprets selected Transformer residual branches as local vector fields and replaces their original updates with midpoint Runge--Kutta (RK2) integration, while preserving the motion representation and outer generation mechanism. To address the mismatch between pretrained update paths and newly introduced intermediate states, we propose mixed one-step/two-step RK2 post-training under motion-token supervision, with optional distillation and update-map constraints to preserve pretrained behavior. This minimally invasive framework supports both next-token and next-scale generation without training the generator from scratch. Extensive experiments on HumanML3D demonstrate consistent improvements in text--motion alignment across MoScale, BAMM and LMR, highlighting internal representation updates as a complementary direction for improving autoregressive motion generation.
BibTeX
@misc{fan2026motionode,
  author = {Zhaoxin Fan and Jian Yang and Kejian Wu and Zeming Liu and Wenjun Wu and Lili Wang},
  title = {{MotionODE: Enhancing Autoregressive Text-to-Motion Generation with Continuous-Depth Modeling}},
  year = {2026},
  eprint = {2611.33826},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33826},
}
Figure