NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Faster Sparse Minimum Cost Flow by Electrical Flow Localization

Kyriakos Axiotis, Aleksander Madry, Adrian VladuFOCS 2021

Abstract

We give an $\tilde{O}(m^{3/2-1/762}\log(U+W))$ time algorithm for minimum cost flow with capacities bounded by $U$ and costs bounded by $W$. For sparse graphs with general capacities, this is the first algorithm to improve over the $\tilde{O}(m^{3/2}\log^{O(1)}(U+W))$ running time obtained by an appropriate instantiation of an interior point method [Daitch-Spielman, 2008]. Our approach is extending the framework put forth in [Gao-Liu-Peng, 2021] for computing the maximum flow in graphs with large capacities and, in particular, demonstrates how to reduce the problem of computing an electrical flow with general demands to the same problem on a sublinear-sized set of vertices—even if the demand is supported on the entire graph. Along the way, we develop new machinery to assess the importance of the graph's edges at each phase of the interior point method optimization process. This capability relies on establishing a new connections between the electrical flows arising inside that optimization process and vertex distances in the corresponding effective resistance metric.

Introduction

The Minimum Cost Flow (MCF) problem is a cornerstone of combinatorial optimization, tasking an algorithm with finding the most cost-effective way to transport a specific volume of flow through a network while respecting edge capacities. For decades, the performance of algorithms for MCF on sparse graphs (where the number of edges $m$ is roughly proportional to the number of vertices $n$) was constrained by a theoretical limit of $O(m^{3/2})$.

While recent advancements successfully broke this barrier for the Maximum Flow problem, those techniques were largely restricted to source-to-sink ($s-t$) demands. This paper presents a significant breakthrough by extending these performance gains to the more complex MCF problem, where demands can be distributed across the entire graph and edge costs introduce additional optimization constraints.

The $m^{3/2}$ Barrier and Interior Point Methods

Traditional approaches to MCF often utilize Interior Point Methods (IPMs). These methods solve flow problems by iteratively taking steps toward an optimal solution. In each step, the algorithm must solve a large linear system—specifically a Laplacian system—which typically requires $O(m)$ time. When combined with the $O(\sqrt{m})$ iterations required by standard IPMs, the total complexity naturally hits the $O(m^{3/2})$ bottleneck.

To surpass this, the authors focus on reducing the computational cost of each iteration. The core challenge lies in the fact that in MCF, demands are not localized to two points but are spread across the network. Previous "localization" techniques used for Max Flow were insufficient for this general demand structure.

Core Methodology: Electrical Flow Localization

The authors introduce a framework for Electrical Flow Localization that allows for sublinear-time updates. The methodology consists of several key components:

1. Vertex Sparsification and Demand Projection

The algorithm identifies a sublinear-sized subset of "important" vertices. The authors prove a critical theoretical result: general demands supported across the entire graph can be "projected" onto this small vertex set. This projection preserves the essential characteristics of the flow's congestion, allowing the algorithm to focus its computational effort on a much smaller portion of the graph.

2. The Locator Data Structure

To efficiently manage the optimization, the authors developed a "Locator" data structure. Instead of evaluating every edge in the graph during every iteration, the Locator identifies "congested" edges in sublinear time. It focuses on edges that are "close" to the sparsified vertex set according to the effective resistance metric.

3. Energy-Based Bounds

Previous breakthroughs in Max Flow relied on bounding the magnitude of electrical potentials, which often required complex preconditioning. This paper shifts the focus to energy-based bounds. This approach is more naturally suited to the cost-minimization objective of MCF and provides a more robust framework for handling general edge costs.

Key Insights

  • Generalizing Localization: The paper demonstrates that localization is not a property unique to $s-t$ flows. By using a congestion-reduction subset, the authors show that global demands can be treated as if they were localized on a small set of vertices.
  • Effective Resistance as a Metric: A deep connection is established between the importance of an edge in the IPM process and its distance in the effective resistance metric. Edges "far" from the sparsifier contribute negligibly to congestion and can be bypassed in many iterations.
  • Resistance Stability: Because resistances in an IPM change slowly along the "central path" of the optimization, the sets of "important" edges remain stable over multiple iterations. This stability allows the algorithm to amortize the cost of finding these edges over many steps.

Conclusion and Theoretical Impact

The algorithm achieves a runtime of $\tilde{O}(m^{3/2 - 1/762} \log(U + W))$, officially breaking the $m^{1.5}$ barrier for sparse MCF with general capacities and costs. While the improvement to the exponent ($1/762$) is small, its existence is a major theoretical milestone. It proves that the localization framework is a versatile tool capable of solving a wider class of fundamental graph problems.

Future work may focus on simplifying the complex data structures required for this algorithm—such as the Locators and Schur complement maintainers—and improving the constant in the exponent to move closer to a near-linear $O(m^{1+o(1)})$ runtime.

Summary updated

BibTeX
@inproceedings{axiotis2021faster,
  author = {Kyriakos Axiotis and Aleksander Madry and Adrian Vladu},
  title = {{Faster Sparse Minimum Cost Flow by Electrical Flow Localization}},
  booktitle = {FOCS},
  year = {2021},
  url = {https://openreview.net/forum?id=BAMZ-bDSVZ5},
}
Figure