Follow Your Star: New Frameworks for Online Stochastic Matching with Known and Unknown Patience

Brian Brubach, Nathaniel Grammel, Will Ma, Aravind Srinivasan

Abstract

We study several generalizations of the Online Bipartite Matching problem. We consider settings with stochastic rewards, patience constraints, and weights (both vertex- and edge-weighted variants). We introduce a stochastic variant of the patience-constrained problem, where the patience is chosen randomly according to some known distribution and is not known until the point at which patience has been exhausted. We also consider stochastic arrival settings (i.e., online vertex arrival is determined by a known random process), which are natural settings that are able to beat the hard worst-case bounds of more pessimistic adversarial arrivals. Our approach to online matching utilizes black-box algorithms for matching on star graphs under various models of patience. In support of this, we design algorithms which solve the star graph problem optimally for patience with a constant hazard rate and yield a 1/2-approximation for any patience distribution. This 1/2-approximation also improves existing guarantees for cascade-click models in the product ranking literature, in which a user must be shown a sequence of items with various click-through-rates and the user's patience could run out at any time. We then build a framework which uses these star graph algorithms as black boxes to solve the online matching problems under different arrival settings. We show improved (or first-known) competitive ratios for these problems. Finally, we present negative results that include formalizing the concept of a stochasticity gap for LP upper bounds on these problems, bounding the worst-case performance of some popular greedy approaches, and showing the impossibility of having an adversarial patience in the product ranking setting.

Introduction

Online bipartite matching is a fundamental problem in computer science with direct applications to e-commerce and online advertising. In its classic form, a platform must match arriving "online" users to a fixed set of "offline" items (e.g., ads or products). However, real-world scenarios introduce significant complexities: rewards are often stochastic (a user might not click), and users have limited "patience" (they may leave after viewing a few items). Furthermore, this patience is often unknown to the platform and may follow a random distribution.

This paper addresses these challenges by proposing a unified framework that handles stochastic rewards, unknown patience, and various arrival models (adversarial vs. random).

The Decoupling Framework

The authors' primary contribution is a Decoupling Framework. This approach separates the global challenge of inventory management from the local challenge of individual user interaction.

  1. The Global Allocator: This component manages the inventory of offline items across the entire sequence of arriving customers.
  2. The Star Graph Black Box: This subroutine treats each customer interaction as a "star graph" problem. The customer is the center, connected to available items. The goal is to determine the optimal sequence to "probe" (offer) items to maximize expected reward, given the customer's patience distribution.

By solving the star graph problem approximately, the framework can derive strong competitive ratios for the overall matching problem.

Technical Innovations

To implement this framework, the authors employ several advanced technical tools:

  • Abstract Linear Programming (LP): They utilize an exponential-sized LP where variables represent interaction policies. This allows the framework to remain agnostic to specific customer behaviors.
  • LP Rounding and Simulation: For unknown patience, a new rounding technique is introduced. If a policy selects an item already sold, the algorithm "simulates" the probe to maintain the integrity of the patience distribution.
  • Hazard Rate Analysis: User departure is analyzed through hazard rates—the probability a user leaves after seeing a specific item. This leads to optimal ranking strategies based on reward-to-risk ratios.

Key Insights

  • The Stochasticity Gap: The paper formalizes the "stochasticity gap," explaining why traditional LPs that replace probabilities with fractional weights hit a performance ceiling (approximately 0.544). This clarifies why exceeding the $1-1/e$ (~0.632) threshold is inherently difficult.
  • Patience Hardness: The authors demonstrate that comparing an online algorithm to a "clairvoyant" benchmark (which knows exact patience) results in a competitive ratio of zero. This justifies the use of benchmarks based on known patience distributions.

Results and Competitive Ratios

The paper establishes a comprehensive landscape of competitive ratios, summarized in the table below. Key achievements include a 1/2-approximation for the single-customer problem under arbitrary patience and the first known 0.5-competitive algorithm for vertex-weighted graphs under adversarial arrivals.

Summary of competitive ratios across different arrival models (Adversarial, Non-stationary, Known IID) and weighting schemes.

Conclusion and Future Work

By reducing complex online matching to manageable star graph subroutines, this research provides a robust path forward for stochastic matching problems. Future work remains in addressing item-dependent patience in the cascade-click model and closing the numerical gap between current results and theoretical upper bounds.

Summary updated

BibTeX
@inproceedings{brubach2019follow,
  author = {Brian Brubach and Nathaniel Grammel and Will Ma and Aravind Srinivasan},
  title = {{Follow Your Star: New Frameworks for Online Stochastic Matching with Known and Unknown Patience}},
  booktitle = {Oper. Res},
  year = {2019},
  doi = {10.48550/arxiv.1907.03963},
}
Figure