Distributed Exact Weighted All-Pairs Shortest Paths in O(n5/4) Rounds
Abstract
We study computing all-pairs shortest paths (APSP) on distributed networks (the CONGEST model). The goal is for every node in the (weighted) network to know the distance from every other node using communication. The problem admits (1+o(1))-approximation O(n)-time algorithms ~LenzenP-podc15,Nanongkai-STOC14, which are matched with (n)-time lower bounds~Nanongkai-STOC14,LenzenPstoc13,FrischknechtHW12 , O and hide polylogarithmic factors. Note that the lower bounds also hold even in the unweighted case and in the weighted case with polynomial approximation ratios.. No ω(n) lower bound or o(m) upper bound were known for exact computation. In this paper, we present an O(n5/4)-time randomized (Las Vegas) algorithm for exact weighted APSP; this provides the first improvement over the naive O(m)-time algorithm when the network is not so sparse. Our result also holds for the case where edge weights are asymmetric (a.k.a. the directed case where communication is bidirectional). Our techniques also yield an O(n3/4k1/2+n)-time algorithm for the k-source shortest paths problem where we want every node to know distances from k sources; this improves Elkin's recent bound~Elkin-STOC17 when k= ω(n1/4).
Turn this paper into a lesson
ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.