Lune

STOC2024Top-tier venue

Almost-Linear Time Algorithms for Incremental Graphs: Cycle Detection, SCCs, s-t Shortest Path, and Minimum-Cost Flow

Li Chen, Rasmus Kyng, Yang P. Liu, Simon Meierhans, Maximilian Probst Gutenberg

Abstract

We give the first almost-linear time algorithms for several problems in incremental graphs including cycle detection, strongly connected component maintenance, s-t shortest path, maximum flow, and minimum-cost flow. To solve these problems, we give a deterministic data structure that returns a m o(1) -approximate minimum-ratio cycle in fully dynamic graphs in amortized m o(1) time per update. Combining this with the interior point method framework of Brand-Liu-Sidford (STOC 2023) gives the first almost-linear time algorithm for deciding the first update in an incremental graph after which the cost of the minimum-cost flow attains value at most some given threshold F . By rather direct reductions to minimum-cost flow, we are then able to solve the problems in incremental graphs mentioned above.

Our new data structure also leads to a modular and deterministic almost-linear time algorithm for minimum-cost flow by removing the need for complicated modeling of a restricted adversary, in contrast to recent randomized and deterministic algorithms for minimum-cost flow in Chen-Kyng-Liu-Peng-Probst Gutenberg-Sachdeva (FOCS 2022) & Brand-Chen-Kyng-Liu-Peng-Probst Gutenberg-Sachdeva-Sidford (FOCS 2023).

At a high level, our algorithm dynamizes the ℓ 1 oblivious routing of Rozhoň-Grunau-Haeupler-Zuzic-Li (STOC 2022), and develops a method to extract an approximate minimum ratio cycle from the structure of the oblivious routing. To maintain the oblivious routing, we use tools from concurrent work of Kyng-Meierhans-Probst Gutenberg which designed vertex sparsifiers for shortest paths, in order to maintain a sparse neighborhood cover in fully dynamic graphs.

To find a cycle, we first show that an approximate minimum ratio cycle can be represented as a fundamental cycle on a small set of trees resulting from the oblivious routing. Then, we find a cycle whose quality is comparable to the best tree cycle. This final cycle query step involves vertex and edge sparsification procedures reminiscent of the techniques introduced in Chen-Kyng-Liu-Peng-Probst Gutenberg-Sachdeva (FOCS 2022), but crucially requires a more powerful dynamic spanner, which can handle far more edge insertions than prior work. We build such a spanner via a construction that hearkens back to the classic greedy spanner algorithm of Althöfer-Das-Dobkin-Joseph-Soares (Discrete & Computational Geometry 1993).

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.

12 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

  • Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-Optimal cites Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time
  • Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-Optimal cites Decremental all-pairs shortest paths in deterministic near-linear time
  • New algorithms and hardness for incremental single-source shortest paths in directed graphs cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
  • Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear Time cites New algorithms and hardness for incremental single-source shortest paths in directed graphs
  • Decremental all-pairs shortest paths in deterministic near-linear time cites Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and Simpler
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. Incremental Topological Ordering and Cycle Detection with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghICML 2024 · 6 citations
  2. Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path CoversBernhard Haeupler, Yonggang Jiang, Thatchaphol SaranurakSTOC 2026 · 5 citations
  3. Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-OptimalDaoyuan Chen, Simon Meierhans, Maximilian Probst Gutenberg, Thatchaphol SaranurakSODA 2025 · 3 citations
  4. Efficient Index Maintenance for Effective Resistance Computation on Evolving GraphsMeihao Liao, Cheng Li, Rong-Hua Li, Guoren WangSIGMOD 2025 · 2 citations
  5. Combinatorial Maximum Flow via Weighted Push-Relabel on Shortcut GraphsAaron Bernstein, Joakim Blikstad, Jason Li, Thatchaphol Saranurak et al.FOCS 2025 · 2 citations

Builds on13

  1. Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 citations
  2. Fast Dynamic Cuts, Distances and Effective Resistances via Vertex SparsifiersLi Chen, Gramoz Goranci, Monika Henzinger, Richard Peng et al.FOCS 2020 · 22 citations
  3. New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
  4. Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
  5. Decremental all-pairs shortest paths in deterministic near-linear timeJulia ChuzhoySTOC 2021 · 18 citations

Related papers

  1. 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
  2. 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
  3. Dynamic Maxflow via Dynamic Interior Point MethodsJan van den Brand, Yang P. Liu, Aaron SidfordSTOC 2023 · 5 citations
  4. Incremental Approximate Maximum Flow on Undirected Graphs in Subpolynomial Update TimeJan van den Brand, Li Chen, Rasmus Kyng, Yang P. Liu et al.SODA 2024 · 3 citations
  5. Incremental Shortest Paths in Almost Linear Time via a Modified Interior Point MethodYang P. LiuSTOC 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines