Heuristic and exact modularity optimization with size-constrained communities

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Silva, Filipi N., Aref, Samin, Traag, Vincent, Fortunato, Santo
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910253691437056
author Silva, Filipi N.
Aref, Samin
Traag, Vincent
Fortunato, Santo
author_facet Silva, Filipi N.
Aref, Samin
Traag, Vincent
Fortunato, Santo
contents 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. Multi-resolution 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. The proposed method is publicly available in the Python Leiden algorithm package.
format Preprint
id arxiv_https___arxiv_org_abs_2605_25248
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Heuristic and exact modularity optimization with size-constrained communities
Silva, Filipi N.
Aref, Samin
Traag, Vincent
Fortunato, Santo
Physics and Society
Social and Information Networks
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. Multi-resolution 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. The proposed method is publicly available in the Python Leiden algorithm package.
title Heuristic and exact modularity optimization with size-constrained communities
topic Physics and Society
Social and Information Networks
url https://arxiv.org/abs/2605.25248