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

大规模并行图的近优连通度

Near-Optimal Massively Parallel Graph Connectivity

Soheil Behnezhad, Laxman Dhulipala, Hossein Esfandiari, Jakub Łącki, Vahab Mirrokni

摘要:

识别图的连通分量,除了是无数应用的基本问题之外,也是许多其他算法的关键基础。在本文中,我们考虑这个问题在并行设置。特别是,我们专注于大规模并行计算(MPC)模型,这是现代并行框架(如MapReduce,Hadoop或Spark)的标准理论模型。我们认为真正的次线性制度MPC的图形问题,每台机器的空间是$n^δ$的一些理想的小常数$δ\in (0, 1)$。我们提出了一个算法,对于直径$D$在宽范围$[\log^ε n, n]$的图,采取$O(\log D)$轮,以确定连通组件和采取$O(\log \log n)$轮的所有其他图。该算法是随机的,成功的概率高,不需要$D$的先验知识,并使用$O(m)$的最佳总空间。我们补充这一点,显示了一个条件下限的基础上,广泛认为TwoCycle猜想,$Ω(\log D)$轮确实是必要的,在这种情况下。在Andoni等人的开创性工作[FOCS 2018]之后,研究并行连接算法重新受到关注,他们提出了一种具有$O(\log D \cdot \log \log n)$轮复杂度的算法。我们的算法改进了这一结果的$D$值的整个范围内,几乎解决了问题,由于条件下限。此外,我们表明,以最小的调整,我们的算法也可以实现在一个变种的(CRCW)PRAM在渐近相同数量的回合。

英文摘要:

Identifying the connected components of a graph, apart from being a fundamental problem with countless applications, is a key primitive for many other algorithms. In this paper, we consider this problem in parallel settings. Particularly, we focus on the Massively Parallel Computations (MPC) model, which is the standard theoretical model for modern parallel frameworks such as MapReduce, Hadoop, or Spark. We consider the truly sublinear regime of MPC for graph problems where the space per machine is $n^δ$ for some desirably small constant $δ\in (0, 1)$. We present an algorithm that for graphs with diameter $D$ in the wide range $[\log^ε n, n]$, takes $O(\log D)$ rounds to identify the connected components and takes $O(\log \log n)$ rounds for all other graphs. The algorithm is randomized, succeeds with high probability, does not require prior knowledge of $D$, and uses an optimal total space of $O(m)$. We complement this by showing a conditional lower-bound based on the widely believed TwoCycle conjecture that $Ω(\log D)$ rounds are indeed necessary in this setting. Studying parallel connectivity algorithms received a resurgence of interest after the pioneering work of Andoni et al. [FOCS 2018] who presented an algorithm with $O(\log D \cdot \log \log n)$ round-complexity. Our algorithm improves this result for the whole range of values of $D$ and almost settles the problem due to the conditional lower-bound. Additionally, we show that with minimal adjustments, our algorithm can also be implemented in a variant of the (CRCW) PRAM in asymptotically the same number of rounds.

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

↑