Abstract
Finding a perfect matching in a $d$-regular bipartite graph is a fundamental problem in combinatorial optimization. While general bipartite matching takes $O(m\sqrt{n})$ time, regular bipartite graphs allow for faster solutions. This paper introduces a randomized algorithm that achieves an expected running time of $O((n \ln n)^{1.5})$, or more precisely $O(\min\{m, \frac{n^2 \ln^3 n}{d}\})$. The approach utilizes a novel two-stage sampling scheme and a new "Proportionate Uncrossing Theorem" that links Hall's theorem witnesses to graph cuts.
Introduction
A bipartite graph is $d$-regular if every vertex has exactly $d$ neighbors. For such graphs, a perfect matching—a set of edges covering every vertex exactly once—is guaranteed to exist. Historically, algorithms like Hopcroft-Karp have provided $O(m\sqrt{n})$ bounds for general graphs. In the $d$-regular case, $O(m)$ was the standard. However, for dense graphs where $m = nd \approx n^2$, this is inefficient. This work pushes the boundary to $\tilde{O}(n^{1.5})$, bridging the gap between dense and sparse graph performance.
Methodology: Two-Stage Sampling
The core innovation is a sampling pipeline that reduces a dense $d$-regular graph to a sparse subgraph with only $O(n \log n)$ edges while preserving at least one perfect matching with high probability.
- Uniform Sampling: Initial reduction of edge density.
- Non-Uniform Sampling: Utilizing an adaptation of the Benczür-Karger scheme. While Benczür-Karger is typically used to preserve cut sizes, the authors extend it to preserve the existence of perfect matchings.
- Proportionate Uncrossing Theorem: This theorem is the mathematical bridge. It establishes a correspondence between the sets of vertices that could violate Hall's Marriage Theorem (witnesses) and the cuts in the graph. By preserving cuts, the algorithm implicitly preserves the conditions necessary for a perfect matching.
- Refined Hopcroft-Karp: Once the graph is sparsified to $O(n \log n)$ edges, the Hopcroft-Karp algorithm is applied. The authors provide a tighter analysis specifically for these sampled graphs to ensure the $\tilde{O}(n^{1.5})$ total time.
Key Insights
The "aha" moment lies in the Proportionate Uncrossing Theorem. In bipartite graphs, the existence of a matching is tied to Hall's Theorem: for every subset of vertices $S$ on one side, its neighborhood $N(S)$ must satisfy $|N(S)| \ge |S|$. The authors found a way to "uncross" these sets so they behave like graph cuts, allowing the use of powerful sparsification tools that were previously restricted to cut-preservation problems.
Results and Applications
The algorithm achieves an expected time of $O(\min\{m, \frac{n^2 \ln^3 n}{d}\})$. For any $d$, this simplifies to $\tilde{O}(n^{1.5})$.
Beyond graph theory, this result has immediate implications for linear algebra. The authors show that a perfect matching in the support of an $n \times n$ doubly stochastic matrix (where rows and columns sum to 1) can be found in $\tilde{O}(m + n^{1.5})$ time. This improves upon previous precision-dependent bounds.
Conclusion
By combining randomized sampling with deep structural theorems about bipartite graphs, this work provides a near-optimal algorithm for a classic problem. While the algorithm is randomized, it sets a new benchmark for efficiency in regular bipartite matching. Future research may look toward a deterministic version or further reducing the polylogarithmic factors to reach a truly linear-time $O(n \text{ polylog } n)$ bound.
Summary updated