[Paper Review] Selecting a suitable Parallel Label-propagation based algorithm for Disjoint Community Detection
This paper evaluates three parallel label-propagation algorithms—RAK, COPRA, and SLPA—for disjoint community detection in large-scale networks. It implements single-threaded and OpenMP-based multi-threaded versions, optimizing parameters and fine-tuning implementations. The RAK algorithm with a tolerance of 0.05 and 12-thread OpenMP parallelization achieves 6.75x speedup over sequential non-strict RAK and delivers superior modularity, making it the recommended choice for efficient and accurate disjoint community detection.
Community detection is an essential task in network analysis as it helps identify groups and patterns within a network. High-speed community detection algorithms are necessary to analyze large-scale networks in a reasonable amount of time. Researchers have made significant contributions in the development of high-speed community detection algorithms, particularly in the area of label-propagation based disjoint community detection. These algorithms have been proven to be highly effective in analyzing large-scale networks in a reasonable amount of time. However, it is important to evaluate the performance and accuracy of these existing methods to determine which algorithm is best suited for a particular type of network and specific research problem. In this report, we investigate the RAK, COPRA, and SLPA, three label-propagation-based static community discovery techniques. We pay close attention to each algorithm's minute details as we implement both its single-threaded and multi-threaded OpenMP-based variants, making any necessary adjustments or optimizations and obtaining the right parameter values. The RAK algorithm is found to perform well with a tolerance of 0.05 and OpenMP-based strict RAK with 12 threads was 6.75x faster than the sequential non-strict RAK. The COPRA algorithm works well with a single label for road networks and max labels of 4-16 for other classes of graphs. The SLPA algorithm performs well with increasing memory size, but overall doesn't offer a favourable return on investment. The RAK algorithm is recommended for label-propagation based disjoint community detection.
Motivation & Objective
- To identify the most efficient and accurate parallel label-propagation algorithm for disjoint community detection in large-scale networks.
- To implement and optimize single-threaded and multi-threaded OpenMP variants of RAK, COPRA, and SLPA, focusing on algorithmic nuances and parameter tuning.
- To evaluate the impact of key parameters—such as tolerance, max_labels, memory_size, and thread count—on performance and modularity.
- To determine whether parallelization improves both speed and community quality, especially in dynamic or large-scale graphs.
- To provide a data-driven recommendation for selecting the best-performing algorithm based on network type and computational constraints.
Proposed method
- Implementing single-threaded and OpenMP-based multi-threaded versions of RAK, COPRA, and SLPA with careful attention to algorithmic details and edge cases.
- Using a convergence condition based on tolerance (maximum percentage of vertices changing labels) to determine algorithm termination, consistent across all algorithms.
- Optimizing random number generation in SLPA by replacing the default C++ engine with xorshift32 for improved performance.
- Applying asynchronous execution in COPRA to accelerate convergence, with parameter tuning for max_labels (4–16 for non-road networks, 1 for road networks).
- Employing strict vs. non-strict label selection modes in RAK and SLPA, where strict selects the first most popular label, and non-strict randomly selects among top labels.
- Evaluating modularity and execution time across diverse graph types, including road networks, social networks, and other real-world graphs.
Experimental results
Research questions
- RQ1Which label-propagation-based algorithm—RAK, COPRA, or SLPA—delivers the best balance of speed and modularity in disjoint community detection?
- RQ2How does OpenMP-based parallelization affect the performance and accuracy of RAK, COPRA, and SLPA compared to their sequential counterparts?
- RQ3What are the optimal parameter settings (e.g., tolerance, max_labels, memory_size) for each algorithm across different graph types?
- RQ4Does the strict label selection mode consistently outperform the non-strict mode in terms of modularity and execution time?
- RQ5To what extent does increasing memory_size in SLPA improve modularity, and does it justify the increased runtime?
Key findings
- OpenMP-based strict RAK with 12 threads achieved 6.75x speedup over sequential non-strict RAK, demonstrating significant performance gains from parallelization.
- RAK with a tolerance of 0.05 achieved high modularity and was consistently superior across most graph types, especially in social and complex networks.
- COPRA performed well with a single label for road networks and max_labels between 4 and 16 for other graphs, with asynchronous execution improving convergence speed.
- SLPA showed diminishing returns: increasing memory_size improved modularity slightly but significantly increased runtime, resulting in poor return on investment.
- The strict variant of SLPA outperformed the non-strict variant in modularity on most graphs, except on road networks where non-strict performed better.
- Despite optimizations, SLPA did not achieve a favorable balance of speed and modularity, making it unsuitable for most practical applications.
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.