Online Stochastic Matching: Beating 1-1/e 2: The Suggested Matching Algorithm Achieves 1 − 1/e with High Probability, and This Is Tight Even in ExpectationResearch Paper
Motivation
Online bipartite matching models decisions that must be made as requests arrive: an advertiser can be assigned to a compatible request once, and an assignment cannot be revised when later requests reveal a better alternative. Display advertising is the motivating example in Feldman, Mehta, Mirrokni, and Muthukrishnan's 2009 preprint: an ad server knows which advertisers accept each kind of impression and has estimates of how frequently those kinds will arrive. The question is how much this advance distributional information helps when decisions still have to be immediate.
This mission studies the paper's first offline-guided algorithm. It computes a maximum matching for the expected traffic and follows that matching during the actual random run. The paper shows that this natural policy reaches the familiar performance level and that its own analysis cannot be improved for this policy, even if performance is averaged over runs. The result sets the baseline for the paper's later two-suggested-matchings algorithm, which improves on that level under its stated assumptions. Feldman et al., §§1 and 4.1
Setting
An instance consists of a finite advertiser set , a finite impression-type set , and allowed edges . For each type , the nonnegative integer is its expected number of arrivals. There are arrivals. Each arrival independently has type with probability . A type with remains in the graph but has zero arrival probability. On an arrival of type , an online algorithm may assign it to an adjacent advertiser that has not been assigned before, or may leave it unassigned. The hindsight optimum, , is the largest matching in the realization graph with one vertex for every arrival position, including separate vertices for repeated types. Feldman et al., §2, pp. 3–4
The suggested matching algorithm first selects any maximum integral flow in the expected-instance network. Each advertiser has capacity one, and each type has capacity . Equivalently, the selected edges form a maximum degree-capped bipartite matching . Let be the advertisers covered by . When type arrives, the algorithm chooses each advertiser joined to by a selected edge with probability ; any remaining probability chooses no advertiser. It assigns the chosen advertiser if available and otherwise makes no assignment. Its number of assignments is . This rule includes the algorithm's random choice in addition to the random arrival types. Feldman et al., §4.1, p. 5
The canonical residual cut of places each advertiser and impression type on the source side if it is reachable from the source by residual edges. Write for advertisers on the sink side and for types on the source side. These sets describe the comparison between the expected-instance matching and the optimum of a realized run. The mission also uses occupancy: after independent uniform throws into bins, count how many bins in a fixed subset receive at least one ball. Feldman et al., §§2.1 and 4.1
Formalization targets
Theorem 4's general-instance guarantee is expressed in the additive form established by its analysis. For every , there are and , uniform across all finite instances, all maximum integral flows, and all valid ways of realizing the algorithm's random choice, such that implies
The complete bipartite family gives the tightness target. When and every , every maximum expected-instance matching is perfect. For every run, , and
The milestone list follows the paper's Fact 1 and the named passages “Bounding ALG,” “Bounding OPT,” and “Tightness of the Analysis” in §4.1. The cut identity is a separate deterministic milestone. Feldman et al., Theorem 4 and §4.1, pp. 5–6
Significance
The result establishes exactly what this one-matching policy achieves under integer-frequency independent arrivals. It gives a guarantee for the actual number of assignments relative to the best assignment made with hindsight, and a family on which the limiting expected ratio equals the guarantee. That tight family explains why the paper introduces a second suggested matching rather than seeking a stronger bound for the same policy. Feldman et al., §4
The mathematical theorem is proved in the paper; the mission asks for its machine-checked formalization. The development would also provide reusable finite models of repeated-type realizations, integral degree-capped bipartite matchings, uniform occupancy, and residual reachability cuts. No machine-checked proof of these mission items is being claimed by this draft.
Difficulty
The expected-instance matching is selected before the arrivals, but the hindsight optimum can exploit the actual multiplicities of every type. Counting only the ads selected online does not compare the algorithm with that hindsight optimum. Also, a type may have several selected advertisers when , so replacing the algorithm's random choice by a deterministic designated ad would change its law. The cut and concentration statements have to apply uniformly to every maximum integral flow, including flows chosen by different tie-breaking rules. Feldman et al., §4.1, pp. 5–6
Formalization scope
Advertisers and types are finite Lean types. The edge relation is a finite set, and and are natural numbers with . An integral maximum flow is represented by a maximum cardinality edge set with advertiser degree at most one and type- degree at most . The theorem quantifies over every such set. This is the unit-advertiser, integer-type-capacity flow used in §4.1, without a separate real-valued flow object. The canonical cut is defined through residual reachability. The hindsight optimum maximizes over matchings of the realized graph, with each arrival position distinct.
The run uses independent uniform draws from . A valid labelling assigns each selected advertiser at type to a distinct copy. The drawn copy determines the type and, if labelled, the ad selected by the algorithm. This gives type probability , conditional ad probability on selected edges, and the remaining “no ad” probability. Counts, probabilities, and expectations use finite sums, so there is no integrability convention. Since , the run sample space is nonempty; no value of at is needed. The complete-graph family has .
The paper writes in both bounding passages. The Lean statements spell this out as instances with , with preceding the instance. Theorem 4's ratio language is represented by the additive estimate its proof yields; a vanishing ratio error requires a separate lower bound on . The exact finite- expectation and its limit make “tight, even in expectation” precise. The printed Fact 1 exponent is , while its Appendix A proof yields ; the formalized concentration statement uses the proved exponent and the milestone retains the printed wording. Neither a ratio with a zero denominator nor a labelling that changes the algorithm's choice law is accepted as a shortcut.
Contributions toward the occupancy bound, the residual cut identity, the realized matching bound, and the complete-graph expectation are welcome. The finite occupancy and matching interfaces are intended for reuse beyond this specific algorithm.
Selected references
- Jon Feldman, Aranyak Mehta, Vahab Mirrokni, and S. Muthukrishnan, Online Stochastic Matching: Beating 1-1/e, arXiv:0905.4100v1, 2009; FOCS 2009. Preprint