[Paper Review] Fast community detection using local neighbourhood search
This paper proposes a fast, highly parallelizable community detection algorithm based on local neighborhood search that accelerates the Louvain method by synchronously updating node assignments using a tree-like assignment graph. It achieves up to 20× speedup over the original Louvain method while maintaining comparable modularity and normalized mutual information (NMI) scores on LFR benchmark graphs.
Communities play a crucial role to describe and analyse modern networks. However, the size of those networks has grown tremendously with the increase of computational power and data storage. While various methods have been developed to extract community structures, their computational cost or the difficulty to parallelize existing algorithms make partitioning real networks into communities a challenging problem. In this paper, we propose to alter an efficient algorithm, the Louvain method, such that communities are defined as the connected components of a tree-like assignment graph. Within this framework, we precisely describe the different steps of our algorithm and demonstrate its highly parallelizable nature. We then show that despite its simplicity, our algorithm has a partitioning quality similar to the original method on benchmark graphs and even outperforms other algorithms. We also show that, even on a single processor, our method is much faster and allows the analysis of very large networks.
Motivation & Objective
- Address the computational bottleneck of community detection in large-scale networks due to high time complexity and poor parallelizability of existing methods.
- Improve the scalability of the Louvain algorithm by enabling synchronous, parallel updates of node community assignments.
- Maintain high-quality community partitions comparable to the original Louvain method while drastically reducing runtime.
- Enable efficient analysis of very large networks, including weighted and real-world graphs, by reducing the number of iterations to convergence.
Proposed method
- Reformulate the Louvain method by defining communities as connected components of a tree-like assignment graph constructed from node assignments.
- Introduce two types of corrections: one based on local neighborhood density and another based on the tail of each node’s assignment path to guide synchronous updates.
- Use a synchronized update strategy where multiple nodes switch communities simultaneously based on the assignment graph structure, enabling high parallelism.
- Optimize the cost function using modularity or the constant Potts model (CPM), with community assignment driven by local neighborhood information and edge weights.
- Construct the assignment graph dynamically during each iteration, where each node’s assignment is updated based on the community structure of its neighbors and the current assignment state.
- Reduce the number of iterations to convergence by efficiently identifying stable partitions through local search and graph-based propagation of assignment changes.
Experimental results
Research questions
- RQ1Can the Louvain algorithm be modified to allow fully synchronous, parallel updates of node community assignments without sacrificing partition quality?
- RQ2Does the proposed local neighborhood search strategy reduce the number of iterations required to reach convergence compared to the original sequential Louvain method?
- RQ3How does the performance of the new algorithm scale with increasing network size, particularly in terms of runtime and memory usage?
- RQ4To what extent does the algorithm maintain high-quality community detection (measured by modularity and NMI) on benchmark graphs compared to state-of-the-art methods?
- RQ5Why does the algorithm perform poorly on unweighted networks, and how does this relate to the number of required corrections?
Key findings
- The proposed algorithm achieves up to 20× speedup over the classical Louvain method on large-scale LFR benchmark graphs, with consistent performance gains across all tested network sizes.
- Despite the use of synchronous updates, the algorithm maintains community partition quality nearly identical to the original Louvain method, as evidenced by coalescing NMI curves on benchmark graphs.
- The number of iterations to convergence is significantly reduced due to efficient, large-scale updates based on the assignment graph and node tail information.
- The algorithm is less effective on unweighted networks due to a higher number of required corrections, which increases computational overhead despite the same underlying logic.
- The method outperforms other state-of-the-art algorithms in terms of computational efficiency, especially on large graphs, and is suitable for implementation on parallel or distributed architectures.
- The algorithm remains robust to the resolution limit problem, particularly when using the constant Potts model (CPM), which yields better-quality partitions than modularity on large networks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.