mlsanityData to 7 Oct 2026

Heuristic Modularity Maximization Algorithms for Community Detection Rarely Return an Optimal Partition or Anything Similar

arXiv 2302.14698 ↗First posted 28 Feb 2023cs.SI cond-mat.stat-mech cs.DScited by 2

Not on the map. Why?

Abstract (arXiv)

Community detection is a fundamental problem in computational sciences with extensive applications in various fields. The most commonly used methods are the algorithms designed to maximize modularity over different partitions of the network nodes. Using 80 real and random networks from a wide range of contexts, we investigate the extent to which current heuristic modularity maximization algorithms succeed in returning maximum-modularity (optimal) partitions. We evaluate (1) the ratio of the algorithms' output modularity to the maximum modularity for each input graph, and (2) the maximum similarity between their output partition and any optimal partition of that graph. We compare eight existing heuristic algorithms against an exact integer programming method that globally maximizes modularity. The average modularity-based heuristic algorithm returns optimal partitions for only 19.4% of the 80 graphs considered. Additionally, results on adjusted mutual information reveal substantial dissimilarity between the sub-optimal partitions and any optimal partition of the networks in our experiments. More importantly, our results show that near-optimal partitions are often disproportionately dissimilar to any optimal partition. Taken together, our analysis points to a crucial limitation of commonly used modularity-based heuristics for discovering communities: they rarely produce an optimal partition or a partition resembling an optimal partition. If modularity is to be used for detecting communities, exact or approximate optimization algorithms are recommendable for a more methodologically sound usage of modularity within its applicability limits.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 19 of its 52 references that are in the map. First posted on arXiv 28 Feb 2023.

Builds on

19 of 52 references.

References · 19

  1. 2018From Louvain to Leiden: guaranteeing well-connected communitiescited by 379
  2. 2016Community detection in networks: A user guidecited by 105
  3. 2016The ground truth about metadata and community detection in networkscited by 42
  4. 2013Efficient Monte Carlo and greedy heuristic for the inference of stochastic block modelscited by 29
  5. 202220 years of network community detectioncited by 23
  6. 2013A General Optimization Technique for High Quality Community Detection in Complex Networkscited by 16
  7. 2014Scalable detection of statistically significant communities and hierarchies, using message-passing for modularitycited by 16
  8. 2018Hierarchical Graph Clustering using Node Pair Samplingcited by 11
  9. 2019EdMot: An Edge Enhancement Approach for Motif-aware Community Detectioncited by 11
  10. 2016Community detection in networks: Modularity optimization and maximum likelihood are equivalentcited by 10
  11. 2016Network Clustering via Maximizing Modularity: Approximation Algorithms and Theoretical Limitscited by 7
  12. 2015Detecting communities using asymptotical Surprisecited by 6
7 more
  1. 2017Cover time for random walks on arbitrary complex networkscited by 5
  2. 2021Community Detection in the Stochastic Block Model by Mixed Integer Programmingcited by 5
  3. 2022Bayan Algorithm: Detecting Communities in Networks Through Exact and Approximate Optimization of Modularitycited by 5
  4. 2017Network community detection using modularity density measurescited by 4
  5. 2018Counting the number of metastable states in the modularity landscape: Algorithmic detectability limit of greedy algorithms in community detectioncited by 4
  6. 2016Additive Approximation Algorithms for Modularity Maximizationcited by 3
  7. 2018The parameterised complexity of computing the maximum modularity of a graphcited by 2

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.