From Louvain to Leiden: guaranteeing well-connected communities

被引:2168
|
作者
Traag, V. A. [1 ]
Waltman, L. [1 ]
van Eck, N. J. [1 ]
机构
[1] Leiden Univ, Ctr Sci & Technol Studies, Leiden, Netherlands
关键词
D O I
10.1038/s41598-019-41695-z
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] From Louvain to Leiden: guaranteeing well-connected communities
    V. A. Traag
    L. Waltman
    N. J. van Eck
    Scientific Reports, 9
  • [2] A "Well-Connected" Sequence
    Plaza, Angel
    Falcon, Sergio
    FIBONACCI QUARTERLY, 2012, 50 (02): : 184 - 184
  • [3] Power to the well-connected
    Shepherd, C
    FORBES, 1998, : 18 - 18
  • [4] THE WELL-CONNECTED TRAVELER
    Patel, Prachi
    IEEE SPECTRUM, 2009, 46 (10) : 22 - 22
  • [5] Well-connected PDAs
    Marshall, T
    BYTE, 1996, 21 (05): : 103 - 106
  • [6] A WELL-CONNECTED WORLD
    Adams, Jonathan
    Loach, Tamar
    NATURE, 2015, 527 (7577) : S58 - S59
  • [7] THE WELL-CONNECTED MAC
    BARRON, JJ
    MITCHELL, RL
    BYTE, 1988, 13 (08): : A57 - &
  • [8] On being well-connected
    Castro, JA
    COMPUTER DESIGN, 1997, 36 (04): : 118 - 118
  • [9] WELL-CONNECTED ACCOUNTING
    JURIS, R
    COMPUTER DECISIONS, 1986, 18 (13): : 86 - &
  • [10] THE WELL-CONNECTED LAPTOP
    OMALLEY, C
    PERSONAL COMPUTING, 1990, 14 (06): : 106 - &