On the Power of Louvain in the Stochastic Block Model
Vincent Cohen-Addad, Adrian Kosowski, Frederik Mallmann-Trenn, David Saulpic
Abstract
A classic problem in machine learning and data analysis is to partition the vertices of a network in such a way that vertices in the same set are densely connected and vertices in different sets are loosely connected. In practice, the most popular approaches rely on local search algorithms; not only for the ease of implementation and the efficiency, but also because of the accuracy of these methods on many real world graphs. For example, the Louvain algorithm -a local search based algorithm -has quickly become the method of choice for clustering in social networks. However, explaining the success of these methods remains an open problem: in the worst-case, the runtime can be up to Ω(n 2 ), much worse than what is typically observed in practice, and no guarantee on the quality of its output can be established. The goal of this paper is to shed light on the inner-workings of Louvain; only if we understand Louvain, can we rely on it and further improve it. To achieve this goal, we study the behavior of Louvain in the famous two-bloc Stochastic Block Model, which has a clear ground-truth and serves as the standard testbed for graph clustering algorithms. We provide valuable tools for the analysis of Louvain, but also for many other combinatorial algorithms. For example, we show that the probability for a node to have more edges towards its own community is 1/2 + Ω(min(∆(p -q)/ √ np, 1)) in the SBM(n, p, q), where ∆ is the imbalance. Note that this bound is asymptotically tight and useful for the analysis of a wide range of algorithms (Louvain, Kernighan-Lin, Simulated Annealing etc).
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d3e3bc49-eeb3-4ace-aab5-db5d194e89e5Cited by top-tier papers3
- Optimal Non-Convex Exact Recovery in Stochastic Block Model via Projected Power MethodPeng Wang, Huikang Liu, Zirui Zhou, Anthony Man-Cho SoICML 2021 · 16 citations
- Beyond the Silence: How Men Navigate Infertility Through Digital Communities and Data SharingTawfiq Ammari, Zarah Khondoker, Yihan Wang, Nikki RodaCHI 2026 · 1 citation
- Robust Markov Stability for Community Detection at the Scale Learned based on the StructureSamin Aref, Sanchaai MathiyarasanCSCW 2025
Related papers
- A Nearly-Linear Time Algorithm for Exact Community Recovery in Stochastic Block ModelPeng Wang, Zirui Zhou, Anthony Man-Cho SoICML 2020 · 15 citations
- Detecting Hidden Communities by Power Iterations with Connections to Vanilla Spectral AlgorithmsChandra Sekhar Mukherjee, Jiapeng ZhangSODA 2024
- Hypergraph Clustering Based on PageRankYuuki Takai, Atsushi Miyauchi, Masahiro Ikeda, Yuichi YoshidaKDD 2020 · 38 citations
- Convergence Guarantees for the DeepWalk Embedding on Block ModelsChristopher Harker, Aditya BhaskaraICML 2024
- Recovering Unbalanced Communities in the Stochastic Block Model with Application to Clustering with a Faulty OracleChandra Sekhar Mukherjee, Pan Peng, Jiapeng ZhangNeurIPS 2023 · 8 citations
