Improved Competitive Ratios for Online Bipartite Matching on Degree Bounded Graphs

Yilong Feng, Xiaowei Wu, Shengwei Zhou · OpenReview

TL;DR

This paper tackles the challenge of maximizing matches in online bipartite graphs, particularly in scenarios like online advertising where advertisers (servers) are interested in many ad slots (requests), but each ad slot only appeals to a few advertisers. The authors introduce new randomized algorithms that significantly improve upon existing solutions for both adversarial and stochastic arrival models, achieving better competitive ratios than previously thought possible.

What Problem Does This Paper Address?

The core problem is online bipartite matching, where one set of nodes (servers) is known offline, and the other set (requests) arrives one by one. The algorithm must decide immediately whether to match an incoming request to one of its available neighbors, aiming to maximize the total number of matches. The "competitive ratio" measures how well the online algorithm performs compared to an optimal offline solution.

This paper focuses on a specific type of bipartite graph called "(k, d)-bounded graphs." These graphs model real-world scenarios like online advertising, where offline entities (advertisers) have a high degree (interested in many online entities) and online entities (ad slots) have a low degree (interested in few advertisers). Specifically, each offline vertex (advertiser) has at least $k$ neighbors, and each online vertex (ad slot) has at most $d$ neighbors, with $k \ge d \ge 2$.

Previous work by Naor and Wajc established that deterministic algorithms for this problem achieve a competitive ratio of $1 - (1 - 1/d)^k$, which is optimal for deterministic approaches. However, they posed an open question: could randomized algorithms do better? This paper directly addresses this by developing randomized algorithms that surpass this deterministic bound in the adversarial arrival model and achieve even better results in the stochastic arrival model.

Methods

The paper employs a primal-dual analysis framework, a standard technique in online algorithms. This involves formulating the matching problem as a linear program (LP) and its dual. The algorithms are designed to construct both a primal solution (the matching) and a dual solution simultaneously.

For the adversarial arrival model, the authors introduce a Randomized High-Degree (RHD) algorithm. This algorithm is a randomized version of the deterministic HIGH-DEGREE algorithm. Instead of picking an arbitrary neighbor with the highest degree, RHD picks uniformly at random from the set of neighbors with the highest current degree. The analysis focuses on bounding the increase in the dual objective when a request is matched, distinguishing between "good" and "bad" requests to derive a tighter competitive ratio.

For the stochastic arrival model, where requests arrive according to known probability distributions (specifically, Poisson processes), the paper analyzes and improves upon the Two-Choice algorithm. In Two-Choice, an incoming request is presented with two randomly chosen neighbors. If the first choice is available, it's matched; otherwise, the second choice is considered. The authors show that this algorithm, when adapted to (k, d)-bounded graphs, achieves a significantly better competitive ratio than the simpler RANDOM algorithm.

The paper also extends these concepts to the b-matching problem, where offline vertices can be matched multiple times (up to capacity $b$).

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Randomization Pays Off: The core insight is that randomization can indeed break the optimality barrier of deterministic algorithms for online bipartite matching on (k, d)-bounded graphs. This is demonstrated by achieving strictly better competitive ratios.
  • The Power of "Good" vs. "Bad" Requests: In the adversarial model, a key to improving the competitive ratio lies in analyzing the behavior of "good" requests (those not falling into a specific "bad" scenario where all neighbors have the same degree). By breaking ties randomly, the algorithm ensures a constant fraction of requests are "good," leading to a better overall performance.
  • Two-Choice Algorithm's Strength: In the stochastic setting, the Two-Choice algorithm proves to be more robust than simply picking one random neighbor. By having a backup option, it significantly improves the competitive ratio, especially in (k, d)-bounded graphs.
  • Bridging Theory and Practice: The (k, d)-bounded graph model is directly motivated by online advertising, suggesting that these theoretical improvements have practical implications for optimizing ad allocation systems.

Key Results

  • Adversarial Model: The paper proposes a randomized algorithm (RHD) that achieves a competitive ratio strictly better than the deterministic optimum of $1 - (1 - 1/d)^k$. The new ratio is $1 - (1 - 1/d)^k + \Omega(d^{-4} \cdot e^{-k/d})$.
  • Stochastic Model: For the stochastic arrival model, a randomized algorithm (Two-Choice) achieves a competitive ratio of at least $0.8237$ for all $k > d \ge 2$. This significantly improves upon the $1 - 1/e \approx 0.632$ ratio achievable by simpler randomized algorithms.
  • b-Matching: The paper also provides competitive ratio bounds for the online b-matching problem, showing that the RANDOM algorithm matches the optimal deterministic ratio, and the Two-Choice algorithm offers improvements in the stochastic setting.

Limitations and Future Work

  • Lower Bound Improvement: The authors acknowledge that the lower bound proved for the adversarial model is only "marginally larger" than the deterministic optimum. They suggest that more careful analysis, particularly in bounding the fraction of "good" requests, could lead to better competitive ratios.
  • Stochastic Lower Bound: Similarly, exploring whether a lower bound strictly better than $1 - 1/e$ can be achieved for all $k > d \ge 2$ in the stochastic model is an open question.
  • Generalization: The paper suggests exploring randomized algorithms with competitive ratios strictly better than $c_1(b)$ (the ratio for b-matching) in the adversarial model, and finding upper bounds for randomized algorithms in the stochastic model.
  • Practical Implementation: While the model is motivated by advertising, the paper focuses on theoretical guarantees. Future work could explore the practical performance of these algorithms on real-world advertising data.

Summary updated

BibTeX
@misc{feng2023improved,
  author = {Yilong Feng and Xiaowei Wu and Shengwei Zhou},
  title = {{Improved Competitive Ratios for Online Bipartite Matching on Degree Bounded Graphs}},
  year = {2023},
  eprint = {2306.13387},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.13387},
}
Figure