The Stochastic Matching Problem: Beating Half with a Non-Adaptive Algorithm

Sepehr Assadi, Sanjeev Khanna, Yang Li

Abstract

In the stochastic matching problem, the existence of edges in a graph is uncertain and only revealed upon testing. The challenge is to select a subgraph with a small maximum degree such that the realized matching within that subgraph is as large as possible. Historically, non-adaptive algorithms—those that must select the subgraph before any edges are tested—have been limited by a 1/2 approximation ratio. This paper breaks this barrier, presenting the first non-adaptive algorithm that achieves an approximation ratio of 0.52, leveraging a novel structural result known as the $b$-matching lemma.

Introduction

Many modern matching problems are characterized by uncertainty. In scenarios ranging from online labor markets to organ donation, a potential connection (an edge) between two nodes is only a possibility until it is verified. This is the essence of the stochastic matching problem. We are given a graph $G = (V, E)$ where each edge $e \in E$ exists independently with a known probability $p$. The objective is to identify a subgraph $H$ with a maximum degree bounded by a function of $p$ such that the expected size of the maximum matching in the realized edges of $H$ is maximized relative to the expected maximum matching in the realized edges of $G$.

A critical constraint in this domain is the non-adaptive nature of the selection. The algorithm must commit to the subgraph $H$ upfront, without the benefit of knowing which edges will eventually be realized. This problem is heavily motivated by kidney exchange programs, where patients and donors are matched based on medical records, but a transplant can only proceed if a final, expensive cross-match test is successful. Because these tests are costly and time-consuming, hospitals must limit the number of tests per person (the degree bound) while attempting to maximize the number of successful transplants.

The 1/2 Barrier

In matching theory, the ratio of 1/2 is a notorious "greedy" limit. For many stochastic and online problems, simple greedy approaches naturally achieve a 1/2 approximation, but surpassing this threshold often requires significant structural insights or adaptivity. Prior to this work, it was unknown whether a non-adaptive algorithm could ever strictly exceed a 1/2 approximation for general graphs. This paper answers that question in the affirmative, demonstrating that $1/2$ is not a fundamental limit for non-adaptive stochastic matching.

Methodology

The $b$-matching Lemma

The theoretical foundation of this work is the $b$-matching lemma. The authors prove a key structural property: if a graph $G$ has an expected maximum matching of size $OPT$, it must contain a $b$-matching (a subgraph where each vertex has a degree at most $b$) of size approximately $b \cdot OPT$, where $b = 1/p$. This lemma ensures that there is a sufficiently "dense" pool of edges available to form the basis of an improved matching.

Algorithmic Framework

The authors propose two primary strategies depending on the value of the realization probability $p$:

  1. Small $p$ Regime: The algorithm first identifies a maximum $1/p$-matching $B$. It then removes these edges from the graph and executes a "MatchingCover" subroutine—repeatedly selecting maximum matchings—on the remaining edges. The final subgraph $H$ is the union of these sets.
  2. Large $p$ Regime: When $p$ is not vanishingly small, the algorithm selects a single maximum matching and supplements it with a "MatchingCover" to provide redundancy.

Analysis: Augmenting Paths in the Dark

The core difficulty in beating 1/2 non-adaptively is that the algorithm cannot "see" augmenting paths. To overcome this, the authors prove that by selecting the specific dense subgraph identified by the $b$-matching lemma, they effectively "trap" a significant number of potential length-three augmenting paths. Using a non-linear minimization program, the analysis demonstrates that these paths are statistically guaranteed to be realized in sufficient numbers to push the total matching size above the 1/2 threshold.

Key Results

The paper provides rigorous mathematical proofs for general graphs, yielding the following results:

  • Breaking the Barrier: The proposed algorithm achieves an approximation ratio of 0.52 when $p$ is a sufficiently small constant.
  • General Guarantee: For any probability $p \in (0, 1)$, the algorithm achieves a ratio of $0.5 + \delta_0$ for a strictly positive constant $\delta_0$.
  • Optimal Degree Bounds: The algorithm maintains a degree bound of $O(\frac{\log(1/p)}{p})$. This is essentially optimal; if a vertex has a degree significantly lower than $1/p$, the probability of even a single incident edge being realized becomes negligible.

Discussion and Future Work

While this work successfully breaks the 1/2 barrier, several questions remain. The constant $\delta_0$ proven in the paper is relatively small (approximately 0.001 in general contexts), suggesting that the 0.52 ratio might be significantly improved with more refined analysis.

Furthermore, the quest for a Polynomial Time Approximation Scheme (PTAS)—an algorithm achieving a $(1 - \epsilon)$ approximation—remains open. The authors suggest that certain graph structures, such as Ruzsa-Szemerédi graphs, might present a fundamental barrier to achieving a $(1 - \epsilon)$ ratio non-adaptively. Finally, while the algorithm is polynomial-time, the computational overhead of finding maximum $b$-matchings in massive graphs presents a practical challenge for future implementation in real-time exchange systems.

Summary updated

BibTeX
@inproceedings{assadi2017stochastic,
  author = {Sepehr Assadi and Sanjeev Khanna and Yang Li},
  title = {{The Stochastic Matching Problem: Beating Half with a Non-Adaptive Algorithm}},
  booktitle = {EC},
  year = {2017},
  doi = {10.1145/3033274.3085146},
}
Figure