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

近似最短路径的大规模并行算法

Massively Parallel Algorithms for Approximate Shortest Paths

Michal Dory, Shaked Matar

AI总结:

该研究在近线性内存大规模并行计算模型下,提出了轮复杂度为poly(log log n)的SSSP(1+ε)近似算法与距离预言机,突破了此前Ω(log n)的轮数或近似比下界,核心工具可在亚线性MPC模型中构建。

摘要:

我们提出了大规模并行计算(MPC)模型下近似最短路径的快速算法。我们提供了在近线性内存MPC模型中仅需$poly(\log{\log{n}})$轮的随机算法,研究对象为具有$n$个顶点、$m$条边的无权无向图。我们的第一项成果是单源最短路径(SSSP)的$(1+ε)$近似算法,该算法在近线性MPC模型中运行轮数为$poly(\log{\log{n}})$,其中每台机器的内存为$\tilde{O}(n)$,总内存为$\tilde{O}(mn^ρ)$,$ρ$为一个小常数。我们的第二项成果是一个距离预言机,可近似计算任意顶点对之间的距离。该距离预言机的构建需$poly(\log{\log{n}})$轮,且能在$O(1)$的额外轮数内查询任意顶点对$u$和$v$之间的$(1+ε)(2k-1)$近似距离。该算法适用于总内存规模为$\tilde{O}((m+n^{1+ρ})n^{1/k})$的近线性内存MPC模型,其中$ρ$为小常数。尽管我们的算法针对近线性MPC模型设计,但实际上仅需一台具备$\tilde{O}(n)$内存的机器,其余机器可配备大小为$O(n^γ)$的亚线性内存,其中$γ<1$为小常数。此前所有近线性MPC模型下的近似最短路径算法,要么需要$Ω(\log{n})$轮,要么近似比为$Ω(\log{n})$。我们的方法基于为MPC模型定制的近加性模拟器、有限规模跳集和有限规模距离草图的快速构建。虽然我们的最终成果针对近线性MPC模型,但我们构建的许多工具(如跳集和模拟器)是在限制更严格的亚线性MPC模型中实现的。

英文摘要:

We present fast algorithms for approximate shortest paths in the massively parallel computation (MPC) model. We provide randomized algorithms that take $poly(\log{\log{n}})$ rounds in the near-linear memory MPC model. Our results are for unweighted undirected graphs with $n$ vertices and $m$ edges. Our first contribution is a $(1+ε)$-approximation algorithm for Single-Source Shortest Paths (SSSP) that takes $poly(\log{\log{n}})$ rounds in the near-linear MPC model, where the memory per machine is $\tilde{O}(n)$ and the total memory is $\tilde{O}(mn^ρ)$, where $ρ$ is a small constant. Our second contribution is a distance oracle that allows to approximate the distance between any pair of vertices. The distance oracle is constructed in $poly(\log{\log{n}})$ rounds and allows to query a $(1+ε)(2k-1)$-approximate distance between any pair of vertices $u$ and $v$ in $O(1)$ additional rounds. The algorithm is for the near-linear memory MPC model with total memory of size $\tilde{O}((m+n^{1+ρ})n^{1/k})$, where $ρ$ is a small constant. While our algorithms are for the near-linear MPC model, in fact they only use one machine with $\tilde{O}(n)$ memory, where the rest of machines can have sublinear memory of size $O(n^γ)$ for a small constant $γ< 1$. All previous algorithms for approximate shortest paths in the near-linear MPC model either required $Ω(\log{n})$ rounds or had an $Ω(\log{n})$ approximation. Our approach is based on fast construction of near-additive emulators, limited-scale hopsets and limited-scale distance sketches that are tailored for the MPC model. While our end-results are for the near-linear MPC model, many of the tools we construct such as hopsets and emulators are constructed in the more restricted sublinear MPC model.

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

↑