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

改进的大规模并行最短路径计算

Improved Massively Parallel Shortest Path Computation

National University of Singapore(新加坡国立大学)

Yi-Jun Chang, Shaun Quek

AI总结:

该研究针对大规模并行计算模型,提出两种场景下的近似单源最短路径预言机构建算法,改进了现有工作的轮次复杂度与适用范围,核心是高效计算近似近邻域的新方法。

摘要:

我们针对大规模并行计算(MPC)模型下带权无向图的近似最短路径计算提出了新算法。具体而言,我们构建了a-近似单源最短路径(SSSP)预言机:给定由源顶点u∈V组成的查询,该预言机返回所有v∈V的a-近似距离δ(u,v)。对于固定的n顶点带权无向图,我们考虑MPC模型的两种场景:近线性场景中每台机器拥有Õ(n)内存,异构场景中除一台拥有Õ(n)内存的机器外,所有机器均拥有Θ(n^γ)内存,其中γ∈(0,1]为常数。我们开发的随机算法可在近线性场景中用O(log log n)轮构建O(1)-近似SSSP预言机,在异构场景中用O(log²log n)轮构建,这些预言机可在O(1)轮内回答距离查询。我们的结果改进了Dory与Matar(SPAA 2024)的近期工作,该工作在相同总内存下需要(log log n)^(2+O(1/γ))轮,且仅适用于异构场景中的无权图。我们定义Ñ_k(u)为顶点u的近似k近邻域,若存在近似距离估计δ,使得Ñ_k(u)由根据δ与u距离最近的k个顶点组成,按顶点ID打破平局。核心技术是一种在异构MPC模型中用O(log²log n)轮高效计算近似n^(O(γ))近邻域的新方法。

英文摘要:

We present new algorithms for approximate shortest path computation in weighted undirected graphs within the Massively Parallel Computation (MPC) model. Specifically, we construct an $a$-approximate Single-Source Shortest Path (SSSP) oracle: Given a query consisting of a source vertex $u \in V$, the oracle returns $a$-approximate distances $δ(u,v)$ for all $v \in V$. Fix an $n$-vertex weighted undirected graph. We consider two regimes of the MPC model: the near-linear regime, where each machine has $\tildeΘ(n)$ memory, and the heterogeneous regime, where all machines have $Θ(n^γ)$ memory for some constant $γ\in (0,1]$, except for a single machine with $\tildeΘ(n)$ memory. We develop randomised algorithms that construct $O(1)$-approximate SSSP oracles in $O(\log\log n)$ rounds in the near-linear regime and in $O(\log^2\log n)$ rounds in the heterogeneous regime. These oracles answer distance queries in $O(1)$ rounds. Our results improve upon the recent work of Dory and Matar (SPAA 2024) which, for the same total memory, requires $\left(\log\log n\right)^{2+O(1/γ)}$ rounds and applies only to unweighted graphs in the heterogeneous setting. We say that $\tilde N_k(u)$ is the approximate $k$-nearest neighbourhood of a vertex $u$ if there exists an approximate distance estimate $δ$ such that $\tilde N_k(u)$ consists of the $k$ vertices closest to $u$ according to $δ$, breaking ties by vertex ID. The main technical ingredient is a new method for efficiently computing approximate $n^{O(γ)}$-nearest neighbourhoods in the heterogeneous MPC model in $O(\log^2\log n)$ rounds.

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

↑