Lune

STOC2024Top-tier venue

A Dynamic Shortest Paths Toolbox: Low-Congestion Vertex Sparsifiers and Their Applications

Rasmus Kyng, Simon Meierhans, Maximilian Probst Gutenberg

Abstract

We present a general toolbox, based on vertex sparsifiers, for designing new data structures to maintain shortest paths in graphs undergoing edge insertions and/or deletions. In particular, we obtain the following results:

• the first data structure to maintain m o(1) -approximate all-pairs shortest paths (APSP) in an m-edge graph undergoing edge insertions and deletions with worst-case update time m o(1) and query time O(1), and

• a data structure to maintain a tree T that has diameter no larger than a subpolynomial factor than the underlying graph G that is undergoing edge insertions and deletions where each update is handled in amortized subpolynomial time, and

• a simpler and more efficient data structure to maintain a (1 + ε)-approximate single-source shortest paths (SSSP) tree T in a graph undergoing edge deletions in amortized time m o(1) per update.

All our data structures are deterministic. For the last two data structures, we further have that while the trees T are not subgraphs of G, they do embed with small edge congestion into G. This is in stark contrast to previous approaches and is particularly useful for algorithms that use these data structures internally to route flow along shortest paths.

To illustrate the power of our new toolbox, we show that our SSSP data structure can be used directly to give a deterministic implementation of the classic MWU algorithm for approximate undirected minimum-cost flow running in time m 1+o(1) . Previously, Bernstein-Gutenberg-Saranurak [FOCS'21] had built a randomized data structure achieving m 1+o(1) time whp. By using our SSSP data structure in the recent almost-linear time algorithm for computing Gomory-Hu trees by Abboud-Li-Panigrahi-Saranurak [FOCS'23], we simplify their algorithm significantly and slightly improve their runtime.

To obtain our toolbox, we give the first algorithm that, given a graph G undergoing edge insertions and deletions and a dynamic terminal set A, maintains a vertex sparsifier H that approximately preserves distances between terminals in A, consists of at most |A|m o(1) vertices and edges, and can be updated in worst-case time m o(1) . Crucially, our vertex sparsifier construction allows us to maintain a low edge-congestion embedding of H into G. This low congestion embedding is needed when using our toolbox in data structures that are then in turn used to implement algorithms routing flows along shortest paths.

The research leading to these results has received funding from grant no. 200021 204787 of the Swiss National Science Foundation.

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.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update Time cites A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow
  • Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update Time cites The Expander Hierarchy and its Applications to Dynamic Graph Algorithms
  • A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-Rao
  • A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
  • Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-Optimal cites The Expander Hierarchy and its Applications to Dynamic Graph Algorithms
  • Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-Rao cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
  • Almost-Linear Time Algorithms for Decremental Graphs: Min-Cost Flow and More via Duality cites A Deterministic Almost-Linear Time Algorithm for Minimum-Cost Flow
  • Almost-Linear Time Algorithms for Decremental Graphs: Min-Cost Flow and More via Duality cites Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-Rao
  • Almost-Linear Time Algorithms for Decremental Graphs: Min-Cost Flow and More via Duality cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
  • Almost-Linear Time Algorithms for Decremental Graphs: Min-Cost Flow and More via Duality cites The Expander Hierarchy and its Applications to Dynamic Graph Algorithms
  • Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances cites The Expander Hierarchy and its Applications to Dynamic Graph Algorithms
  • Deterministic Dynamic Maximal Matching in Sublinear Update Time cites Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update Time
  • Deterministic Dynamic Maximal Matching in Sublinear Update Time cites The Expander Hierarchy and its Applications to Dynamic Graph Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
  2. Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update TimeBernhard Haeupler, Yaowei Long, Thatchaphol SaranurakFOCS 2024 · 4 citations
  3. Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-OptimalDaoyuan Chen, Simon Meierhans, Maximilian Probst Gutenberg, Thatchaphol SaranurakSODA 2025 · 3 citations
  4. Deterministic Dynamic Maximal Matching in Sublinear Update TimeAaron Bernstein, Sayan Bhattacharya, Peter Kiss, Thatchaphol SaranurakSTOC 2025 · 2 citations
  5. Almost-Linear Time Algorithms for Decremental Graphs: Min-Cost Flow and More via DualityJan van den Brand, Li Chen, Rasmus Kyng, Yang P. Liu et al.FOCS 2024 · 1 citation

Builds on19

  1. Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instancesJan van den Brand, Yin Tat Lee, Yang P. Liu, Thatchaphol Saranurak et al.STOC 2021 · 61 citations
  2. Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 citations
  3. The Expander Hierarchy and its Applications to Dynamic Graph AlgorithmsGramoz Goranci, Harald Räcke, Thatchaphol Saranurak, Zihan TanSODA 2021 · 41 citations
  4. Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-RaoYu Gao, Yang P. Liu, Richard PengFOCS 2021 · 34 citations
  5. A Deterministic Almost-Linear Time Algorithm for Minimum-Cost FlowJan van den Brand, Li Chen, Richard Peng, Rasmus Kyng et al.FOCS 2023 · 28 citations

Related papers

  1. Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space BoundsMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
  2. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
  3. Fast Dynamic Cuts, Distances and Effective Resistances via Vertex SparsifiersLi Chen, Gramoz Goranci, Monika Henzinger, Richard Peng et al.FOCS 2020 · 22 citations
  4. Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 citations
  5. Deterministic Algorithms for Decremental Shortest Paths via Layered Core DecompositionJulia Chuzhoy, Thatchaphol SaranurakSODA 2021 · 24 citations
Dusk over the sea between two cliffs drawn in fine vertical lines