English

Parallel Approximate Undirected Shortest Paths Via Low Hop Emulators

Data Structures and Algorithms 2019-11-06 v1 Distributed, Parallel, and Cluster Computing

Abstract

We present a (1+ε)(1+\varepsilon)-approximate parallel algorithm for computing shortest paths in undirected graphs, achieving poly(logn)\mathrm{poly}(\log n) depth and mpoly(logn)m\mathrm{poly}(\log n) work for nn-nodes mm-edges graphs. Although sequential algorithms with (nearly) optimal running time have been known for several decades, near-optimal parallel algorithms have turned out to be a much tougher challenge. For (1+ε)(1+\varepsilon)-approximation, all prior algorithms with poly(logn)\mathrm{poly}(\log n) depth perform at least Ω(mnc)\Omega(mn^{c}) work for some constant c>0c>0. Improving this long-standing upper bound obtained by Cohen (STOC'94) has been open for 2525 years. We develop several new tools of independent interest. One of them is a new notion beyond hopsets --- low hop emulator --- a poly(logn)\mathrm{poly}(\log n)-approximate emulator graph in which every shortest path has at most O(loglogn)O(\log\log n) hops (edges). Direct applications of the low hop emulators are parallel algorithms for poly(logn)\mathrm{poly}(\log n)-approximate single source shortest path (SSSP), Bourgain's embedding, metric tree embedding, and low diameter decomposition, all with poly(logn)\mathrm{poly}(\log n) depth and mpoly(logn)m\mathrm{poly}(\log n) work. To boost the approximation ratio to (1+ε)(1+\varepsilon), we introduce compressible preconditioners and apply it inside Sherman's framework (SODA'17) to solve the more general problem of uncapacitated minimum cost flow (a.k.a., transshipment problem). Our algorithm computes a (1+ε)(1+\varepsilon)-approximate uncapacitated minimum cost flow in poly(logn)\mathrm{poly}(\log n) depth using mpoly(logn)m\mathrm{poly}(\log n) work. As a consequence, it also improves the state-of-the-art sequential running time from m2O(logn)m\cdot 2^{O(\sqrt{\log n})} to mpoly(logn)m\mathrm{poly}(\log n).

Keywords

Cite

@article{arxiv.1911.01956,
  title  = {Parallel Approximate Undirected Shortest Paths Via Low Hop Emulators},
  author = {Alexandr Andoni and Clifford Stein and Peilin Zhong},
  journal= {arXiv preprint arXiv:1911.01956},
  year   = {2019}
}
R2 v1 2026-06-23T12:06:26.250Z