arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.02811cs.DCcs.DS
收藏

面向连通性的Contour算法

Contour Algorithm for Connectivity

Zhihui Du, Oliver Alvarado Rodriguez, Fuhuan Li, Mohammad Dindoost, David A. Bader

AI总结:

本研究提出基于最小映射的Contour算法求解图连通分量问题,经优化后集成于Arachne框架,实验显示其性能优于FastSV和ConnectIt,代码已开源。

摘要:

在图中查找连通分量是图分析中的一个基础问题。本研究提出了一种新颖的基于最小映射的Contour算法,可高效求解连通性问题。我们证明,采用二阶及更高阶算子的Contour算法能在$\u003cspan style="font-style: italic;"\u003eO\u003c/span\u003e(\u003cspan style="font-style: italic;"\u003elog d\u003c/span\u003e_{max})$次迭代内识别无向图的所有连通分量,每次迭代的工作量为$\u003cspan style="font-style: italic;"\u003eO\u003c/span\u003e(\u003cspan style="font-style: italic;"\u003em\u003c/span\u003e)$,其中$d_{max}$表示给定图中所有分量的最大直径,$m$为图的总边数。重要的是,每次迭代具备高度可并行性,可利用作用于所有边的高效最小映射算子实现。为进一步提升实际性能,我们通过异步更新、提前收敛检查、消除原子操作以及选择更高效的映射算子对Contour算法进行了优化。我们实现的Contour算法已集成至开源框架Arachne中。Arachne是对Arkouda的扩展,用于大规模交互式图分析,提供由高生产率并行语言Chapel驱动的Python API。在真实图和合成图上的实验结果表明,与当前最优的大规模并行算法FastSV以及最快的共享内存算法ConnectIt相比,本文提出的Contour算法性能更优。平均而言,Contour的速度分别是FastSV和ConnectIt的7.3倍和1.4倍。Contour算法和Arachne框架的所有代码已在GitHub(https://github.com/Bears-R-Us/arkouda-njit)上公开,确保了研究工作的透明性和可复现性。

英文摘要:

Finding connected components in a graph is a fundamental problem in graph analysis. In this work, we present a novel minimum-mapping based Contour algorithm to efficiently solve the connectivity problem. We prove that the Contour algorithm with two or higher order operators can identify all connected components of an undirected graph within $\mathcal{O}(\log d_{max})$ iterations, with each iteration involving $\mathcal{O}(m)$ work, where $d_{max}$ represents the largest diameter among all components in the given graph, and $m$ is the total number of edges in the graph. Importantly, each iteration is highly parallelizable, making use of the efficient minimum-mapping operator applied to all edges. To further enhance its practical performance, we optimize the Contour algorithm through asynchronous updates, early convergence checking, eliminating atomic operations, and choosing more efficient mapping operators. Our implementation of the Contour algorithm has been integrated into the open-source framework Arachne. Arachne extends Arkouda for large-scale interactive graph analytics, providing a Python API powered by the high-productivity parallel language Chapel. Experimental results on both real-world and synthetic graphs demonstrate the superior performance of our proposed Contour algorithm compared to state-of-the-art large-scale parallel algorithm FastSV and the fastest shared memory algorithm ConnectIt. On average, Contour achieves a speedup of 7.3x and 1.4x compared to FastSV and ConnectIt, respectively. All code for the Contour algorithm and the Arachne framework is publicly available on GitHub ( https://github.com/Bears-R-Us/arkouda-njit ), ensuring transparency and reproducibility of our work.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