Abstract
Learning to re-identify or retrieve a group of people across non-overlapped camera systems has important applications in video surveillance. However, most existing methods focus on (single) person re-identification (re-id), ignoring the fact that people often walk in groups in real scenarios. In this work, we take a step further and consider employing context information for identifying groups of people, i.e., group re-id. We propose a novel unified framework based on graph neural networks to simultaneously address the group-based re-id tasks, i.e., group re-id and group-aware person re-id. Specifically, we construct a context graph with group members as its nodes to exploit dependencies among different people. A multi-level attention mechanism is developed to formulate both intra-group and inter-group context, with an additional self-attention module for robust graph-level representations by attentively aggregating node-level features. The proposed model can be directly generalized to tackle group-aware person re-id using node-level representations. Meanwhile, to facilitate the deployment of deep learning models on these tasks, we build a new group re-id dataset that contains more than 3.8K images with 1.5K annotated groups, an order of magnitude larger than existing group re-id datasets. Extensive experiments on the novel dataset as well as three existing datasets clearly demonstrate the effectiveness of the proposed framework for both group-based re-id tasks.
Introduction
While person re-identification (re-id) has seen significant progress, most research treats individuals in isolation. In real-world surveillance, however, people frequently move in groups. This observation leads to two critical tasks: Group Re-id, which involves tracking an entire group across cameras, and Group-Aware Person Re-id, which leverages the visual context of a group to identify a specific individual.
Group re-identification is challenging due to dynamic group layouts, frequent occlusions, and members joining or leaving. Furthermore, the field has been constrained by small-scale datasets, often containing fewer than 200 groups, which limits the application of modern deep learning techniques.
The Multi-Attention Context Graph (MACG) Framework
To address these challenges, the Multi-Attention Context Graph (MACG) framework utilizes Graph Neural Networks (GNNs) to model groups as fully connected graphs where nodes represent individual members. This approach shifts away from standard pooling methods to better capture relational dynamics.
The framework employs a multi-level attention mechanism:
- Intra-group Attention: Captures dependencies between members within a single group to handle internal dynamics and occlusions.
- Inter-group Attention: Facilitates matching by comparing individuals across different group instances (e.g., probe vs. gallery).
- Readout Attention: A self-attention module that aggregates node features into a robust graph-level representation. This mechanism effectively filters "noise" by assigning lower weights to occluded or less discriminative members.
By treating the group as a fully connected graph, the model achieves invariance to spatial layout, which is essential as group formations change significantly across different camera perspectives.
The CUHK-SYSU-Group (CSG) Dataset
A major contribution of this work is the introduction of the CUHK-SYSU-Group (CSG) dataset. It is currently the largest dataset for group re-id, featuring 3,839 images and 1,558 annotated groups. This represents an order-of-magnitude increase in scale compared to existing benchmarks like i-LIDS MCTS or DukeMTMC Group, providing the necessary data density for training deep neural networks.
Experimental Results
The MACG framework demonstrates state-of-the-art performance across multiple benchmarks:
- CSG Dataset: Achieved a Rank-1 accuracy of 63.2%, significantly outperforming the previous best of 57.8%.
- DukeMTMC Group: Reached 57.4% Rank-1 accuracy, a substantial improvement over the prior 48.4% SOTA.
- Group-Aware Person Re-id: On the CSG dataset, incorporating group context improved individual re-id accuracy by 4.3% (65.6% vs. 61.3% baseline), proving that surrounding context helps resolve visual ambiguity.
Conclusion
The proposed MACG framework and the large-scale CSG dataset represent a significant step forward in group-based re-identification. By leveraging graph-based context and multi-level attention, the model effectively handles the complexities of real-world group dynamics. Future work will explore the integration of spatio-temporal metadata and the management of multiple co-existing groups within the same scene.
Summary updated