Abstract
Face clustering is a critical step in leveraging massive unlabeled datasets for training deep face recognition models. Traditional unsupervised clustering methods often fail to capture the complex, irregular structures inherent in real-world face data. This paper introduces a novel supervised framework that treats clustering as a detection and segmentation problem on an affinity graph. By employing Graph Convolutional Networks (GCNs) to score and refine cluster proposals, the method achieves state-of-the-art performance. Furthermore, using these clusters as pseudo-labels for training leads to face recognition accuracy that approaches the fully supervised upper bound.
Introduction
Modern deep face recognition models require millions of annotated images, which are prohibitively expensive to obtain manually. While unsupervised clustering (e.g., K-means, DBSCAN) can generate pseudo-labels from unlabeled data, these methods rely on simplistic geometric assumptions—such as spherical clusters or balanced sizes—that do not hold for messy, large-scale face datasets.
To address this, we propose a "learning to cluster" approach. Instead of hand-crafting rules, we train a model to recognize the structural patterns of valid clusters directly from an affinity graph. This allows the system to handle varying densities and complex intra-connections that typically confound traditional algorithms.
Methods
The proposed framework adopts a top-down pipeline inspired by object detection architectures like Mask R-CNN, operating on an affinity graph where nodes represent face images and edges represent cosine similarities.
1. Proposal Generation
To manage million-node graphs, the system first groups highly connected nodes into "super-vertices." These are iteratively merged to generate multi-scale cluster proposals—sub-graphs likely representing a single identity.
2. GCN-D (Detection)
A Graph Convolutional Network (GCN-D) evaluates each proposal. It predicts quality metrics such as Intersection over Union (IoU) and Intersection over Proposal (IoP) relative to ground-truth clusters, filtering out low-quality candidates.
3. GCN-S (Segmentation)
To refine the remaining proposals, a second GCN (GCN-S) performs node-level segmentation. It predicts the probability of each vertex belonging to the core identity versus being an outlier, allowing for precise pruning of the cluster.
4. De-overlapping
Finally, a fast, linear-time de-overlapping algorithm resolves instances where vertices are assigned to multiple refined clusters, ensuring a clean final partition.
Experimental Results
The method was evaluated on the MS-Celeb-1M dataset, using 10% of the data for training the GCNs and the remaining 90% for testing.
- Clustering Performance: On MS-Celeb-1M, the proposed method achieved an F-score of 85.66, significantly outperforming K-means (60.18), HAC (68.39), and other graph-based methods like CDP (75.01).
- Downstream Recognition: Training a face recognition model on the 90% unlabeled data using the generated pseudo-labels increased MegaFace top-1 accuracy from 60.29% (using only the 10% labeled set) to 78.64%. This performance is remarkably close to the supervised upper bound of 80.75%.
- Efficiency: The pipeline processed 580K images in roughly 2200 seconds, demonstrating practical scalability for large datasets.
Conclusion
By framing face clustering as a supervised detection and segmentation task, this work overcomes the limitations of traditional unsupervised methods. The use of GCNs allows for learning complex structural features of clusters, leading to high-quality pseudo-labels for large-scale training. While the current implementation faces some computational bottlenecks due to sparse matrix operations on GPUs, the significant gains in accuracy represent a major step forward in semi-supervised face recognition.
Summary updated