English

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

Distributed, Parallel, and Cluster Computing 2024-12-20 v2 Data Structures and Algorithms

Abstract

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 no(1)n^{o(1)} calls to any SSSP algorithm that works with a virtual source. More specifically, for a graph with mm edges, nn vertices, undirected hop-diameter DD, and polynomially bounded integer edge weights, we show randomized algorithms for negative-weight SSSP with (i) WSSSP(m,n)no(1)W_{SSSP}(m,n)n^{o(1)} work and SSSSP(m,n)no(1)S_{SSSP}(m,n)n^{o(1)} span, given access to an SSSP algorithm with WSSSP(m,n)W_{SSSP}(m,n) work and SSSSP(m,n)S_{SSSP}(m,n) span in the parallel model, (ii) TSSSP(n,D)no(1)T_{SSSP}(n,D)n^{o(1)}, given access to an SSSP algorithm that takes TSSSP(n,D)T_{SSSP}(n,D) rounds in CONGEST\mathsf{CONGEST}, (iii) QSSSP(m,n)no(1)Q_{SSSP}(m,n)n^{o(1)} quantum edge queries, given access to a non-negative-weight SSSP algorithm that takes QSSSP(m,n)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) m1+o(1)m^{1+o(1)} work and n1/2+o(1)n^{1/2+o(1)} span in the parallel model, (ii) (n2/5D2/5+n+D)no(1)(n^{2/5}D^{2/5} + \sqrt{n} + D)n^{o(1)} rounds in CONGEST\mathsf{CONGEST}, (iii) m1/2n1/2+o(1)m^{1/2}n^{1/2+o(1)} quantum queries to the adjacency list or n1.5+o(1)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.

Keywords

Cite

@article{arxiv.2303.00811,
  title  = {Parallel, Distributed, and Quantum Exact Single-Source Shortest Paths with Negative Edge Weights},
  author = {Vikrant Ashvinkumar and Aaron Bernstein and Nairen Cao and Christoph Grunau and Bernhard Haeupler and Yonggang Jiang and Danupon Nanongkai and Hsin Hao Su},
  journal= {arXiv preprint arXiv:2303.00811},
  year   = {2024}
}
R2 v1 2026-06-28T08:55:19.344Z