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

蝶形计算的并行算法

Parallel Algorithms for Butterfly Computations

Jessica Shi, Julian Shun

摘要:

蝴蝶是二分图中最小的非平凡子图,因此有效地分析它们对于提高二分图的某些应用的质量至关重要。在本文中,我们设计了一个框架,称为ParButterfly,包含新的并行算法处理蝴蝶的以下问题:全局计数,每顶点计数,每边计数,尖端分解(顶点剥离),和翅膀分解(边缘剥离)。这些算法的主要组成部分是聚合事件上的顶点子集的楔形,我们的框架支持不同的方法楔形聚合,包括排序,哈希,直方图,和排序。此外,ParButterfly还支持不同的顶点排序方式来加速计数,包括边排序、近似和精确度排序以及近似和精确补核排序。对于计数,ParButterfly还支持精确计算以及通过图稀疏化的近似计算。我们证明了强有力的理论保证的工作和跨度的算法ParButterfly。我们使用48核机器对ParButterfly中的所有算法在真实世界的二分图集合上进行全面评估。我们的计数算法获得了显着的并行加速比,优于最快的顺序算法的高达13.6倍的自相关加速比高达38.5倍。与一般的子图计数解决方案相比,我们快了几个数量级。我们的剥离算法实现了高达10.7倍的自相关加速比,并优于最快的顺序基线高达几个数量级。

英文摘要:

Butterflies are the smallest non-trivial subgraph in bipartite graphs, and therefore having efficient computations for analyzing them is crucial to improving the quality of certain applications on bipartite graphs. In this paper, we design a framework called ParButterfly that contains new parallel algorithms for the following problems on processing butterflies: global counting, per-vertex counting, per-edge counting, tip decomposition (vertex peeling), and wing decomposition (edge peeling). The main component of these algorithms is aggregating wedges incident on subsets of vertices, and our framework supports different methods for wedge aggregation, including sorting, hashing, histogramming, and batching. In addition, ParButterfly supports different ways of ranking the vertices to speed up counting, including side ordering, approximate and exact degree ordering, and approximate and exact complement coreness ordering. For counting, ParButterfly also supports both exact computation as well as approximate computation via graph sparsification. We prove strong theoretical guarantees on the work and span of the algorithms in ParButterfly. We perform a comprehensive evaluation of all of the algorithms in ParButterfly on a collection of real-world bipartite graphs using a 48-core machine. Our counting algorithms obtain significant parallel speedup, outperforming the fastest sequential algorithms by up to 13.6x with a self-relative speedup of up to 38.5x. Compared to general subgraph counting solutions, we are orders of magnitude faster. Our peeling algorithms achieve self-relative speedups of up to 10.7x and outperform the fastest sequential baseline by up to several orders of magnitude.

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

↑