Human Joint Kinematics Diffusion-Refinement for Stochastic Motion Prediction

Dong Wei, Huaijiang Sun, Bin Li, Jianfeng Lu, Weiqing Li, Xiaoning Sun, Shengxiang Hu

Abstract

Human motion prediction is inherently stochastic, yet current generative models often suffer from "posterior collapse," resulting in a lack of diversity. We propose MotionDiff, a framework that treats human joint movements as diffusing particles in a thermodynamic system. By combining diffusion probabilistic models with a specialized spatial-temporal transformer and a refinement network, MotionDiff achieves a significant leap in prediction diversity—up to 31% on standard benchmarks—while maintaining high physical accuracy.

Introduction

Predicting human motion is a fundamental challenge in computer vision and robotics. Given a sequence of past actions, multiple future trajectories are often equally plausible. For instance, a person starting to sit might cross their legs or lean back. Existing state-of-the-art models, typically based on Variational Autoencoders (VAEs) or Generative Adversarial Networks (GANs), frequently struggle with "posterior collapse," where the model ignores stochastic inputs and produces deterministic, average outputs.

Methodology: The MotionDiff Framework

MotionDiff reframes motion prediction as a reverse diffusion process. The framework consists of three primary components: a diffusion-based generative process, a spatial-temporal transformer architecture, and a final refinement stage.

Diffusion and Reverse Processes

The model treats joint coordinates as particles in a nonequilibrium thermodynamic system. In the forward diffusion process, Gaussian noise is gradually added to ground-truth future motions until they become pure white noise. The prediction task then becomes a reverse process: starting from random noise, the model iteratively "denoises" the sequence, conditioned on observed past motion.

Spatial-Temporal Transformer

To capture the complex kinematics of the human body, MotionDiff employs a dual-transformer approach. A Spatial Transformer learns the relationships between joints within a single frame, while a Temporal Transformer captures how these poses evolve over time.

The detailed architecture of MotionDiff, illustrating the spatial-temporal transformer and the iterative diffusion steps.

Refinement Network

While diffusion models excel at generating diverse samples, they can occasionally produce jittery or geometrically inconsistent poses. To address this, a lightweight Graph Convolutional Network (GCN) acts as a refinement layer, ensuring the final output aligns with physical constraints and ground-truth kinematics.

Key Results

The model was evaluated on the Human3.6M and HumanEva-I datasets. MotionDiff demonstrated a substantial improvement in diversity, measured by Average Pairwise Distance (APD).

  • Diversity: On Human3.6M, MotionDiff achieved an APD of 15.353, a 31% improvement over the previous state-of-the-art, DLow (11.741).
  • Accuracy: The model maintained competitive performance in Average Displacement Error (ADE) and Final Displacement Error (FDE), proving that diversity does not come at the cost of precision.
Qualitative comparison between DLow and MotionDiff (Ours) showing the end poses of 10 samples across different actions.

Qualitative analysis highlights that MotionDiff avoids the "broken" or unrealistic poses common in previous flow-based models, producing smoother and more natural transitions.

Conclusion and Future Work

MotionDiff effectively addresses the posterior collapse problem in stochastic motion prediction. By leveraging the iterative nature of diffusion models, it provides a robust mechanism for generating diverse, high-quality human motions. Future research will focus on optimizing inference speed for real-time applications and incorporating explicit physical priors, such as bone length constraints, directly into the diffusion process.

Summary updated

BibTeX
@inproceedings{wei2023human,
  author = {Dong Wei and Huaijiang Sun and Bin Li and Jianfeng Lu and Weiqing Li and Xiaoning Sun and Shengxiang Hu},
  title = {{Human Joint Kinematics Diffusion-Refinement for Stochastic Motion Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i5.25754},
}
Figure