Abstract
Social Group Activity Recognition (SGAR) is a challenging task that involves identifying multiple simultaneous sub-group activities within a complex scene. Traditional "detect-then-recognize" pipelines are often limited by their reliance on precise individual detections and the loss of global scene context due to region cropping. This paper introduces a novel transformer-based framework that utilizes deformable attention modules to "hunt" for group-related clues across the entire spatio-temporal feature map. By treating group recognition as a localization-agnostic task, the proposed model effectively integrates non-person cues and maintains robustness against detection errors. Experimental results on the Volleyball and Collective Activity datasets demonstrate state-of-the-art performance, particularly in identifying complex social interactions.
Introduction: From Global to Social Group Activity
In the realm of computer vision, Group Activity Recognition (GAR) has historically focused on assigning a single activity label to an entire scene, such as "a volleyball team is spiking." While useful, this global perspective fails to capture the nuances of real-world social environments where multiple sub-groups may be engaged in distinct activities simultaneously—a task defined as Social Group Activity Recognition (SGAR).
Existing methodologies typically follow a rigid "detect-then-recognize" paradigm. As illustrated in Figure 1(a), these methods first detect individuals using bounding boxes, crop these regions to extract features, and then model relationships between the cropped features. This approach suffers from two primary drawbacks:
- Heuristic Fragility: The recognition accuracy is heavily dependent on the quality of the initial person detector. Missing detections or poorly aligned bounding boxes lead to degraded features that propagate errors through the entire pipeline.
- Context Blindness: By focusing solely on cropped person regions, models often ignore critical environmental cues. In a sports context, for instance, the position of the ball or the net is often as informative as the posture of the players themselves.
Methodology: Hunting for Clues with Transformers
To overcome these limitations, the authors propose a "person-localization-agnostic" approach (Figure 1b) built upon the Deformable DETR architecture. Instead of relying on pre-defined regions of interest, the model learns to attend to relevant areas across the whole image.
Feature Extraction and Deformable Attention
The framework begins with an I3D network (RGB stream) to extract spatio-temporal feature maps from the input video sequence. These maps are then processed by a Deformable Transformer. Unlike standard transformers that attend to all spatial locations, deformable attention focuses on a small, learned set of sampling points. This allows the model to "hunt" for clues—such as the proximity of players or the trajectory of an object—that define a social group without being constrained by bounding boxes.
Social Group Queries and Detection Heads
The decoder utilizes a set of "Social Group Queries," each designed to capture at most one social group. Each query is processed through three specialized detection heads:
- Activity Class Head: Predicts the specific activity being performed by the group.
- Group Size Head: Estimates the number of individuals belonging to the group.
- Member Point Head: Predicts the center coordinates (points) of the group members.
By representing group members as a sequence of points (sorted by their X-coordinates), the model simplifies the grouping problem, making it more robust to the variable number of participants in different activities.
Individual-Group Association
To finalize the recognition, the model must associate predicted group members with individual person detections. This is achieved using the Hungarian algorithm, which matches the predicted "member points" with independent individual detections. This dual-path approach ensures that the model benefits from both global group-level context and local individual-level details.
Experimental Evaluation
The model was rigorously evaluated on two benchmark datasets:
- Volleyball Dataset: Comprising 4,830 video clips, this dataset is the standard for GAR. The authors utilized additional annotations to test the SGAR capabilities, specifically looking at how well the model identifies sub-groups like "waiting" vs. "attacking" players.
- Collective Activity Dataset: This dataset contains 44 videos of everyday scenes (e.g., walking, talking, waiting). It is particularly challenging due to the high density of people and the overlapping nature of social groups.
Key Results
The proposed framework achieved state-of-the-art results:
- Volleyball (GAR): Reached an accuracy of 96.0%, surpassing previous methods like GroupFormer.
- Volleyball (SGAR): Showed significant improvements in group member identification, especially for complex, multi-person activities like "Right Pass" and "Left Set."
- Qualitative Insights: Visualizations of the attention maps reveal that the model's focus "spreads out" to encompass the entire spatial area of a group, confirming that it successfully aggregates collective information rather than just looking at isolated individuals.
Discussion and Limitations
A key insight from this research is that scene context is paramount. The transformer's ability to incorporate "non-person" clues—like the ball in volleyball—allows for a much deeper understanding of the social dynamics at play. Furthermore, by moving beyond bounding boxes, the model demonstrates superior resilience to the noise inherent in real-world video data.
However, the model is not without limitations. The authors noted a dependence on group-size learning. In the Collective Activity dataset, performance dipped for activities like "Talking" when the group size in the test set differed from the dominant sizes in the training data. This suggests that while the point-based representation is effective, the model's ability to generalize to unseen group sizes remains a challenge.
Conclusion
This paper presents a significant step forward in Social Group Activity Recognition by shifting the focus from individual-centric detection to a more holistic, transformer-based "clue hunting" strategy. By leveraging the global context provided by deformable attention, the model achieves high accuracy and robustness, paving the way for more sophisticated social scene understanding in autonomous systems and video analytics.
Summary updated