Single Motion Diffusion

Sigal Raab, Inbal Leibovitch, Guy Tevet, Moab Arar, Amit Haim Bermano, Daniel Cohen-Or

Introduction: The Scarcity of 3D Motion Data

In the world of 3D animation, high-quality data is a luxury. While massive datasets exist for images and text, 3D motion data is remarkably scarce—especially for non-human characters like dragons, spiders, or other exotic creatures. Most modern generative models require thousands of examples to function effectively.

When an animator creates a unique creature with a custom skeleton, they might only produce a single reference clip. Existing "single-instance" learning methods, which are mostly based on Generative Adversarial Networks (GANs), often struggle with "mode collapse" (generating the exact same sequence repeatedly) or require complex, multi-stage training pyramids to capture different scales of motion.

SinMDM (Single Motion Diffusion Model) is a lightweight diffusion model designed to solve this problem. It learns to synthesize diverse, high-quality 3D animations from just a single input motion sequence. By utilizing a shallow architecture with a narrow receptive field, it avoids memorizing the input and enables complex tasks like style transfer and motion expansion directly at inference time.

Diverse motion synthesis for arbitrary skeletons, including humans and imaginary creatures like dragons.

Methods: Rethinking the Diffusion Architecture

SinMDM adapts the Denoising Diffusion Probabilistic Model (DDPM) framework specifically for the single-motion setting. The core innovation lies in an architecture explicitly designed to prevent overfitting to the single training example:

SinMDM architecture featuring a shallow UNet and Query-and-Attention (QnA) layers to enforce a narrow receptive field.
  1. Shallow UNet: Unlike standard diffusion models that rely on deep networks, SinMDM uses a very shallow UNet. This naturally limits the network's capacity, preventing it from simply "memorizing" the long-term global structure of the single input sequence.
  2. Local Attention (QnA): Standard transformers use global attention, where every frame "sees" every other frame. In a single-instance setting, this leads to perfect memorization. SinMDM replaces global attention with Query-and-Attention (QnA) layers. These layers use a learned query shared across overlapping local windows, creating a narrow, shift-invariant receptive field. This forces the model to learn local temporal "motifs" (e.g., the specific articulation of a knee during a step) rather than the global sequence.
  3. Inference-Time Manipulation: Because SinMDM is a denoising model, complex tasks can be performed at inference time using "guidance" techniques without task-specific retraining:
  4. Motion Composition: Using a Region of Interest (ROI) mask, animators can keep parts of a reference motion fixed while the model "fills in" the rest (e.g., keeping the legs of a walk cycle but synthesizing new arm movements).
  5. Harmonization & Style Transfer: Low-frequency information from a "content" motion can be injected into the denoising process of a "style" motion, effectively applying the learned motifs of one movement to the structural foundation of another.

Key Insights: The Receptive Field as a Regularizer

A major takeaway from SinMDM is that in single-instance learning, a global receptive field is a liability. By restricting what the model can "see" at once, the network is forced to become a "motif-remixer" rather than a "tape recorder." Furthermore, the gradual denoising process of diffusion proves inherently better at avoiding mode collapse than GAN-based approaches, leading to significantly higher diversity in generated motions.

Remarkably, SinMDM is entirely task-agnostic. Capabilities like in-betweening or style transfer emerge naturally from the denoising process when provided with the right constraints at inference time.

Datasets and Results

The authors evaluated SinMDM across several diverse datasets to prove its efficacy on arbitrary skeletal topologies, including Mixamo (70 characters with unique bone lengths), HumanML3D, Truebones Zoo (animal motions), and custom animations like an artist-created "breakdancing dragon."

  • Quantitative Superiority: Using a Harmonic Mean of Coverage, Diversity, and Fidelity metrics, SinMDM significantly outperformed state-of-the-art single-instance models like Ganimator and GenMM. On the Mixamo benchmark, SinMDM achieved a Harmonic Mean of 0.84, compared to Ganimator's -0.51 (which suffered heavily from low diversity).
  • Qualitative Preference: In user studies, participants significantly preferred SinMDM's results, noting higher physical plausibility and better adherence to the "style" of the input motion.
  • Training Efficiency: Despite leveraging diffusion, SinMDM's lightweight architecture allows it to be trained on a single mid-range GPU (like an RTX 2080 Ti) in approximately 1.5 hours.

Limitations and Future Directions

While powerful, SinMDM has limitations inherent to single-instance models. It cannot generate out-of-distribution motions; if trained exclusively on a "walk," it cannot synthesize a "run." Additionally, the model currently struggles to generate sub-motions in a specific, user-defined order (e.g., "jump then sit") because its narrow receptive field does not capture long-term global logic well. Finally, the iterative nature of diffusion means inference is slower than GAN-based methods.

Future work may explore "compatible skeletons"—learning from a small group of similar creatures (e.g., different four-legged animals) to bridge the gap between single-instance and large-scale learning, further expanding the toolkit available to 3D animators.

Summary updated

BibTeX
@inproceedings{raab2024single,
  author = {Sigal Raab and Inbal Leibovitch and Guy Tevet and Moab Arar and Amit Haim Bermano and Daniel Cohen-Or},
  title = {{Single Motion Diffusion}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=DrhZneqz4n},
}
Figure