Abstract
The study of algorithmic fairness received growing attention recently. This stems from the awareness that bias in the input data for machine learning systems may result in discriminatory outputs. For clustering tasks, one of the most central notions of fairness is the formalization by Chierichetti et al. [NeurIPS 2017]. A clustering is said to be fair if each cluster has the same distribution of manifestations of a sensitive attribute as the whole input set. We discuss the applicability of this fairness notion to Correlation Clustering. While existing work gives approximation algorithms, we focus on exact solutions and investigate whether there are efficiently solvable instances. The unfair version of Correlation Clustering is trivial on forests, but adding fairness creates a surprisingly rich picture of complexities. We give an overview of the distributions and types of forests where Fair Correlation Clustering turns from tractable to intractable.
Introduction
Correlation Clustering (CC) is a fundamental graph-based task where the goal is to group similar items together and keep dissimilar items apart. In the "min-disagree" version, the objective is to minimize the number of "mistakes": similar pairs in different clusters and dissimilar pairs in the same cluster. On a forest (a graph with no cycles), this problem is typically trivial as it reduces to clustering based on connected components.
However, machine learning models often inherit biases from data. To combat this, "Fair Clustering" requires every cluster to reflect the population's diversity regarding sensitive attributes (e.g., gender or ethnicity). This paper investigates Fair Correlation Clustering (FCC) specifically on forests, aiming to map the "boundary of tractability" between graph structures and color distributions.
Methods and Hardness
The authors employ combinatorial optimization and computational complexity analysis to characterize the problem. They prove that for bipartite graphs, there always exists an optimal fair clustering where all clusters are of the minimum possible size required to satisfy the fairness ratio.
To prove NP-hardness, the paper utilizes reductions from the 3-Partition problem. They demonstrate that even on trees with a diameter of only 4 or a maximum degree of 5, finding the optimal fair clustering is computationally intractable.
For tractable cases, such as 1:2 color ratios, they develop dynamic programming (DP) algorithms that traverse the tree bottom-up, tracking color imbalances in subtrees to find optimal cut points.
Key Results
The paper provides a comprehensive complexity map for FCC on forests, revealing a sharp dichotomy based on graph structure and color ratios.
- Diameter Dichotomy: If the tree diameter is $\le 3$, the problem is solvable in $O(n)$ for any color ratio. Once the diameter reaches 4, it becomes NP-hard for general ratios.
- Color Ratios: A 1:1 color ratio is solvable in $O(n)$ on forests, while a 1:2 ratio is solvable in $O(n^6)$.
- Structural Hardness: FCC is NP-hard on forests of paths (max degree 2) and trees with maximum degree $\ge 5$.
- Approximation: The authors provide a Polynomial-Time Approximation Scheme (PTAS) for forests, showing that a fair clustering can be found in $O(n)$ with an approximation ratio that improves as the required cluster size increases.
Conclusion
The most surprising insight is that the hardness of FCC is not caused by the strictness of the fairness condition itself, but rather by the underlying distribution of sensitive attributes. While the results are limited to forests, they serve as a foundation for designing better approximation algorithms for more complex graph classes. Future work remains in resolving the complexity for a single connected path with a 1:c color ratio and extending efficient algorithms to an arbitrary number of colors.
Summary updated