A Deterministic Parallel APSP Algorithm and its Applications
Adam Karczmarz, Piotr Sankowski
摘要
In this paper we show a deterministic parallel all-pairs shortest paths algorithm for real-weighted directed graphs. The algorithm has Õ(nm + (n/d)3) work and Õ(d) depth for any depth parameter d ∊ [1, n]. To the best of our knowledge, such a trade-off has only been previously described for the real-weighted single-source shortest paths problem using randomization [Bringmann et al., ICALP'17]. Moreover, our result improves upon the parallelism of the state-of-the-art randomized parallel algorithm for computing transitive closure, which has Õ(nm + n3/d2) work and Õ(d) depth [Ullman and Yannakakis, SIAM J. Comput. '91]. Our APSP algorithm turns out to be a powerful tool for designing efficient planar graph algorithms in both parallel and sequential regimes. By suitably adjusting the depth parameter d and applying known techniques, we obtain: nearly work-efficient Õ(n1/6)-depth parallel algorithms for the real-weighted single-source shortest paths problem and finding a bipartite perfect matching in a planar graph, an Õ(n9/8)-time sequential strongly polynomial algorithm for computing a minimum mean cycle or a minimum cost-to-time-ratio cycle of a planar graph, a slightly faster algorithm for computing so-called external dense distance graphs of all pieces of a recursive decomposition of a planar graph. One notable ingredient of our parallel APSP algorithm is a simple deterministic Õ(nm)-work Õ(d)-depth procedure for computing Õ(n/d)-size hitting sets of shortest d-hop paths between all pairs of vertices of a real-weighted digraph. Such hitting sets have also been called d-hub sets. Hub sets have previously proved especially useful in designing parallel or dynamic shortest paths algorithms and are typically obtained via random sampling. Our procedure implies, for example, an Õ(nm)-time deterministic algorithm for finding a shortest negative cycle of a real-weighted digraph. Such a near-optimal bound for this problem has been so far only achieved using a randomized algorithm [Orlin et al., Discret. Appl. Math. '18].
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Folklore Sampling is Optimal for Exact Hopsets: Confirming the √n Barrier 引用了 Parallel approximate undirected shortest paths via low hop emulators
- Folklore Sampling is Optimal for Exact Hopsets: Confirming the √n Barrier 引用了 New Diameter-Reducing Shortcuts and Directed Hopsets: Breaking the Barrier
- Folklore Sampling is Optimal for Exact Hopsets: Confirming the √n Barrier 引用了 Closing the Gap Between Directed Hopsets and Shortcut Sets
- Folklore Sampling is Optimal for Exact Hopsets: Confirming the √n Barrier 引用了 Efficient construction of directed hopsets and parallel approximate shortest paths
- New Diameter-Reducing Shortcuts and Directed Hopsets: Breaking the Barrier 引用了 Efficient construction of directed hopsets and parallel approximate shortest paths
- Faster parallel algorithm for approximate shortest path 引用了 Parallel approximate undirected shortest paths via low hop emulators
- Closing the Gap Between Directed Hopsets and Shortcut Sets 引用了 Efficient construction of directed hopsets and parallel approximate shortest paths
引用它的顶会 Paper9
- Decomposable Submodular Function Minimization via Maximum FlowKyriakos Axiotis, Adam Karczmarz, Anish Mukherjee, Piotr Sankowski 等ICML 2021 · 9 次引用
- New Diameter-Reducing Shortcuts and Directed Hopsets: Breaking the BarrierShimon Kogan, Merav ParterSODA 2022 · 7 次引用
- Parallel Filtered Graphs for Hierarchical ClusteringShangdi Yu, Julian ShunICDE 2023 · 4 次引用
- Closing the Gap Between Directed Hopsets and Shortcut SetsAaron Bernstein, Nicole WeinSODA 2023 · 3 次引用
- Folklore Sampling is Optimal for Exact Hopsets: Confirming the √n BarrierGreg Bodwin, Gary HoppenworthFOCS 2023 · 2 次引用
它引用的 Paper3
- Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 次引用
- Faster parallel algorithm for approximate shortest pathJason LiSTOC 2020 · 48 次引用
- Efficient construction of directed hopsets and parallel approximate shortest pathsNairen Cao, Jeremy T. Fineman, Katina RussellSTOC 2020 · 13 次引用
相关 Paper
- Strongly Polynomial Parallel Work-Depth Tradeoffs for Directed SSSPAdam Karczmarz, Wojciech Nadara, Marek SokolowskiSODA 2026
- Parallel Exact Shortest Paths in Almost Linear Work and Square Root DepthNairen Cao, Jeremy T. FinemanSODA 2023 · 4 次引用
- A Near-Optimal Offline Algorithm for Dynamic All-Pairs Shortest Paths in Planar DigraphsDebarati Das, Maximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2022 · 2 次引用
- Single-Source Shortest Paths with Negative Real Weights in Õ(mn8/9) TimeJeremy T. FinemanSTOC 2024 · 3 次引用
- Faster Deterministic Worst-Case Fully Dynamic All-Pairs Shortest Paths via Decremental Hop-Restricted Shortest PathsShiri Chechik, Tianyi ZhangSODA 2023 · 5 次引用
