Abstract
We study generalizations of online bipartite matching in which each arriving vertex (customer) views a ranked list of offline vertices (products) and matches to (purchases) the first one they deem acceptable. The number of products that the customer has patience to view can be stochastic and dependent on the products seen. We develop a framework that views the interaction with each customer as an abstract resource consumption process, and derive new results for these online matching problems under the adversarial, non-stationary, and IID arrival models, assuming we can (approximately) solve the product ranking problem for each single customer. To that end, we show new results for product ranking under two cascade-click models: an optimal algorithm when each item has its own hazard rate for making the customer depart, and a 1/2-approximate algorithm when the customer has a general item-independent patience distribution. We also present a constant-factor 0.027-approximate algorithm in a new model where items are not initially available and arrive over time. Finally, we present three negative results of interest: one formalizing the notion of a stochasticity gap exhibited by existing approaches to this problem, an example showing the analysis of SimpleGreedy in existing work to be tight, and another one for the single-customer problem in which any constant-factor approximation is impossible when compared to a benchmark that knows the realization of the patience in advance.
Introduction
Classical online bipartite matching involves matching an arriving online vertex (customer) to an offline vertex (product) immediately and irrevocably. However, real-world e-commerce platforms face more complex dynamics. First, rewards are often stochastic; showing a product does not guarantee a purchase. Second, customers exhibit limited and often unknown patience, potentially departing after viewing a certain number of items. Third, the order or ranking of product offers significantly influences outcomes.
The central challenge lies in balancing the "star graph" problem—optimizing the interaction with the current customer—against the global objective of managing inventory for future arrivals. This paper addresses these complexities by introducing a framework that decouples single-customer interactions from global inventory management.
Methodology: The Decoupling Framework
The authors propose a decoupling framework that simplifies the global optimization problem into manageable components:
- The Abstract LP: A Linear Program (LP) is formulated where variables represent entire policies for interacting with a single customer. This LP ensures that, in expectation, no product is over-allocated.
- Black Box Subroutine: The framework utilizes a $\kappa$-approximate subroutine to solve the "star graph" problem, which involves optimizing the sequence of offers for an individual customer based on specific patience models.
- Probing and Simulation: Upon a customer's arrival, the algorithm selects a policy from the LP solution. If the policy suggests an item that is out of stock, the algorithm "simulates" the probe. This maintains the correct probability distribution for the customer's patience without making an actual offer, keeping the mathematical model tractable.
Key Insights and Ideas
A significant contribution of this work is the formalization of the stochasticity gap. The authors prove that standard LP relaxations are fundamentally limited, with even offline optimal algorithms unable to exceed a factor of 0.544 against them. This explains the performance ceiling of previous greedy approaches.
By employing policy-based decoupling via an exponential-sized LP, the authors bypass this gap. They demonstrate that this LP can be solved efficiently using techniques like the ellipsoid method or column generation. Furthermore, the paper highlights the hardness of unknown patience, proving that comparing an online algorithm to a "clairvoyant" benchmark (which knows exact patience realizations) results in a competitive ratio of zero. This justifies the use of a "patience-blind" benchmark for comparison.
Key Results
The paper establishes a comprehensive landscape of results across various arrival models and patience constraints, as summarized in Table 1.
Major highlights include:
- Adversarial Arrivals: Achieving a 0.5-competitive ratio for vertex-weighted matching, the first known bound for this combination.
- Known IID Arrivals: Achieving a 0.632 ($1-1/e$) competitive ratio for edge-weighted matching.
- Single-Customer Subroutines: The development of an optimal (1-approx) algorithm for item-dependent hazard rates and a 1/2-approx algorithm for general item-independent patience distributions.
- Dynamic Inventory: A 0.027-approximate algorithm for a novel model where items arrive over time, such as contractors joining a platform.
Conclusion
This work provides a robust framework for online stochastic matching with patience constraints. While some competitive ratios, like the 0.5 for adversarial arrivals, are lower than specialized results that assume "vanishingly small" probabilities, they are significantly more robust across all probability ranges. Future research directions include extending the framework to handle large capacities (multiple copies per item) and improving the approximation ratios for dynamic item-arrival models.
Summary updated