arXiv:2610.19866cs.DSOct 2026

Manuscript Offprint

arXiv:2610.19866

Optimal Online Stochastic Matching

Paul Duetting, Michal Feldman, Mathieu Molina

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We resolve the problem of unweighted online stochastic matching with a known arrival law by establishing its optimal competitive ratio. For Poisson arrivals, we achieve 1−e/ee≈0.82061 - e/e^e \approx 0.8206, matching the upper bound of Chierichetti, Giacchini, Panconesi, and Vattani [9]. For exactly nn i.i.d. arrivals, we obtain the same guarantee up to an additive O(n−1/2)O(n^{-1/2}) loss.

Our key technical contribution is an exact correspondence between Poisson matching and exponential scheduling, preserving both online performance and the expected offline optimum. To prove the latter, we show that the distribution of the maximum of a random supermodular set function is determined by its joint distributions along chains of nested sets, a result of independent interest. This reduces the analysis to chains, where classical Poisson-exponential duality applies. The offline equivalence extends to arbitrary nonnegative edge weights. We then design a posterior allocation policy for exponential scheduling and use the correspondence to transfer its optimal competitive guarantee to online matching.

Additionally, we show that the optimal competitive ratio under an unknown arrival law is strictly lower than 1−e/ee1 - e/e^{e}, establishing a strict separation between the known and unknown arrival models.

1 Introduction

Online bipartite matching is a fundamental problem in online algorithms. A set of m offline vertices is known in advance, while online vertices arrive sequentially and reveal their neighborhoods. Each arrival must be either rejected or irrevocably matched to an unmatched neighbor. The objective is to maximize the size of the matching. In their seminal work, Karp, Vazirani, and Vazirani [24] introduced the RANKING algorithm and proved that it achieves the optimal competitive ratio of 1−1/e1 - 1/e under adversarial arrivals.

In many applications, the arrival sequence follows a distribution that can be estimated from historical data. This motivates the study of online stochastic matching, in which the arrival distribution is known in advance. Two popular models are: (i) A fixed number of n i.i.d. arrivals drawn from a known distribution, and (ii) Poisson arrivals with known rates. As the expected number of arrivals grows ( n→∞n \to \infty), the offline benchmarks in the two models agree up to vanishing relative error, and online policies for the Poisson model can be transferred to the i.i.d. model with vanishing loss relative to the offline optimum [15, 35].

In a landmark result, Feldman, Mehta, Mirrokni, and Muthukrishnan [12] showed that knowledge of the arrival distribution (specifically the i.i.d. model) makes it possible to achieve a competitive ratio of 0.67 surpassing the adversarial bound of 1−1/e1 - 1/e, while also demonstrating that the optimal competitive ratio remains bounded away from 1.

*Google Research, Zurich, Switzerland. Email: duetting@google.com

†^{\dagger}Tel Aviv University, Tel Aviv, Israel. Email: mfeldman@tauex.tau.ac.il

‡^{\ddagger}Tel Aviv University, Tel Aviv, Israel. Email: mathieu.molina.research@gmail.com

Determining the optimal competitive ratio for online stochastic matching has since been the subject of extensive research. A sequence of algorithmic improvements [2, 29, 21, 15] culminated in the best known guarantee of 0.716, due to Huang, Shu, and Yan [16], established in the Poisson arrival model. In parallel, a series of impossibility results [2, 29] progressively narrowed the range of possible competitive ratios. Most recently, Chierichetti, Giacchini, Panconesi, and Vattani [9] established an upper bound of 1−e/ee≈0.82061 - e/e^e \approx 0.8206, originally for i.i.d. arrivals, but also applicable to the Poisson model. Despite more than a decade of progress, a gap of over 0.1 remained between the best known algorithmic guarantee and the impossibility bound.

In this paper we resolve this longstanding open problem by establishing the optimal competitive ratio for unweighted online stochastic matching. We establish the guarantee in the Poisson arrival model, in which arrivals of each neighborhood S⊆[m]S \subseteq [m] follow an independent Poisson process of known rate λS\lambda_S over the unit time horizon. Let ALG and OPT denote the expected matching sizes of an online algorithm and the optimal offline algorithm, respectively. An online algorithm is c-competitive if ALG≥c⋅OPT\text{ALG} \geq c \cdot \text{OPT} for every instance. We define the optimal competitive ratio as

CR:=inf⁡(λS)S⊂N≥0sup⁡ALGALGOPT,\mathrm{CR}:=\inf_{(\lambda_{S})_{S\subset\mathbb{N}}\geq0}\sup_{\mathrm{ALG}}\frac{\mathrm{ALG}}{\mathrm{OPT}},

where the supremum ranges over online algorithms that know the arrival rates, and the infimum ranges over finite instances with OPT > 0. We construct an online policy whose competitive ratio matches the 1−e/ee1 - e/e^e upper bound of Chierichetti, Giacchini, Panconesi, and Vattani [9].

Theorem 1.1. For Poisson arrivals, we have the tight competitive ratio:

CR=1−eee.\mathrm{CR}=1-\frac{e}{e^{e}}.

This result is information-theoretic, as the algorithm establishing the guarantee is not polynomial-time. For exactly nn i.i.d. arrivals, we obtain a lower bound on the competitive ratio of 1−e/ee−O(1/n)1 - e/e^e - O(1/\sqrt{n}), which is asymptotically optimal.

References (30)