Lune

FOCS2021Top-tier venue

APMF < APSP? Gomory-Hu Tree for Unweighted Graphs in Almost-Quadratic Time

Amir Abboud, Robert Krauthgamer, Ohad Trabelsi

Abstract

We design ann2+o(1)n^{2+o(1)}-time algorithm that constructs a cut-equivalent (Gomory-Hu) tree of a simple graph onnnnodes. This bound is almost-optimal in terms ofnn, and it improves on the recentO~(n2.5)\tilde{O}(n^{2.5})bound by the authors (STOC 2021), which was the first to break the cubic barrier. Consequently, the All-Pairs Maximum-Flow (APMF) problem has time complexityn2+o(1)n^{2+o(1)}, 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 edgesmm) 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 then−1n-1times max-flow bound from 1961. The upper bound isO~(n223)\tilde{O}(n^{2\frac{2}{3}})and it would improve ton2+o(1) ifn^{2+o(1)}\ \mathbf{i}\mathbf{f}there 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.

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

  • 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
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations
  2. 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
  3. 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
  4. Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
  5. Friendly Cut Sparsifiers and Faster Gomory-Hu TreesAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSODA 2022 · 7 citations

Builds on13

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. 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
  3. 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
  4. The Expander Hierarchy and its Applications to Dynamic Graph AlgorithmsGramoz Goranci, Harald Räcke, Thatchaphol Saranurak, Zihan TanSODA 2021 · 41 citations
  5. Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations

Related papers

  1. Subcubic algorithms for Gomory-Hu tree in unweighted graphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSTOC 2021 · 2 citations
  2. New Algorithms and Lower Bounds for All-Pairs Max-Flow in Undirected GraphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSODA 2020 · 22 citations
  3. Approximate Gomory-Hu tree is faster than n - 1 max-flowsJason Li, Debmalya PanigrahiSTOC 2021 · 15 citations
  4. A Nearly Optimal All-Pairs Min-Cuts Algorithm in Simple GraphsJason Li, Debmalya Panigrahi, Thatchaphol SaranurakFOCS 2021 · 19 citations
  5. All-Pairs Minimum Cut using Õ(n7/4) Cut QueriesYotam Kenneth-Mordoch, Robert KrauthgamerSODA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines