arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.20959cs.DS
收藏

一种用于负权单源最短路径的近线性工作量简单并行算法

A Simple Parallel Algorithm with Near-Linear Work for Negative-Weight Single-Source Shortest Paths

Nick Fischer, Bernhard Haeupler, Rustam Latypov, Antti Roeyskoe, Aurelio L. Sulser

AI总结:

本文提出一种随机并行算法,通过近零开销的并行黑盒归约,将一般负权图 SSSP 转化为无负边图问题,实现 \ ilde{O}(m) 近线性工作量与 n^{1/2+o(1)} 跨度。

摘要:

针对在具有负权边的一般图中计算单源最短路径这一经典问题,我们给出了首个具有最优 \ ilde{O}(m) 工作量的并行算法。在没有负边的图中,Dijkstra 算法以最优 \ ilde{O}(m) 工作量求解单源最短路径(SSSP)问题,但其本质上是顺序的。Bernstein、Nanongkai、Wulff-Nilsen 最近在 FOCS ’22 上的突破性成果针对一般图实现了相同的复杂度。并行最短路径算法更为困难,并且数十年来一直受到深入研究。直到最近,多条研究路线才在各种受限设置下取得了具有最优工作量 \ ilde{O}(m) 的并行算法,例如针对没有负边的有向图或无向图的近似或精确算法。对于一般图,由 [shvinkumar、Bernstein、Cao、Grunau、Haeupler、Jiang、Nanongkai、Su;ESA ’24] 给出的已知最佳算法仍需要 m^{1+o(1)} 工作量。本文提出了一种用于一般图中 SSSP 的随机并行算法,具有近线性工作量 \ ilde{O}(m) 和最先进的跨度 n^{1/2+o(1)}。我们遵循一种新颖的自底向上方法,从而得到一个格外清晰且简单的算法。我们的算法可以看作是从一般图中的 SSSP 到无负边图的近最优并行黑盒归约。与先前工作相比,本文中的归约既是并行的,又基本没有开销,仅以多对数因子影响工作量和跨度。

英文摘要:

We give the first parallel algorithm with optimal $\tilde{O}(m)$ work for the classical problem of computing Single-Source Shortest Paths in general graphs with negative-weight edges. In graphs without negative edges, Dijkstra's algorithm solves the Single-Source Shortest Paths (SSSP) problem with optimal $\tilde O(m)$ work, but is inherently sequential. A recent breakthrough by Bernstein, Nanongkai, Wulff-Nilsen; FOCS '22 achieves the same for general graphs. Parallel shortest path algorithms are more difficult and have been intensely studied for decades. Only very recently, multiple lines of research culminated in parallel algorithms with optimal work $\tilde O(m)$ for various restricted settings, such as approximate or exact algorithms for directed or undirected graphs without negative edges. For general graphs, the best known algorithm by [shvinkumar, Bernstein, Cao, Grunau, Haeupler, Jiang, Nanongkai, Su; ESA '24 still requires $m^{1+o(1)}$ work. This paper presents a randomized parallel algorithm for SSSP in general graphs with near-linear work $\tilde O(m)$ and state-of-the-art span $n^{1/2 + o(1)}$. We follow a novel bottom-up approach leading to a particularly clean and simple algorithm. Our algorithm can be seen as a \emph{near-optimal parallel black-box reduction} from SSSP in general graphs to graphs without negative edges. In contrast to prior works, the reduction in this paper is both parallel and essentially without overhead, only affecting work and span by polylogarithmic factors.

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

↑