[论文解读] Selecting a suitable Parallel Label-propagation based algorithm for Disjoint Community Detection
本文评估了三种并行标签传播算法——RAK、COPRA 和 SLPA——在大规模网络中的不相交社区检测性能。研究实现了单线程和基于 OpenMP 的多线程版本,并对参数进行了优化与调参。采用容忍度为 0.05 且使用 12 线程 OpenMP 并行化的 RAK 算法相比串行非严格 RAK 实现了 6.75 倍的加速,同时获得了更优的模块度,因此被推荐用于高效且准确的不相交社区检测。
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.
研究动机与目标
- 识别在大规模网络中用于不相交社区检测的最高效且最准确的并行标签传播算法。
- 实现并优化 RAK、COPRA 和 SLPA 的单线程与基于 OpenMP 的多线程变体,重点关注算法细节与参数调优。
- 评估关键参数(如容忍度、max_labels、memory_size 和线程数)对性能与模块度的影响。
- 确定并行化是否能同时提升速度与社区质量,特别是在动态或大规模图中。
- 基于网络类型与计算约束,提供基于数据驱动的最优算法选择建议。
提出的方法
- 仔细关注算法细节与边界情况,实现 RAK、COPRA 和 SLPA 的单线程与基于 OpenMP 的多线程版本。
- 采用基于容忍度(标签发生变化的顶点最大百分比)的收敛条件来判断算法终止,所有算法保持一致。
- 通过将默认的 C++ 随机数生成器替换为 xorshift32,优化 SLPA 中的随机数生成以提升性能。
- 在 COPRA 中采用异步执行以加速收敛,并对 max_labels 参数进行调优(非道路网络为 4–16,道路网络为 1)。
- 在 RAK 和 SLPA 中应用严格与非严格标签选择模式,其中严格模式选择最流行标签中的第一个,非严格模式则在最热门标签中随机选择。
- 在多种图类型(包括道路网络、社交网络及其他现实世界图)上评估模块度与执行时间。
实验结果
研究问题
- RQ1在不相交社区检测中,哪种基于标签传播的算法——RAK、COPRA 或 SLPA——在速度与模块度之间实现了最佳平衡?
- RQ2与串行版本相比,基于 OpenMP 的并行化对 RAK、COPRA 和 SLPA 的性能与准确性有何影响?
- RQ3在不同图类型下,各算法的最优参数设置(如容忍度、max_labels、memory_size)是什么?
- RQ4严格标签选择模式是否在模块度与执行时间方面始终优于非严格模式?
- RQ5在 SLPA 中增加 memory_size 在多大程度上提升了模块度?这种提升是否值得付出更高的运行时间成本?
主要发现
- 基于 OpenMP 的严格 RAK 算法使用 12 个线程,相比串行非严格 RAK 实现了 6.75 倍加速,表明并行化带来了显著的性能提升。
- RAK 在容忍度为 0.05 时实现了高模块度,并在大多数图类型中表现持续优异,尤其在社交网络与复杂网络中。
- COPRA 在道路网络中使用单个标签表现良好,而在其他图中使用 4 至 16 的 max_labels 表现优异,异步执行进一步提升了收敛速度。
- SLPA 表现边际收益递减:增加 memory_size 略微提升了模块度,但显著增加了运行时间,导致投资回报率低下。
- SLPA 的严格模式在大多数图上模块度优于非严格模式,但在道路网络中非严格模式表现更优。
- 尽管进行了优化,SLPA 仍未能在速度与模块度之间取得令人满意的平衡,因此在大多数实际应用中并不适用。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。