stagNet: An Attentive Semantic RNN for Group Activity Recognition

Mengshi Qi, Jie Qin, Annan Li, Yunhong Wang, Jiebo Luo, Luc Van Gool

Abstract

Recognizing group activities in video requires understanding complex spatial and temporal relationships between multiple actors. We present stagNet (Spatio-Temporal Attentive Semantic Graph RNN), a framework that models these interactions using a semantic graph integrated with a structural RNN. By employing a spatio-temporal attention mechanism, stagNet identifies key actors and pivotal frames, achieving state-of-the-art performance on benchmark datasets including the Collective Activity and Volleyball datasets.

Introduction

While individual action recognition (e.g., "running") is a well-studied problem, understanding group activities (e.g., "team defense") is significantly more challenging. It requires an AI to interpret not just individual movements, but the spatial and temporal relationships between multiple people in a cluttered scene. Traditional methods often rely on holistic image features, missing the nuanced "who is doing what to whom" context. stagNet addresses this by explicitly modeling human interactions through a graph-based approach that evolves over time, allowing the model to "reason" about scene structure.

Methodology

The stagNet architecture decomposes a scene into a structured, readable format through several integrated components:

  1. Semantic Graph Construction: The model uses a Region Proposal Network (RPN) to identify individuals as "nodes," while the spatial relationships between them are represented as "edges."
  2. Structural-RNN: To handle the temporal dimension, the graph is integrated into a Recurrent Neural Network using two specialized units: nodeRNN for individual dynamics and edgeRNN for evolving relationships.
  3. Message Passing & Factor Sharing: The model iteratively updates the state of each person and relationship by passing messages across the graph. It uses factor sharing to ensure that similar relationship types (e.g., teammates) share parameters, enhancing efficiency.
  4. Spatio-Temporal Attention: Recognizing that not every person or frame is equally important, stagNet applies a "soft attention" mechanism. This assigns higher weights to key actors (e.g., a player spiking a ball) and pivotal moments, effectively filtering out background noise.
Overview of the stagNet pipeline, illustrating the transition from object proposals to semantic graph inference and spatio-temporal attention.
Detailed architecture of the structural RNN showing the message passing flow between nodeRNNs and edgeRNNs, and the internal logic of the attention module.

Experimental Evaluation

The researchers evaluated stagNet on two primary benchmarks:

  • Collective Activity Dataset: Featuring 44 clips of social activities like crossing and queueing, stagNet achieved 89.1% accuracy, a ~15% improvement over basic image-level classification.
  • Volleyball Dataset: In this complex environment featuring 8 group activities (e.g., right spike), the model achieved 89.3% accuracy.

Qualitative results demonstrated that the attention mechanism successfully generated heat maps focusing on the primary actors, such as the hitter and blockers during a volleyball spike, confirming the model's ability to identify relevant context.

Conclusion

stagNet demonstrates that explicit semantic modeling combined with learned attention significantly improves group activity recognition. While the model currently faces some computational complexity due to iterative message passing and struggles with fine-grained distinctions (e.g., walking vs. crossing), it sets a strong foundation for future work. Potential improvements include upgrading the base feature extractor to more modern architectures like ResNet to further boost performance.

Summary updated

BibTeX
@inproceedings{qi2018stagnet,
  author = {Mengshi Qi and Jie Qin and Annan Li and Yunhong Wang and Jiebo Luo and Luc Van Gool},
  title = {{stagNet: An Attentive Semantic RNN for Group Activity Recognition}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01249-6\_7},
}
Figure