Iterative Motion Editing with Natural Language

Purvi Goel, Kuan-Chieh Wang, C. Karen Liu, Kayvon Fatahalian

TL;DR

This paper introduces a system for "coaching" 3D character animations using iterative natural language prompts. By translating conversational instructions (e.g., "kick higher" or "guard your face") into programmatic Motion Editing Operators (MEOs) and using a diffusion-based model for realistic infilling, the system allows animators to precisely refine motions while preserving the original animation's identity.

What Problem Does This Paper Address?

In character animation, there is a massive gap between two worlds:

  1. Traditional Keyframing: Offers total control but is incredibly tedious and requires expert skill.
  2. Generative Text-to-Motion: Allows for quick generation from a prompt (e.g., "a person walking"), but is terrible at fine-grained editing. If you ask a standard model to make an existing walk "faster," it often generates a completely new, unrelated motion rather than modifying the one you already have.

The authors address the "grounding" and "fidelity" problem: how do we take an imprecise human instruction and apply it to a specific 3D skeleton in a way that looks realistic, respects the original motion's structure, and allows for back-and-forth iteration?

Methods

The system, titled Iterative Motion Editing, uses a clever two-step pipeline:

1. Natural Language to Program (The LLM Layer)

Instead of trying to map text directly to joint rotations, the authors use an LLM (GPT-4) as a "translator." * The API: They defined a set of Motion Editing Operators (MEOs)—high-level Python functions like rotate_joint, translate_joint, or speed_up. * The Prompt: The LLM receives the user's edit instruction (e.g., "kick higher"), a text description of the current motion, and the MEO API documentation. * The Output: The LLM writes a Python script that identifies the correct frames (e.g., "when the foot is at its highest point") and applies the necessary kinematic changes.

2. Program to Realistic Motion (The Diffusion Layer)

Once the MEOs are executed, they create "modified keyframes." However, simply moving a foot higher in one frame makes the animation look robotic or broken.

  • Diffusion Infilling: The system uses a diffusion-based generative model to "infill" the frames around the edit.
  • Guidance: To ensure the model doesn't drift too far from the original, they use a technique called "spatially blending" (lerping) a naive spline-based version of the edit with the diffusion process. This guides the model to stay faithful to the original "vibe" while ensuring the new constraints are met realistically.

Datasets

  • AMASS: A large-scale database of human motion capture used to train the diffusion-based infilling model.
  • HumanML3D: Used for text-motion pairs to provide context and evaluate the system's ability to handle diverse descriptions.

Key Insights and Ideas

  • Abstraction is the Bridge: The "aha moment" is that natural language is too vague for joints but perfect for operators. By creating an intermediate programmatic layer (MEOs), the system gains the predictability of traditional tools with the ease of use of AI.
  • LLMs as Grounding Engines: LLMs are surprisingly good at spatial reasoning if given the right tools. By telling the LLM to look for "extrema" (like the highest point of a jump), the system solves the "where to edit" problem without complex computer vision.
  • Non-Destructive Editing: Because the system maintains a "conversation history" and an "undo stack," it treats animation like a dialogue. You can ask for a change, see it, and then say "actually, use the other hand," and the LLM knows how to revert and re-apply logic.

Key Results

The authors compared their system against state-of-the-art baselines like MDM and MoMask.

  • Fidelity: In user studies, the system scored significantly higher (4.48/5.0) on "Fidelity" (how well it followed the instruction) compared to baselines (which scored as low as 1.56/5.0).
  • Structural Similarity: The system was much better at keeping the "original" motion intact. Quantitative metrics showed it was 140% more faithful to the source motion than MoMask-Edit.
  • Qualitative Success: The system successfully handled complex, multi-step edits, such as taking a basic kick and iteratively making it higher, then faster, then adding a defensive arm gesture—all while looking like the same character performing the same move.

Limitations and Future Work

  • Kinematics vs. Physics: The current MEOs are kinematic (moving joints). They don't yet handle physical properties like "kick with more force" or "make it look heavier," which would require a physics engine.
  • Heuristic Frame Picking: Currently, the system relies on simple heuristics (like finding the highest joint position) to decide when an edit happens. More sophisticated motion understanding could make this more robust for complex, overlapping actions.
  • SMPL Model Constraints: The system is currently tied to the joints available in the SMPL body model, limiting its use for non-humanoid characters or highly detailed finger/face animations.

Summary updated

BibTeX
@inproceedings{goel2024iterative,
  author = {Purvi Goel and Kuan-Chieh Wang and C. Karen Liu and Kayvon Fatahalian},
  title = {{Iterative Motion Editing with Natural Language}},
  booktitle = {SIGGRAPH (Conference Paper Track)},
  year = {2024},
  doi = {10.1145/3641519.3657447},
}
Figure