Approximate Gomory-Hu tree is faster than n - 1 max-flows
Jason Li, Debmalya Panigrahi
Abstract
The Gomory-Hu tree or cut tree (Gomory and Hu, 1961) is a classic data structure for reporting (s, t) mincuts (and by duality, the values of (s, t) maxflows) for all pairs of vertices s and t in an undirected graph. Gomory and Hu showed that it can be computed using n -1 exact maxflow computations. Surprisingly, this remains the best algorithm for Gomory-Hu trees more than 50 years later, even for approximate mincuts. In this paper, we break this longstanding barrier and give an algorithm for computing a (1 + )-approximate Gomory-Hu tree using polylog(n) maxflow computations. Specifically, we obtain the runtime bounds we describe below.
We obtain a randomized (Monte Carlo) algorithm for undirected, weighted graphs that runs in Õ(m + n 3/2 ) time and returns a (1 + )-approximate Gomory-Hu tree algorithm w.h.p. Previously, the best running time known was Õ(n 5/2 ), which is obtained by running Gomory and Hu's original algorithm on a cut sparsifier of the graph.
Next, we obtain a randomized (Monte Carlo) algorithm for undirected, unweighted graphs that runs in m 4/3+o(1) time and returns a (1 + )-approximate Gomory-Hu tree algorithm w.h.p. This improves on our first result for sparse graphs, namely m = o(n 9/8 ). Previously, the best running time known for unweighted graphs was Õ(mn) for an exact Gomory-Hu tree (Bhalgat et al., STOC 2007); no better result was known if approximations are allowed.
As a consequence of our Gomory-Hu tree algorithms, we also solve the (1 + )-approximate all pairs mincut (APMC) and single source mincut (SSMC) problems in the same time bounds. (These problems are simpler in that the goal is to only return the (s, t) mincut values, and not the mincuts.) This improves on the recent algorithm for these problems in Õ(n 2 ) time due to Abboud et al. (FOCS 2020).
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 d8716dac-6f48-40ed-a7cc-75703fa99c81Cited by top-tier papers19
- Maximum Flow and Minimum-Cost Flow in Almost-Linear TimeLi Chen, Rasmus Kyng, Yang P. Liu, Richard Peng et al.FOCS 2022 · 135 citations
- Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations
- A Nearly Optimal All-Pairs Min-Cuts Algorithm in Simple GraphsJason Li, Debmalya Panigrahi, Thatchaphol SaranurakFOCS 2021 · 19 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
Builds on3
- Deterministic Min-cut in Poly-logarithmic Max-flowsJason Li, Debmalya PanigrahiFOCS 2020 · 36 citations
- New Algorithms and Lower Bounds for All-Pairs Max-Flow in Undirected GraphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSODA 2020 · 22 citations
- Cut-Equivalent Trees are Optimal for Min-Cut QueriesAmir Abboud, Robert Krauthgamer, Ohad TrabelsiFOCS 2020 · 20 citations
Related papers
- Deterministic Almost-Linear-Time Gomory-Hu TreesAmir Abboud, Rasmus Kyng, Jason Li, Debmalya Panigrahi et al.FOCS 2025 · 10 citations
- A Simple and Fast Reduction from Gomory-Hu Trees to Polylog MaxflowsMaximilian Probst Gutenberg, Rasmus Kyng, Weixuan Yuan, Wuwei YuanSODA 2026
- Subcubic algorithms for Gomory-Hu tree in unweighted graphsAmir Abboud, Robert Krauthgamer, Ohad TrabelsiSTOC 2021 · 2 citations
- All-Pairs Minimum Cut using Õ(n7/4) Cut QueriesYotam Kenneth-Mordoch, Robert KrauthgamerSODA 2026
- APMF < APSP? Gomory-Hu Tree for Unweighted Graphs in Almost-Quadratic TimeAmir Abboud, Robert Krauthgamer, Ohad TrabelsiFOCS 2021 · 5 citations
