A Linkage-based Doubly Imbalanced Graph Learning Framework for Face Clustering

Huafeng Yang, Qijie Shen, Xingjian Chen, Fangyi Zhang, Rong Du

TL;DR

This paper introduces a novel framework, DIGL, to address the critical issue of imbalanced data in Graph Convolutional Network (GCN)-based face clustering. By tackling both imbalanced linkage labels and biased graph representations, DIGL significantly improves clustering performance on challenging real-world datasets.

What Problem Does This Paper Address?

Face clustering, the task of grouping similar faces without prior labels, has seen significant advancements with Graph Convolutional Networks (GCNs). However, these methods often struggle with imbalanced datasets, a common scenario in real-world applications where the number of samples for different individuals varies greatly. This imbalance manifests in two key ways for GCN-based linkage prediction:

  1. Imbalanced Linkage Labels: Similar to traditional classification, there's an unequal distribution of positive (same person) and negative (different people) links between face pairs.
  2. Biased Graph Representations: This is a unique challenge for GCNs. When training on imbalanced data, the generated subgraphs (representations of local neighborhoods) can become skewed, leading to models that overfit and generalize poorly.

Existing methods for imbalanced image classification are not directly transferable to GCN-based linkage prediction due to this second, graph-specific problem. The paper aims to bridge this gap by proposing a framework that explicitly handles both types of imbalance.

Methods

The proposed framework, Doubly Imbalanced Graph Learning (DIGL), is divided into two main stages:

  1. Subgraph Construction:
    • Candidate Node Generation: Similar to L-GCN, each face is treated as a "pivot," and its neighborhood (eKNN - expanded k-nearest neighbors) is considered for subgraph construction. The expansion coefficient $\gamma$ is introduced to control the size of this neighborhood.
  2. Diverse Subgraph Construction (Reverse-Imbalance Weighted Sampling - RIWS): This is the core novelty. Instead of simply selecting the closest neighbors or randomly balancing, RIWS assigns weights to candidate nodes based on their class (positive/negative link) and the overall distribution of positive and negative samples within the pivot's neighborhood. This weighted random sampling ensures:
  3. Balanced Distribution: The probability of selecting positive and negative samples is balanced.
  4. Diverse Structures: It generates a variety of subgraph structures, mitigating the overfitting caused by biased representations.
  5. Cluster Generation:
    • Linkage Prediction: A GCN is used to predict the probability of a link between the pivot and its neighbors. To address label imbalance, cost-sensitive learning methods like Class Balance Loss and Focal Loss are adapted and evaluated.
  6. Linkage Merging: A pseudo-label propagation strategy is employed to merge the predicted links into final clusters, using a dynamic thresholding approach to handle varying cluster sizes.

Datasets

The paper uses the following datasets:

  • MS-Celeb-1M: A large-scale face recognition dataset.
  • DeepFashion: A dataset for clothing recognition and retrieval.

The authors construct 8 imbalanced training sets from MS-Celeb-1M and 2 imbalanced training sets from DeepFashion by manipulating the number of majority identities and the size of minority samples. These imbalanced datasets are used for training, while parts of the cleaned original datasets are used for testing.

Key Insights and Ideas

  • Dual Imbalance in GCNs: The paper highlights that GCN-based clustering faces not just label imbalance but also a unique problem of biased graph representations, which is crucial for generalization.
  • RIWS for Balanced Diversity: The RIWS strategy is a key contribution, demonstrating that balancing subgraph structures through weighted sampling can effectively combat both label and representation bias, leading to improved performance.
  • Transferability of Imbalance Techniques: The study evaluates existing imbalance learning techniques (Class Balance Loss, Focal Loss) in the context of GCN-based linkage prediction, providing insights into their effectiveness and limitations.
  • Complementary Nature of Methods: Combining re-sampling (like RIWS) with re-weighting (like Focal Loss) yields better results than either approach alone, suggesting a synergistic effect in addressing different facets of the imbalance problem.

Key Results

  • The proposed DIGL framework, particularly with the RIWS strategy, consistently outperforms the baseline L-GCN and other conventional imbalance handling methods across various imbalanced datasets.
  • On MS-Celeb-1M, DIGL achieved a high AUC of 0.9867 on the (H2000,S5) sub-dataset, demonstrating its effectiveness in alleviating biased graph representations.
  • When trained on imbalanced sub-datasets, DIGL achieved comparable results to baselines trained on full datasets, validating its robustness and efficiency.
  • The paper shows that RIWS combined with Class Balance Loss or Focal Loss consistently improves performance across all tested datasets compared to using re-sampling methods alone.

Limitations and Future Work

  • Optimal Hyperparameters: The paper acknowledges that the RIWS strategy is a trial and not necessarily the optimal solution. Further studies are needed to explore better approaches for various scenarios.
  • Hyperparameter Sensitivity: While the paper analyzes the sensitivity of the $\gamma$ parameter, it notes that selecting optimal values for re-sampling and RIWS methods is important. For instance, $\gamma=1.2$ was found optimal for re-sampling, while $\gamma=2.0$ was chosen for RIWS to balance performance and computational overhead.
  • Linkage Merging Heuristic: The linkage merging stage is described as a heuristic process with hyper-parameters. While decoupled for evaluation, further research could explore more robust merging strategies.
  • Generalization: The paper validates generalization across data domains (MS-Celeb-1M vs. DeepFashion) and distributions (imbalanced vs. full datasets), but further exploration into diverse real-world scenarios could be beneficial.

Summary updated

BibTeX
@inproceedings{yang2023linkage,
  author = {Huafeng Yang and Qijie Shen and Xingjian Chen and Fangyi Zhang and Rong Du},
  title = {{A Linkage-based Doubly Imbalanced Graph Learning Framework for Face Clustering}},
  booktitle = {SDM},
  year = {2023},
  url = {https://openreview.net/forum?id=UUu4bMQIhg},
}
Figure