Abstract
This paper addresses the Online Stochastic Bipartite Matching problem, a fundamental challenge in online resource allocation and Internet advertising. While the adversarial model is strictly limited by a $1-1/e \approx 0.632$ approximation ratio, the authors demonstrate that leveraging knowledge of the arrival distribution allows for superior performance. We present the Two Suggested Matchings (TSM) algorithm, which utilizes offline pre-computation and a dual-choice online strategy to achieve a 0.6702-approximation ratio, effectively breaking a long-standing theoretical "sound barrier" in online algorithms.
1. Introduction
The Online Bipartite Matching problem is a cornerstone of modern digital economies, most notably in the allocation of Internet display advertisements. In this scenario, an ad server must match a set of fixed advertisers to a stream of incoming impressions (users) in real-time. Each match must be made immediately and irrevocably.
Historically, research has focused on the adversarial model, where the sequence of arrivals is assumed to be worst-case. The seminal Karp-Vazirani-Vazirani algorithm established a $1 - 1/e$ approximation ratio as the optimal bound for this model. However, real-world ad platforms typically possess historical data, allowing them to model incoming traffic as a distribution. This paper operates within the i.i.d. (independent and identically distributed) model, where the distribution of impression types is known in advance. Despite this additional information, standard greedy approaches still fail to exceed the $0.632$ limit. The authors investigate whether this stochastic knowledge can be leveraged to finally surpass the $1 - 1/e$ threshold.
2. The Two Suggested Matchings (TSM) Algorithm
The core innovation of this work is the Two Suggested Matchings (TSM) algorithm. Unlike reactive greedy algorithms, TSM employs an offline pre-computation phase to guide online decision-making through a "power of two choices" framework.
2.1 Offline Pre-computation
- The Expected Graph: The algorithm first constructs an "expected" instance of the bipartite graph. In this graph, edges represent the average frequency with which a specific impression type is expected to appear based on the known distribution.
- Boosted Max Flow: A maximum flow problem is solved on a "boosted" version of this graph, where the capacities of the edges are effectively doubled.
- Decomposition: This resulting flow is decomposed into two edge-disjoint matchings, designated as Blue and Red.
2.2 Online Execution
When a real impression arrives during the online phase, the algorithm follows a prioritized fallback strategy:
- Primary Choice: It first attempts to match the impression to the advertiser suggested by the Blue matching.
- Secondary Choice: If the Blue-suggested advertiser is already matched (at capacity), the algorithm attempts to match the impression to the advertiser suggested by the Red matching.
- Fallback: If both suggested advertisers are unavailable, the impression remains unmatched.
3. Key Insights and Theoretical Analysis
3.1 The Fallback Mechanism
The primary insight of TSM is that a single optimal offline matching is inherently brittle in a stochastic environment. If a specific impression type arrives more frequently than its expected value, a single-matching strategy lacks a "Plan B." By pre-calculating two disjoint matchings, TSM provides a robust fallback that balances the load across advertisers more effectively than greedy self-correction.
3.2 Bounding the Optimal
To prove the 0.6702 ratio, the authors developed a novel bounding technique. They identified a specific statistical "cut" in the graph to upper-bound the performance of an omniscient optimal offline matching, allowing for a rigorous comparison against the TSM algorithm's performance.
4. Results
- Breaking the Barrier: The TSM algorithm achieves a proven approximation ratio of 0.6702, successfully exceeding the $1 - 1/e$ benchmark.
- Tightness of Analysis: The authors demonstrate that their analysis of the 0.67 ratio is tight; specific graph structures exist where the algorithm performs exactly at this bound.
- Hardness Results: The paper establishes an upper bound on performance for any online algorithm in the stochastic model. Using a synthetic "6-cycle" graph (comprising 3 advertisers and 3 impression types), they prove that no algorithm can exceed a 0.96 approximation ($26/27$).
5. Conclusion and Future Work
While TSM represents a significant theoretical breakthrough, several avenues for future research remain. The authors suggest that extending the strategy to $k$ matchings (where $k > 2$) could potentially push the approximation ratio toward 0.75, though the mathematical complexity increases significantly. Additionally, while the current work focuses on integral arrival rates, extending these results to fractional arrival rates and integrating complex business constraints, such as budget smoothing and frequency capping, are vital steps for practical implementation in large-scale ad exchanges.
Summary updated