Online Stochastic Matching Barna Saha Vahid Liaghat

advertisement
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.
Download