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

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Abstract

    This paper presents parallel, distributed, and quantum algorithms for single-source shortest paths when edges can have negative integer weights (negative-weight SSSP). We show a framework that reduces negative-weight SSSP in all these settings to no(1) calls to any SSSP algorithm that works on inputs with non-negative integer edge weights (non-negative-weight SSSP) with a virtual source. More specifically, for a directed 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 WSSSP (m, n)no(1) work and SSSSP (m, n)no(1) span, given access to a non-negative-weight SSSP algorithm with WSSSP (m, n) work and SSSSP (m, n) span in the parallel model, and TSSSP (n, D)no(1) rounds, given access to a non-negative-weight SSSP algorithm that takes TSSSP (n, D) rounds in CONGEST, and QSSSP (m, n)no(1) quantum edge queries, given access to a non-negative-weight SSSP algorithm that takes QSSSP (m, n) queries in the quantum edge query model. This work builds off the recent result of Bernstein, Nanongkai, Wulff-Nilsen [7], which gives a near-linear time algorithm for negative-weight SSSP in the sequential setting. Using current state-of-the-art non-negative-weight SSSP algorithms yields randomized algorithms for negative-weight SSSP with m1+o(1) work and n1/2+o(1) span in the parallel model, and (n2/5D2/5 + √n + D)no(1) rounds in CONGEST, and m1/2n1/2+o(1) quantum queries to the adjacency list or n1.5+o(1) quantum queries to the adjacency matrix. Up to a no(1) factor, the parallel and distributed results match the current best upper bounds for reachability [23, 12]. Consequently, any improvement to negative-weight SSSP in these models beyond the no(1) factor necessitates an improvement to the current best bounds for reachability. The quantum result matches the lower bound up to an no(1) factor [9]. Our main technical contribution is an efficient reduction from computing a low-diameter decomposition (LDD) of directed graphs to computations of non-negative-weight SSSP with a virtual source. Efficiently computing an LDD has heretofore only been known for undirected graphs in both the parallel and distributed models, and been rather unstudied in quantum models. The directed LDD is a crucial step of the sequential algorithm in [7], and we think that its applications to other problems in parallel and distributed models are far from being exhausted. Other ingredients of our results include altering the recursion structure of the scaling algorithm in [7] to surmount difficulties that arise in these models, and also an efficient reduction from computing strongly connected components to computations of SSSP with a virtual source in CONGEST. The latter result answers a question posed in [6] in the negative.

    Original languageEnglish (US)
    Title of host publication32nd Annual European Symposium on Algorithms, ESA 2024
    EditorsTimothy Chan, Johannes Fischer, John Iacono, Grzegorz Herman
    PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
    ISBN (Electronic)9783959773386
    DOIs
    StatePublished - Sep 2024
    Event32nd Annual European Symposium on Algorithms, ESA 2024 - London, United Kingdom
    Duration: Sep 2 2024Sep 4 2024

    Publication series

    NameLeibniz International Proceedings in Informatics, LIPIcs
    Volume308
    ISSN (Print)1868-8969

    Conference

    Conference32nd Annual European Symposium on Algorithms, ESA 2024
    Country/TerritoryUnited Kingdom
    CityLondon
    Period9/2/249/4/24

    Keywords

    • distributed algorithm
    • Parallel algorithm
    • shortest paths

    ASJC Scopus subject areas

    • Software

    Fingerprint

    Dive into the research topics of 'Parallel, Distributed, and Quantum Exact Single-Source Shortest Paths with Negative Edge Weights'. Together they form a unique fingerprint.

    Cite this