Fair Correlation Clustering

Sara Ahmadian, Alessandro Epasto, Ravi Kumar, Mohammad Mahdian

Introduction

Clustering is a fundamental tool in unsupervised learning, yet traditional algorithms are often "fairness-blind." Without explicit constraints, these methods can produce clusters dominated by a single demographic group, potentially perpetuating biases in downstream applications. While fair versions of $k$-median and $k$-center clustering have emerged, Correlation Clustering has remained an open challenge.

Unlike $k$-means or $k$-median, correlation clustering does not require a pre-specified number of clusters ($k$). Instead, it operates on a graph where edges represent similarity (+) or dissimilarity (-). The objective is to minimize "disagreements"—positive edges between different clusters and negative edges within the same cluster. This paper introduces the first framework for Fair Correlation Clustering, ensuring balanced representation of sensitive groups without sacrificing the flexibility of the original model.

Methodology

The authors address two primary challenges: the lack of a triangle inequality in graph-based correlation clustering and the structural difficulty of balancing a variable number of clusters. Their solution involves a multi-step reduction:

  1. Fairlet Decomposition: The dataset is partitioned into "fairlets"—the smallest sets of points that satisfy the fairness constraint (e.g., a pair with one member from Group A and one from Group B).
  2. Metric Mapping: To optimize fairlet selection, nodes are mapped into a high-dimensional Hamming space based on their connection vectors. This transforms the graph problem into a metric space problem, similar to $k$-median.
  3. Reduced Instance: Each fairlet is treated as a single "super-node" in a new, weighted graph.
  4. Standard Solver: A standard, unfair correlation clustering algorithm is applied to this reduced graph. Because the building blocks (fairlets) are inherently fair, any resulting cluster is guaranteed to satisfy the fairness requirements.

The framework supports various constraints, such as $\alpha = 1/2$ (no group exceeds 50% of a cluster) and $\alpha = 1/C$ (equal representation across $C$ colors).

Experimental Setup

The proposed algorithms were evaluated on three real-world datasets to test performance as the number of sensitive groups ("colors") increased:

  • Amazon: A product co-purchasing graph where categories serve as colors.
  • Reuters: News articles clustered by semantic similarity, with authors as colors.
  • Victorian: 1,600 texts from 16 Victorian-era authors.

Results and Discussion

The empirical results demonstrate that the "fairness tax"—the increase in error required to achieve balance—is remarkably low in practice.

Performance comparison of fair vs. unfair algorithms across multiple datasets.

As shown in the experimental data, the "MATCH + LOCAL" algorithm achieved an imbalance of 0 across all tested datasets, ensuring perfect fairness. While the theoretical approximation ratios are high, the actual increase in clustering error is often just a few percentage points above the unfair baseline.

Error and imbalance metrics for various clustering algorithms under different fairness constraints.

On the Victorian dataset (8 colors), the fair algorithm's error was approximately 0.321, compared to 0.249 for the unfair local search. This performance significantly outperforms naive baselines like "SINGLE" (one massive cluster) or "RAND" (random fairlets), both of which result in 0.50 error.

Key Insights

  • Neighborhood as Identity: Mapping nodes to a metric space based on their adjacency rows effectively bridges combinatorial graph theory and metric optimization.
  • Composability: The "fairlet-first" approach is justified by the property that the union of two fair sets remains fair.
  • Scalability: The algorithms maintain a runtime comparable to standard local search heuristics, making them viable for large-scale datasets.

Limitations and Future Work

Despite strong empirical results, a significant gap remains between theoretical approximation guarantees and observed performance. Future research should focus on tightening these bounds. Additionally, while the framework theoretically handles weighted graphs, further empirical testing on varying edge certainties is needed. Finally, exploring alternative fairness definitions, such as individual fairness, remains an open area for exploration in the context of correlation clustering.

Summary updated

BibTeX
@inproceedings{ahmadian2020fair,
  author = {Sara Ahmadian and Alessandro Epasto and Ravi Kumar and Mohammad Mahdian},
  title = {{Fair Correlation Clustering}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=5xmoFu-z2H},
}
Figure