Fair Correlation Clustering

Saba Ahmadi, Sainyam Galhotra, Barna Saha, Roy SchwartzarXiv 2020

Abstract

This paper introduces the first theoretical and empirical framework for Fair Correlation Clustering (FCC). We develop approximation algorithms that ensure clusters maintain a balanced representation of demographic groups while minimizing clustering errors (disagreements). Our approach overcomes the technical challenge posed by the lack of metric properties in graph-based clustering. We provide an $O(p^2)$-approximation for a $1:p$ color ratio and demonstrate through empirical evaluation on real-world datasets that the "cost of fairness" is minimal in practice.

Introduction

Clustering is a fundamental tool for organizing data, yet standard algorithms often produce results where certain demographic groups are over- or under-represented. While fairness has been extensively studied for metric-based clustering (e.g., $k$-means), this paper addresses Correlation Clustering (CC) on graphs. In CC, nodes are connected by "positive" (similar) or "negative" (dissimilar) edges, and the goal is to minimize disagreements: negative edges within clusters and positive edges between clusters.

The primary challenge in Fair CC is the absence of the triangle inequality. Unlike metric spaces, graph distances cannot be easily bounded, making it difficult to ensure fairness without significantly increasing the number of disagreements.

Methodology: Fairlet Decomposition

We propose a two-stage algorithmic framework to solve the Fair CC problem.

1. Fairlet Decomposition via $b$-Matching

Instead of clustering individual nodes directly, the algorithm first groups nodes into small, perfectly "fair" sets called fairlets. This is achieved by constructing a weighted bipartite graph between different color groups (e.g., $V_R$ for red nodes and $V_B$ for blue nodes). The edge weights represent the potential disagreement cost of pairing specific nodes. We then solve a minimum weight $b$-matching problem to form these fairlets.

Figure 2: Illustration of fairlet formation for (a) a 1:1 ratio warm-up example and (b) a general case with varying color distributions.

2. Clustering and Expansion

Once fairlets are formed, a representative node is selected from each. We then apply a state-of-the-art correlation clustering algorithm (e.g., the 3-approximation by Ailon et al.) to these representatives. Finally, all nodes within a fairlet are assigned to the same cluster as their representative, ensuring the entire cluster maintains the desired fairness ratio.

Our framework supports two fairness models:

  • Proportional Representation: Clusters must match the global distribution of colors.
  • Bounded Representation: Clusters must stay within specific upper and lower bounds for each color.

Experimental Evaluation

We evaluated our algorithm, FairCC, on four real-world datasets: Bank (marital status), Adult (sex), Compas (race), and MEPS (race). In each case, edge signs were determined based on attribute similarity.

Key Results

  • Theoretical Guarantees: For a $1:p$ color ratio, FairCC achieves an $O(p^2)$-approximation. In the $1:1$ case, it provides a $(3\alpha + 4)$-approximation, where $\alpha$ is the best known ratio for standard CC.
  • Empirical Performance: FairCC consistently achieved the lowest number of disagreements among all baselines that strictly satisfied fairness constraints.
  • Cost of Fairness: The increase in disagreements compared to "unfair" algorithms was surprisingly low, indicating that fairness is practically viable for graph data.
  • Efficiency: The algorithm is computationally efficient, processing 1,000-node graphs in under 10 minutes.

Discussion and Future Work

A key insight of this work is the "Metricity Gap." By pre-calculating disagreement costs into matching weights, we can "pay" for potential errors during fairlet formation, bypassing the need for the triangle inequality.

However, several challenges remain. Our current theoretical analysis focuses on complete graphs. Extending these bounds to sparse graphs is a significant open problem. Additionally, while the $O(p^2)$ bound is a strong theoretical starting point, future work should aim for linear or constant bounds relative to the ratio $p$. Finally, scaling the $b$-matching step to handle millions of nodes in large-scale social networks is a priority for future research.

Summary updated

BibTeX
@misc{ahmadi2020fair,
  author = {Saba Ahmadi and Sainyam Galhotra and Barna Saha and Roy Schwartz},
  title = {{Fair Correlation Clustering}},
  year = {2020},
  eprint = {2002.03508},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.03508},
}
Figure