Abstract
Face clustering is a very useful method in image annotation, image retrieval and other real-world applications. The main challenge is that with the increasing data scale, the large graph constructed by KNN is difficult to train due to out of memory. At the same time, the image features of the previous face clustering methods are extracted through CNN, which is not conducive to obtaining the global features of the image. In this paper, we propose a method that uses transformer to extract image features. Then, we use the extracted image features to construct a large graph by KNN, and we randomly partition the large graph into several non-overlapping subgraphs through METIS. In addition, we use hypergraph convolution to learn deeper high-order graph structure data. Experiments on both MS-Celeb-1M and DeepFashion show that our method achieves state-of-the-art performance, eg.90.08% in pair-wise F-score on MS-Celeb-1M.
Introduction
Face clustering—the process of grouping unlabeled facial images by identity—is essential for large-scale image annotation and retrieval. However, existing methods face three major hurdles. First, scalability is a significant issue; constructing a K-Nearest Neighbor (KNN) graph for millions of images often leads to "out-of-memory" (OOM) errors on GPUs. Second, traditional methods rely on Convolutional Neural Networks (CNNs) for feature extraction, which often struggle to capture the global context of an image. Finally, standard Graph Convolutional Networks (GCNs) are limited to pairwise relationships, failing to capture the "high-order" correlations present in complex face datasets.
Methodology
The proposed framework introduces a multi-stage pipeline designed to overcome these limitations by combining Vision Transformers (ViT) with Hypergraph Convolutional Networks (HGCN).
Feature Extraction and Graph Partitioning
Instead of a CNN, the model utilizes a Vision Transformer (ViT) to extract facial features. This allows the model to capture long-range dependencies and global information across the image, creating more robust embeddings for clustering. To handle massive datasets, a large KNN graph is constructed and then divided into several non-overlapping subgraphs using the METIS algorithm. This partitioning strategy effectively solves OOM issues without the computational redundancy of overlapping subgraphs.
Hypergraph Convolution (HGCN)
Within the partitioned subgraphs, the model constructs a hypergraph where a single "hyperedge" can connect multiple nodes. Unlike standard GCNs that only model pairwise edges, HGCN aggregates information through these hyperedges to learn deeper, more complex structural data.
As shown in the figure above, the HGCN process involves two main steps: hyperedge feature aggregation and node feature aggregation. This high-order correlation modeling prevents the "over-smoothing" effect often seen in deep standard GCNs, where node features become indistinguishable. The final output is processed by a Multi-Layer Perceptron (MLP) classifier to predict connection confidence.
Experiments and Results
The model was evaluated on several prominent benchmarks, including MS-Celeb-1M, DeepFashion, and IJB-B.
Performance Benchmarks
The proposed method, referred to as H-GCN, achieved state-of-the-art (SOTA) results:
- MS-Celeb-1M: Achieved a pair-wise F-score of 90.08%, significantly outperforming the previous SOTA, GCN-V+E (87.55%).
- DeepFashion: Reached a Normalized Mutual Information (NMI) of 91.19%.
- IJB-B: Consistently outperformed existing methods like L-GCN and ARO across various subsets (IJB-B-512, 1024, and 1845).
Ablation Studies
Ablation studies confirmed that both the feature extractor and the graph architecture are critical. The combination of ViT + HGCN (90.08% F-score) proved superior to CNN + HGCN (88.80%) and ViT + standard GCN (83.66%).
Conclusion
This paper demonstrates that combining the global feature-extraction power of Transformers with the high-order modeling of Hypergraph Convolutional Networks significantly advances the state-of-the-art in face clustering. By utilizing METIS for efficient graph partitioning, the framework remains scalable to large datasets. Future work may explore more advanced Transformer architectures and dynamic hypergraph construction methods to further refine clustering accuracy on web-scale data.
Summary updated