Swift Unfolding of Communities: GPU-Accelerated Louvain Algorithm
Zhibin Wang, Xi Lin, Xue Li, Pinhuan Wang, Ziheng Meng, Hang Liu, Chen Tian, Sheng Zhong
Abstract
The Louvain algorithm is one of the most popular algorithms for community detection. Observing that existing implementations suffer from inaccurate pruning and inefficient intermediate state management, we introduce GALA, GPU-Accelerated Louvain Algorithm, which incorporates two key innovations. The first innovation is a novel modularity gain-based pruning strategy, supported by rigorous theoretical guarantees of optimality and able to reduce up to 76% of vertices as well as their corresponding computations. To take advantage of the memory hierarchy and parallelism of GPUs, the second innovation is workload-aware kernels, featuring a shuffle-based kernel founded on the warp-level primitives for exchange states and a hash-based kernel that prioritizes shared memory in hashtable design. GALA further scales to multiple GPUs by minimizing the synchronization overhead between GPUs through a dense-sparse synchronization strategy. We evaluate the performance of GALA through theoretical analysis and practical experiments on various real-world graphs. The experimental results confirm that GALA significantly improves the performance of the parallel Louvain algorithm on GPUs, surpassing state-of-the-art solutions by 6× on average.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
Builds on5
- Efficient and Scalable Graph Pattern Mining on GPUsXuhao Chen, ArvindOSDI 2022 · 53 citations
- Scalable Community Detection via Parallel Correlation ClusteringJessica Shi, Laxman Dhulipala, David Eisenstat, Jakub Lacki et al.VLDB 2021 · 41 citations
- DyCuckoo: Dynamic Hash Tables on GPUsYuchen Li, Qiwei Zhu, Zheng Lyu, Zhongdong Huang et al.ICDE 2021 · 28 citations
- Correlation Clustering via Strong Triadic Closure Labeling: Fast Approximation Algorithms and Practical Lower BoundsNate VeldtICML 2022 · 28 citations
- Kimbap: A Node-Property Map System for Distributed Graph AnalyticsHochan Lee, Roshan Dathathri, Keshav PingaliASPLOS 2024 · 2 citations
Related papers
- νMG-LPA and νBM-LPA: Memory Efficient GPU-based Label Propagation Algorithms (LPA) for Community DetectionSubhajit SahuHPDC 2026
- GPU-Accelerated Subgraph Enumeration on Partitioned GraphsWentian Guo, Yuchen Li, Mo Sha, Bingsheng He et al.SIGMOD 2020 · 71 citations
- Geld: Load-balanced D-Core Decomposition for Consumer GPUsCheng Huang, Johannes Langguth, Xing Cai, Davide Mottin et al.SIGMOD 2026 · 2 citations
- RAMA: A Rapid Multicut Algorithm on GPUAhmed Abbas, Paul SwobodaCVPR 2022 · 7 citations
- Efficient Tracking of Communities on Evolving Graphs with Leiden AlgorithmSubhajit SahuHPDC 2026
