LaMP: Language-Motion Pretraining for Motion Generation, Retrieval, and Captioning

Zhe Li, Weihao Yuan, Yisheng He, Lingteng Qiu, Shenhao Zhu, Xiaodong Gu, Weichao Shen, Yuan Dong, Zilong Dong, Laurence Tianruo Yang

Overview

Generating 3D human motion from text prompts—such as "a person walks forward, stops, and does a little jump"—is a rapidly growing area with applications in gaming, VR, and robotics. To understand these text prompts, most current state-of-the-art models rely on the pretrained CLIP text encoder.

However, CLIP was trained on static image-text pairs. While excellent at understanding static visual concepts, it struggles to capture the temporal dynamics and sequential nature of human movement. Because of this domain gap between static images and dynamic motion, using CLIP as the conditioning signal leads to suboptimal alignment between the generated motion and the text prompt.

To address this, researchers have introduced LaMP (Language-Motion Pretraining), a novel model that replaces the standard CLIP text encoder to better align textual descriptions with 3D human motion. By shifting from a static language-vision space to a dynamic language-motion space, LaMP achieves state-of-the-art results across three major tasks: text-to-motion generation, motion-text retrieval, and motion captioning.

The LaMP Framework

The authors propose a unified framework centered around LaMP, which consists of a motion transformer and a text transformer designed to bridge the modalities.

LaMP Pretraining Architecture
  1. Pretraining (LaMP): Inspired by vision-language models like BLIP-2, LaMP uses learnable query tokens to connect text and motion. It is jointly optimized on four tasks: motion-text contrastive learning, motion-text matching, motion-grounded text generation, and text-grounded motion generation.
  2. Motion Generation (LaMP-T2M): Instead of CLIP, the pretrained LaMP text transformer extracts text embeddings to guide motion generation. Notably, the authors use a decoder-only architecture with a causal attention mask for autoregressive masked prediction. This departs from previous transformer-based motion models (like MoMask) that use bidirectional masks.
  3. Motion Retrieval (LaMP-Feat): The pretrained transformers are used directly to match text queries to motion sequences (and vice versa) in a shared latent space.
  4. Motion Captioning (LaMP-M2T): LaMP's motion features are fed into a Large Language Model (OPT-2.7b), which is fine-tuned using LoRA to generate natural language descriptions of input motions.
LaMP Downstream Tasks: Generation and Captioning

To better evaluate generation quality, the authors also introduce a new metric, LaMP-BertScore. This uses LaMP-M2T to generate a caption for the synthesized motion and then computes the BertScore against the original ground-truth text prompt.

Key Insights

  • Moving Beyond CLIP: Moving away from image-text pretraining to dedicated motion-text pretraining unlocks massive performance gains. Text embeddings need to be inherently "motion-informative."
  • Solving Rank Collapse in Transformers: The authors identified a mathematical flaw in existing masked motion generators: bidirectional attention masks often lead to "rank collapse" (reduced expressiveness due to low-rank attention matrices). By switching to a causal (decoder-only) mask, the attention matrix is guaranteed to be full-rank, significantly boosting the model's generative capacity.
  • A Unified Bottleneck: LaMP proves that a single, well-aligned pretraining paradigm can serve as a highly effective feature extractor for generation, a direct engine for retrieval, and an information bottleneck for LLM-based captioning.

Datasets and Results

The models were trained and evaluated on two standard 3D human motion benchmarks: HumanML3D (14,616 motion sequences) and KIT-ML (3,911 motion sequences). Both datasets represent human poses using the standard SMPL model format.

The proposed methods achieved state-of-the-art performance across the board:

  • Text-to-Motion Generation: On HumanML3D, LaMP-T2M achieved an R-Precision Top-1 of 0.557 (up from MoMask's 0.521). Most impressively, it decreased the FID score by 28.9% on HumanML3D (0.032 vs. 0.045) and by 28.0% on KIT-ML, indicating vastly superior motion fidelity.
  • Motion-Text Retrieval: LaMP outperformed recent baselines like TMR, achieving a 68.02% R@1 for motion-to-text retrieval on HumanML3D.
  • Motion Captioning: LaMP-M2T proved highly competitive, outperforming recent models like MotionGPT on key metrics such as Bleu@4 (13.04 vs. 12.47).

Limitations and Future Work

The model relies on discrete VQ-VAE tokens for motion representation, which can sometimes smooth over fine-grained, continuous kinematic details. Additionally, the system is currently constrained to the specific single-person SMPL joint formats of the training datasets. Future work could logically extend this language-motion pretraining paradigm to multi-person interactions, hand/facial gestures, or more diverse, "in-the-wild" video-based motion data.

Summary updated

BibTeX
@inproceedings{li2025lamp,
  author = {Zhe Li and Weihao Yuan and Yisheng HE and Lingteng Qiu and Shenhao Zhu and Xiaodong Gu and Weichao Shen and Yuan Dong and Zilong Dong and Laurence Tianruo Yang},
  title = {{LaMP: Language-Motion Pretraining for Motion Generation, Retrieval, and Captioning}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=LYawG8YkPa},
}
Figure