NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling Temporal Dynamics and Spatial Configurations of Actions Using Two-Stream Recurrent Neural Networks

Hongsong Wang, Liang Wang

Introduction

Recognizing human actions from video is a fundamental challenge in computer vision. While raw RGB data is often used, it is susceptible to environmental factors like lighting changes, background clutter, and occlusions. Skeleton-based recognition—utilizing the 3D coordinates of human joints—provides a robust alternative, particularly with the availability of depth sensors like the Kinect.

However, traditional deep learning approaches for skeleton data primarily focused on Recurrent Neural Networks (RNNs) to model temporal sequences (the "when"), often neglecting the complex spatial relationships between joints (the "where"). This paper addresses this gap by introducing a two-stream RNN architecture that treats spatial structure with the same importance as temporal flow.

The Two-Stream RNN Architecture

The core innovation is a parallel processing framework that splits the recognition task into two specialized channels: a Temporal Stream and a Spatial Stream. These streams are combined via late fusion, where the confidence scores (softmax posteriors) from both networks are averaged to produce a final action prediction.

The Two-Stream RNN architecture processes temporal dynamics and spatial configurations in parallel to produce a final action score.

Temporal Stream

This stream models how joint positions evolve over time. The authors explored two variants:

  • Stacked RNN: A standard deep RNN architecture.
  • Hierarchical RNN: A sophisticated version that groups joints by body parts (arms, legs, trunk) and processes them according to human kinematics before merging them into a whole-body representation.

Spatial Stream

To apply RNNs to spatial data, the authors converted the human skeleton graph into a sequence. They compared two primary methods:

  • Chain Sequence: Arranging joints in a simple linear order (e.g., arms $\rightarrow$ trunk $\rightarrow$ legs).
  • Traversal Sequence: A graph-traversal approach that visits joints in a way that preserves adjacency (visiting a joint, moving to a neighbor, and backtracking). This ensures the RNN "sees" the physical connections between parts.
Comparison of methods to convert a skeleton graph into a sequence: (a) the original undirected graph, (b) a simple chain sequence, and (c) the superior traversal sequence.

Key Insights and Ideas

  • Kinematics Matter: The Hierarchical RNN outperformed the Stacked RNN, suggesting that modeling body parts separately before combination better mirrors human motion patterns.
  • The Power of Traversal: The "Traversal Sequence" proved superior to the "Chain Sequence" because it visits most joints twice (forward and reverse), helping the RNN maintain a better "memory" of spatial relationships between connected joints.
  • Spatial "Glimpses": The Spatial RNN can recognize actions even from very short windows or single frames, confirming that static pose is a powerful signal for action recognition independent of motion.
  • Generalization through Augmentation: To prevent overfitting and improve cross-view performance, the authors employed 3D data augmentation (random rotations, scaling, and shearing), which simulates different camera viewpoints during training.

Experimental Results

The two-stream approach consistently outperformed single-stream models and previous state-of-the-art methods across three major benchmarks:

  • NTU RGB+D: Achieved 71.3% (cross-subject) and 79.5% (cross-view) accuracy, surpassing the previous leading "Trust Gate ST-LSTM" by nearly 2%.
  • SBU Interaction: Reached 94.8% accuracy, a significant improvement over traditional handcrafted feature methods (80.3%) and other RNN variants.
  • ChaLearn Gesture Recognition: Achieved a 91.7% F1-score, demonstrating the model's versatility for both gestures and full-body actions.

Conclusion and Future Work

While the spatial stream is highly effective, the authors note that converting a graph into a sequence is a manual workaround for standard RNNs. Future research may involve learning these spatial patterns more naturally. Additionally, while the model handles two-person interactions via skeleton concatenation, modeling more complex multi-person scenes remains an open challenge.

Summary updated

BibTeX
@inproceedings{wang2017modeling,
  author = {Hongsong Wang and Liang Wang},
  title = {{Modeling Temporal Dynamics and Spatial Configurations of Actions Using Two-Stream Recurrent Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.387},
}
Figure