Spatio-Temporal Action Graph Networks

Roei Herzig, Elad Levi, Huijuan Xu, Hang Gao, Eli Brosh, Xiaolong Wang, Amir Globerson, Trevor DarrellWorkshops @ ICCV 2019 · OpenReview

Abstract

Events defined by the interaction of objects in a scene are often of critical importance; yet important events may have insufficient labeled examples to train a conventional deep model to generalize to future object appearance. Activity recognition models that represent object interactions explicitly have the potential to learn in a more efficient manner than those that represent scenes with global descriptors. We propose a novel inter-object graph representation for activity recognition based on a disentangled graph embedding with direct observation of edge appearance. In contrast to prior efforts, our approach uses explicit appearance for high order relations derived from object-object interaction, formed over regions that are the union of the spatial extent of the constituent objects. We employ a novel factored embedding of the graph structure, disentangling a representation hierarchy formed over spatial dimensions from that found over temporal variation. We demonstrate the effectiveness of our model on the Charades activity recognition benchmark, as well as a new dataset of driving activities focusing on multi-object interactions with near-collision events. Our model offers significantly improved performance compared to baseline approaches without object-graph representations, or with previous graph-based models.

Introduction

Standard deep learning models for activity recognition typically treat video frames as global "bags of pixels." By applying convolutional filters to the entire image and pooling the results, these models often overlook the subtle nuances of inter-object interactions. For example, a model might correctly identify a "truck" and a "sedan" but fail to distinguish between safe driving and an imminent rear-end collision. This limitation is particularly problematic for rare, "long-tail" events like traffic accidents, where labeled training data is scarce. To address this, we introduce Spatio-Temporal Action Graph (STAG) networks, which explicitly reason about the spatial and temporal relationships between specific objects.

Methodology

The STAG architecture decomposes the problem of activity recognition into a disentangled hierarchy, first analyzing object relationships within individual frames and then aggregating these relationships across the temporal dimension.

Detection and Visual Phrases

The model utilizes a standard detector (e.g., Faster R-CNN) to identify objects. A key innovation is the extraction of features from the union of bounding boxes for every pair of objects. This creates a "visual phrase" that captures the appearance of the interaction itself, rather than just the individual objects in isolation.

The STAG network architecture, illustrating the flow from object detection and union box extraction to the STAG module and final classification.

Disentangled Hierarchies

The core STAG module processes these features through two distinct stages:

  1. Spatial Context Hierarchy: Within each frame, a Non-Local block (a form of self-attention) allows object interactions to communicate. This refines relationship features based on the global context of the frame before they are pooled into a single frame descriptor.
  2. Temporal Context Hierarchy: A second Non-Local block is applied across the sequence of frame descriptors. This enables the network to learn which moments in time are most critical for defining the action, such as the split second before a collision.
A detailed view of the STAG module, showing the sequential processing through spatial and temporal context hierarchies.

By disentangling space and time into separate hierarchies, the model learns complex structural patterns more efficiently than flat, fully-connected spatio-temporal graphs.

Experimental Results

We evaluated STAG on two primary benchmarks: the standard Charades dataset and a new Collision dataset.

Datasets and Performance

  • Collision Dataset: A novel dataset of 803 real-world dashcam videos. STAG achieved 84.5% accuracy, significantly outperforming I3D and LSTM-based baselines. In a "few-shot" scenario with only 25 training videos, STAG maintained a robust 76.3% accuracy.
  • Charades: On this benchmark for complex human-object interactions, STAG achieved 37.2 mAP, surpassing the previous state-of-the-art STRG (36.2) and I3D (31.8).

Interpretability

Because the model employs attention mechanisms, it is inherently more interpretable. The model's attention naturally gravitates toward objects most likely to cause a collision, effectively providing a heat-map of potential hazards.

Conclusion

Spatio-Temporal Action Graph networks offer a significant advancement in video activity recognition by explicitly modeling object interactions through a disentangled hierarchy. This approach proves especially effective for rare events and data-constrained scenarios. While computational scaling for extremely crowded scenes remains a future challenge, the model's performance on collision detection and standard benchmarks highlights the power of structured object-graph representations.

Summary updated

Abstract

Events defined by the interaction of objects in a scene are often of critical importance; yet important events may have insufficient labeled examples to train a conventional deep model to generalize to future object appearance. Activity recognition models that represent object interactions explicitly have the potential to learn in a more efficient manner than those that represent scenes with global descriptors. We propose a novel inter-object graph representation for activity recognition based on a disentangled graph embedding with direct observation of edge appearance. In contrast to prior efforts, our approach uses explicit appearance for high order relations derived from object-object interaction, formed over regions that are the union of the spatial extent of the constituent objects. We employ a novel factored embedding of the graph structure, disentangling a representation hierarchy formed over spatial dimensions from that found over temporal variation. We demonstrate the effectiveness of our model on the Charades activity recognition benchmark, as well as a new dataset of driving activities focusing on multi-object interactions with near-collision events. Our model offers significantly improved performance compared to baseline approaches without object-graph representations, or with previous graph-based models.
BibTeX
@inproceedings{herzig2019spatio,
  author = {Roei Herzig and Elad Levi and Huijuan Xu and Hang Gao and Eli Brosh and Xiaolong Wang and Amir Globerson and Trevor Darrell},
  title = {{Spatio-Temporal Action Graph Networks}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  url = {https://openreview.net/forum?id=9jVwrOMSn-},
}
Figure