Lune

SODA2026Top-tier venue

Better Bounds for Semi-Streaming Single-Source Shortest Paths

Sepehr Assadi, Gary Hoppenworth, Janani Sundaresan

2026Year

Abstract

In the semi-streaming model, an algorithm must process any nn-vertex graph by making one or few passes over a stream of its edges, use O~(n):=O(n⋅polylog(n))\tilde{O}(n) := O(n \cdot \mathrm{polylog}(n)) 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: 1) We present a simple randomized algorithm that for any ε>0\varepsilon \gt 0, with high probability computes (1+ε)(1+\varepsilon)-approximate shortest paths from a given source vertex in O(1ε⋅nlog⁡3n)O\left( \frac{1}{\varepsilon} \cdot n \log^3 n \right) space and O(1ε⋅(log⁡nlog⁡log⁡n)2)O\left( \frac{1}{\varepsilon} \cdot \left(\frac{\log n}{\log\log n}\right)^{2} \right) passes. The algorithm can also be derandomized and made to work on dynamic streams at a cost of some extra poly(log⁡n,1/ε)\mathrm{poly}(\log n,1/\varepsilon) factors only in the space. Previously, the best known algorithms for this problem required 1/ε⋅log⁡cn1/\varepsilon \cdot \log^{c}n passes, for an unspecified large constant cc. 2) 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 Ω(log⁡nlog⁡log⁡n)\Omega\left( \frac{\log n}{\log\log n} \right) passes. 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 polylog(n)\mathrm{polylog}(n) vs. ω(1)\omega(1) to only a quadratic gap.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 072f1203-0814-424f-8274-4560d58f38b9

Builds on9

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines