Modification-Fair Cluster Editing

Vincent Froese, Leon Kellerhals, Rolf Niedermeier

Abstract

Standard Cluster Editing aims to minimize total edge modifications to partition a graph into cliques. However, this can lead to unfairness where specific vertex subgroups bear a disproportionate share of the modification "cost." This paper introduces Modification-Fair Cluster Editing, a process-oriented fairness framework that balances average modification costs across groups. We prove the problem is NP-hard but Fixed-Parameter Tractable (FPT). Empirical evaluations on social network data reveal that achieving near-perfect fairness often requires only a marginal increase in total edits, suggesting that the "price of fairness" is low in practical applications.

1. Introduction

Cluster Editing, also known as Correlation Clustering, is a cornerstone of unsupervised learning. Given an input graph, the objective is to find the minimum number of edge additions and deletions required to transform it into a cluster graph—a collection of disjoint cliques. While traditional approaches focus on global optimality, they often ignore the distribution of modification costs among vertex subgroups. In social contexts, where vertices represent individuals and edges represent relationships, a disproportionate number of modifications incident to one group can be perceived as biased.

We propose a "process-oriented" fairness metric. Unlike outcome-based fairness, which examines the final cluster composition, modification fairness ensures that the effort required to reach the clustered state is distributed equitably. Specifically, the average number of edits incident to vertices of different groups (e.g., "red" vs. "blue") should be approximately equal.

Illustration of different cluster editing solutions on a colored graph. (a) Original graph. (b-d) Different editing strategies with varying fairness properties.

2. Modification-Fair Cluster Editing

The authors formalize the problem by introducing a fairness constraint: the difference between the average modification costs of two groups must fall below a predefined threshold $\delta$. This ensures that no single demographic group "pays" significantly more for the resulting partition.

3. Theoretical Complexity and Algorithms

The introduction of fairness constraints significantly alters the problem's complexity landscape. For instance, Cluster Completion—where only edge additions are allowed—is trivial in the standard setting but becomes NP-hard when fairness is required. This hardness is demonstrated via a reduction from numerical matching problems.

Despite this increased complexity, the problem remains Fixed-Parameter Tractable (FPT). By employing a $P_3$-branching algorithm—which identifies and resolves induced paths of length two (forbidden in cliques)—combined with specialized data reduction rules, the authors show that the problem can be solved in $2^{O(k \log k)} \cdot (|V| + |E|)$ time, where $k$ is the total number of edits.

4. Empirical Evaluation

To assess the practical impact of fairness constraints, the authors extended standard Integer Linear Programming (ILP) formulations and tested them on 40 subgraphs from the SNAP Facebook dataset, using gender as a binary vertex attribute.

Key findings include:

  • Price of Fairness: In larger subgraphs (Sets 3 and 4), requiring perfect fairness ($\delta = 0$) only increased the total edit count by 10% and 8%, respectively. This suggests that fair solutions are often "near" the global optimum in real-world social networks.
  • Fairness in Baselines: In standard "non-fair" solutions, the fairness gap ($\Delta_{norm}$) was often high for small graphs but tended to be naturally lower for larger ones.
  • Computational Efficiency: While finding perfectly fair solutions can be up to 90 times slower than the non-fair baseline, allowing a small amount of "slack" in the fairness constraint significantly improves computation time without sacrificing much equity.

5. Discussion and Future Work

This work highlights that the transition to a clustered state is as important as the state itself. While the current model focuses on binary groups and average costs, it provides a robust foundation for future research. Potential extensions include handling multiple overlapping groups, addressing individual-level fairness, and applying similar process-oriented constraints to other graph problems such as hierarchical clustering or shortest path finding.

Summary updated

BibTeX
@inproceedings{froese2022modification,
  author = {Vincent Froese and Leon Kellerhals and Rolf Niedermeier},
  title = {{Modification-Fair Cluster Editing}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20617},
}
Figure