Video action detection by learning graph-based spatio-temporal interactions

Matteo Tomei, Lorenzo Baraldi, Simone Calderara, Simone Bronzin, Rita Cucchiara

Abstract

The STAGE (Spatio-Temporal Attention on Graph Entities) framework treats video action detection as a relational reasoning problem. By representing actors and objects as nodes in a multi-layer graph and using self-attention to model their interactions across space and time, it achieves state-of-the-art results on the AVA dataset. Notably, STAGE is a plug-and-play module that does not require expensive end-to-end retraining of the underlying video backbone, allowing for efficient training on a single GPU.

Introduction

Action detection—identifying who is doing what and where in a video—is significantly more complex than standard image classification. Understanding actions such as "watching a person" or "playing an instrument" requires a model to look beyond a single bounding box and comprehend the broader context.

While current deep learning backbones like I3D or SlowFast are adept at extracting fine-grained spatio-temporal features, they often struggle with high-level relational reasoning due to limited receptive fields. They cannot easily connect a person in one frame to an object several seconds away. The STAGE framework addresses this by modeling complex, long-range interactions between people and their environment.

Methods: The STAGE Framework

STAGE (Spatio-Temporal Attention on Graph Entities) is designed as a modular, backbone-agnostic component that sits on top of existing video feature extractors.

The STAGE architecture, showing the extraction of actor and object features followed by processing through graph-attention layers.

The framework operates through several key steps:

  1. Graph Representation: Video clips are converted into graphs where nodes represent actors and objects detected by pre-trained models.
  2. Spatial-Aware Self-Attention: A self-attention mechanism determines the relevance between entities, conditioned by a spatial proximity prior. This adjacency matrix weights entities that are physically closer more heavily, helping the model filter out background noise.
  3. Temporal Connections: STAGE links graphs from consecutive clips to learn how relationships evolve over time.
  4. Stackable Layers: Multiple graph-attention layers create "indirect edges." For instance, if Layer 1 connects Clip A to Clip B, and Layer 2 connects Clip B to Clip C, the model effectively learns a relationship between Clip A and Clip C, significantly expanding the temporal receptive field.

Results and Discussion

The model was primarily evaluated on the AVA (Atomic Visual Actions) dataset, the benchmark for complex "in-the-wild" action detection.

Comparison of STAGE against other state-of-the-art models on the AVA dataset.

Key Performance Metrics

  • State-of-the-Art Performance: On AVA 2.1, STAGE achieved 29.8 mAP using a SlowFast-NL backbone, outperforming previous end-to-end models. On AVA 2.2, it reached 31.8 mAP.
  • Consistent Improvements: Adding STAGE to an I3D backbone improved performance from 19.7 to 23.0 mAP, representing a 16% relative gain.
  • Efficiency: Unlike models requiring massive GPU clusters, STAGE can be trained on a single GPU in less than 24 hours because it works on pre-computed features.

Insights

The most significant gains were observed in action classes defined by interactions. For example, the "watch (e.g., TV)" category saw a massive +14.0 AP improvement compared to a standard I3D backbone. This highlights that context and relational reasoning are critical for high-level action understanding.

Conclusion

STAGE demonstrates that high-level relational reasoning can be efficiently added to existing video models to significantly boost action detection performance. By using a modular graph-based approach with spatial priors, it achieves state-of-the-art results without the need for massive computational resources. Future work may explore dynamic graph structures and deeper end-to-end integration to further refine these spatio-temporal representations.

Summary updated

BibTeX
@article{tomei2021video,
  author = {Matteo Tomei and Lorenzo Baraldi and Simone Calderara and Simone Bronzin and Rita Cucchiara},
  title = {{Video action detection by learning graph-based spatio-temporal interactions}},
  journal = {Comput. Vis. Image Underst.},
  year = {2021},
  doi = {10.1016/j.cviu.2021.103187},
}
Figure