APMF < APSP? Gomory-Hu Tree for Unweighted Graphs in Almost-Quadratic Time
Abstract
We design an-time algorithm that constructs a cut-equivalent (Gomory-Hu) tree of a simple graph onnodes. This bound is almost-optimal in terms of, and it improves on the recentbound by the authors (STOC 2021), which was the first to break the cubic barrier. Consequently, the All-Pairs Maximum-Flow (APMF) problem has time complexity, and for the first time in history, this problem can be solved faster than All-Pairs Shortest Paths (APSP). We further observe that an almost-linear time algorithm (in terms of the number of edges) is not possible without first obtaining a subcubic algorithm for multigraphs. Finally, we derandomize our algorithm, obtaining the first subcubic deterministic algorithm for Gomory-Hu Tree in simple graphs, showing that randomness is not necessary for beating thetimes max-flow bound from 1961. The upper bound isand it would improve tothere is a deterministic single-pair maximum-flow algorithm that is almost-linear. The key novelty is in using a “dynamic pivot” technique instead of the randomized pivot selection that was central in recent works.
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.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Friendly Cut Sparsifiers and Faster Gomory-Hu Trees cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- Friendly Cut Sparsifiers and Faster Gomory-Hu Trees cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
- Friendly Cut Sparsifiers and Faster Gomory-Hu Trees cites Deterministic Min-cut in Poly-logarithmic Max-flows
- All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear Time cites Friendly Cut Sparsifiers and Faster Gomory-Hu Trees
- All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear Time cites Minimum cost flows, MDPs, and ℓ1-regression in nearly linear time for dense instances
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time cites Friendly Cut Sparsifiers and Faster Gomory-Hu Trees
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time cites A Refined Laser Method and Faster Matrix Multiplication
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time cites Deterministic Min-cut in Poly-logarithmic Max-flows
- 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
- The Expander Hierarchy and its Applications to Dynamic Graph Algorithms cites A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and Beyond
- Deterministic Almost-Linear-Time Gomory-Hu Trees cites Friendly Cut Sparsifiers and Faster Gomory-Hu Trees
- Deterministic Almost-Linear-Time Gomory-Hu Trees cites All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear Time
- Deterministic Almost-Linear-Time Gomory-Hu Trees cites Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic Time
- Deterministic Almost-Linear-Time Gomory-Hu Trees cites Deterministic Min-cut in Poly-logarithmic Max-flows
Cited by top-tier papers15
- Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations
- Breaking the Cubic Barrier for All-Pairs Max-Flow: Gomory-Hu Tree in Nearly Quadratic TimeAmir Abboud, Robert Krauthgamer, Jason Li, Debmalya Panigrahi et al.FOCS 2022 · 16 citations
- All-Pairs Max-Flow is no Harder than Single-Pair Max-Flow: Gomory-Hu Trees in Almost-Linear TimeAmir Abboud, Jason Li, Debmalya Panigrahi, Thatchaphol SaranurakFOCS 2023 · 11 citations
- Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
- Friendly Cut Sparsifiers and Faster Gomory-Hu TreesAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSODA 2022 · 7 citations
Builds on13
- A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
- A Deterministic Algorithm for Balanced Cut with Applications to Dynamic Connectivity, Flows, and BeyondJulia Chuzhoy, Yu Gao, Jason Li, Danupon Nanongkai et al.FOCS 2020 · 76 citations
- 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
- The Expander Hierarchy and its Applications to Dynamic Graph AlgorithmsGramoz Goranci, Harald Räcke, Thatchaphol Saranurak, Zihan TanSODA 2021 · 41 citations
- Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations
Related papers
- Subcubic algorithms for Gomory-Hu tree in unweighted graphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSTOC 2021 · 2 citations
- New Algorithms and Lower Bounds for All-Pairs Max-Flow in Undirected GraphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSODA 2020 · 22 citations
- Approximate Gomory-Hu tree is faster than n - 1 max-flowsJason Li, Debmalya PanigrahiSTOC 2021 · 15 citations
- A Nearly Optimal All-Pairs Min-Cuts Algorithm in Simple GraphsJason Li, Debmalya Panigrahi, Thatchaphol SaranurakFOCS 2021 · 19 citations
- All-Pairs Minimum Cut using Õ(n7/4) Cut QueriesYotam Kenneth-Mordoch, Robert KrauthgamerSODA 2026
