Spectral Normalized-Cut Graph Partitioning with Fairness Constraints

Jia Li, Yanhao Wang, Arpit Merchant

Abstract

Graph partitioning is a cornerstone of network analysis, yet traditional methods often inadvertently produce clusters that exhibit demographic bias. This paper introduces FNM (Fair Normalized-cut), a novel two-phase algorithmic framework designed to balance the quality of the "Normalized Cut" (Ncut) with range-based proportional fairness constraints. By reformulating spectral clustering as a constrained optimization problem and introducing a fairness-aware rounding scheme, FNM provides a scalable solution capable of processing graphs with over a million nodes while maintaining strict demographic balance.

Introduction

Graph partitioning aims to divide a network into $k$ clusters such that nodes within a cluster are densely connected, while connections between clusters are sparse. The standard objective for this task is minimizing the Normalized Cut (Ncut). While effective for community detection and image segmentation, standard Ncut algorithms are "fairness-blind." In social contexts, this can lead to partitions where specific demographic groups—defined by attributes like race, gender, or age—are significantly over- or under-represented within certain clusters compared to their global distribution.

While fair clustering has been explored for data in Euclidean space, applying these constraints to the discrete and high-dimensional structure of graphs presents significant computational challenges. Existing fair spectral methods often rely on expensive eigendecompositions that do not scale to large-scale real-world networks. FNM addresses these gaps by integrating fairness directly into both the embedding and the discrete assignment phases.

The FNM Framework

FNM decomposes the fair partitioning problem into two distinct phases: Fair Spectral Embedding and Fair Rounding.

Phase 1: Range-based Fair Spectral Embedding

In traditional spectral clustering, node embeddings are derived from the eigenvectors of the graph Laplacian. FNM instead treats the embedding process as a constrained optimization problem. The framework utilizes an Augmented Lagrangian Method to penalize fairness violations during the embedding generation.

To maintain the mathematical integrity of the spectral representation—specifically the requirement that the embedding matrix remains orthogonal—the authors employ OptStiefelGBB, a specialized optimizer for optimization on the Stiefel manifold. This approach avoids the memory bottlenecks associated with traditional eigendecomposition, allowing the model to scale to much larger datasets.

Phase 2: Range-based Fair Rounding

After generating fair-aware embeddings, nodes must be assigned to discrete clusters. Standard $k$-means ignores demographic proportions, often undoing the fairness gains achieved in the embedding phase. FNM introduces a two-step rounding strategy:

  1. Linear Programming (LP) Initialization: The algorithm solves an LP to find an initial "nearly-fair" assignment of nodes to clusters.
  2. Integer Programming (IP) & Greedy Refinement: To ensure strict adherence to fairness bounds, FNM uses an IP-based greedy strategy to reassign nodes. The algorithm prioritizes moves that satisfy fairness constraints with the minimal possible increase to the Ncut value.

Central to this framework is the parameter $\sigma$, a "looseness" variable. This allows users to tune the trade-off between perfect demographic proportionality ($\sigma=0$) and standard, unconstrained partitioning ($\sigma=1$).

Experimental Evaluation

The authors evaluated FNM against several baselines (including SC, FSC, and sFSC) across nine diverse datasets:

  • Social Networks: Facebook, LastFM, Deezer, and the large-scale Pokec-A and Pokec-G (containing up to 1.6 million nodes).
  • Coauthor Networks: DBLP.
  • Similarity Graphs: German (credit risk) and Credit (default data).
  • Synthetic Data: Stochastic Block Model (SBM) graphs for controlled testing.

Sensitive attributes included gender, age, education, and geographic location.

Key Insights and Results

The Price of Fairness

The research quantifies the inherent trade-off between partition quality and demographic balance. As the fairness constraint $\sigma$ tightens, the Ncut value increases. FNM is the first algorithm to provide a tunable mechanism to navigate this trade-off effectively. A critical finding is that fairness must be addressed in both phases; if the initial embedding is not "fair-aware," the rounding phase must sacrifice significantly more Ncut quality to meet the constraints.

Scalability and Constraint Satisfaction

FNM demonstrated superior performance in two key areas:

  1. Strict Satisfaction: Unlike baseline methods, FNM was the only algorithm that consistently satisfied fairness constraints across all tested datasets.
  2. Computational Efficiency: On the Pokec-G dataset (1.6M nodes), FNM produced a fair partition in approximately 9–10 minutes. Many existing fair spectral baselines failed to run on this dataset due to memory exhaustion, highlighting FNM's suitability for production-scale environments.

Limitations and Future Work

While FNM represents a significant step forward, the authors note several areas for future research. The current framework focuses on group fairness (proportionality), but does not explicitly address individual fairness—the principle that similar individuals should be treated similarly. Additionally, while FNM is more scalable than its predecessors, it remains more computationally intensive than standard spectral clustering due to the iterative nature of the Augmented Lagrangian and the LP/IP rounding steps. Future work may also focus on reducing sensitivity to initial penalty hyperparameters, which currently require grid searching for optimal performance.

Summary updated

BibTeX
@inproceedings{li2023spectral,
  author = {Jia Li and Yanhao Wang and Arpit Merchant},
  title = {{Spectral Normalized-Cut Graph Partitioning with Fairness Constraints}},
  booktitle = {ECAI},
  year = {2023},
  url = {https://openreview.net/forum?id=cKUvM66YVJB},
}
Figure