Abstract
Real-time character control is an essential component for interactive experiences, with a broad range of applications, including physics simulations, video games, and virtual reality. The success of diffusion models for image synthesis has led to the use of these models for motion synthesis. However, the majority of these motion diffusion models are primarily designed for offline applications, where space-time models are used to synthesize an entire sequence of frames simultaneously with a pre-specified length. To enable real-time motion synthesis with diffusion model that allows time-varying controls, we propose A-MDM (Auto-regressive Motion Diffusion Model). Our conditional diffusion model takes an initial pose as input, and auto-regressively generates successive motion frames conditioned on the previous frame. Despite its streamlined network architecture, which uses simple MLPs, our framework is capable of generating diverse, long-horizon, and high-fidelity motion sequences. Furthermore, we introduce a suite of techniques for incorporating interactive controls into A-MDM, such as task-oriented sampling, in-painting, and hierarchical reinforcement learning. These techniques enable a pre-trained A-MDM to be efficiently adapted for a variety of new downstream tasks.
Introduction
Diffusion models have established a new state-of-the-art in high-fidelity motion synthesis. However, most existing models are "global" solvers—they generate an entire sequence of frames simultaneously. This "space-time" approach is unsuitable for interactive applications like video games or VR, where a character must react instantaneously to unpredictable user inputs.
Traditional real-time alternatives, such as Variational Auto-Encoders (VAEs), often suffer from "drift," where small errors accumulate over time, leading to physical implausibility or sequence collapse. A-MDM (Auto-regressive Motion Diffusion Model) addresses these challenges by bringing the generative power of diffusion to a frame-by-frame, auto-regressive framework that is both lightweight and stable.
Methodology
The core of A-MDM is a redesigned diffusion pipeline optimized for incremental generation. Unlike heavy Transformer-based models used in offline synthesis, A-MDM utilizes a streamlined Multi-Layer Perceptron (MLP) architecture. By predicting only the next frame based on the current state, the model reduces the computational overhead significantly.
To ensure long-term stability and prevent drift, the researchers implemented Scheduled Sampling (or student forcing). During training, the model is occasionally fed its own previous predictions rather than ground-truth data, teaching it to recover from its own inaccuracies. Furthermore, while standard diffusion might require hundreds of steps, A-MDM achieves high fidelity in just 10 to 50 denoising steps, enabling a per-frame inference time of approximately 21ms.
Interactive Control and Steering
A-MDM is not just a generative model; it is a controllable one. The framework introduces a hierarchical control scheme where a high-level Reinforcement Learning (RL) policy "steers" the low-level diffusion process. Instead of the RL agent picking a specific pose, it predicts residual vectors that nudge the denoising process toward a desired goal, such as reaching a target or following a specific path.
This approach allows the model to maintain the natural, diverse motion characteristic of diffusion while adhering to strict user-defined constraints. The system can be adapted for various tasks—including in-painting for motion completion and task-oriented sampling—without requiring a full retraining of the base generative model.
Evaluation and Results
The model was rigorously tested against major motion capture benchmarks, including AMASS, 100STYLE, and LaFAN1.
- Diversity: A-MDM significantly outperformed VAE-based models in Average Pairwise Distance (APD), demonstrating a superior ability to generate varied, multi-modal responses to the same input.
- Fidelity: The model showed remarkably low "Bone Length Error," avoiding the limb-stretching artifacts common in other auto-regressive methods.
- Efficiency: With an inference budget of ~21ms per frame, the system is fully compatible with modern real-time game engines.
Conclusion and Future Work
A-MDM successfully bridges the gap between high-quality diffusion models and the low-latency requirements of interactive character animation. While the current model excels at locomotion, future work aims to expand its capabilities to include complex object interactions (e.g., sitting, lifting) and navigation through cluttered 3D environments. By moving diffusion into the auto-regressive domain, A-MDM provides a robust foundation for the next generation of interactive virtual characters.
Summary updated