Better Bounds for Semi-Streaming Single-Source Shortest Paths
Abstract
In the semi-streaming model, an algorithm must process any -vertex graph by making one or few passes over a stream of its edges, use words of space, and at the end of the last pass, output a solution to the problem at hand. Approximating (single-source) shortest paths on undirected graphs is a longstanding open question in this model. In this work, we make progress on this question from both upper and lower bound fronts: We present a simple randomized algorithm that for any , with high probability computes -approximate shortest paths from a given source vertex in The algorithm can also be derandomized and made to work on dynamic streams at a cost of some extra factors only in the space. Previously, the best known algorithms for this problem required passes, for an unspecified large constant . We prove that any semi-streaming algorithm that with large constant probability outputs any constant approximation to shortest paths from a given source vertex (even to a single fixed target vertex and only the distance, not necessarily the path) requires We emphasize that our lower bound holds for any constant-factor approximation of shortest paths. Previously, only constant-pass lower bounds were known and only for small approximation ratios below two. Our results collectively reduce the gap in the pass complexity of approximating single-source shortest paths in the semi-streaming model from vs to only a quadratic gap.
Cite
@article{arxiv.2507.17841,
title = {Better Bounds for Semi-Streaming Single-Source Shortest Paths},
author = {Sepehr Assadi and Gary Hoppenworth and Janani Sundaresan},
journal= {arXiv preprint arXiv:2507.17841},
year = {2025}
}
Comments
64 pages, 9 figures