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

Near-Optimal Dynamic Rounding of Fractional Matchings in Bipartite Graphs

Sayan Bhattacharya, Peter Kiss, Aaron Sidford, David Wajc

Abstract

We study dynamic $(1-\epsilon)$-approximate rounding of fractional matchings—a key ingredient in numerous breakthroughs in the dynamic graph algorithms literature. Our first contribution is a surprisingly simple deterministic rounding algorithm in bipartite graphs with amortized update time $O(\epsilon^{-1} \log^2 (\epsilon^{-1} \cdot n))$, matching an (unconditional) recourse lower bound of $\Omega(\epsilon^{-1})$ up to logarithmic factors. Moreover, this algorithm's update time improves provided the minimum (non-zero) weight in the fractional matching is lower bounded throughout. Combining this algorithm with novel dynamic partial rounding algorithms to increase this minimum weight, we obtain several algorithms that improve this dependence on $n$. For example, we give a high-probability randomized algorithm with $\tilde{O}(\epsilon^{-1}\cdot (\log\log n)^2)$-update time against adaptive adversaries. Using our rounding algorithms, we also round known $(1-\epsilon)$-decremental fractional bipartite matching algorithms with no asymptotic overhead, thus improving on state-of-the-art algorithms for the decremental bipartite matching problem. Further, we provide extensions of our results to general graphs and to maintaining almost-maximal matchings.

Introduction

In the field of dynamic graph algorithms, the objective is to maintain a solution to a specific problem—such as a matching—as the underlying graph undergoes continuous changes through edge insertions and deletions. A matching is defined as a set of edges that share no common vertices. A standard strategy for solving this dynamically is the "relax-and-round" approach: first, maintain a fractional matching (where edges carry weights between 0 and 1, and the sum of weights at any vertex is $\le 1$), and then round these weights to 0 or 1 to produce an integral matching.

While maintaining fractional matchings has become relatively efficient, the rounding step has historically served as a massive computational bottleneck. Previous rounding algorithms often suffered from high polynomial dependence on the error parameter $\epsilon$ (typically $\Omega(\epsilon^{-4})$) and significant dependence on the number of vertices $n$. This research addresses this gap, aiming to align the computational update time with the theoretical minimum number of changes required, known as recourse.

Algorithmic Framework

The authors depart from the standard framework of periodically recomputing matchings from scratch. Instead, they introduce several novel techniques to handle updates incrementally:

Hierarchical "Bit-by-Bit" Rounding

The core innovation for bipartite graphs involves treating fractional weights as binary expansions. The algorithm rounds the least-significant bits first, progressively moving toward the most-significant bits. This hierarchical approach ensures that updates at the fractional level do not necessitate a total overhaul of the integral matching.

The degree-split Subroutine

To transition between bit-levels, the authors utilize a degree-split subroutine. This primitive partitions a multigraph into two subgraphs, effectively halving the degrees of all vertices while preserving the approximate value of the matching. This allows the algorithm to maintain structural properties of the matching across different scales of granularity.

Dynamic Coarsening and Partial Rounding

To achieve update times that are sub-logarithmic in $n$, the paper introduces "partial rounding." This technique increases the minimum weight of any edge in the fractional matching, effectively "coarsening" the matching. By reducing the number of bits that need to be processed by the hierarchical algorithm, the dependence on the total number of vertices is significantly diminished.

Output-Adaptive Sampling

For randomized results, the authors developed a new data structure for sampling sets. This structure is designed to remain robust even when an adversary chooses updates based on the algorithm's previous outputs, a common challenge in dynamic randomized algorithms.

Key Results and Complexity Improvements

The paper provides a major speedup for dynamic rounding across several categories:

  1. Deterministic Bipartite Rounding: Achieves an amortized update time of $\tilde{O}(\epsilon^{-1} \log n)$.
  2. Randomized Adaptive Rounding: Achieves $\tilde{O}(\epsilon^{-1} \cdot (\log \log n)^2)$ update time, maintaining robustness against adaptive adversaries.
  3. Output-Adaptive Rounding: Achieves an expected update time of $\tilde{O}(\epsilon^{-1})$, effectively removing the dependence on $n$ for the update step.
  4. General Graphs: The authors provide the first deterministic $O(\text{poly}(\log n, \epsilon^{-1}))$ time algorithm for maintaining $(1/2 - \epsilon)$-approximate matchings (Almost-Maximal Matchings) in general graphs, improving the $\epsilon$ dependence from quartic to cubic.

Discussion and Future Work

A central insight of this work is the use of recourse as a benchmark. The paper demonstrates that update times can be brought very close to the recourse lower bound of $\Omega(\epsilon^{-1})$, suggesting these algorithms are nearly as fast as theoretically possible.

However, limitations remain. The most efficient $(1-\epsilon)$ rounding results are currently limited to bipartite graphs due to the "integrality gap" in general graphs (e.g., a triangle graph where weights of 0.5 yield a fractional value of 1.5 but an integral matching of only 1). In general graphs, the algorithms maintain Almost-Maximal Matchings (AMMs), which serve as $(1/2 - \epsilon)$-approximations.

Future research may focus on the de-randomization of specific subroutines. While this paper brings the field closer to a purely deterministic sub-polynomial time algorithm for $(1-\epsilon)$-approximate decremental matching in general graphs, certain randomized components still require deterministic counterparts to fully close the gap.

Summary updated

BibTeX
@inproceedings{bhattacharya2024near,
  author = {Sayan Bhattacharya and Peter Kiss and Aaron Sidford and David Wajc},
  title = {{Near-Optimal Dynamic Rounding of Fractional Matchings in Bipartite Graphs}},
  booktitle = {STOC},
  year = {2024},
  doi = {10.1145/3618260.3649648},
}
Figure