Fair Correlation Clustering

Sara Ahmadian, Alessandro Epasto, Ravi Kumar, Mohammad Mahdian

Abstract

Correlation clustering is a powerful unsupervised learning technique that discovers the optimal number of clusters based on pairwise similarities. However, standard implementations often neglect demographic fairness, leading to biased groupings. This paper introduces the first framework for fair correlation clustering, utilizing a "fairlet decomposition" approach. We provide constant-factor approximation guarantees and demonstrate through empirical evaluation on real-world datasets that fairness can be achieved with minimal impact on clustering accuracy.

Introduction

Clustering algorithms are frequently used to organize data into meaningful groups. While fairness has been explored in $k$-median and $k$-center clustering, correlation clustering presents a unique challenge because the number of clusters ($k$) is not pre-specified. Instead, the algorithm minimizes "disagreements"—instances where similar items are separated or dissimilar items are grouped. Previous fairness techniques designed for metric spaces are not directly applicable to this graph-based optimization problem.

Methodology

The proposed framework "fair-ifies" correlation clustering through a multi-stage reduction:

  1. Fairlet Decomposition: The dataset is partitioned into "fairlets," the smallest sets of points satisfying the desired fairness constraints (e.g., a balanced ratio of sensitive attributes).
  2. Metric Mapping: To define a cost function for decomposition, the authors treat the rows of the graph's adjacency matrix as coordinates in a high-dimensional space. Hamming distance between these rows approximates the disagreement cost of grouping nodes.
  3. Graph Reduction: Each fairlet is collapsed into a "super-node," creating a weighted graph.
  4. Clustering and Expansion: A standard correlation clustering algorithm (e.g., the Pivot algorithm) is run on the reduced graph. Finally, super-nodes are expanded back into their original constituent points.

This approach leverages the composability of fairness: if each fairlet is fair, any union of fairlets (a cluster) is also fair.

Empirical Evaluation

The framework was tested on three datasets: Amazon (product categories), Reuters (news authors), and Victorian (literary texts). For text data, similarity was determined using semantic embeddings.

Performance comparison on the Victorian dataset showing that fair algorithms achieve zero imbalance with negligible error increase.

As shown in the Victorian dataset results, the "Match + Local" algorithm successfully reduced fairness imbalance to zero. While the unfair "Local" baseline had an imbalance of 0.218 and an error of 0.249, the fair version achieved perfect balance with only a slight error increase to 0.255.

Insights on Scalability and Fairness

A key finding is the relationship between the number of sensitive groups (colors) and the "fairness tax." As the number of colors increases, satisfying fairness thresholds like 1/2-representation often becomes easier.

Clustering error relative to the unfair baseline as a function of the number of colors.

The empirical results indicate that the actual cost of adding fairness is remarkably low in practice, despite higher theoretical approximation bounds. As the number of colors ($C$) increases, the presence of diverse groups makes it less likely for any single group to dominate a cluster, facilitating the 1/2-fairness threshold.

Conclusion

This work establishes a robust foundation for fair correlation clustering. By reducing the problem to fairlet decomposition on a metric-mapped graph, the authors achieve provable guarantees and practical efficiency. While the fairlet decomposition step adds some computational overhead compared to simple heuristics, the trade-off is a significant gain in algorithmic equity with minimal loss in clustering quality.

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