Motion-Agent: A Conversational Framework for Human Motion Generation with LLMs

Qi Wu, Yubo Zhao, Yifan Wang, Xinhang Liu, Yu-Wing Tai, Chi-Keung Tang

TL;DR

Motion-Agent is a conversational framework that allows users to generate, edit, and reason about 3D human motion through natural dialogue. By tokenizing motion into a language-like format and fine-tuning a small Large Language Model (MotionLLM) with just 1–3% of its parameters, the system achieves state-of-the-art performance while enabling complex, multi-turn interactions that previous "one-shot" models couldn't handle.

What Problem Does This Paper Address?

Generating realistic 3D human motion from text (e.g., "a person doing a backflip") has traditionally relied on specialized architectures like diffusion models or transformers trained from scratch. While successful, these models face three major hurdles:

  1. High Computational Cost: They require extensive training on massive datasets.
  2. Rigidity: They are usually "one-shot" systems. If you want to change a small part of a generated motion, you often have to start over with a new prompt.
  3. Lack of Reasoning: Most models can generate motion but can't "understand" it or answer questions about what a character is doing in a video.

The authors of Motion-Agent wanted to move away from these task-specific "black boxes" toward a flexible, interactive system that leverages the pre-existing reasoning power of Large Language Models (LLMs).

Methods

The framework consists of two primary components working in tandem: MotionLLM (the worker) and GPT-4 (the manager).

Motion-Agent Framework Architecture

1. Motion Tokenization (The Bridge)

To make motion understandable to an LLM, the researchers used a VQ-VAE (Vector Quantized Variational Autoencoder). This turns continuous 3D joint movements into a sequence of discrete "motion tokens." Essentially, they created a "vocabulary" for movement. Once motion is represented as a string of tokens, it looks just like a sentence to a language model.

2. MotionLLM (The Bilingual Expert)

The team took an open-source LLM (Gemma-2b) and expanded its vocabulary to include these new motion tokens. Using LoRA (Low-Rank Adaptation), they fine-tuned only a tiny fraction (1–3%) of the model’s parameters. This allows MotionLLM to perform bidirectional translation: converting text to motion tokens (generation) and motion tokens back to text (captioning/understanding).

3. The Agent Framework (The Coordinator)

For complex tasks, MotionLLM is integrated with GPT-4. GPT-4 acts as a high-level planner. When a user says, "Make the character run, then stop and wave," GPT-4 breaks this down into a structured JSON plan, calling MotionLLM multiple times to generate the segments and then stitching them together seamlessly.

Datasets

The models were trained and evaluated on two gold-standard benchmarks in the field:

  • HumanML3D: A large-scale dataset containing 14,616 human motions with nearly 45,000 textual descriptions.
  • KIT Motion-Language (KIT-ML): A dataset featuring 3,911 motion sequences and corresponding annotations.

Key Insights and Ideas

Generated multi-step motion sequence
  • LLMs are "Pre-adapted" for Motion: One of the most striking findings is that you don't need to train a massive model from scratch. Because LLMs already understand the structure, syntax, and long-range dependencies of language, they are surprisingly good at learning the "grammar" of human movement with minimal fine-tuning.
  • Decomposition Solves Complexity: Previous models struggled with long, multi-step prompts. By using an agent (GPT-4) to decompose instructions into "atomic" actions, Motion-Agent can generate virtually infinite sequences without the quality degradation typically seen in long-range generation.
  • Conversational Editing: Because the system is built on a chat interface, it supports "iterative refinement." A user can see a generated motion and say, "Now make him do that while limping," and the model understands the context of the previous turn to apply the edit.

Key Results

  • Efficiency: MotionLLM achieves performance on par with or better than state-of-the-art diffusion models (like MoMask) while training significantly fewer parameters.
  • Quantitative Success: On the HumanML3D dataset, MotionLLM achieved a Top-1 R-Precision of 0.515 and a low FID (Fréchet Inception Distance) of 0.230, indicating high-quality, diverse motion that closely matches the text prompts.
  • Superior Captioning: In motion-to-text tasks, it outperformed previous models across all linguistic metrics (Bleu, Rouge, Cider), proving it is a better "reasoner" about movement.

Limitations and Future Work

Despite its versatility, the authors note a few areas for growth:

  • Environmental Interaction: The model generates "floating" motions. It doesn't yet understand how to make a character interact with objects, like sitting specifically on a chair or picking up a cup.
  • Fine-Grained Detail: The current system focuses on body joints and does not yet include detailed finger movements or facial expressions.
  • Multi-Human Interaction: While the paper shows a "teaser" for two-person motions (e.g., people waving at each other), fully modeling complex social interactions (like dancing or wrestling) remains a challenge for future iterations.

Summary updated

BibTeX
@inproceedings{wu2025motion,
  author = {Qi Wu and Yubo Zhao and Yifan Wang and Xinhang Liu and Yu-Wing Tai and Chi-Keung Tang},
  title = {{Motion-Agent: A Conversational Framework for Human Motion Generation with LLMs}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=AvOhBgsE5R},
}
Figure