arXiv:2611.03367cs.DSNov 2026

Manuscript Offprint

arXiv:2611.03367

Stochastic Matching with Polynomial Degree

Soheil Behnezhad

Abstract

We study the stochastic matching problem, where a graph GG is known in advance, but each edge survives independently with probability pp. The goal is to select a subgraph HH of small maximum degree before seeing the surviving edges, while preserving a (1−ε)(1-\varepsilon) fraction of the expected maximum matching size. This problem has received significant attention due to its numerous applications in kidney exchange, labor markets, and online dating.

In this paper, we show there is always a subgraph H⊆GH \subseteq G achieving a (1−ε)(1-\varepsilon)-approximation while having a maximum degree of at most

O(log⁡(1/ε)ε4⋅1p).O\left(\frac{\log(1/\varepsilon)}{\varepsilon^4} \cdot \frac{1}{p}\right).

This resolves a major conjecture of the literature, first stated by [BDH, STOC'20], that poly(1εp\frac{1}{\varepsilon p}) degrees suffice. The best previous bound was (1/p)exp⁡((1/ε)log⁡(1/ε))(1/p)^{\exp((1/\varepsilon)\log(1/\varepsilon))} by [ABGR, STOC'25].

The key to this result is a lemma of independent interest that any distribution over the matchings of a stochastic graph can be transformed to another distribution which matches each vertex with exactly the same probability, but exhibits extremely low total pairwise correlation.

*Supported in part by NSF CAREER Award CCF 2442812, a Sloan Fellowship, and a Google Research Award.

1 Introduction

The stochastic matching problem, introduced by Blum et al. [Blum15], is a model for finding large matchings when edge availability is uncertain and must be learned through expensive queries. The problem is motivated by applications in kidney exchange, online labor markets, and online dating. These applications, together with the rich mathematical structure underlying its simple formulation, have led to a flurry of results over the last decade [Blum15, AKL16, AKL17, BR18, AB19, BFHR19, BDFHR19, GKS19, BDH20, BD20, BBD22, FGH22, ABGR25, DS25].

Formally, let G=(V,E)G = (V, E) be a known graph and let GpG_p be an (unknown) random subgraph of GG retaining every edge independently with probability p∈(0,1]p \in (0,1]. An algorithm selects a subgraph H⊆GH \subseteq G, queries its edges, and returns a maximum matching in H∩GpH \cap G_p. Writing μ\mu for maximum matching size, the goal is to choose HH (without knowing the realization GpG_p) such that

E μ(H∩Gp)≥(1−ε) E μ(Gp).(1)\mathbf{E}\,\mu(H \cap G_p) \geq (1-\varepsilon)\,\mathbf{E}\,\mu(G_p). \tag{1}

While simply taking H=GH = G (i.e., querying all edges) clearly satisfies (1), the goal is to keep the maximum degree Δ(H)\Delta(H) of HH, which corresponds to the number of queries per vertex, small.

Previous results. The earlier works [Blum15, AKL16, AKL17, BFHR19, AB19] focused on improving the approximation, initially from close to 1/21/2 and later to 2/32/3, while keeping the maximum degree dependent only on pp. The first work to show a (1−ε)(1-\varepsilon)-approximation is achievable with degree Oε,p(1)O_{\varepsilon,p}(1) was that of Behnezhad, Derakhshan, and Hajiaghayi [BDH20] who achieved so by

Δ(H)≤(1/p)(log⁡(1/p))exp⁡(O(1/ε)).\Delta(H) \leq (1/p)^{(\log(1/p))^{\exp(O(1/\varepsilon))}}.

They further conjectured that the same algorithm should achieve Δ(H)≤poly(1/(εp))\Delta(H) \leq \text{poly}(1/(\varepsilon p)) which has remained a major open problem since. Partial progress was made by [ABGR25] who obtained

Δ(H)≤(1/p)exp⁡((1/ε)log⁡(1/ε)),\Delta(H) \leq (1/p)^{\exp((1/\varepsilon)\log(1/\varepsilon))},

which is poly(1/p)\text{poly}(1/p) for fixed ε\varepsilon, but far from poly(1/(εp))\text{poly}(1/(\varepsilon p)).

Main result. In this paper, we prove that the conjecture of [BDH20] is true.

Result 1 (Formally as Theorem 1). For parameters p∈(0,1],ε∈(0,1)p \in (0,1], \varepsilon \in (0,1), every graph GG has a subgraph HH satisfying (1) while having maximum degree

Δ(H)≤O(log⁡(1/ε)ε4⋅1p).\Delta(H) \leq O\left(\frac{\log(1/\varepsilon)}{\varepsilon^4} \cdot \frac{1}{p}\right).

A few remarks:

  • To prove Result 1, we analyze the sample-and-union algorithm of [BFHR19] (formalized as Algorithm 1) which is also the algorithm analyzed and conjectured to work by [BDH20].

  • In Section A we present a lower bound of Ω(ε−1p−1)\Omega(\varepsilon^{-1}p^{-1}), which shows that the pp-dependency of Result 1 is optimal.

  • The upper bound of Result 1 could be further improved to O(ε−2p−1+ε−3)O(\varepsilon^{-2}p^{-1} + \varepsilon^{-3}) using a slightly different algorithm and a more intricate analysis (still based on Lemma 3.1). The main body of this paper presents the slightly weaker bound of Result 1 for readability and clarity of presentation. We discuss the needed modifications for the improvement in Section B.

References (34)