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

Online Vertex-Weighted Bipartite Matching: Beating 1-1/e with Random Arrivals

Zhiyi Huang, Zhihao Gavin Tang, Xiaowei Wu, Yuhao Zhang

TL;DR

This paper breaks the long-standing $1 - 1/e$ ($\approx 0.632$) competitive ratio barrier for the online vertex-weighted bipartite matching problem. By assuming online vertices arrive in a random order rather than an adversarial one, the authors achieve a competitive ratio of 0.6534 using a novel two-dimensional randomized primal-dual framework.

What Problem Does This Paper Address?

In online bipartite matching, we have a set of "offline" vertices (known in advance) and "online" vertices that arrive one by one. When an online vertex arrives, we see its connections to the offline set and must immediately decide whether to match it to an available neighbor or leave it unmatched. Decisions are irrevocable.

The authors focus on the vertex-weighted version, where each offline vertex has a specific weight (value), and the goal is to maximize the total weight of matched offline vertices.

For decades, the "speed limit" for these algorithms was $1 - 1/e$. While researchers had previously beaten this limit for unweighted graphs with random arrivals, doing so for weighted graphs remained an open challenge. The difficulty lies in the loss of symmetry: in weighted graphs, an algorithm can't just treat all vertices as equal, making the random arrival order much harder to exploit mathematically.

Methods

The authors build upon the Ranking algorithm and the randomized primal-dual framework.

The Core Innovation: 2D Gain Sharing

Standard analyses of online matching use a one-dimensional "gain sharing" function. When a match $(u, v)$ occurs, the value of the offline vertex $w_v$ is split between the online vertex $u$ and the offline vertex $v$ based solely on a random "rank" assigned to $v$.

This paper introduces a two-dimensional gain sharing function $g(y_v, y_u)$. This function depends on:

  1. $y_v$: The random rank of the offline vertex.
  2. $y_u$: The arrival time (or rank) of the online vertex.

The algorithm interprets this as a dynamic pricing model: as time increases (as $y_u$ grows), offline vertices "offer" a larger portion of their weight to incoming online vertices. Each online vertex then matches with the neighbor providing the highest "offer."

Mathematical Framework

The authors use a specific form for their sharing function: $$g(x, y) = \frac{1}{2}(h(x) + 1 - h(y))$$ where $h(x)$ is a non-decreasing function. This structure allows them to characterize the "worst-case" scenarios and prove that the expected gain for any edge is at least $0.6534 \cdot w_v$.

Datasets

As a theoretical computer science paper, it does not use empirical datasets or training benchmarks. The results are derived through rigorous mathematical proofs and the numerical analysis of systems of differential inequalities.

Key Insights and Ideas

  • Breaking Symmetry: In unweighted matching, online and offline vertices are essentially interchangeable. In the weighted case, they aren't. The authors realized that to exploit random arrivals, the "price" or "offer" of an offline vertex must change over time, not just stay fixed based on its initial rank.
  • Dynamic Offers: The insight that offline vertices should become "cheaper" or offer more of their weight as the arrival process nears its end is what allows the algorithm to beat the $1 - 1/e$ barrier.
  • Primal-Dual Robustness: This is the first time the randomized primal-dual framework—usually used for adversarial arrivals—has been successfully adapted to beat the $1 - 1/e$ limit in a random arrival model. This suggests the framework is more powerful than previously thought.
  • Marginal Ranks: While online vertices don't have a simple "marginal rank" (a threshold below which they are always matched) in the general weighted case, the authors proved that in the worst-case scenario used for the lower bound, they actually do. This simplification was key to completing the proof.

Key Results

  • Competitive Ratio: The paper proves a competitive ratio of 0.6534.
  • Comparison: This is a significant improvement over the previous best-known ratio of $1 - 1/e \approx 0.6321$ for the weighted case.
  • Gap Closure: While it doesn't quite reach the $0.696$ ratio achieved for the unweighted random arrival case, it proves that random arrivals provide a measurable benefit even when vertices have different values.

Limitations and Future Work

  • Tightness of the Bound: The authors note that their numerical results suggest the actual competitive ratio of their framework might be even higher than 0.6534. However, the system of differential inequalities required for a tighter proof is extremely complex.
  • Closing the Gap: There is still a gap between the $0.6534$ (weighted) and $0.696$ (unweighted) results. Future work could investigate if a more sophisticated 2D function could bridge this gap.
  • Edge Weights: This paper deals with vertex weights. Extending these techniques to edge-weighted bipartite matching (where the value depends on the specific pair matched) remains a much harder problem, often limited by the "secretary problem" lower bounds.

Summary updated

BibTeX
@article{huang2019online,
  author = {Zhiyi Huang and Zhihao Gavin Tang and Xiaowei Wu and Yuhao Zhang},
  title = {{Online Vertex-Weighted Bipartite Matching: Beating 1-1/e with Random Arrivals}},
  journal = {ACM Trans. Algorithms},
  year = {2019},
  url = {https://openreview.net/forum?id=odiV9pZAMBsW},
}

Loading related content...

Figure