Pretrained Diffusion Models for Unified Human Motion Synthesis

Jianxin Ma, Shuai Bai, Chang ZhouarXiv 2022 · DOI

Introduction

Human motion synthesis has historically been a fragmented field, characterized by specialized models designed for isolated tasks such as music-to-dance, motion in-betweening, or text-to-motion. This fragmentation stems from two primary challenges: data scarcity and skeleton incompatibility. Motion capture data is notoriously difficult to acquire, leading to small datasets that cause high-capacity models to overfit. Furthermore, different datasets often utilize disparate skeleton structures—varying in joint counts and default poses—making it difficult to leverage a unified training corpus.

To address these hurdles, researchers from Alibaba’s DAMO Academy introduced MoFusion, a framework designed to serve as a powerful, pretrained backbone for diverse motion synthesis tasks. By pretraining on a massive, multi-source corpus and employing a novel "skeleton adapter," MoFusion achieves state-of-the-art performance while enabling zero-shot capabilities across various downstream applications.

Methodology

The MoFusion framework is built upon two core pillars: Denoising Diffusion Probabilistic Models (DDPM) and Transformer architectures.

The Diffusion Backbone

MoFusion utilizes a bidirectional Transformer decoder as its denoising backbone. The model learns to transform Gaussian noise into realistic human motion by iteratively predicting the "clean" motion sequence ($x_0$). This iterative denoising process provides the flexibility required to handle various generation tasks, from full-body synthesis to specific limb editing, by treating known joints or frames as fixed constraints.

The Skeleton Adapter

A key innovation of MoFusion is the Skeleton Adapter, which enables the model to handle diverse skeleton formats within a single framework. Since the pretrained model is based on the SMPL-H skeleton, the adapter uses learnable parameters to align rotations and map joints from different sources. It compensates for variations in default poses (e.g., T-pose vs. A-pose) and uses a generalized permutation matrix to manage differing joint indices and counts.

Figure 3: Overview of the MoFusion architecture (left) and the detailed Skeleton Adapter Layer (right) used to unify disparate skeleton data.

Multi-Granularity and Control

The model incorporates control signals, such as text embeddings from a frozen DistilBERT or audio features, via cross-attention mechanisms. For complex tasks, MoFusion employs "alternating control," where different signals (e.g., text for action and music for rhythm) are applied at different steps of the diffusion process.

Data and Scaling

To overcome data scarcity, the authors compiled a massive pretraining corpus by retargeting several major datasets—including AMASS, LaFAN1, KIT, and AIST++—to the SMPL-H skeleton. A critical finding of this work is the necessity of pretraining for model scaling. While a 250M parameter model trained from scratch on small datasets performs worse than a 50M model due to overfitting, the larger model significantly outperforms its smaller counterparts when initialized with pretraining on the unified corpus.

Experimental Results

MoFusion sets new benchmarks across several key motion synthesis tasks. On the LaFAN1 dataset for motion in-betweening, MoFusion achieved an L2Q (joint rotation error) of 0.58 for a 30-frame window, surpassing previous Transformer-based state-of-the-art models. In text-to-motion synthesis on the KIT dataset, it outperformed the TEMOS model, achieving a global Average Positional Error (APE) of 0.798.

Figure 5: A generated motion sequence illustrating the model's ability to produce temporally coherent and realistic human movement.

Beyond standard benchmarks, MoFusion demonstrates impressive zero-shot versatility. It can perform Inverse Kinematics (IK) and "Mixed Control" tasks—such as combining a "sit down" text prompt with specific dance music—without explicit training on those combinations. To ensure smooth transitions in temporal tasks, the authors introduced a "delta in-painting" technique that eliminates jumpiness at the boundaries of generated clips.

Conclusion

MoFusion represents a significant step toward a foundation model for human motion. By unifying disparate datasets through a skeleton adapter and leveraging the generative power of diffusion models, it provides a versatile backbone capable of handling a wide array of synthesis tasks. While challenges remain regarding heuristic retargeting and the need for more robust zero-shot benchmarks, MoFusion establishes a new paradigm for scalable and unified motion generation.

Summary updated

BibTeX
@misc{ma2022pretrained,
  author = {Jianxin Ma and Shuai Bai and Chang Zhou},
  title = {{Pretrained Diffusion Models for Unified Human Motion Synthesis}},
  year = {2022},
  eprint = {2212.02837},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2212.02837},
}
Figure