Skip to main content
QUICK REVIEW

[Paper Review] Fairness in Visual Clustering: A Novel Transformer Clustering Approach

Xuan-Bac Nguyen, Chi Nhan Duong|arXiv (Cornell University)|Apr 14, 2023
Face recognition and analysisComputer Science5 citations
TL;DR

This paper proposes a novel transformer-based clustering framework that enhances fairness in visual clustering by introducing a fairness-aware loss and a Cross-attention mechanism to improve cluster purity consistency across demographic groups. It achieves state-of-the-art performance on BUPT-BalancedFace with 93.28% F_P and 2.47% standard deviation across ethnicity, age, gender, and race, even without access to protected attribute annotations.

ABSTRACT

Promoting fairness for deep clustering models in unsupervised clustering settings to reduce demographic bias is a challenging goal. This is because of the limitation of large-scale balanced data with well-annotated labels for sensitive or protected attributes. In this paper, we first evaluate demographic bias in deep clustering models from the perspective of cluster purity, which is measured by the ratio of positive samples within a cluster to their correlation degree. This measurement is adopted as an indication of demographic bias. Then, a novel loss function is introduced to encourage a purity consistency for all clusters to maintain the fairness aspect of the learned clustering model. Moreover, we present a novel attention mechanism, Cross-attention, to measure correlations between multiple clusters, strengthening faraway positive samples and improving the purity of clusters during the learning process. Experimental results on a large-scale dataset with numerous attribute settings have demonstrated the effectiveness of the proposed approach on both clustering accuracy and fairness enhancement on several sensitive attributes.

Motivation & Objective

  • To address demographic bias in unsupervised visual clustering, especially when sensitive attribute annotations are unavailable or impractical to collect.
  • To define and measure fairness in clustering through cluster purity — the ratio of positive samples to their correlation within each cluster.
  • To develop a novel loss function that enforces purity consistency across clusters of different demographic groups to mitigate bias.
  • To design a Cross-attention mechanism that strengthens relationships between distant positive samples and cluster centroids, improving cluster quality.
  • To achieve state-of-the-art clustering accuracy and fairness simultaneously across multiple sensitive attributes (ethnicity, age, gender, race) without relying on labeled sensitive attributes.

Proposed method

  • Proposes a new fairness metric: cluster purity, defined as the ratio of positive samples to their correlation degree within a cluster, to quantify demographic bias.
  • Introduces a fairness regularization loss, $\mathcal{L}^{fair}$, that minimizes variance in purity across clusters to promote fairness.
  • Designs a novel Cross-attention (C-ATT) mechanism that computes inter-cluster correlations, enhancing relationships between faraway positive samples and cluster centroids.
  • Employs a feature maximization loss $\mathcal{L}^{FMI}$ to improve representation quality and cluster compactness.
  • Uses a self-supervised pre-training strategy on 3.4M in-the-wild images, followed by fine-tuning on BUPT-BalancedFace with fairness constraints.
  • Applies a multi-head attention mechanism with cluster-specific queries to dynamically adjust attention based on cluster purity and correlation.

Experimental results

Research questions

  • RQ1Can cluster purity serve as a reliable proxy for measuring demographic bias in unsupervised visual clustering?
  • RQ2How can fairness be enforced in clustering without access to protected attribute annotations?
  • RQ3Can a novel attention mechanism improve the representation of minority group samples by strengthening long-range positive correlations?
  • RQ4Does enforcing purity consistency across clusters lead to improved clustering accuracy and fairness simultaneously?
  • RQ5How robust is the proposed method across diverse sensitive attributes such as ethnicity, age, gender, and race?

Key findings

  • The proposed method achieves a clustering F_P of 93.28% with a standard deviation of 2.47% across four ethnicities on BUPT-BalancedFace, outperforming prior methods in both accuracy and fairness.
  • The ablation study confirms that combining C-ATT, $\mathcal{L}^{fair}$, and $\mathcal{L}^{FMI}$ yields the best performance, reducing standard deviation by 1.42 percentage points compared to baseline.
  • The model maintains stable performance across different sub-cluster settings, with F_P scores ranging from 93.28% ± 2.47% (k=4) to 92.52% ± 3.09% (k=16), indicating strong robustness.
  • On age, gender, and race demographics, the method consistently achieves lower standard deviations than baselines, demonstrating superior fairness across diverse attributes.
  • The use of FairFace for attribute prediction (threshold 0.9) ensures high-confidence evaluation, and results show consistent SOTA performance across all demographic splits.
  • The model achieves 98.44% F_P on the BUPT-In-the-wild dataset with 3.4M images, indicating strong generalization and scalability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.