Skip to main content
QUICK REVIEW

[Paper Review] Parallel, Distributed, and Quantum Exact Single-Source Shortest Paths with Negative Edge Weights

Vikrant Ashvinkumar, Aaron Bernstein|arXiv (Cornell University)|Mar 1, 2023
Complexity and Algorithms in GraphsComputer Science2 citations
TL;DR

This paper presents a unified framework for solving exact single-source shortest paths (SSSP) with negative edge weights in parallel, distributed, and quantum models by reducing the problem to no(1) calls to non-negative-weight SSSP algorithms with a virtual source. The key contribution is an efficient reduction to low-diameter decomposition (LDD) in directed graphs, achieving near-optimal work, span, rounds, and query complexity across all three models, matching current best bounds for reachability up to no(1) factors.

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 $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.

Motivation & Objective

  • To design efficient parallel, distributed, and quantum algorithms for exact single-source shortest paths (SSSP) with negative edge weights.
  • To reduce negative-weight SSSP in all three models to no(1) calls of non-negative-weight SSSP with a virtual source.
  • To develop a novel reduction from directed low-diameter decomposition (LDD) to non-negative-weight SSSP, enabling efficient computation in these models.
  • To match or nearly match the best-known complexity bounds for reachability in these models, implying that improvements in negative-weight SSSP would imply improvements in reachability.
  • To resolve an open question in CONGEST by showing that computing strongly connected components (SCCs) can be reduced to SSSP with a virtual source, answering a question from [7] in the negative.

Proposed method

  • The framework reduces negative-weight SSSP to no(1) calls of a non-negative-weight SSSP algorithm with a virtual source, leveraging a new reduction from directed low-diameter decomposition (LDD) to non-negative-weight SSSP.
  • A new algorithm for computing LDD in directed graphs is introduced, which is the core technical contribution and enables the reduction in all three models.
  • The recursion structure of the scaling algorithm from Bernstein et al. [8] is restructured to adapt to parallel and distributed settings, overcoming model-specific challenges.
  • An efficient reduction from computing strongly connected components (SCCs) to SSSP with a virtual source is designed, which answers a question posed in [7] in the negative.
  • The approach is implemented across models using tailored techniques: work/span in parallel, rounds in CONGEST, and quantum edge queries, all with no(1) overhead.
  • The framework uses shortest path oracles and subroutine composition (e.g., ScaleDown, FixDAGEdges, EstDist) to maintain correctness and efficiency across iterations.

Experimental results

Research questions

  • RQ1Can negative-weight SSSP be solved efficiently in parallel, distributed, and quantum models using only black-box access to non-negative-weight SSSP algorithms?
  • RQ2Is it possible to reduce directed low-diameter decomposition (LDD) to non-negative-weight SSSP with a virtual source in all three models?
  • RQ3What is the minimal overhead (in terms of work, rounds, or queries) needed to solve negative-weight SSSP when non-negative-weight SSSP is available as a subroutine?
  • RQ4Can the complexity of negative-weight SSSP be made asymptotically equivalent to that of reachability in these models, up to no(1) factors?
  • RQ5Does the reduction from SCC computation to SSSP with a virtual source in CONGEST resolve the open question posed in [7]?

Key findings

  • The framework achieves m1+o(1) work and n1/2+o(1) span in the parallel model, matching the current best bounds for reachability up to no(1) factors.
  • In the CONGEST model, the algorithm runs in (n2/5D2/5 + √n + D)no(1) rounds, which matches the best-known reachability bounds up to no(1) factors.
  • In the quantum model, the algorithm makes m1/2n1/2+o(1) queries to the adjacency list or n1.5+o(1) queries to the adjacency matrix, matching the known quantum lower bound up to no(1) factors.
  • The directed LDD algorithm is the first efficient construction in the parallel and distributed models for directed graphs, previously known only for undirected graphs.
  • The reduction from SCC computation to SSSP with a virtual source in CONGEST answers the open question from [7] in the negative, showing such a reduction is possible.
  • The framework demonstrates that any improvement to negative-weight SSSP beyond no(1) factors in these models would imply an improvement to the best-known reachability bounds.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.