Executing your Commands via Motion Diffusion in Latent Space

Xin Chen, Biao Jiang, Wen Liu, Zilong Huang, Bin Fu, Tao Chen, Jingyi Yu, Gang Yu

Introduction

Generating realistic human motion from natural language is a challenging "one-to-many" problem. A single prompt, such as "a person walks in a circle," can be interpreted in infinite ways regarding gait, speed, and posture. Traditional methods struggle with the distribution mismatch between language and physical movement, data redundancy in raw motion capture, and the high computational cost of iterative diffusion models. The Motion Latent-based Diffusion (MLD) model addresses these issues by performing the diffusion process within a compressed latent space rather than on raw motion sequences.

The MLD Framework

The MLD model employs a two-stage architecture designed for efficiency and high fidelity.

The MLD architecture consists of a Motion VAE for latent representation and a Diffusion Model for generating motion codes based on conditional inputs.
  1. Motion VAE: A transformer-based Variational AutoEncoder compresses raw motion data into a low-dimensional latent space. This stage uses UNet-like skip connections to ensure the compressed "code" retains sufficient detail for accurate reconstruction.
  2. Latent Diffusion: The diffusion process operates on these latent codes. By focusing on the "essence" of the motion rather than frame-by-frame noise, the model achieves smoother generation and significantly reduced computational overhead.
  3. Conditioning: The model is guided by frozen CLIP text encoders for language prompts or learnable embeddings for action categories, which are injected into the denoiser via cross-attention or concatenation.

Results and Performance

MLD demonstrates a paradigm shift in speed and quality. It is approximately two orders of magnitude faster than previous state-of-the-art models like MDM, reducing generation time from ~24 seconds to just 0.2 seconds for a batch of motions.

Examples of MLD generating diverse and complex human motions from varied text prompts, including multi-step actions and obstacle avoidance.

On the HumanML3D benchmark, MLD achieved a Frechet Inception Distance (FID) of 0.473, outperforming MDM (0.544). User studies further confirm these results, with participants preferring MLD’s output over 70% of the time due to better text alignment and physical realism.

Conclusion

By shifting diffusion to a latent space, MLD overcomes the efficiency bottlenecks of previous generative motion models. While challenges remain in generating infinite sequences and fine-grained details like facial expressions, MLD provides a practical foundation for real-time applications in VR, AR, and gaming.

Summary updated

BibTeX
@inproceedings{chen2022executing,
  author = {Xin Chen and Biao Jiang and Wen Liu and Zilong Huang and Bin Fu and Tao Chen and Jingyi Yu and Gang Yu},
  title = {{Executing your Commands via Motion Diffusion in Latent Space}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure