[Paper Review] GroupFormer: Group Activity Recognition with Clustered Spatial-Temporal Transformer
GroupFormer proposes a novel transformer-based framework for group activity recognition that jointly models spatial and temporal dependencies using a clustered spatial-temporal transformer (CSTT). By dynamically grouping individuals into clusters and applying intra- and inter-cluster attention, it enhances representation learning, achieving state-of-the-art performance on the Volleyball and Collective Activity datasets with 94.1% accuracy on group activity recognition.
Group activity recognition is a crucial yet challenging problem, whose core lies in fully exploring spatial-temporal interactions among individuals and generating reasonable group representations. However, previous methods either model spatial and temporal information separately, or directly aggregate individual features to form group features. To address these issues, we propose a novel group activity recognition network termed GroupFormer. It captures spatial-temporal contextual information jointly to augment the individual and group representations effectively with a clustered spatial-temporal transformer. Specifically, our GroupFormer has three appealing advantages: (1) A tailor-modified Transformer, Clustered Spatial-Temporal Transformer, is proposed to enhance the individual representation and group representation. (2) It models the spatial and temporal dependencies integrally and utilizes decoders to build the bridge between the spatial and temporal information. (3) A clustered attention mechanism is utilized to dynamically divide individuals into multiple clusters for better learning activity-aware semantic representations. Moreover, experimental results show that the proposed framework outperforms state-of-the-art methods on the Volleyball dataset and Collective Activity dataset. Code is available at https://github.com/xueyee/GroupFormer.
Motivation & Objective
- To address the challenge of modeling joint spatial-temporal dependencies in group activity recognition, where prior methods treat spatial and temporal relations separately or use full-attention mechanisms that introduce noise.
- To improve group representation learning by dynamically clustering individuals based on semantic relevance, reducing interference from irrelevant interactions.
- To build an end-to-end trainable framework that effectively captures both intra-group and inter-group relations for better activity-aware feature learning.
- To outperform existing state-of-the-art methods on benchmark datasets for group activity recognition.
Proposed method
- A tailor-modified Transformer architecture, Clustered Spatial-Temporal Transformer (CSTT), is introduced to jointly model spatial and temporal features using stacked encoders and cross-attention decoders.
- A clustered attention mechanism dynamically divides individuals into C clusters, enabling localized information propagation within clusters and global interaction modeling between clusters.
- The model uses a Group Representation Generator to fuse individual and scene-wide context before applying multiple CSTT blocks for representation refinement.
- Decoders are employed in a cross-attention manner to build a bridge between spatial and temporal features, enabling integral modeling of spatiotemporal context.
- The framework employs both intra-group attention (within clusters) and inter-group attention (between clusters) to enhance feature learning.
- The architecture is end-to-end trainable and leverages query-key mechanisms to model long-range dependencies in video sequences.
Experimental results
Research questions
- RQ1Can joint modeling of spatial and temporal dependencies improve group activity recognition performance?
- RQ2Does dynamic clustering of individuals into semantically relevant groups enhance representation learning and reduce noise from irrelevant interactions?
- RQ3How do intra-group and inter-group attention mechanisms contribute to learning activity-aware representations?
- RQ4What is the optimal number of clusters and CSTT blocks for maximizing recognition accuracy?
- RQ5Can the proposed framework outperform existing state-of-the-art methods on standard benchmarks?
Key findings
- GroupFormer achieves 94.1% accuracy on the Volleyball dataset for group activity recognition, outperforming the previous state-of-the-art method.
- The ablation study shows that replacing the standard spatial-temporal transformer with the clustered attention mechanism (CSTT) improves performance from 93.4% to 94.1%.
- Using four clusters yields the best performance, with a significant improvement over using one cluster or other cluster counts.
- The combination of both intra-group and inter-group attention mechanisms achieves the highest performance, with 94.1% accuracy, demonstrating their complementary benefits.
- Stacking three CSTT blocks yields the best performance, while four blocks lead to a slight degradation, indicating an optimal depth for feature refinement.
- t-SNE visualizations confirm that the CSTT variant learns more discriminative and well-separated feature representations compared to baselines.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.