Faster Approximate All Pairs Shortest Paths
Abstract
The all pairs shortest path problem (APSP) is one of the foundational problems in computer science. For weighted dense graphs on vertices, no truly sub-cubic algorithms exist to compute APSP exactly even for undirected graphs. This is popularly known as the APSP conjecture and has played a prominent role in developing the field of fine-grained complexity. The seminal result of Seidel uses fast matrix multiplication (FMM) to compute APSP on unweighted undirected graphs exactly in time, where . Even for unweighted undirected graphs, it is not possible to obtain a -approximation of APSP in time. In this paper, we provide a multitude of new results for multiplicative and additive approximations of APSP in undirected graphs for both unweighted and weighted cases. We provide new algorithms for multiplicative 2-approximation of unweighted graphs: a deterministic one that runs in time and a randomized one that runs in on expectation improving upon the best known bound of by Roditty (STOC, 2023). For -approximating paths of length , , we provide the first improvement after Dor, Halperin, Zwick (2000) for dense graphs even just using combinatorial methods, and then improve it further using FMM. We next consider additive approximations, and provide improved bounds for all additive -approximations, . For weighted graphs, we show that by allowing small additive errors along with an -multiplicative approximation, it is possible to improve upon Zwick's algorithm. Our results point out the crucial role that FMM can play even on approximating APSP on unweighted undirected graphs, and reveal new bottlenecks towards achieving a quadratic running time to approximate APSP.
Cite
@article{arxiv.2309.13225,
title = {Faster Approximate All Pairs Shortest Paths},
author = {Barna Saha and Christopher Ye},
journal= {arXiv preprint arXiv:2309.13225},
year = {2023}
}
Comments
81 pages