CoMo: Controllable Motion Generation Through Language Guided Pose Code Editing

Yiming Huang, Weilin Wan, Yue Yang, Chris Callison-Burch, Mark Yatskar, Lingjie Liu

Introduction

Generating realistic 3D human motion from text descriptions (e.g., "a person throws a punch") has seen significant progress. However, these models often function as "black boxes," making it difficult for users to edit the resulting motion. If a generated sequence requires a minor adjustment—like lowering the height of a punch or adding a stumble—current systems typically require regenerating the entire sequence, which often loses the original motion's essence. CoMo (Controllable Motion) addresses this by representing movement as a sequence of interpretable "pose codes," enabling fine-grained, zero-shot editing through Large Language Models (LLMs).

The CoMo Framework

CoMo moves away from abstract latent vectors toward a transparent, three-part architecture designed for surgical control over human movement.

Semantic Pose Codebook

The core of CoMo is a factorized representation of motion into 392 discrete pose codes. These codes are organized into 70 categories (e.g., "left knee angle") and represent specific physical states such as "straight" or "quite bent." This discretization allows motion to be treated similarly to text, making it accessible to standard language processing techniques.

Motion Encoder-Decoder

  • Encoder: Unlike traditional neural encoders, CoMo uses heuristic rules to parse 3D joint data into semantic pose codes.
  • Decoder: A 1D convolutional neural network (CNN) is trained to reconstruct these discrete codes back into smooth, realistic 3D human motion.

Motion Generation and Editing

The motion generator is a transformer-based model that predicts sequences of pose codes. To ensure high-quality output, GPT-4 expands simple prompts into detailed "fine-grained keywords" describing body parts and mood.

The Motion Editor leverages the semantic nature of the pose codes. When a user provides an editing instruction, an LLM acts as a "director," identifying the specific frames and body parts that need adjustment and swapping the corresponding pose codes in a zero-shot manner.

The CoMo pipeline demonstrating text-driven generation followed by various levels of editing control, including body part swaps and fine-grained adjustments.

Key Insights and Results

CoMo's primary innovation lies in bridging the gap between high-level human intent and low-level joint rotations through an interpretable "language" of poses.

  • Surgical Precision: By factorizing the representation by body part and time, CoMo can modify a specific limb's movement without unintended side effects on the rest of the body.
  • LLMs as Zero-Shot Directors: The system utilizes the inherent "common sense" of LLMs. For instance, GPT-4 understands that "hunching" involves the torso and head, allowing it to execute edits without specific motion-editing training.
  • Performance: Evaluated on the HumanML3D and KIT-ML benchmarks, CoMo ranked in the top three for motion quality (FID) and text alignment (R-Precision). In human studies, CoMo's edited motions were preferred over 70% of the time compared to existing baselines like FineMoGen.

Limitations and Future Work

While CoMo excels at local kinematic control, it currently struggles with global descriptors such as "move in a circle" or specific spatial trajectories. Additionally, because the LLM-based editor lacks an explicit understanding of physics, some edits may occasionally result in "floaty" feet or physically improbable movements. Future research will focus on expanding the pose vocabulary to include more nuanced styles and complex object interactions.

Summary updated

BibTeX
@inproceedings{huang2024como,
  author = {Yiming Huang and Weilin Wan and Yue Yang and Chris Callison-Burch and Mark Yatskar and Lingjie Liu},
  title = {{CoMo: Controllable Motion Generation Through Language Guided Pose Code Editing}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73397-0\_11},
}
Figure