arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.08042cs.DScs.DC
收藏

并行$k$-核分解:理论与实践

Parallel $k$-Core Decomposition: Theory and Practice

Youzhe Liu, Xiaojun Dong, Yan Gu, Yihan Sun

AI总结:

针对现有$k$-核分解算法并行度与工作效率不足的问题,提出含采样、垂直粒度控制及分层桶结构的高效并行框架,在96核机器上多数测试图中性能显著优于主流并行算法。

摘要:

本文提出了高并行度的$k$-核分解高效解决方案。$k$-核分解问题是图分析中的基础问题,在多个领域都有应用。但现有算法在理论上实现工作效率和/或实践中达到高并行度方面面临重大挑战,存在多种性能瓶颈。\n 我们提出了一个简单、工作高效的并行$k$-核分解框架,该框架易于实现,且能适配多种提升工作效率的策略。我们引入了两种增强并行性的技术:一种是减少高度顶点上竞争的采样方案,另一种是缓解低度顶点调度开销的垂直粒度控制(VGC)。此外,我们设计了一种分层桶结构,以优化高核度值图的性能。\n 我们在多种真实图和合成图上评估了我们的算法。与包括ParK、PKC和Julienne在内的最先进并行算法相比,在96核机器上测试时,我们的方法在25个图中的23个上表现出更优性能。我们的算法相对于ParK的加速比最高达315×,相对于PKC达33.4×,相对于Julienne达52.5×。

英文摘要:

This paper proposes efficient solutions for $k$-core decomposition with high parallelism. The problem of $k$-core decomposition is fundamental in graph analysis and has applications across various domains. However, existing algorithms face significant challenges in achieving work-efficiency in theory and/or high parallelism in practice, and suffer from various performance bottlenecks. We present a simple, work-efficient parallel framework for $k$-core decomposition that is easy to implement and adaptable to various strategies for improving work-efficiency. We introduce two techniques to enhance parallelism: a sampling scheme to reduce contention on high-degree vertices, and vertical granularity control (VGC) to mitigate scheduling overhead for low-degree vertices. Furthermore, we design a hierarchical bucket structure to optimize performance for graphs with high coreness values. We evaluate our algorithm on a diverse set of real-world and synthetic graphs. Compared to state-of-the-art parallel algorithms, including ParK, PKC, and Julienne, our approach demonstrates superior performance on 23 out of 25 graphs when tested on a 96-core machine. Our algorithm shows speedups of up to 315$\times$ over ParK, 33.4$\times$ over PKC, and 52.5$\times$ over Julienne.

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

↑