Analyzing Modularity Maximization in Approximation, Heuristic, and Graph Neural Network Algorithms for Community Detection
Not on the map. Why?
Abstract (arXiv)
Community detection, which involves partitioning nodes within a network, has widespread applications across computational sciences. Modularity-based algorithms identify communities by attempting to maximize the modularity function across network node partitions. Our study assesses the performance of various modularity-based algorithms in obtaining optimal partitions. Our analysis utilizes 104 networks, including both real-world instances from diverse contexts and modular graphs from two families of synthetic benchmarks. We analyze ten inexact modularity-based algorithms against the exact integer programming baseline that globally optimizes modularity. Our comparative analysis includes eight heuristics, two variants of a graph neural network algorithm, and nine variations of the Bayan approximation algorithm. Our findings reveal that the average modularity-based heuristic yields optimal partitions in only 43.9% of the 104 networks analyzed. Graph neural networks and approximate Bayan, on average, achieve optimality on 68.7% and 82.3% of the networks respectively. Additionally, our analysis of three partition similarity metrics exposes substantial dissimilarities between high-modularity sub-optimal partitions and any optimal partition of the networks. We observe that near-optimal partitions are often disproportionately dissimilar to any optimal partition. Taken together, our analysis points to a crucial limitation of the commonly used modularity-based methods: they rarely produce an optimal partition or a partition resembling an optimal partition even on networks with modular structures. If modularity is to be used for detecting communities, we recommend approximate optimization algorithms for a more methodologically sound usage of modularity within its applicability limits.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 26 of its 66 references that are in the map. First posted on arXiv 17 Oct 2023.
Builds on
26 of 66 references.
References · 26
- 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 379
- 2016Community detection in networks: A user guidecited by 105
- 2016The ground truth about metadata and community detection in networkscited by 42
- 2013Efficient Monte Carlo and greedy heuristic for the inference of stochastic block modelscited by 29
- 202220 years of network community detectioncited by 23
- 2020Artificial Benchmark for Community Detection (ABCD): Fast Random Graph Model with Community Structurecited by 18
- 2017Element-centric clustering comparison unifies overlaps and hierarchycited by 17
- 2013A General Optimization Technique for High Quality Community Detection in Complex Networkscited by 16
- 2014Scalable detection of statistically significant communities and hierarchies, using message-passing for modularitycited by 16
- 2018Hierarchical Graph Clustering using Node Pair Samplingcited by 11
- 2019EdMot: An Edge Enhancement Approach for Motif-aware Community Detectioncited by 11
- 2016Community detection in networks: Modularity optimization and maximum likelihood are equivalentcited by 10
14 more
- 2016The many facets of community detection in complex networkscited by 8
- 2016Network Clustering via Maximizing Modularity: Approximation Algorithms and Theoretical Limitscited by 7
- 2023Normalized mutual information is a biased measure for classification and community detectioncited by 7
- 2015Detecting communities using asymptotical Surprisecited by 6
- 2019Improved mutual information measure for classification and community detectioncited by 6
- 2017Cover time for random walks on arbitrary complex networkscited by 5
- 2021Community Detection in the Stochastic Block Model by Mixed Integer Programmingcited by 5
- 2022Bayan Algorithm: Detecting Communities in Networks Through Exact and Approximate Optimization of Modularitycited by 5
- 2017Network community detection using modularity density measurescited by 4
- 2018Counting the number of metastable states in the modularity landscape: Algorithmic detectability limit of greedy algorithms in community detectioncited by 4
- 2019Consistency of community structure in complex networkscited by 4
- 2016Additive Approximation Algorithms for Modularity Maximizationcited by 3
- 2018The parameterised complexity of computing the maximum modularity of a graphcited by 2
- 2023Heuristic Modularity Maximization Algorithms for Community Detection Rarely Return an Optimal Partition or Anything Similarcited by 2
Built on by
Citing papers per year: 2024: 1; 2025: 3.
4 papers.
- 2025SBGD: Improving Graph Diffusion Generative Model via Stochastic Block Diffusioncited by 2
- 2024Edge-Wise Graph-Instructed Neural Networkscited by 1
- 2025Community detection robustness of graph neural networkscited by 1
- 2025Robust Markov stability for community detection at a scale learned based on the structurecited by 0
- 2025Community detection robustness of graph neural networks29 Sep 2025
- 2025SBGD: Improving Graph Diffusion Generative Model via Stochastic Block Diffusion20 Aug 2025
- 2025Robust Markov stability for community detection at a scale learned based on the structure15 Apr 2025
- 2024Edge-Wise Graph-Instructed Neural Networks12 Sep 2024