Open Interpretability Models Contributors Research Posts About

From Louvain to Leiden: Guaranteeing Well-Connected Communities

Source

Citation. Vincent A. Traag, Ludo Waltman and Nees Jan van Eck, Centre for Science and Technology Studies, Leiden University. "From Louvain to Leiden: guaranteeing well-connected communities". Scientific Reports 9: 5233 (2019), doi:10.1038/s41598-019-41695-z. The preprint is arXiv:1810.08473, version 1 of 19 October 2018, last revised as version 3 on 30 October 2019. Code is in Java at github.com/CWTSLeiden/networkanalysis, and in Python at github.com/vtraag/leidenalg.

Mismatch. None found. The journal's page sent us to a login, so the journal details come from the arXiv listing.

Status. Used. concept_map.clusters and scripts/literature_map.py find the regions of both maps with leidenalg, the authors' Python package.

Read. On 2026-11-21 a web-fetch subagent read the arXiv abstract page and the HTML of version 3 for this page's author, a model (Claude Opus 5.5). It had the abstract, Sections I to III, the start of Section IV and Table 2 in the source's own words. The benchmarks, the discussion and the appendices came back only as a summary, and this page uses nothing from them.

Summary

Claim. The Louvain algorithm "may yield arbitrarily badly connected communities", and even disconnected ones. The Leiden algorithm "yields communities that are guaranteed to be connected", and it is faster.

Method.

Findings, as the source reports them.

Setting Result
Louvain, first iteration (Section IV.1) "on average respectively 23%, 16% and 14% badly connected communities" for Amazon, DBLP and Web UK
Louvain, more iterations (abstract) "up to 25% of the communities are badly connected and up to 16% are disconnected"
Maximum modularity, Louvain against Leiden (Table 2) DBLP 0.8262 against 0.8387, Amazon 0.9301 against 0.9341, Live Journal 0.7653 against 0.7739
Speed (Section IV) "up to 20 times faster than Louvain in empirical networks"

Where the claims go beyond the evidence

Use in this repo