MotionLCM: Real-time Controllable Motion Generation via Latent Consistency Model

Wenxun Dai, Ling-Hao Chen, Jingbo Wang, Jinpeng Liu, Bo Dai, Yansong Tang · DOI

Abstract

MotionLCM is a novel framework designed to achieve real-time, controllable text-to-motion generation. While diffusion models have significantly improved motion synthesis quality, their iterative nature results in high latency, hindering real-time applications. MotionLCM addresses this by distilling a pre-trained motion latent diffusion model into a Latent Consistency Model (LCM), enabling high-quality motion generation in a single step. Combined with a specialized motion ControlNet and dual-space supervision, the model achieves inference speeds of approximately 30ms while maintaining precise control over trajectories and poses.

Introduction: The Latency Bottleneck

Generating human motion from text descriptions (e.g., "a person walks in a circle") has seen massive improvements thanks to diffusion models. However, these models are notoriously slow because they require dozens of iterative "denoising" steps to produce a single sequence. For instance, popular models like MDM can take 24 seconds to generate one motion, and even "fast" latent models like MLD take around 0.2 seconds.

This latency is a dealbreaker for real-time applications like VR/AR, interactive gaming, or responsive robotics, where motions must be generated in milliseconds to ensure a seamless user experience. Furthermore, adding "control" (like forcing a character to follow a specific path) usually increases computational overhead, making these models even slower. MotionLCM aims to bridge this gap, seeking a "sweet spot" where generation is both instantaneous and precisely controllable.

Methodology

The authors propose two major architectural innovations to achieve high-speed, high-quality motion synthesis:

1. Motion Latent Consistency Distillation (LCD)

Instead of training a model from scratch, MotionLCM takes a pre-trained Motion Latent Diffusion model (MLD) and "distills" its knowledge. The framework trains a new model to predict the final, clean motion latent in a single step (or very few steps) by enforcing a "self-consistency" property. This ensures that any point along the diffusion trajectory maps back to the same origin consistently, effectively bypassing the need for iterative denoising.

Comparison of traditional iterative denoising versus the proposed one-step MotionLCM inference.

2. Latent Motion ControlNet and Dual-Space Supervision

To allow for spatial-temporal control (like following a specific path), the authors incorporate a ControlNet structure directly into the latent space. A key challenge is that mathematical "latents" lack clear physical meanings. To address this, the model employs Dual-Space Supervision. During training, the predicted latent is decoded back into actual joint positions (the "vanilla motion space"). This allows the model to calculate a Control Loss based on real-world coordinates, ensuring the generated motion strictly follows input constraints like trajectories.

Key Results

The researchers evaluated MotionLCM on the HumanML3D benchmark, which contains over 14,000 motion sequences. The results demonstrate that efficiency does not have to come at the cost of quality.

  • Speed: MotionLCM achieves an average inference time of 30ms, making it roughly 13x faster than MLD and a staggering 1,929x faster than OmniControl (a previous state-of-the-art for controllable motion).
  • Quality: On the HumanML3D benchmark, MotionLCM (1-step) achieved a Fréchet Inception Distance (FID) of 0.467, actually outperforming its multi-step "teacher" model, MLD (0.473), and the popular MDM (0.544).
  • Control Accuracy: In spatial-temporal control tasks, MotionLCM significantly reduced trajectory errors compared to previous MLD-based controllers, proving that the consistency distillation process helps the model adhere more strictly to control signals.
Comparison of FID scores and Average Inference Time per Sentence (AITS) across various motion generation methods.

Conclusion

By reaching the 30ms threshold, MotionLCM moves motion generation from a "pre-processing" task to a "runtime" feature, enabling truly reactive digital humans. While the current architecture sometimes struggles with long-term temporal logic due to the underlying VAE structure, it represents a significant leap toward real-time, high-fidelity interactive character animation. Future work will focus on more temporally-aware compression architectures to handle even more complex human behaviors.

Summary updated

BibTeX
@inproceedings{dai2024motionlcm,
  author = {Wenxun Dai and Ling-Hao Chen and Jingbo Wang and Jinpeng Liu and Bo Dai and Yansong Tang},
  title = {{MotionLCM: Real-time Controllable Motion Generation via Latent Consistency Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72640-8\_22},
}
Figure