Online Stochastic Matching Barna Saha Vahid Liaghat Matching? Adword Types: ππ , ππ , ππ , ππ Adwords ππ ππ ππ ππ ππ ππ ππ π π ππ ππ ππ Bidders ππ ππ ππ Matching? π π π = π π ππ = π Adword Types π π π = π π ππ = π Bidders ππ ππ ππ ππ ππ Offline LP Relaxation πππ(π) = max π₯π¦π§ π¦,π§ ∀π¦ π₯π¦π§ ≤ π(π¦) π§ ∀π§ π₯π¦π§ ≤ 1 π¦ Online Matching • Adversarial, Unknown Graph ππ π π ππ ππ ππ ππ ππ ππ ππ Vazirani et al.[1] 1-1/e can’t do better • Random Arrival, Unknown Graph Goel & Mehta[2] 1-1/e can’t do better than 0.83 ππ ππ ππ ππ • i.i.d Model: Known Graph and Arrival Ratios – Integral: Bahmani et al.[3] 0.699 Can’t do better than 0.902 – General: Saberi et al.[4] 0.702 Can’t do better than 0.823 ππ i.i.d. Model πππ(π) = max π₯π¦π§ π¦,π§ ∀π¦ π₯π¦π§ ≤ π(π¦) πΌπ π¦ π§ ∀π§ π₯π¦π§ ≤ 1 π¦ πΌ[π΄πΏπΊ] Competitive Ratio: πΌ[πππ] = ππ¦ ≤ 1 Fractional Matching π= πΉ π β π π Fractional Degree: ππ£ = π~π£ ππ ∀π£ ∈ π ∪ π (Corollary 2.1 [4]) It is possible to efficiently and explicitly construct (and sample from) a distribution π on the set of matchings in πΊ such that for all edges π π π = ππ π∋π Non-Adaptive Algorithm Algorithm 1 - Analysis ≥ 0.684 Adaptive Algorithm - idea • π¦ arrives! • A Joint Distribution from which π§1 and π§2 are chosen. • (i) The probability that π§1 (and π§2 ) is equal to some π§, is equal to π(π¦,π§) . • (ii) Given (i), the joint the distribution is such that the probability of π§1 = π§2 is minimized. Adaptive Algorithm - partitions ππ1 ≥ ππ2 ≥ β― ≥ πππ ≥ πππ+1 Adaptive Algorithm Upper Bounds • For ππ¦ = 1, no online algorithm can do better than 1 − 1/π 2 . • For ππ¦ ≤ 1, no online algorithm can do better than 0.823. • For ππ¦ βͺ 1, no non-adaptive algorithm can do better than 1 − 1/π. Questions? References • [1] R. M. Karp, U. V. Vazirani, and V. V. Vazirani. An optimal algorithm for online bipartite matching. In STOC, pages 352–358. ACM, 1990. • [2] G. Goel and A. Mehta. Online budgeted matching in random input models with applications to adwords. In SODA, pages 982–991, 2008. • [3] B. Bahmani and M. Kapralov. Improved bounds for online stochastic matching. In ESA, pages 170–181, 2010. • [4] V. H. Manshadi, S. Oveis Gharan, A. Saberi. Online Stochastic Matching: Online Actions Based on Offline Statistics. In SODA, 2011.