Spatial-Temporal Attention-Based Human Dynamics Retrospection

Minjing Dong, Chang Xu

Abstract

Predicting human motion is a fundamental challenge for applications ranging from autonomous driving to human-robot interaction. Traditional Recurrent Neural Network (RNN) approaches often suffer from error accumulation and a tendency to converge toward static "mean poses" during long-term forecasting. This paper presents RMA-RNN, a novel framework that integrates a retrospection module with dual spatial-temporal attention mechanisms. By enabling the model to "look back" and self-correct, RMA-RNN significantly reduces prediction drift and maintains realistic motion dynamics over extended horizons.

Introduction

Accurate human motion prediction requires modeling complex temporal dependencies and spatial joint correlations. Standard sequence-to-sequence (seq2seq) models often fail in two critical ways: error accumulation, where small initial discrepancies snowball into physically impossible poses, and the "mean pose" problem, where uncertainty leads the model to output a static average of possible futures. These limitations stem from a lack of self-correction and an undifferentiated treatment of joints and frames.

Methodology: The RMA-RNN Framework

The proposed Retrospection Module with Attention (RMA-RNN) enhances a Gated Recurrent Unit (GRU) seq2seq base with three primary components designed to address these flaws.

The RMA-RNN decoder architecture featuring spatial (S) and temporal (T) attention alongside the Retrospection Module (RM).

Retrospection Module (RM)

The RM acts as a self-audit mechanism. By setting "anchor points" in the sequence, the module attempts to reconstruct previous subsequences. If the reconstruction is inaccurate, the model is forced to adjust its internal state, effectively mitigating error accumulation through learned self-correction.

Dual Attention Mechanisms

  • Spatial Attention: This module dynamically weights different joints based on the specific action. For instance, it prioritizes leg joints during walking and arm joints during smoking, focusing the model's capacity on the most informative body parts.
  • Temporal Attention: Rather than relying solely on the most recent frame, this mechanism scans the entire encoder history to identify key frames that best inform the current prediction step.

Experimental Setup

The model was rigorously evaluated on two benchmark datasets:

  • Human 3.6M (H3.6M): A large-scale 3D human motion dataset featuring 15 diverse activities performed by seven actors.
  • CMU Motion Capture: Utilized to assess the model's generalization capabilities across varying data structures.

Results and Discussion

Quantitative analysis demonstrates that RMA-RNN consistently outperforms state-of-the-art baselines like Residual RNNs (RRNN) across both short-term (80ms–400ms) and long-term (1000ms) horizons. For example, in walking tasks at 1000ms, RMA-RNN achieved a Mean Euler Angle Error of 0.52, a significant improvement over RRNN's 0.66.

Qualitative comparison of motion prediction. RMA-RNN (Ours) maintains realistic, fluid motion closer to the ground truth compared to the drifting RRNN baseline.

Qualitatively, visualizations confirm that RMA-RNN avoids the "mean pose" trap. While standard models often freeze or produce implausible limb stretches, RMA-RNN generates coherent, fluid motion that tracks the ground truth closely, even for aperiodic actions like "taking a photo."

Conclusion

RMA-RNN introduces a robust self-correction paradigm for human motion prediction. By combining retrospection with spatial-temporal attention, the model achieves superior accuracy and physical plausibility. Future work will explore reducing computational overhead and integrating high-level semantic context or raw video data to further refine predictions for complex, multi-stage human activities.

Summary updated

BibTeX
@article{dong2019spatial,
  author = {Minjing Dong and Chang Xu},
  title = {{Spatial-Temporal Attention-Based Human Dynamics Retrospection}},
  journal = {IEEE Access},
  year = {2019},
  doi = {10.1109/access.2019.2933221},
}
Figure