Skip to content
DAH

Deterministic O(m polylog m) maximum flow, or an m1+o(1) implementation that beats push-relabel

In progressTo verify: ReproductionPosed by Chen–Kyng–Liu–Peng–Probst Gutenberg–Sachdeva (2022); deterministic version by van den Brand et al. (2023)
AI-reviewed
On this page17 sections
Difficulty
30/100Hard
How far from a resolution. P vs NP = 100
Application value
48/100Significant
Realistic practical impact if resolved. P vs NP = 100
Leverage
20/100Local
How much other knowledge hinges on it. P vs NP = 100

Difficulty is low-to-mid because the theory is largely in place and the gap is constant factors and engineering, though removing the m^{o(1)} factor deterministically is a real theory problem. Application value is moderate: flow underlies many pipelines but push-relabel already scales well in practice. Leverage is narrow: algorithm engineering and a few theory results depend on it.

The problem

An almost-linear-time method for pushing the most stuff through a network exists on paper, but is too complicated to use.

  1. 1Max flow: most stuff through a network
  2. 22022: near-linear time method found
  3. 3Too complex and heavy to run
  4. 4Goal: simple deterministic and fast
  5. 5Open: beat practical codes on huge graphs

The problem. Given a directed graph with mm edges and integer capacities in [1,U][1,U] with U=poly(m)U=\mathrm{poly}(m), find a maximum ss–tt flow. Almost-linear-time algorithms with running time m1+o(1)m^{1+o(1)} exist, including deterministic ones, but the mo(1)m^{o(1)} factor is a large subpolynomial overhead, and they rely on dynamic data structures for low-stretch decompositions and expander hierarchies. The task: find a deterministic algorithm running in O(m polylog m)O(m\,\mathrm{polylog}\,m) time, or at least an implementation of an m1+o(1)m^{1+o(1)} algorithm whose measured running time on standard benchmark families (DIMACS, SNAP) beats push-relabel and Dinic implementations on graphs with m≥108m\ge10^8.

Almost-linear time. Chen, Kyng, Liu, Peng, Probst Gutenberg and Sachdeva (2022) solved exact max flow and min-cost flow in m1+o(1)m^{1+o(1)} time. It is an interior-point method: it walks to the optimum through a sequence of steps, each of which is an approximate minimum-ratio cycle in an undirected graph, found with a dynamic data structure with amortised mo(1)m^{o(1)} update time. Van den Brand, Chen, Kyng, Liu, Peng, Probst Gutenberg, Sachdeva and Sidford (2023) made it deterministic. The framework extends to convex edge-separable objectives such as entropy-regularised optimal transport and matrix scaling.

Gaps. The hidden mo(1)m^{o(1)} factor is large, and no implementation competitive with push-relabel or Dinic's algorithm is reported in the sources reviewed.

Simpler routes.

  • Bernstein, Blikstad, Saranurak and Tu (2024) gave a combinatorial augmenting-path algorithm in n2+o(1)log⁡Un^{2+o(1)}\log U time for dense graphs, avoiding continuous optimisation.
  • Bernstein, Blikstad, Li, Saranurak and Tu (2025 preprint) report a simpler O~(n2log⁡U)\tilde O(n^2\log U) algorithm, with a C++ implementation that is not benchmarked against established codes.
  • A 2026 preprint by Li gives a randomised augmenting-path algorithm for directed uncapacitated graphs in m n1/2+o(1)m\,n^{1/2+o(1)} time, the first improvement over Dinic's bound for moderately sparse graphs among combinatorial methods. A follow-up preprint by Li and Wice (August 2026) reports an almost-linear algorithm for capacitated directed graphs that avoids the interior-point framework. All 2025–26 items are unrefereed.

Why it matters. Anything reducible to flows would speed up: bipartite matching, image segmentation, scheduling, network reliability, transportation and optimal transport. Today the asymptotically fastest algorithms are not used in practice, so the benefit depends on a practical implementation.

Why hard. The theory and the practice pull apart: the near-linear methods depend on dynamic expander and decomposition machinery with enormous constants, while the practical ones lack matching guarantees.

Go deeper

The full technical text.

Given a directed graph with mm edges, integer capacities in [1,U][1,U] with U=poly(m)U=\mathrm{poly}(m), find a maximum ss–tt flow. Almost-linear-time algorithms with running time m1+o(1)m^{1+o(1)} exist, including deterministic ones, but their mo(1)m^{o(1)} factor is a large subpolynomial overhead (for example 2O(log⁡7/8m log⁡log⁡m)2^{O(\log^{7/8}m\,\log\log m)} in the first version) and they rely on dynamic data structures for low-stretch decompositions and expander hierarchies. Does there exist a deterministic algorithm with running time O(m polylog(m))O(m\,\mathrm{polylog}(m)), or at least an implementation of an m1+o(1)m^{1+o(1)} algorithm, whose measured running time on the DIMACS and SNAP benchmark families beats push-relabel and Dinic implementations on graphs with m≥108m\ge10^{8}? The target is the combination: deterministic, within a logarithmic or small-polynomial-in-log factor of linear, and implementable.

