Faster High Accuracy Multi-Commodity Flow from Single-Commodity Techniques

Jan van den Brand, Daniel Zhang

TL;DR

This paper breaks a decades-long stalemate in multi-commodity flow (MCF) algorithms by successfully applying graph-specific techniques—like expander decompositions—that were previously thought to only work for single-commodity problems. The resulting algorithm achieves the first speedup for high-accuracy MCF on non-sparse graphs that doesn't rely solely on improvements to general linear program solvers.

What Problem Does This Paper Address?

The multi-commodity flow (MCF) problem involves routing multiple different types of goods (commodities) through a shared network without exceeding edge capacities. While single-commodity problems (like Max-Flow) have seen explosive algorithmic progress recently thanks to the "Laplacian paradigm" and graph-specific data structures, MCF has remained stubbornly tied to the performance of general Linear Program (LP) solvers.

Recent research even suggested this was inevitable: researchers proved that solving MCF on sparse graphs is essentially as hard as solving any general linear program. This paper identifies a crucial loophole: while the "hardness" holds for sparse graphs, there is room for significant improvement on dense graphs. The authors aim to bridge the gap between combinatorial graph algorithms and continuous optimization to speed up MCF in these denser regimes.

Methods

The authors build their algorithm on the foundation of the Robust Interior Point Method (IPM), a state-of-the-art framework for solving LPs. Their innovation lies in how they handle the expensive linear systems that must be solved at each iteration of the IPM.

  1. Dimension Reduction via Schur Complements: A standard MCF formulation for $k$ commodities on a graph with $m$ edges and $n$ vertices leads to a massive linear system of size $O(km)$. By exploiting the specific structure of the MCF constraints, the authors use Schur complements to reduce this to a much smaller $O(kn) \times O(kn)$ system.
  2. Heavy Hitter Detection: In the IPM, one needs to track which variables are changing significantly (the "heavy hitters"). The authors show that the complex "multi-commodity incidence matrix" can be decomposed into several classical incidence matrices.
  3. Expander Decompositions: To efficiently solve the heavy hitter problem, they employ dynamic graph data structures based on expander decompositions. This technique, originally developed for single-commodity flows, allows them to maintain approximations of the flow values across iterations in sub-linear time.
  4. Dynamic Linear System Maintenance: They use advanced algebraic data structures to maintain the inverse of the reduced linear system as edge weights change, avoiding the need to recompute it from scratch in every iteration.

Datasets

This is a theoretical computer science paper focused on complexity analysis and algorithm design. No empirical datasets were used for training or evaluation. The results are proven mathematically for any graph $G=(V,E)$ meeting the density criteria.

Key Insights and Ideas

  • The Density Loophole: The most significant insight is that the "impossibility" of using graph techniques for MCF only applies to sparse graphs. In denser graphs, the combinatorial structure of the network becomes a lever that can be used to outperform general-purpose LP solvers.
  • Decomposition of Multi-Commodity Structures: The authors proved that a multi-commodity incidence matrix can be treated as a sum of classical single-commodity incidence matrices. This allowed them to "import" powerful data structures from the single-commodity world that were previously thought inapplicable.
  • High Accuracy vs. Approximation: Unlike many recent graph algorithms that provide $(1+\epsilon)$ approximations, this algorithm provides high-accuracy solutions (where the runtime depends only on $\text{polylog}(1/\epsilon)$), making it suitable for applications requiring exact or near-exact results.

Key Results

The paper provides a new deterministic time complexity for $k$-commodity flow on a graph with $n$ vertices and $m$ edges:

  • For 2-commodity flow: The algorithm runs in $\tilde{O}(\sqrt{m}n^{\omega-1/2})$ time, where $\omega \approx 2.373$ is the fast matrix multiplication exponent.
  • For $k$ commodities: The complexity is $\tilde{O}(k^{2.5}\sqrt{m}n^{\omega-1/2})$.
  • Comparison: This improves upon the previous fastest high-accuracy algorithms, such as the $\tilde{O}(m^\omega)$ approach by Cohen et al. (2021) and the $\tilde{O}(\sqrt{m}n^2)$ approach by Kapoor and Vaidya (1996), particularly when the graph is not sparse (e.g., when $m \gg n$).

Limitations and Future Work

  • Sparsity Constraint: The algorithm does not provide a speedup for very sparse graphs ($m \approx n$), where the problem remains as hard as general linear programming.
  • Dependence on $\omega$: The runtime is still heavily tied to the efficiency of fast matrix multiplication ($\omega$). Any future improvements to $\omega$ will naturally speed up this algorithm, but it remains an algebraic bottleneck.
  • Open Question on Reductions: The authors highlight an open question from previous work: can a general "tall" LP be reduced to an MCF instance that preserves the "shape" of the graph? If so, this graph-based approach could potentially be used to speed up a much wider class of linear programs.

Summary updated

BibTeX
@inproceedings{brand2023faster,
  author = {Jan van den Brand and Daniel Zhang},
  title = {{Faster High Accuracy Multi-Commodity Flow from Single-Commodity Techniques}},
  booktitle = {FOCS},
  year = {2023},
}
Figure