Human Motion Prediction via Spatio-Temporal Inpainting

Alejandro Hernandez Ruiz, Jürgen Gall, Francesc Moreno

Abstract

Predicting long-term human motion remains a significant challenge due to the stochastic nature of movement and the tendency of models to collapse into a static "mean pose." This paper introduces STMI-GAN (Spatio-Temporal Motion Inpainting GAN), which treats 3D human motion prediction as an inpainting task. By modeling both body pose and absolute global position over extended horizons (2+ seconds), and utilizing frequency-based evaluation metrics, STMI-GAN achieves significantly more realistic and diverse motion forecasts compared to traditional L2-optimized models.

Introduction: The "Mean Pose" Problem

Human motion prediction is vital for applications in robotics and computer vision. However, current deep learning approaches often fail in three key areas:

  1. Short-Term Horizons: Models typically lose plausibility after a few hundred milliseconds.
  2. Lack of Global Context: Most models focus on local joint angles, ignoring the skeleton's absolute position in space.
  3. The L2 Trap: Training to minimize Mean Squared Error (L2 distance) leads models to average potential future outcomes, resulting in a physically impossible, static "mean pose."

The STMI-GAN Framework

The proposed STMI-GAN architecture represents motion as a 3D tensor ($Frames \times Joints \times Coordinates$), allowing it to treat prediction as a spatio-temporal inpainting problem.

The STMI-GAN architecture featuring a U-Block generator and triple-discriminator setup.

Generator and Discriminator Design

The Generator employs a Frame Autoencoder to project joints into a latent embedding, followed by convolutional U-Blocks with skip connections to fill in future or missing frames. This unified framework handles both future prediction and data recovery from occlusions.

To ensure realism, the system utilizes Triple Discriminators:

  • Base Discriminator: Evaluates absolute coordinates.
  • Euclidean Distance Matrix (EDM): Ensures skeletal integrity by checking relative joint distances.
  • Motion Discriminator: Analyzes temporal differences (velocity) to maintain natural movement dynamics.

Beyond L2: Frequency-Based Metrics

Recognizing that L2 distance often penalizes realistic but divergent futures, the authors introduce frequency-based metrics: Power Spectrum Entropy (PSEnt) and Power Spectrum KL Divergence (PSKL). These metrics assess whether the distribution of movements matches natural human motion frequencies, prioritizing semantic realism over exact pixel-matching.

Key Results and Insights

Evaluated on the Human3.6M dataset, STMI-GAN demonstrates several advantages:

  • Long-Term Stability: The model produces realistic motion for 2 to 4 seconds, whereas baselines often freeze after 1 second.
  • Qualitative Realism: In human "Turing tests," STMI-GAN's motion was mistaken for real data 38% of the time, compared to only 9% for a No-GAN baseline.
  • Robustness to Occlusion: The model can recover motion even when 80% of the input data (limbs or frames) is missing.
Comparison between Ground Truth and Generated motion sequences, demonstrating high fidelity in long-term prediction.

The "L2 Paradox" is a significant finding: while STMI-GAN may score lower on traditional L2 metrics, it produces qualitatively superior and more diverse motion, highlighting the need for better evaluation standards in generative tasks.

Conclusion

STMI-GAN effectively addresses the limitations of short-term, local-only motion prediction. By framing the problem as spatio-temporal inpainting and moving toward frequency-based evaluation, the framework provides a robust path toward generating long-term, physically plausible human motion. Future work may involve incorporating environmental context to further enhance physical accuracy.

Summary updated

BibTeX
@misc{ruiz2018human,
  author = {Alejandro Hernandez Ruiz and Jürgen Gall and Francesc Moreno},
  title = {{Human Motion Prediction via Spatio-Temporal Inpainting}},
  year = {2018},
  eprint = {1812.05478},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.05478},
}
Figure