VOOZH about

URL: https://arxiv.org/abs/1810.08473

⇱ [1810.08473] From Louvain to Leiden: guaranteeing well-connected communities


Computer Science > Social and Information Networks

arXiv:1810.08473 (cs)
[Submitted on 19 Oct 2018 (v1), last revised 30 Oct 2019 (this version, v3)]

Title:From Louvain to Leiden: guaranteeing well-connected communities

View PDF
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.
Subjects: Social and Information Networks (cs.SI); Physics and Society (physics.soc-ph)
Cite as: arXiv:1810.08473 [cs.SI]
(or arXiv:1810.08473v3 [cs.SI] for this version)
https://doi.org/10.48550/arXiv.1810.08473
arXiv-issued DOI via DataCite
Journal reference: Scientific Reports, vol. (9): 5233 (2019)
Related DOI: https://doi.org/10.1038/s41598-019-41695-z
DOI(s) linking to related resources

Submission history

From: Vincent A Traag [view email]
[v1] Fri, 19 Oct 2018 12:48:33 UTC (400 KB)
[v2] Fri, 16 Aug 2019 14:18:47 UTC (400 KB)
[v3] Wed, 30 Oct 2019 13:32:35 UTC (400 KB)
Full-text links:

Access Paper:

  • View PDF
  • TeX Source
Current browse context:
cs.SI
< prev   |   next >
Change to browse by:

References & Citations

export BibTeX citation

BibTeX formatted citation

×
Data provided by:

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.