Table of Contents
Fetching ...

Maximum Bipartite Matching in $n^{2+o(1)}$ Time via a Combinatorial Algorithm

Julia Chuzhoy, Sanjeev Khanna

TL;DR

This work presents a randomized combinatorial algorithm for Maximum Bipartite Matching that nearly matches the performance of IPM-based methods on dense graphs. The authors introduce a RouteAndCut framework, supported by the Approximate Topological Order (ATO) structure, MaintainCluster and ConnectToCenters subroutines, and a recursive bootstrapping between RouteAndCut and MaintainCluster across a parameter r. They leverage a modified multiplicative weights update (MWU) approach to reduce routing problems to decremental shortest-path problems, enabling n^{2+o(1)}-time performance with high probability. The technique hinges on maintaining expander-like clusters under online updates, and on an intricate layering data structure to connect all vertices to a central expander, ultimately yielding a randomized MBM algorithm that outperforms HK and matrix-multiplication methods in dense regimes. The approach extends to maximum vertex-capacitated flow with identical vertex capacities, demonstrating broad applicability of the combinatorial route-and-cut paradigm for flow-like problems.

Abstract

Maximum bipartite matching (MBM) is a fundamental problem in combinatorial optimization with a long and rich history. A classic result of Hopcroft and Karp (1973) provides an $O(m \sqrt{n})$-time algorithm for the problem, where $n$ and $m$ are the number of vertices and edges in the input graph, respectively. For dense graphs, an approach based on fast matrix multiplication achieves a running time of $O(n^{2.371})$. For several decades, these results represented state-of-the-art algorithms, until, in 2013, Madry introduced a powerful new approach for solving MBM using continuous optimization techniques. This line of research led to several spectacular results, culminating in a breakthrough $m^{1+o(1)}$-time algorithm for min-cost flow, that implies an $m^{1+o(1)}$-time algorithm for MBM as well. These striking advances naturally raise the question of whether combinatorial algorithms can match the performance of the algorithms that are based on continuous techniques for MBM. A recent work of the authors (2024) made progress on this question by giving a combinatorial $\tilde{O}(m^{1/3}n^{5/3})$-time algorithm for MBM, thus outperforming both the Hopcroft-Karp algorithm and matrix multiplication based approaches, on sufficiently dense graphs. Still, a large gap remains between the running time of their algorithm and the almost linear-time achievable by algorithms based on continuous techniques. In this work, we take another step towards narrowing this gap, and present a randomized $n^{2+o(1)}$-time combinatorial algorithm for MBM. Thus in dense graphs, our algorithm essentially matches the performance of algorithms that are based on continuous methods. We also obtain a randomized $n^{2+o(1)}$-time combinatorial algorithm for maximum vertex-capacitated $s$-$t$ flow in directed graphs when all vertex capacities are identical, using a standard reduction from this problem to MBM.

Maximum Bipartite Matching in $n^{2+o(1)}$ Time via a Combinatorial Algorithm

TL;DR

This work presents a randomized combinatorial algorithm for Maximum Bipartite Matching that nearly matches the performance of IPM-based methods on dense graphs. The authors introduce a RouteAndCut framework, supported by the Approximate Topological Order (ATO) structure, MaintainCluster and ConnectToCenters subroutines, and a recursive bootstrapping between RouteAndCut and MaintainCluster across a parameter r. They leverage a modified multiplicative weights update (MWU) approach to reduce routing problems to decremental shortest-path problems, enabling n^{2+o(1)}-time performance with high probability. The technique hinges on maintaining expander-like clusters under online updates, and on an intricate layering data structure to connect all vertices to a central expander, ultimately yielding a randomized MBM algorithm that outperforms HK and matrix-multiplication methods in dense regimes. The approach extends to maximum vertex-capacitated flow with identical vertex capacities, demonstrating broad applicability of the combinatorial route-and-cut paradigm for flow-like problems.

Abstract

Maximum bipartite matching (MBM) is a fundamental problem in combinatorial optimization with a long and rich history. A classic result of Hopcroft and Karp (1973) provides an -time algorithm for the problem, where and are the number of vertices and edges in the input graph, respectively. For dense graphs, an approach based on fast matrix multiplication achieves a running time of . For several decades, these results represented state-of-the-art algorithms, until, in 2013, Madry introduced a powerful new approach for solving MBM using continuous optimization techniques. This line of research led to several spectacular results, culminating in a breakthrough -time algorithm for min-cost flow, that implies an -time algorithm for MBM as well. These striking advances naturally raise the question of whether combinatorial algorithms can match the performance of the algorithms that are based on continuous techniques for MBM. A recent work of the authors (2024) made progress on this question by giving a combinatorial -time algorithm for MBM, thus outperforming both the Hopcroft-Karp algorithm and matrix multiplication based approaches, on sufficiently dense graphs. Still, a large gap remains between the running time of their algorithm and the almost linear-time achievable by algorithms based on continuous techniques. In this work, we take another step towards narrowing this gap, and present a randomized -time combinatorial algorithm for MBM. Thus in dense graphs, our algorithm essentially matches the performance of algorithms that are based on continuous methods. We also obtain a randomized -time combinatorial algorithm for maximum vertex-capacitated - flow in directed graphs when all vertex capacities are identical, using a standard reduction from this problem to MBM.
Paper Structure (120 sections, 25 theorems, 172 equations, 2 figures)

This paper contains 120 sections, 25 theorems, 172 equations, 2 figures.

Key Result

Theorem 1.1

There is a randomized combinatorial algorithm for the Maximum Bipartite Matching problem, that, given an $n$-vertex bipartite graph $G$, outputs a maximum matching $M$ in $G$ with probability at least $1 - 1/\operatorname{poly}(n)$. The running time of the algorithm is $O\left(n^2\cdot 2^{O(\sqrt{\l

Figures (2)

  • Figure 1: Skip and span values of a right-to-left edge.
  • Figure 2: Alg-MWU

Theorems & Definitions (66)

  • Theorem 1.1
  • Corollary 1.2
  • Theorem 2.1: Theorem 2.4 in detbalanced
  • Lemma 2.5: Chernoff Bound
  • Theorem 2.6: ES-tree-directed, see Section 2.1
  • Theorem 2.7: Theorem 5.1 in the full version of CK24
  • Definition 3.1: Well-Structured Graphs
  • Definition 3.2: Proper Assignment of Edge Lengths
  • Definition 3.3: Well-Structured Cut
  • Definition 3.4: Routing
  • ...and 56 more