From Louvain to Leiden: guaranteeing well-connected communities

By Vincent A. Traag, Ludo Waltman, Nees Jan van Eck. Scientific Reports, 2018

5,087 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Computer Science Applications, Statistical and Nonlinear Physics

View Paper: https://www.semanticscholar.org/paper/79cdbabb22ef80074f5659430fe6fc97932798f5

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Bin Hu
  2. Levi Waldron
  3. Aaron T. L. Lun
  4. Zhangyang Gao
  5. Malte D. Luecken
  6. Cheng Tan
  7. Stan.Z.Li
  8. Christos J. Petropoulos

In Computer Science Applications

  1. C. Stringer
  2. Hervé Pagès
  3. Marius Pachitariu
  4. Vincent J. Carey
  5. Martin T. Morgan

In Statistical and Nonlinear Physics

  1. Zhangyang Gao
  2. Malte D. Luecken
  3. Cheng Tan
  4. Stan.Z.Li
  5. C. Stringer
  6. Fabian J Theis
  7. Marius Pachitariu
  8. Vincent J. Carey

Citations in the corpus