CoMA: Compositional Human Motion Generation with Multi-modal Agents

Shanlin Sun, Gabriel De Araujo, Jiaqi Xu, Shenghan Zhou, Hanwen Zhang, Ziheng Huang, Chenyu You, Xiaohui XiearXiv 2024 · DOI

Introduction: The Challenge of Compositionality

Generating realistic 3D human motion from textual descriptions has seen significant progress, yet existing models often struggle with "compositional" prompts. While a model might successfully generate a "superhero landing" because it exists in the training data, it often fails when asked to combine disparate actions, such as "crawling while performing a T-pose." This difficulty stems from data scarcity and the inherent complexity of mapping single prompts to simultaneous (spatial) or sequential (temporal) actions.

CoMA enables the generation of complex, multi-part motions such as iconic celebrations and combat moves combined with obstacle avoidance.

The CoMA Framework

To address these limitations, CoMA (Compositional Human Motion Generation with Multi-modal Agents) introduces a collaborative multi-agent pipeline. Instead of a monolithic "one-shot" generation, CoMA decomposes tasks into manageable components:

  • Task Planner (LLM-based): Utilizing GPT-4o, this agent translates abstract prompts into structured sub-tasks, segmenting them into base motions and local edits.
  • SPAM (Spatially-Aware Masked Generative Motion Model): The core generator employs four distinct codebooks for different body quadrants. A factorized space-time self-attention mechanism allows the model to capture both intra-frame body part relationships and inter-frame temporal dependencies.
  • Trajectory Editor: This component handles explicit spatial pathing (e.g., walking in a specific shape) through mathematical curve functions.
  • Motion Reviewer (VLM-based): An iterative "critic" that renders the motion, captions it via VideoChat2, and compares it to the original prompt to suggest corrections.

Comparative Analysis and Capabilities

CoMA distinguishes itself from previous state-of-the-art (SOTA) models by its comprehensive approach to composition and self-correction. As shown in the comparison below, CoMA is the first framework to integrate spatial, temporal, and task-based composition alongside a closed-loop self-correction mechanism.

A comparison of CoMA against existing methods, highlighting its unique ability to handle multiple types of composition and iterative self-correction.

Key Results and Benchmarks

CoMA demonstrates superior performance on the HumanML3D benchmark, particularly in instruction-following metrics like Top-1 and Top-2 R-Precision. To further test its capabilities, the authors introduced a "Complex Split" of HumanML3D and a "Challenging Prompt Set." In these scenarios, CoMA's spatially-aware generator significantly outperformed models like MoMask and MDM. Furthermore, a user study involving 54 participants showed a nearly 80% preference for CoMA in terms of motion quality and text alignment.

Conclusion

By shifting from monolithic generation to a modular, agentic framework, CoMA effectively tackles the "out-of-distribution" problem in human motion synthesis. While the iterative self-correction loop currently impacts inference speed, the framework's ability to recombine atomic motions into complex sequences marks a significant step toward more versatile and human-centric motion generation.

Summary updated

BibTeX
@misc{sun2024coma,
  author = {Shanlin Sun and Gabriel De Araujo and Jiaqi Xu and Shenghan Zhou and Hanwen Zhang and Ziheng Huang and Chenyu You and Xiaohui Xie},
  title = {{CoMA: Compositional Human Motion Generation with Multi-modal Agents}},
  year = {2024},
  eprint = {2412.07320},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.07320},
}
Figure