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 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.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 83283365-1c6f-4fe9-96de-0be53524fdeeCited by top-tier papers10
- Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
- Dynamic Deterministic Constant-Approximate Distance Oracles with nε Worst-Case Update TimeBernhard Haeupler, Yaowei Long, Thatchaphol SaranurakFOCS 2024 · 4 citations
- Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-OptimalDaoyuan Chen, Simon Meierhans, Maximilian Probst Gutenberg, Thatchaphol SaranurakSODA 2025 · 3 citations
- Deterministic Dynamic Maximal Matching in Sublinear Update TimeAaron Bernstein, Sayan Bhattacharya, Peter Kiss, Thatchaphol SaranurakSTOC 2025 · 2 citations
- 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
- 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
- Parallel approximate undirected shortest paths via low hop emulatorsAlexandr Andoni, Clifford Stein, Peilin ZhongSTOC 2020 · 50 citations
- The Expander Hierarchy and its Applications to Dynamic Graph AlgorithmsGramoz Goranci, Harald Räcke, Thatchaphol Saranurak, Zihan TanSODA 2021 · 41 citations
- Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-RaoYu Gao, Yang P. Liu, Richard PengFOCS 2021 · 34 citations
- 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
- Fully-Dynamic All-Pairs Shortest Paths: Improved Worst-Case Time and Space BoundsMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 19 citations
- Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
- Fast Dynamic Cuts, Distances and Effective Resistances via Vertex SparsifiersLi Chen, Gramoz Goranci, Monika Henzinger, Richard Peng et al.FOCS 2020 · 22 citations
- Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 citations
- Deterministic Algorithms for Decremental Shortest Paths via Layered Core DecompositionJulia Chuzhoy, Thatchaphol SaranurakSODA 2021 · 24 citations
