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 enables generating, editing, and understanding 3D human motion through natural, multi-turn dialogue. By combining a lightweight, motion-aware agent (MotionLLM) with a high-level coordinator (GPT-4), the system achieves state-of-the-art results in motion tasks with only 1–3% of parameters fine-tuned.

What Problem Does This Paper Address?

Generating realistic 3D human motion from text is a complex task that usually requires training massive, specialized models from scratch. While existing diffusion and transformer-based models have made strides, they face three major hurdles:

  1. Task Rigidity: Most models are "one-shot" systems that generate a single motion from a single prompt and struggle with iterative refinement or editing.
  2. Data Dependency: They often require extensive training on task-specific datasets to learn the relationship between language and movement.
  3. Complexity Limits: They frequently fail when faced with long, multi-step instructions (e.g., "run in a circle, then do a backflip, then sit down").

The authors propose Motion-Agent to bridge the gap between the reasoning power of Large Language Models (LLMs) and the physical constraints of 3D motion.

Methods

The framework relies on two primary components:

  • MotionLLM: This is the "translation agent." The authors take an open-source LLM (Gemma-2b) and expand its vocabulary to include discrete motion tokens. These tokens are created using a VQ-VAE (Vector Quantized Variational Autoencoder) that encodes continuous 3D joint movements into a quantized codebook. Crucially, they only fine-tune the model using LoRA (Low-Rank Adaptation), updating just 1–3% of the parameters. This allows the model to learn bidirectional translation: text-to-motion and motion-to-text (captioning).
  • GPT-4 Coordinator: Acting as the "brain," GPT-4 manages the conversation. It decomposes complex user instructions into a structured plan (JSON format). For example, if a user asks for a long sequence of different actions, GPT-4 determines how many times to call MotionLLM and how to concatenate the resulting sequences.
The Motion-Agent pipeline showing the interaction between GPT-4, MotionLLM, and the tokenizers.

Datasets

The authors evaluated MotionLLM using two standard benchmarks in the field:

  • HumanML3D: A large-scale dataset containing 14,616 human motion sequences with over 44,000 textual descriptions.
  • KIT Motion-Language (KIT-ML): A dataset featuring 3,911 motion sequences and 6,353 descriptions.

These datasets provide the paired text-motion data necessary to train the VQ-VAE and fine-tune the MotionLLM adapters.

Key Insights and Ideas

  • Motion as a Foreign Language: The core philosophy is treating 3D motion sequences like sentences in a new language. By tokenizing motion, the authors leverage the pre-existing "reasoning" and "grammar" capabilities of LLMs.
  • Decompose and Integrate: Instead of trying to train a model to generate a 30-second complex sequence all at once, Motion-Agent breaks the task down. GPT-4 handles the high-level logic of the sequence, while MotionLLM handles the "atomic" movements.
  • Zero-Shot Conversational Control: Because GPT-4 is already excellent at dialogue, the system gains multi-turn editing capabilities (e.g., "now make him do that faster") without any additional training on conversational motion data.

Key Results

Motion-Agent demonstrates significant improvements over previous "trained-from-scratch" models:

  • Superior Captioning: MotionLLM achieved state-of-the-art performance in motion-to-text tasks, outperforming models like MotionGPT and MotionChain across metrics like Bleu, Rouge, and Cider.
  • Complex Generation: As shown in Figure 4, Motion-Agent successfully generates long sequences involving multiple distinct actions, whereas competing models like MoMask often produce short or unclear results for the same prompts.
  • Seamless Transitions: The framework can generate "transition motions." For instance, if given two separate motions (falling down and walking), it can generate a "stand up" motion to link them smoothly (see Figure 5).
Comparison showing Motion-Agent's ability to handle complex, multi-action prompts compared to other methods.

Limitations and Future Work

While powerful, the authors note several areas for improvement:

  • Lack of Environment Awareness: The model generates motion in a vacuum. It doesn't "see" 3D objects, so it cannot accurately simulate interactions like sitting on a specific chair or picking up a cup.
  • Detail Granularity: The current system focuses on body pose and does not yet include detailed finger movements or facial expressions.
  • Multi-Human Interaction: While the paper presents preliminary results for two people interacting (e.g., waving to each other in Figure 11), this remains an underexplored area that requires more complex spatial reasoning.

The authors suggest that the framework's modularity makes it well-suited for future extensions, such as adding specialized agents for hand gestures or visual scene understanding.

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