Words on this page (10)
Words on this page
maximum flow
The largest amount that can be sent from a source to a sink through a network with limited link capacities.
flow network
A directed graph whose links have capacities, used to model pipes, traffic or data.
push-relabel
A classic, practical max-flow method that pushes excess flow along links, raising node heights when stuck.
almost-linear time
Running time that is close to the size of the input, up to a factor that grows slower than any power.
interior-point method
An optimisation method that moves through the inside of the feasible region to the best point.
deterministic algorithm
An algorithm that uses no random choices and always behaves the same on the same input.
expander graph
A sparse but very well-connected network, a key building block in modern graph algorithms.
linear programming
Optimising a linear goal under linear limits; max flow is a special case.
augmenting path
A route from source to sink with spare capacity; pushing extra flow along it increases the total flow.
Dinic's algorithm
A classic max-flow method that repeatedly sends flow along many shortest augmenting paths at once; widely used in practice.
New to this? Read first (3)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then
    • Deterministic O(m polylog m) maximum flow, or an m1+o(1) implementation that beats push-relabelThe problem

State of the art

Almost-linear time. Chen, Kyng, Liu, Peng, Probst Gutenberg and Sachdeva (arXiv March 2022; FOCS 2022) solve exact max flow and min-cost flow on directed graphs with polynomially bounded integer data in m1+o(1)m^{1+o(1)} time. The method is an interior-point method whose steps are approximate undirected minimum-ratio cycles, found with a dynamic data structure with amortised mo(1)m^{o(1)} update time. Van den Brand, Chen, Kyng, Liu, Peng, Probst Gutenberg, Sachdeva and Sidford (arXiv September 2023; FOCS 2023) made it deterministic. The framework extends to convex edge-separable objectives, including entropy-regularised optimal transport and matrix scaling. The mo(1)m^{o(1)} factor hides a large subpolynomial overhead, and no implementation competitive with push-relabel or Dinic codes is reported in the sources reviewed.

Combinatorial and simpler algorithms. Bernstein, Blikstad, Saranurak and Tu (arXiv June 2024; FOCS 2024) gave a combinatorial augmenting-path algorithm in n2+o(1)log⁡Un^{2+o(1)}\log U time, near-optimal for dense graphs, avoiding continuous optimisation. Bernstein, Blikstad, Li, Saranurak and Tu (arXiv October 2025, preprint) report a much simpler O~(n2log⁡U)\tilde O(n^2\log U) algorithm that removes the no(1)n^{o(1)} factor, release a C++ implementation (without benchmarking it against established codes), and obtain a deterministic O~(n2)\tilde O(n^2) algorithm for vertex-capacitated max flow. Li (arXiv April 2026, preprint) gives a randomised augmenting-path algorithm for directed uncapacitated graphs running in m n1/2+o(1)m\,n^{1/2+o(1)} time, the first improvement over Dinic's bound for moderately sparse graphs among combinatorial augmenting-path methods. Li and Wice (arXiv August 2026, preprint) report that Li's balancing weights yield an approximate pseudo-circulation in m1+o(1)m^{1+o(1)} time, and hence an m1+o(1)m^{1+o(1)} max-flow algorithm for directed capacitated graphs that avoids the outer interior-point framework. All 2025–26 items are unrefereed.

What practice uses. Classical algorithms (Dinic, push-relabel, Boykov–Kolmogorov for vision graphs) remain the standard implementations, and their typical running times are close to linear on many instance families despite weaker worst-case bounds.

Realistic applications

A practical near-linear max-flow would speed up everything reducible to flows: bipartite matching, image segmentation, scheduling, network reliability and transportation, as well as min-cost flow and optimal-transport solvers. Today the asymptotically fastest algorithms are not used in practice, so the benefit would come from an implementable variant, not from the theoretical bound alone.

What counts as solved

(a) A proof of a deterministic O(m polylog m)O(m\,\mathrm{polylog}\,m) max-flow algorithm, or (b) an open-source implementation of a worst-case m1+o(1)m^{1+o(1)} algorithm whose wall-clock time on the standard benchmark suites at m≥108m\ge 10^8 is at least competitive with the best push-relabel code, with a reproducible report. (a) is theoretical resolution; (b) is the practical target.

How it gets verified

To verify: Reproduction

A training run, experiment or computation rerun by someone else.

Part (b) is checkable by running: an open-source implementation of a worst-case m^(1+o(1)) algorithm must be at least competitive in wall-clock time with the best push-relabel code on the standard benchmark suites at m >= 10^8. The report must name the machine, compiler flags, instance suites, a correctness check of the flow value against a reference solver, and the number of repeats. Part (a), a deterministic O(m polylog m) proof, goes to expert review.

Claims

No claimed results on this problem.

Where the work is

Theory
35%
New mathematical or conceptual ideas
Engineering
45%
Building instruments, chips, systems, software, formal proofs
Compute
20%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Half of the work is simplifying the theory (replacing expander hierarchies with something implementable) and half is a serious implementation with benchmarking.

Connected problems

No connected problems.

Progress

  1. Aug 1, 2026
    Preprint: m^(1+o(1)) without the outer interior-point method

    Li and Wice report an approximate pseudo-circulation route to max flow; not yet refereed.

    source
  2. Jun 5, 2024
    Combinatorial algorithm for dense graphs

    Bernstein, Blikstad, Saranurak and Tu gave an augmenting-path algorithm in n^(2+o(1)) log U time (FOCS 2024).

    source
  3. Sep 28, 2023
    Deterministic almost-linear time

    Van den Brand et al. derandomised the algorithm (FOCS 2023).

    source
  4. Mar 1, 2022
    Almost-linear-time max flow

    Chen et al. gave an m^(1+o(1)) max-flow and min-cost flow algorithm (FOCS 2022).

    source