Related Experiment Video
Updated: Jan 27, 2026

Biology of Microbial Communities - Interview
Published on: May 28, 2007
From Louvain to Leiden: guaranteeing well-connected communities
V A Traag1, L Waltman2, N J van Eck2
1Centre for Science and Technology Studies, Leiden University, Leiden, The Netherlands. v.a.traag@cwts.leidenuniv.nl.
Abstract:
Community detection is often used to understand the structure of large and complex networks. One of the most popular algorithms for uncovering community structure is the so-called Louvain algorithm. We show that this algorithm has a major defect that largely went unnoticed until now: the Louvain algorithm may yield arbitrarily badly connected communities. In the worst case, communities may even be disconnected, especially when running the algorithm iteratively. In our experimental analysis, we observe that up to 25% of the communities are badly connected and up to 16% are disconnected. To address this problem, we introduce the Leiden algorithm. We prove that the Leiden algorithm yields communities that are guaranteed to be connected. In addition, we prove that, when the Leiden algorithm is applied iteratively, it converges to a partition in which all subsets of all communities are locally optimally assigned. Furthermore, by relying on a fast local move approach, the Leiden algorithm runs faster than the Louvain algorithm. We demonstrate the performance of the Leiden algorithm for several benchmark and real-world networks. We find that the Leiden algorithm is faster than the Louvain algorithm and uncovers better partitions, in addition to providing explicit guarantees.
Related Concept Videos
What are Populations and Communities?
Dietary Connections
Community Based Intervention
Foundations of Community Mental Health Programs
Central to the success of community-based interventions is the...
Functions of Connective Tissues
Hard connective tissues, such as bones and cartilage, provide structure and support to the body.
Loose Connective Tissue
Adipose Tissue
Adipose tissue consists primarily of fat storage cells called adipocytes and little extracellular matrix. A large number of capillaries present within adipose tissue allow rapid mobilization of lipid molecules. White adipose tissue is...
Introduction to Connective Tissues

