A Starting Point for Dynamic Community Detection with Leiden Algorithm
Subhajit Sahu
TL;DR
The paper tackles dynamic community detection by extending Naive-dynamic, Delta-screening, and Dynamic Frontier approaches to a fast multicore Leiden algorithm. It presents selective refinement and a subset renumbering scheme to maintain well-connected communities while exploiting prior memberships, yielding up to $1.98\times$ average speedups (and up to $3.72\times$ for small updates) over Static Leiden on large graphs, with strong scalability across 64 cores. The methods preserve modularity nearly as well as the static baseline and provide insights into load balancing and refinement costs, suggesting DF Leiden as a practical option for evolving graphs. Overall, the work demonstrates the feasibility and value of dynamic Leiden for efficiently updating communities in dynamic networks, laying groundwork for future refinement and optimization.
Abstract
Real-world graphs often evolve over time, making community or cluster detection a crucial task. In this technical report, we extend three dynamic approaches - Naive-dynamic (ND), Delta-screening (DS), and Dynamic Frontier (DF) - to our multicore implementation of the Leiden algorithm, known for its high-quality community detection. Our experiments, conducted on a server with a 64-core AMD EPYC-7742 processor, show that ND, DS, and DF Leiden achieve average speedups of 1.37x, 1.47x, and 1.98x on large graphs with random batch updates, compared to the Static Leiden algorithm - while scaling at a rate of 1.6x for every doubling of threads. To our knowledge, this is the first attempt to apply dynamic approaches to the Leiden algorithm. We hope these early results pave the way for further development of dynamic approaches for evolving graphs.
