Fast 2-Approximate All-Pairs Shortest Paths
Michal Dory, Sebastian Forster, Yael Kirkpatrick, Yasamin Nazari, Virginia Vassilevska Williams, Tijn de Vos
摘要
In this paper, we revisit the classic approximate All-Pairs Shortest Paths (APSP) problem in undirected graphs. For unweighted graphs, we provide an algorithm for 2-approximate APSP in Õ (𝑛 2.5-𝑟 + 𝑛 𝜔 (𝑟 ) ) time, for any 𝑟 ∈ [0, 1]. This is 𝑂 (𝑛 2.032 ) time, using known bounds for rectangular matrix multiplication 𝑛 𝜔 (𝑟 ) [Le Gall, Urrutia, SODA 2018]. Our result improves on the Õ (𝑛 2.25 ) bound of [Roditty, STOC 2023], and on the Õ (𝑚 √ 𝑛 + 𝑛 2 ) bound of [Baswana, Kavitha, SICOMP 2010] for graphs with 𝑚 ≥ 𝑛 1.532 edges. For weighted graphs, we obtain (2 + 𝜖)-approximate APSP in Õ (𝑛 3-𝑟 + 𝑛 𝜔 (𝑟 ) ) time, for any 𝑟 ∈ [0, 1]. This is 𝑂 (𝑛 2.214 ) time using known bounds for 𝜔 (𝑟 ). It improves on the state of the art bound of 𝑂 (𝑛 2.25 ) by [Kavitha, Algorithmica 2012].
Our techniques further lead to improved bounds in a wide range of density for weighted graphs. In particular, for the sparse regime we construct a distance oracle in Õ (𝑚𝑛 2/3 ) time that supports 2-approximate queries in constant time. For sparse graphs, the preprocessing time of the algorithm matches conditional lower bounds [Patrascu, Roditty, Thorup, FOCS 2012; Abboud, Bringmann, Fischer, STOC 2023]. To the best of our knowledge, this is the first 2-approximate distance oracle that has subquadratic preprocessing time in sparse graphs.
We also obtain new bounds in the near additive regime for unweighted graphs. We give faster algorithms for (1 + 𝜖, 𝑘)approximate APSP, for 𝑘 = 2, 4, 6, 8.
We obtain these results by incorporating fast rectangular matrix multiplications into various combinatorial algorithms that carefully balance out distance computation on layers of sparse graphs preserving certain distance information.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Faster Matrix Multiplication via Asymmetric Hashing 引用了 A Refined Laser Method and Faster Matrix Multiplication
- A Refined Laser Method and Faster Matrix Multiplication 引用了 Faster Matrix Multiplication via Asymmetric Hashing
- New Bounds for Matrix Multiplication: from Alpha to Omega 引用了 Faster Matrix Multiplication via Asymmetric Hashing
- New Bounds for Matrix Multiplication: from Alpha to Omega 引用了 A Refined Laser Method and Faster Matrix Multiplication
- A Refined Laser Method and Faster Matrix Multiplication 引用了 New Bounds for Matrix Multiplication: from Alpha to Omega
引用它的顶会 Paper1
它引用的 Paper12
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 次引用
- New Bounds for Matrix Multiplication: from Alpha to OmegaVirginia Vassilevska Williams, Yinzhan Xu, Zixuan Xu, Renfei ZhouSODA 2024 · 90 次引用
- Faster Matrix Multiplication via Asymmetric HashingRan Duan, Hongxun Wu, Renfei ZhouFOCS 2023 · 54 次引用
- New Techniques and Fine-Grained Hardness for Dynamic Near-Additive SpannersThiago Bergamaschi, Monika Henzinger, Maximilian Probst Gutenberg, Virginia Vassilevska Williams 等SODA 2021 · 19 次引用
- Monochromatic Triangles, Triangle Listing and APSPVirginia Vassilevska Williams, Yinzhan XuFOCS 2020 · 15 次引用
相关 Paper
- Faster Approximate All Pairs Shortest PathsBarna Saha, Christopher YeSODA 2024 · 3 次引用
- Improved 2-Approximate Shortest Paths for close vertex pairsManoj GuptaFOCS 2025 · 2 次引用
- Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest CyclesMina Dalirrooyfard, Ce Jin, Virginia Vassilevska Williams, Nicole WeinFOCS 2022 · 3 次引用
- Nearly 2-Approximate Distance Oracles in Subquadratic TimeShiri Chechik, Tianyi ZhangSODA 2022 · 5 次引用
- An almost 2-approximation for all-pairs of shortest paths in subquadratic timeMaor Akav, Liam RodittySODA 2020 · 3 次引用
