Heuristic and exact modularity optimization with size-constrained communities
- 13 October 2026
- journal article
- research article
- Published by American Physical Society (APS) in Physical Review E
- Vol. 114 (4) , 044314
Abstract
When searching for communities in networks, domain experts may have some prior expectations about the size of communities. Yet, community detection methods normally do not optimize communities under cluster size constraints. Multiresolution techniques allow users to indirectly control the average community size through changing a resolution parameter, but this practice does not control the size of individual communities. We here study the problem of size-constrained community detection, where the size of all communities is limited to a user-specified range of values, in the context of modularity optimization. We propose a heuristic for modularity optimization under community-size constraints. To demonstrate the reliability of our proposed heuristic, we also formulate an exact integer optimization model and use its results as a baseline. Our analysis based on synthetic benchmarks and real networks demonstrate the issues with the currently common practice of changing resolution parameters and reveal the advantages of the proposed methods as a principled way of obtaining size-constrained communities.This publication has 22 references indexed in Scilit:
- Normalized mutual information is a biased measure for classification and community detectionNature Communications, 2025
- Inter-chromosomal contacts demarcate genome topology along a spatial gradientNature Communications, 2024
- Analyzing modularity maximization in approximation, heuristic, and graph neural network algorithms for community detectionJournal of Computational Science, 2024
- Spatial and temporal organization of the genome: Current state and future aims of the 4D nucleome projectMolecular Cell, 2023
- Higher-Order Inter-chromosomal Hubs Shape 3D Genome Organization in the NucleusCell, 2018
- Community detection in networks: A user guidePhysics Reports, 2016
- The Budapest Reference Connectome Server v2.0Neuroscience Letters, 2015
- Community detection in graphsPhysics Reports, 2010
- Modularity and community structure in networksProceedings of the National Academy of Sciences of the United States of America, 2006
- Algorithms for graph partitioning on the planted partition modelRandom Structures & Algorithms, 2001