Abstract
Detecting human groups in dense crowds is essential for urban planning and social analysis but is hindered by the high cost of manual annotation and the complexity of social interactions. This paper presents a novel two-stage framework that leverages self-supervised learning to capture social relations. By training a "Behavior Simulator" to restore original positions in scenes where individuals have been artificially swapped, the model learns robust social embeddings. These embeddings are then utilized by a supervised group prediction head. Experimental results on the PANDA and JRDB-Group datasets demonstrate that this approach significantly outperforms existing methods, particularly in low-data regimes.
1. Introduction
Human group detection involves identifying clusters of individuals who are socially interacting or moving together. In crowded environments like plazas or transit hubs, this task is foundational for higher-level applications such as crowd flow prediction and activity recognition. However, traditional approaches struggle with two primary issues: the inadequacy of hand-crafted features to represent complex social nuances and the extreme scarcity of labeled data for dense crowds.
To address these challenges, the authors introduce a self-supervised social relation representation method. The core insight is that social relations are implicitly encoded in the relative positioning and movement of individuals. By learning to distinguish "reasonable" social configurations from "unreasonable" ones, a model can acquire a social intuition that generalizes well even with limited supervision.
2. Methodology
The proposed framework, dubbed SHGD, consists of two main components: a self-supervised Behavior Simulator Head (BS-Head) and a supervised Group Prediction Head.
2.1 Stage 1: Self-Supervised Behavior Simulation
The BS-Head is designed to learn social relation embeddings without requiring manual labels. The researchers employ a "pretext task" where the positions of individuals in a real scene are artificially swapped while preserving their original poses (skeletons). This creates a socially "unreasonable" state—for instance, a person facing a wall while their companion is far away. The model is then tasked with recovering the original, "rational" positions. To succeed at this task, the model must understand the underlying social glue—how people naturally orient themselves and maintain distances relative to their group members.
2.2 Stage 2: Supervised Group Prediction
The second stage utilizes the learned embeddings to perform explicit group detection:
- Stacked Attention (Stack-Att): This module analyzes pairs of individuals to estimate the likelihood of a social link.
- Temporal Aggregation: A Gated Recurrent Unit (GRU) processes these relations over time to ensure temporal consistency.
- Label Propagation: Finally, a clustering algorithm aggregates pairwise relations into discrete, non-overlapping groups.
3. Experimental Evaluation
The model was evaluated on two large-scale benchmarks:
- PANDA: A gigapixel-level dataset featuring hundreds of people in expansive scenes.
- JRDB-Group: A dataset captured by a mobile robot, providing diverse indoor and outdoor social annotations.
4. Key Results and Insights
The SHGD framework established new state-of-the-art performance across both benchmarks:
- Performance Gains: On the PANDA dataset, the $F_1$ score improved from a baseline of 20.7% to 53.2%. On JRDB-Group, the $F_1$ score rose from 31.4% to 56.9%.
- Data Efficiency: A standout feature of the self-supervised approach is its performance with minimal labeled data. On PANDA, using only 10% of the available labels, the model achieved a 37% $F_1$ score. This significantly exceeds the 27.6% achieved by the same architecture trained from scratch on the same 10% subset, demonstrating the power of the pre-trained social embeddings.
- Social Intuition: Unlike methods relying solely on spatial proximity, SHGD learns to integrate pose, orientation, and movement, allowing it to distinguish between coincidental proximity and genuine social interaction.
5. Limitations and Future Work
Despite its success, the framework faces challenges in fine-grained accuracy. The $IOU^{GM}$ metric, which measures pairwise relation accuracy, remains a difficult benchmark for the entire field. Additionally, the system's reliance on 2D skeleton detection makes it vulnerable to errors in extremely occluded environments. Future research may explore extending this self-supervised paradigm to trajectory prediction or more complex social activity classification.
6. Conclusion
This work demonstrates that "visual unreasonability" can serve as a powerful supervisory signal for learning social dynamics. By pre-training on the implicit rules of human behavior, the SHGD framework achieves superior group detection performance and remarkable data efficiency, paving the way for more scalable crowd analysis systems.
Summary updated