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

AttT2M: Text-Driven Human Motion Generation with Multi-Perspective Attention Mechanism

Chongyang Zhong, Lei Hu, Zihao Zhang, Shihong Xia · DOI

Abstract

Generating 3D human motion based on textual descriptions has been a research focus in recent years. It requires the generated motion to be diverse, natural, and conform to the textual description. Due to the complex spatio-temporal nature of human motion and the difficulty in learning the cross-modal relationship between text and motion, text-driven motion generation is still a challenging problem. To address these issues, we propose AttT2M, a two-stage method with multi-perspective attention mechanism: body-part attention and global-local motion-text attention. The former focuses on the motion embedding perspective, introducing a body-part spatio-temporal encoder into VQ-VAE to learn a more expressive discrete latent space. The latter is from the cross-modal perspective, used to learn sentence-level and word-level motion-text cross-modal relationships. Extensive experiments on HumanML3D and KIT-ML demonstrate that our method outperforms current state-of-the-art works in qualitative and quantitative evaluation.

TL;DR

AttT2M is a novel two-stage framework that generates highly realistic 3D human motions from natural language descriptions. By combining a body-part-aware motion encoder with a "global-local" attention mechanism, it achieves state-of-the-art precision in mapping specific words (like "clockwise" or "left arm") to complex physical movements.

Introduction: The Challenge of Text-to-Motion

Generating 3D human motion from text is a classic "cross-modal" challenge. While significant progress has been made in text-to-image and text-to-video, human motion remains uniquely difficult due to:

  1. Spatio-Temporal Complexity: Human movement is a structured spatial hierarchy where joints belong to specific limbs, requiring highly dynamic timing.
  2. The Semantic Gap: Sentences contain both "local" cues (specific actions like "kicking") and "global" cues (overall intent). Most existing models struggle to link specific words to specific motion sub-sequences, often resulting in "floaty" movements or ignored prompts.

AttT2M bridges this gap by teaching the model to "pay attention" to both the structure of the human body and the nuances of language.

Methods: A Two-Stage Framework

AttT2M utilizes a two-stage approach to refine motion generation.

Stage 1: Motion Embedding (BPST-VQ-VAE)

The model first learns a "vocabulary" of motion using a Body-Part attention-based Spatio-Temporal (BPST) encoder. Instead of treating all joints as a flat list, the skeleton is divided into five parts (Torso, Left/Right Arm, Left/Right Leg). A spatial transformer uses an adjacency mask to ensure joints primarily interact with others in their own "part," leading to more physically expressive features. These features are then quantized into a discrete "codebook" via VQ-VAE.

Stage 2: Text-Driven Generation (GLA)

Once motion is tokenized, a Global and Local Attention (GLA) mechanism generates tokens from text:

  • Local Attention: Uses CLIP word-level features to perform cross-attention with motion codes, helping the model understand how specific words (e.g., "quickly" or "left arm") should affect the sequence.
  • Global Attention: Uses sentence-level features to maintain the overall flow and logical order.
  • Generative Transformer: Predicts the sequence of motion codes based on these combined text insights.

Key Insights: Anatomy and Word Importance

One of the core innovations is treating the human body as a collection of functional units (limbs) rather than a generic cloud of points. This anatomy-informed approach significantly improves the quality of the latent space, resulting in lower reconstruction errors.

Fine-grained motion generation where the model correctly interprets the modifier 'anticlockwise' for a running action.

Furthermore, the local attention mechanism allows the model to "highlight" essential words. Visualization shows that the model correctly assigns high attention weights to action verbs and modifiers, ensuring the generated motion captures fine-grained details like directionality.

Key Results and Evaluation

AttT2M outperformed previous state-of-the-art (SOTA) models like T2M-GPT and MDM across major benchmarks:

  • FID (Fréchet Inception Distance): On HumanML3D, AttT2M achieved an FID of 0.112 (vs. 0.116 for previous SOTA), indicating motion closer to real human movement.
  • R-Precision: It achieved a Top-1 accuracy of 0.499, demonstrating high consistency with provided text.
Qualitative results showing AttT2M's ability to generate complex trajectories and multi-stage actions from textual descriptions.

Visual results show the model successfully handles complex, multi-stage prompts, such as "a man walks up steps to the right, then turns right and walks up another set of steps," maintaining a seamless trajectory that competitors often break.

Limitations and Future Work

Despite its success, AttT2M faces hurdles:

  1. Diversity in Long Prompts: For very long, highly specific descriptions, output can become repetitive due to sparse training data for niche sequences.
  2. Out-of-Distribution (OOD) Prompts: The model struggles with prompts unlike anything in the training set (e.g., abstract or technical jargon).
  3. Zero-Shot Constraints: While excellent at fine-grained changes, it still relies on seen movements and cannot yet "hallucinate" entirely new physics-based interactions.

Overall, AttT2M represents a significant step toward more controllable and "literate" AI animation tools.

Summary updated

BibTeX
@misc{zhong2023attt,
  author = {Chongyang Zhong and Lei Hu and Zihao Zhang and Shihong Xia},
  title = {{AttT2M: Text-Driven Human Motion Generation with Multi-Perspective Attention Mechanism}},
  year = {2023},
  eprint = {2309.00796},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.00796},
}
Figure