Large network community detection by fast label propagation

Vincent A. Traag, Lovro Šubelj
9/27/2022
physics.soc-phcs.SI

Official code: vtraag/igraph (6 stars, C, GPL-2.0, last commit 2026-09-29).

Abstract

Many networks exhibit some community structure. There exists a wide variety of approaches to detect communities in networks, each offering different interpretations and associated algorithms.

Show full abstract

For large networks, there is the additional requirement of speed. In this context, the so-called label propagation algorithm (LPA) was proposed, which runs in near-linear time. In partitions uncovered by LPA, each node is ensured to have most links to its assigned community. We here propose a fast variant of LPA (FLPA) that is based on processing a queue of nodes whose neighbourhood recently changed. We test FLPA exhaustively on benchmark networks and empirical networks, finding that it can run up to 700 times faster than LPA. In partitions found by FLPA, we prove that each node is again guaranteed to have most links to its assigned community. Our results show that FLPA is generally preferable to LPA.

View on arXivView PDF

Code Implementations(1)

vtraag/igraphOfficial100%
GPL-2.0

Library for the analysis of networks

64C, C++Jan 26, 20172 months agoGPL-2.0

Similar Papers

Cite this paper

@article{traag2022large,
  title  = {Large network community detection by fast label propagation},
  author = {Vincent A. Traag and Lovro Šubelj},
  year   = {2022},
  eprint = {2209.13338},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.13338}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2209.13338.svg)](https://codeofpaper.com/paper/2209.13338)

Discussion