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

Online Stochastic Matching: New Algorithms and Bounds

Brian Brubach, Karthik Abinav Sankararaman, Aravind Srinivasan, Pan Xu

TL;DR

This paper tackles the challenge of online matching in advertising, where ad impressions arrive sequentially and must be matched to advertisers immediately. The authors introduce novel algorithms that significantly improve the efficiency of matching in stochastic environments, achieving better competitive ratios than previous state-of-the-art methods for both edge-weighted and vertex-weighted scenarios.

What Problem Does This Paper Address?

The core problem is online matching, specifically in the context of internet advertising. Imagine a stream of ad impressions (users) arriving, and a set of advertisers who are interested in certain types of impressions. When an impression arrives, we must decide which advertiser to match it with, and this decision is final. The goal is to maximize the total revenue from these matches. The challenge is that we don't know the future arrivals (impressions) or their characteristics. This paper focuses on "stochastic" models, where arrival patterns are known probabilistically (e.g., based on historical data), making it more realistic than purely adversarial models. The authors aim to improve the "competitive ratio," a measure of how close an online algorithm's performance is to the optimal offline solution (which knows all arrivals in advance). Previous work had established a baseline ratio of $1 - 1/e$ in adversarial settings, but achieving better ratios in more realistic stochastic settings, especially with weighted edges or vertices, remained an open challenge.

Methods

The paper's key innovation lies in a sophisticated approach to leveraging Linear Programming (LP) relaxations and randomized rounding techniques. Here's a breakdown:

  • LP Relaxation and Constraints: They start by formulating an LP to find an optimal fractional solution for the matching problem. Crucially, they introduce additional valid constraints to this LP. These constraints are designed to better control the structure of the fractional solution, making it more amenable to subsequent algorithmic steps.
  • Randomized Rounding with Structure: Instead of standard rounding, they employ a technique called "dependent rounding" (DR[f, k]). This involves transforming the fractional solution $f$ into an integral solution $F$ by essentially "splitting" fractional values into discrete components and then randomly rounding them. The key is that this rounding preserves certain properties of the original fractional solution, particularly at the vertex level.
  • "Power of Two Choices" Enhancement: For edge-weighted matching, they extend the "power of two choices" idea. Instead of just two pre-computed matchings, they construct multiple matchings in a correlated way, reducing the probability of edges being unusable.
  • LP Benchmark and Algorithm Design: The LP solution, after rounding, guides the online algorithm. For vertex-weighted matching, they introduce modifications to the rounded solution to specifically address problematic "worst-case" scenarios identified in prior work, thereby boosting performance.

Datasets

Not discussed in the paper. The paper focuses on theoretical algorithms and analysis, not empirical evaluation on specific datasets.

Key Insights and Ideas

  • Tighter LP Constraints are Key: The paper demonstrates that by adding carefully chosen constraints to the LP relaxation, one can obtain a fractional solution with a more structured form. This structure is then exploited by the rounding and online algorithms to achieve better performance.
  • Controlled Randomness for Better Bounds: The use of dependent rounding, rather than simple random rounding, allows for a more precise analysis of the algorithm's performance. It preserves important properties of the LP solution, leading to stronger theoretical guarantees.
  • Addressing Worst-Case Scenarios: For vertex-weighted matching, the authors identify specific problematic graph structures (cycles) that limit performance. They develop techniques to modify the LP solution to mitigate these worst-case scenarios, leading to improved competitive ratios.
  • Generalizing Stochastic Rewards: The paper extends existing models to include stochastic rewards (edges having a probability of being present), showing that optimal non-adaptive algorithms can achieve a $1 - 1/e$ ratio in this more general setting.

Key Results

The paper presents several improved competitive ratios for online stochastic matching problems:

  • Edge-Weighted Matching: Improved the best-known ratio from 0.667 to 0.705.
  • Vertex-Weighted Matching: Improved the best-known ratio from 0.725 to 0.7299.
  • Unweighted Matching: Achieved a ratio of 0.7299, closing a gap between previous upper and lower bounds.
  • Stochastic Rewards (Non-Integral Arrival Rates): Presented an optimal non-adaptive algorithm with a ratio of $1 - 1/e$.
  • Stochastic Rewards (Integral Arrival Rates, Uniform Probabilities): Showed an algorithm that beats the $1 - 1/e$ barrier by proposing a strengthened LP benchmark.

Limitations and Future Work

  • LP Complexity: While the LP formulation is polynomial-time solvable, the number of constraints can be large. The paper mentions that techniques exist to handle this sparsity efficiently.
  • Adaptive vs. Non-Adaptive: The paper presents algorithms for both adaptive (decisions can depend on past observations) and non-adaptive (decisions made upfront) settings. Future work could explore adaptive strategies for edge-weighted matching.
  • Stochastic Rewards Generalization: While they achieved $1 - 1/e$ for general stochastic rewards, improving this ratio for specific cases (like uniform probabilities) is an active area. The paper notes that a polynomial-sized LP might be insufficient to capture the full complexity of the general stochastic rewards problem.
  • Fractional Solutions: For vertex-weighted matching, the algorithms still rely on fractional solutions of the form $\{0, 1/k, 2/k, \ldots, 1\}$. Exploring algorithms that can handle more general fractional values or different rounding schemes could be beneficial.

Summary updated

BibTeX
@inproceedings{brubach2020online,
  author = {Brian Brubach and Karthik Abinav Sankararaman and Aravind Srinivasan and Pan Xu},
  title = {{Online Stochastic Matching: New Algorithms and Bounds}},
  booktitle = {Algorithmica},
  year = {2020},
  url = {https://openreview.net/forum?id=VoV3Csu0CQH},
}
Figure