Controllable Motion Synthesis and Reconstruction with Autoregressive Diffusion Models

Wenjie Yin, Ruibo Tu, Hang Yin, Danica Kragic, Hedvig Kjellström, Mårten Björkman · DOI

Abstract

Generating realistic, diverse human motion remains a significant challenge in computer animation and robotics, particularly when dealing with noisy or incomplete sensor data. We present MoDiff, an autoregressive diffusion model designed for high-quality motion synthesis and robust reconstruction. By combining a cross-modal Transformer architecture with a novel "diffusion data dropout" technique, MoDiff effectively captures long-term temporal dependencies while remaining resilient to corrupted input contexts. Our evaluation demonstrates that MoDiff outperforms existing flow-based and RNN-based models in physical consistency and generative diversity.

Introduction

The synthesis of realistic human motion is a cornerstone of modern digital media, from gaming to social robotics. However, existing generative frameworks often struggle with two primary issues: the trade-off between diversity and determinism, and a lack of robustness to "dirty" data. Many traditional models produce "average" motions that lack natural variety or collapse entirely when faced with missing joints or sensor noise.

While recent diffusion models have improved the diversity of generated sequences, they often struggle with long-term temporal consistency or require the entire control signal to be known a priori. MoDiff addresses these limitations by adopting an autoregressive approach—generating motion frame-by-frame—and utilizing a training strategy specifically designed to handle corrupted conditioning contexts.

Methodology

Autoregressive Diffusion Framework

MoDiff builds upon the Denoising Diffusion Probabilistic Model (DDPM) framework, adapted for sequential data. Unlike global models that generate an entire sequence at once, MoDiff predicts a small window of future frames based on past motion and current control signals. This allows the model to adapt dynamically to changing control inputs "on the fly."

Cross-Modal Transformer

To overcome the limitations of recurrent architectures like LSTMs—which are prone to error accumulation and forgetting—MoDiff utilizes a Transformer-based architecture. A cross-modal encoder processes past motion and control signals (such as velocity) simultaneously, while a Transformer decoder manages the iterative denoising process. This structure allows the model to better capture complex correlations between different body limbs and long-range temporal dependencies.

Diffusion Data Dropout

The primary innovation of MoDiff is Diffusion Data Dropout. During training, the model is not presented with perfect historical motion. Instead, the authors apply the diffusion forward process to intentionally add noise to the input context. This forces the model to learn richer representations and prevents it from over-relying on potentially noisy past frames. Consequently, the model learns to prioritize the control signal when the motion history is unreliable, mirroring how humans adjust their movement based on a goal even after a stumble.

Experimental Setup

Datasets

The model was evaluated using a large-scale locomotion dataset compiled from the Edinburgh Locomotion MoCap, CMU Motion Capture, and HDM05 datasets. The data includes various gaits (walking, running, etc.) across different trajectories. Motion is represented by 3D coordinates of 21 body joints (63 dimensions), while control signals consist of forward, lateral, and rotational velocities.

Baselines

MoDiff was compared against two primary baselines:

  1. MoGlow: A flow-based generative model.
  2. TimeGrad: An autoregressive diffusion model utilizing an LSTM backbone.

Results and Discussion

Physical Consistency and Accuracy

MoDiff demonstrated superior physical consistency compared to baseline models. In footstep analysis, MoDiff’s generated motions closely matched the ground truth (284 steps vs. 289 in recorded data), whereas MoGlow showed significant deviations. Furthermore, MoDiff achieved the lowest Bone-Length RMSE (0.072 cm), indicating a marked reduction in "bone stretching" artifacts—a common failure mode where joints drift apart unnaturally during generation.

Robustness to Incomplete Data

A key strength of MoDiff is its ability to perform motion reconstruction. When provided with incomplete past poses (e.g., a skeleton missing an arm), MoGlow often produced "exploding" skeletons with joints flying away. Due to its dropout-based training, MoDiff successfully reconstructed missing limbs and continued the motion naturally using the same weights used for synthesis, without requiring additional fine-tuning.

Conclusion and Future Work

MoDiff provides a unified framework for both motion synthesis and reconstruction, offering a robust solution for real-world applications where data is often imperfect. While the current work focuses on locomotion, future research will explore extending this architecture to more complex tasks such as text-to-motion and music-to-dance synthesis. Additionally, the authors suggest exploring classifier-guided generation to allow for finer control over the style or emotion of the generated motion without retraining the core model.

Summary updated

BibTeX
@inproceedings{yin2023controllable,
  author = {Wenjie Yin and Ruibo Tu and Hang Yin and Danica Kragic and Hedvig Kjellström and Mårten Björkman},
  title = {{Controllable Motion Synthesis and Reconstruction with Autoregressive Diffusion Models}},
  booktitle = {RO-MAN},
  year = {2023},
  url = {https://openreview.net/forum?id=SFbWp5UaHI},
}
Figure