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

并行、分布式和量子计算中带负边权的精确单源最短路径

Parallel, Distributed, and Quantum Exact Single-Source Shortest Paths with Negative Edge Weights

Vikrant Ashvinkumar, Aaron Bernstein, Nairen Cao, Christoph Grunau, Bernhard Haeupler, Yonggang Jiang, Danupon Nanongkai, Hsin Hao Su

AI总结:

本文提出了带负边权单源最短路径问题的并行、分布式和量子算法,通过将问题归约为对虚拟源SSSP算法的调用,并首次实现了有向图的高效低直径分解计算。

摘要:

本文提出了在边可能具有负权重(负权 SSSP)情况下的单源最短路径的并行、分布式和量子算法。我们展示了一个框架,该框架将所有这些设定中的负权 SSSP 问题归约(reduce)为对任何适用于虚拟源(virtual source)的 SSSP 算法的 $n^{o(1)}$ 次调用。更具体地说,对于一个具有 $m$ 条边、$n$ 个顶点、无向跳直径(hop-diameter)为 $D$ 且具有多项式有界整数边权的图,我们展示了负权 SSSP 的随机化算法:(i) 在并行模型中,若可访问工作量为 $W_{SSSP}(m,n)$ 且跨度(span)为 $S_{SSSP}(m,n)$ 的 SSSP 算法,则所需工作量为 $W_{SSSP}(m,n)n^{o(1)}$,跨度为 $S_{SSSP}(m,n)n^{o(1)}$;(ii) 在 $\mathsf{CONGEST}$ 模型中,若可访问耗时 $T_{SSSP}(n,D)$ 轮的 SSSP 算法,则耗时为 $T_{SSSP}(n,D)n^{o(1)}$ 轮;(iii) 在量子边查询模型中,若可访问耗时 $Q_{SSSP}(m,n)$ 次查询的非负权 SSSP 算法,则需 $Q_{SSSP}(m,n)n^{o(1)}$ 次量子边查询。这项工作基于 [Bernstein, Nanongkai, Wulff-Nilsen, FOCS'22] 的近期成果,该成果在顺序设定下为负权 SSSP 提供了近乎线性时间的算法。\n使用当前最先进的 SSSP 算法,可得出负权 SSSP 的随机化算法:(i) 在并行模型中,工作量为 $m^{1+o(1)}$ 且跨度为 $n^{1/2+o(1)}$;(ii) 在 $\mathsf{CONGEST}$ 模型中,耗时为 $(n^{2/5}D^{2/5} + \sqrt{n} + D)n^{o(1)}$ 轮;(iii) 对邻接表需 $m^{1/2}n^{1/2+o(1)}$ 次量子查询,或对邻接矩阵需 $n^{1.5+o(1)}$ 次量子查询。\n我们的主要技术贡献是提出了一种高效归约方法,将有向图的低直径分解(LDD)计算归约为使用虚拟源的 SSSP 计算。在此之前,在并行和分布式模型中,仅已知如何对无向图高效计算 LDD。

英文摘要:

This paper presents parallel, distributed and quantum algorithms for single-source shortest paths when edges can have negative weights (negative-weight SSSP). We show a framework that reduces negative-weight SSSP in all these setting to $n^{o(1)}$ calls to any SSSP algorithm that works with a virtual source. More specifically, for a graph with $m$ edges, $n$ vertices, undirected hop-diameter $D$, and polynomially bounded integer edge weights, we show randomized algorithms for negative-weight SSSP with (i) $W_{SSSP}(m,n)n^{o(1)}$ work and $S_{SSSP}(m,n)n^{o(1)}$ span, given access to an SSSP algorithm with $W_{SSSP}(m,n)$ work and $S_{SSSP}(m,n)$ span in the parallel model, (ii) $T_{SSSP}(n,D)n^{o(1)}$, given access to an SSSP algorithm that takes $T_{SSSP}(n,D)$ rounds in $\mathsf{CONGEST}$, (iii) $Q_{SSSP}(m,n)n^{o(1)}$ quantum edge queries, given access to a non-negative-weight SSSP algorithm that takes $Q_{SSSP}(m,n)$ queries in the quantum edge query model. This work builds off the recent result of [Bernstein, Nanongkai, Wulff-Nilsen, FOCS'22], which gives a near-linear time algorithm for negative-weight SSSP in the sequential setting. Using current state-of-the-art SSSP algorithms yields randomized algorithms for negative-weight SSSP with (i) $m^{1+o(1)}$ work and $n^{1/2+o(1)}$ span in the parallel model, (ii) $(n^{2/5}D^{2/5} + \sqrt{n} + D)n^{o(1)}$ rounds in $\mathsf{CONGEST}$, (iii) $m^{1/2}n^{1/2+o(1)}$ quantum queries to the adjacency list or $n^{1.5+o(1)}$ quantum queries to the adjacency matrix. Our main technical contribution is an efficient reduction for computing a low-diameter decomposition (LDD) of directed graphs to computations of SSSP with a virtual source. Efficiently computing an LDD has heretofore only been known for undirected graphs in both the parallel and distributed models.

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

↑