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 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 09a9bcbf-efb2-4e30-95b2-268b3713d6b9Cited by top-tier papers12
- Incremental Topological Ordering and Cycle Detection with PredictionsSamuel McCauley, Benjamin Moseley, Aidin Niaparast, Shikha SinghICML 2024 · 6 citations
- Deterministic Negative-Weight Shortest Paths in Nearly Linear Time via Path CoversBernhard Haeupler, Yonggang Jiang, Thatchaphol SaranurakSTOC 2026 · 5 citations
- Parallel and Distributed Expander Decomposition: Simple, Fast, and Near-OptimalDaoyuan Chen, Simon Meierhans, Maximilian Probst Gutenberg, Thatchaphol SaranurakSODA 2025 · 3 citations
- Efficient Index Maintenance for Effective Resistance Computation on Evolving GraphsMeihao Liao, Cheng Li, Rong-Hua Li, Guoren WangSIGMOD 2025 · 2 citations
- 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
- Deterministic Decremental SSSP and Approximate Min-Cost Flow in Almost-Linear TimeAaron Bernstein, Maximilian Probst Gutenberg, Thatchaphol SaranurakFOCS 2021 · 27 citations
- Fast Dynamic Cuts, Distances and Effective Resistances via Vertex SparsifiersLi Chen, Gramoz Goranci, Monika Henzinger, Richard Peng et al.FOCS 2020 · 22 citations
- New algorithms and hardness for incremental single-source shortest paths in directed graphsMaximilian Probst Gutenberg, Virginia Vassilevska Williams, Nicole WeinSTOC 2020 · 21 citations
- Deterministic Algorithms for Decremental Approximate Shortest Paths: Faster and SimplerMaximilian Probst Gutenberg, Christian Wulff-NilsenSODA 2020 · 20 citations
- Decremental all-pairs shortest paths in deterministic near-linear timeJulia ChuzhoySTOC 2021 · 18 citations
Related papers
- 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
- 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
- Dynamic Maxflow via Dynamic Interior Point MethodsJan van den Brand, Yang P. Liu, Aaron SidfordSTOC 2023 · 5 citations
- 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
- Incremental Shortest Paths in Almost Linear Time via a Modified Interior Point MethodYang P. LiuSTOC 2026 · 1 citation
