Recovering Fairness Directly from Modularity: a New Way for Fair Community Partitioning
Yufeng Wang, Yiguang Bai, Tianqing Zhu, Ismail Ben Ayed, Jing Yuan
TL;DR
This work addresses fairness in modularity-based community detection by introducing a protected group network and a fairness-modularity metric $Q^P$, which quantifies deviation from global protected-group distributions. Minimizing $Q^P$ yields fair partitions, enabling a multi-objective optimization that preserves the standard modularity $Q$ while promoting fairness. The authors propose FairFN, an efficient extension of the Fast Newman algorithm with a simple fairness constraint, achieving superior fairness (higher FR, lower AWD) and competitive modularity on synthetic and real datasets, including unbalanced cases, and capable of automatic stopping without pre-specifying the number of communities. The approach has practical impact for applications ranging from social networks to brain networks by reducing bias in detected communities while maintaining high-quality partitions.
Abstract
Community partitioning is crucial in network analysis, with modularity optimization being the prevailing technique. However, traditional modularity-based methods often overlook fairness, a critical aspect in real-world applications. To address this, we introduce protected group networks and propose a novel fairness-modularity metric. This metric extends traditional modularity by explicitly incorporating fairness, and we prove that minimizing it yields naturally fair partitions for protected groups while maintaining theoretical soundness. We develop a general optimization framework for fairness partitioning and design the efficient Fair Fast Newman (FairFN) algorithm, enhancing the Fast Newman (FN) method to optimize both modularity and fairness. Experiments show FairFN achieves significantly improved fairness and high-quality partitions compared to state-of-the-art methods, especially on unbalanced datasets.
