Lune

SODA2026Top-tier venue

Better Bounds for Semi-Streaming Single-Source Shortest Paths

Sepehr Assadi, Gary Hoppenworth, Janani Sundaresan

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Undirected (1+ε)-shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithms cites Parallel approximate undirected shortest paths via low hop emulators
  • Undirected (1+ε)-shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithms cites Faster parallel algorithm for approximate shortest path
  • Almost optimal super-constant-pass streaming lower bounds for reachability cites Multi-Pass Graph Streaming Lower Bounds for Cycle Counting, MAX-CUT, Matching Size, and Other Problems
  • Faster parallel algorithm for approximate shortest path cites Parallel approximate undirected shortest paths via low hop emulators
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 citations
  2. Faster parallel algorithm for approximate shortest pathJason LiSTOC 2020 · 48 citations
  3. Undirected (1+ε)-shortest paths via minor-aggregates: near-optimal deterministic parallel and distributed algorithmsVáclav Rozhon, Christoph Grunau, Bernhard Haeupler, Goran Zuzic et al.STOC 2022 · 22 citations
  4. Multi-Pass Graph Streaming Lower Bounds for Cycle Counting, MAX-CUT, Matching Size, and Other ProblemsSepehr Assadi, Gillat Kol, Raghuvansh R. Saxena, Huacheng YuFOCS 2020 · 19 citations
  5. Almost optimal super-constant-pass streaming lower bounds for reachabilityLijie Chen, Gillat Kol, Dmitry Paramonov, Raghuvansh R. Saxena et al.STOC 2021 · 15 citations

Related papers

  1. Settling the Pass Complexity of Approximate Matchings in Dynamic Graph StreamsSepehr Assadi, Soheil Behnezhad, Christian Konrad, Kheeran K. Naidu et al.SODA 2025 · 2 citations
  2. Approximate Maximum Matching in Random StreamsAlireza Farhadi, Mohammad Taghi Hajiaghayi, Tung Mai, Anup Rao et al.SODA 2020 · 14 citations
  3. Semi-streaming Matching in a Single Pass: A New Framework for Lower Bounds via BlueprintsSepehr Assadi, Max Jiang, Mars XiangSTOC 2026 · 4 citations
  4. Near-Quadratic Lower Bounds for Two-Pass Graph Streaming AlgorithmsSepehr Assadi, Ran RazFOCS 2020 · 13 citations
  5. Hidden Permutations to the Rescue: Multi-Pass Streaming Lower Bounds for Approximate MatchingsSepehr Assadi, Janani SundaresanFOCS 2023 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines