Modification-Fair Cluster Editing

Vincent Froese, Leon Kellerhals, Rolf Niedermeier

TL;DR

This paper introduces "Modification-Fair Cluster Editing," a new fairness criterion for graph clustering that focuses on balancing the process of clustering (edge modifications) across different subgroups, rather than just the outcome (cluster composition). They prove this new problem is NP-hard in some cases but fixed-parameter tractable with respect to the number of edits, and empirically show that achieving this fairness comes at a surprisingly low cost.

What Problem Does This Paper Address?

Clustering algorithms are widely used to group data points. When these data points represent individuals from different subgroups (e.g., by gender or nationality), standard clustering algorithms can inadvertently create biased results. This bias can manifest in two ways:

  1. Output-oriented fairness: The resulting clusters might disproportionately represent certain subgroups.
  2. Process-oriented fairness: The modifications (edge additions/deletions) needed to form these clusters might disproportionately affect certain subgroups.

This paper focuses on the second type of bias. In graph clustering, specifically "Cluster Editing," the goal is to transform a given graph into a collection of disjoint cliques (clusters) by adding or deleting a minimum number of edges. If the graph's vertices are colored to represent subgroups, a standard "colorblind" approach might lead to many more edge modifications for one color group than another, potentially distorting the underlying social network structure for that group. This paper introduces "Modification-Fair Cluster Editing" to address this by ensuring that the number of edge modifications incident to each subgroup is proportional to its size.

Methods

The authors tackle this problem from both theoretical and empirical angles:

  • Theoretical Analysis: They investigate the computational complexity of Modification-Fair Cluster Editing. They prove that even restricted versions of the problem (e.g., only allowing edge insertions within a subgroup) are NP-hard, which is a contrast to the non-fair version. However, they also show that the general problem is fixed-parameter tractable with respect to the number of edge modifications ($k$), meaning it can be solved efficiently if $k$ is small. They also explore reductions from known NP-hard problems to establish hardness results.
  • Empirical Evaluation: To understand the practical implications of their fairness constraint, they implement an integer linear programming (ILP) formulation of the problem. They use this to solve instances on real-world social network datasets and compare the results (solution cost and computation time) against standard, "colorblind" cluster editing.

Datasets

The authors evaluate their model on two types of real-world social network datasets:

  • SNAP Facebook dataset: This dataset contains graphs representing friendships, with vertices colored by gender. They sampled subgraphs of varying sizes ($n \in \{20, 40, 80, 120\}$) and proportions of red vertices ($p \in \{0.1, \dots, 0.5\}$).
  • Amazon product co-review graph: This dataset represents products as vertices and edges between products reviewed by the same person. Vertices are categorized into one of five product categories. They sampled subgraphs with $n \in \{40, 80, 120, 160, 200\}$ and proportions of red vertices ($p \in \{0.1, \dots, 0.5\}$).

Key Insights and Ideas

  • Fairness in the Process, Not Just the Outcome: The core idea is shifting the focus of fairness from the final cluster structure to the modifications required to achieve it. This is crucial when the modification process itself can introduce bias.
  • NP-Hardness of Fair Insertions: Surprisingly, even the simplified problem of only allowing edge insertions within a subgroup is NP-hard, unlike its non-fair counterpart. This highlights how fairness constraints can fundamentally alter problem complexity.
  • Fixed-Parameter Tractability: Despite NP-hardness in some cases, the problem remains tractable when parameterized by the number of edge modifications ($k$), suggesting that for scenarios requiring a small number of edits, fair solutions are computationally feasible.
  • Low "Price of Fairness": Empirically, achieving a good level of modification fairness doesn't significantly increase the number of edge modifications needed or the computation time, especially when perfect fairness isn't strictly required.

Key Results

  • Theoretical Complexity:
    • Modification-Fair Cluster Editing is NP-hard, even for restricted cases like only allowing insertions within a subgroup.
  • The problem is fixed-parameter tractable with respect to the number of edge modifications ($k$), with a running time of $2^{O(k \log k)} \cdot (n+m)$.
  • Empirical Findings:
    • Standard, "colorblind" cluster editing solutions are often already quite fair in terms of modification distribution.
  • The "price of fairness" in terms of solution cost (number of edits) is low, with fair solutions often requiring only a small percentage increase over colorblind solutions, especially when perfect fairness is not demanded.
  • The "price of fairness" in terms of computation time is also low for moderate fairness requirements, though perfect fairness can become computationally prohibitive.
  • The ratio of red to blue vertices doesn't seem to significantly impact the price of fairness.

Limitations and Future Work

  • Parameterization by Mono-colored Edits: The paper leaves open whether Modification-Fair Cluster Editing is fixed-parameter tractable when parameterized by the number of mono-colored edge modifications ($\mu$).
  • More Than Two Colors: The current work focuses on graphs with two vertex colors. Extending the fairness concept to more than two colors is a natural next step.
  • Other Fairness Definitions: Combining their process-oriented fairness with existing output-oriented fairness definitions is suggested.
  • Generalizations of Cluster Editing: Applying the fairness concept to more complex variants like hierarchical or s-plex cluster editing is also proposed.
  • Defining "Fairness": The authors acknowledge that defining what constitutes "fair" is a complex and contentious issue, and their work provides one specific interpretation.
  • Experimental Setup: The authors suggest future experiments could use a higher time limit to better analyze the price of fairness, and explore fairness thresholds between 0 and 0.01 to understand where the cost increases dramatically.

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