online matching and adwords
play

Online Matching and Adwords Aranyak Mehta Google - PowerPoint PPT Presentation

Online Matching and Adwords Aranyak Mehta Google Research Mountain View, CA Search Adver=sing (Adwords) Queries Bidding (online) (offline) users


  1. Online ¡Matching ¡and ¡Adwords ¡ ¡ Aranyak ¡Mehta ¡ Google ¡Research ¡ Mountain ¡View, ¡CA ¡

  2. Search ¡Adver=sing ¡(Adwords) ¡

  3. Queries ¡ Bidding ¡ (online) ¡ (offline) ¡ users ¡ adver=sers ¡ Search ¡engine ¡

  4. Queries ¡ Bidding ¡ (online) ¡ (offline) ¡ users ¡ adver=sers ¡ Search ¡engine ¡ Find ¡matching ¡ Score ¡candidates ¡ Run ¡auc3on ¡ candidates ¡

  5. Queries ¡ Bidding ¡ (online) ¡ (offline) ¡ users ¡ adver=sers ¡ Search ¡engine ¡ Find ¡matching ¡ Score ¡candidates ¡ Run ¡auc3on ¡ candidates ¡ • ¡ ¡Adver=ser ¡Budgets ¡ ¡=> ¡Demand ¡Constraint ¡ ¡=> ¡ ¡Matching ¡

  6. Display ¡ads ¡ • ¡Demand ¡is ¡offline ¡ ¡from ¡adver=sers ¡ ¡ ¡ • ¡Targe=ng ¡ • ¡Quan=ty ¡ ¡(“1M ¡ads”) ¡ • ¡ ¡Supply ¡is ¡online ¡ ¡from ¡page ¡views ¡ ¡ ¡

  7. Ad ¡Exchanges ¡ Publisher ¡ Ad ¡Network ¡ Ad ¡Exchange ¡ Publisher ¡ Ad ¡Network ¡ Publisher ¡ Ad ¡Network ¡ … ¡Many ¡other ¡examples ¡from ¡adver=sing ¡and ¡outside. ¡

  8. Theory ¡to ¡Prac=ce ¡ Details ¡of ¡the ¡implementa=on: ¡ • – CTR, ¡CPC, ¡pay-­‑per-­‑click, ¡Second ¡price ¡auc=on, ¡Posi=on ¡Normalizers. ¡ Objec=ve ¡func=ons ¡(in ¡order): ¡ • – User’s ¡u=lity ¡ – Adver=ser ¡ROI ¡ – Short ¡term ¡Revenue ¡/ ¡Long ¡term ¡growth ¡

  9. Online ¡Bipar=te ¡Matching ¡ • ¡ ¡Match ¡upon ¡arrival, ¡ irrevocably ¡ • ¡ ¡Maximize ¡size ¡of ¡the ¡matching ¡ . . . . . . Known ¡in ¡ Arrive ¡ advance ¡ Online ¡

  10. The ¡Core ¡difficulty ¡

  11. The ¡Core ¡difficulty ¡ No ¡determinis3c ¡algorithm ¡ can ¡do ¡be>er ¡than ¡1/2 ¡

  12. The ¡Core ¡difficulty ¡ No ¡determinis3c ¡algorithm ¡ RANDOM ¡is ¡1/2 ¡ can ¡do ¡be>er ¡than ¡1/2 ¡

  13. KVV: ¡Correlated ¡Randomness ¡ [Karp, ¡Vazirani ¡and ¡Vazirani ¡STOC ¡1990] ¡ • ¡ ¡Randomly ¡permute ¡ver=ces ¡in ¡L ¡ • ¡ ¡When ¡a ¡vertex ¡in ¡R ¡arrives: ¡ • ¡ ¡Match ¡it ¡to ¡the ¡highest ¡available ¡neighbor ¡in ¡L ¡ Theorem: ¡ ¡ KVV ¡achieves ¡a ¡factor ¡of ¡1-­‑1/e. ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡This ¡is ¡op=mal. ¡

  14. Analysis ¡of ¡KVV ¡in ¡1 ¡slide ¡ s ¡ v ¡ [Birnbaum, ¡Matheiu] ¡ SIGACT ¡News ¡2008 ¡ u ¡miss ¡@ ¡t ¡ ¡ ¡ ⇒ ¡u* ¡match ¡@ ¡s ¡< ¡t ¡ ¡ u* ¡ ⇒ ¡Factor ¡≥ ¡ ¡1/2 ¡ t ¡ u ¡ . . . . . .

  15. Analysis ¡of ¡KVV ¡in ¡1 ¡slide ¡ s ¡ v ¡ [Birnbaum, ¡Matheiu] ¡ SIGACT ¡News ¡2008 ¡ u ¡miss ¡@ ¡t ¡ ¡ ¡ ⇒ ¡In ¡each ¡of ¡the ¡n ¡permuta=ons ¡ ¡ u* ¡ ¡ ¡ ¡ ¡ ¡ ¡ u* ¡match ¡at ¡s ¡≤ ¡t ¡ t ¡ u ¡ . . . . . .

  16. Analysis ¡of ¡KVV ¡in ¡1 ¡slide ¡ s ¡ v ¡ [Birnbaum, ¡Matheiu] ¡ SIGACT ¡News ¡2008 ¡ u ¡miss ¡@ ¡t ¡ ¡ ¡ ⇒ ¡In ¡each ¡of ¡the ¡n ¡permuta=ons ¡ ¡ u* ¡ ¡ ¡ ¡ ¡ ¡ ¡ u* ¡match ¡at ¡s ¡≤ ¡t ¡ t ¡ u ¡ 1 ⇒ ¡ ¡ ∑ Pr[ miss @ t ] Pr[ match @ s ] ≤ . . n s ≤ t . . ⇒ ¡ ¡Factor ¡ ¡1-­‑1/e ¡ . .

  17. Tight ¡example ¡ R ¡ 1 ¡ L ¡ L ¡ R ¡ 0 ¡

  18. Goal: ¡“Adwords” ¡problem ¡ Budgets ¡ Bids ¡ B 1 ¡ B 2 ¡ • ¡ ¡ bid ¡<< ¡budget ¡ bid iq ¡ B 3 ¡ • ¡ ¡Maximize ¡the ¡sum ¡of ¡budgets ¡spent ¡ B 4 ¡ . . . . . . B N ¡ Known ¡in ¡ Arrive ¡ advance ¡ Online ¡

  19. 4 ¡models ¡of ¡arrival ¡ Adversarial. ¡ Random ¡Order: ¡ ¡ ¡ The ¡set ¡of ¡ver=ces ¡is ¡adversarial, ¡but ¡arrive ¡in ¡a ¡random ¡order. ¡ Unknown ¡Distribu3on: ¡ ¡ ¡ Each ¡vertex ¡is ¡picked ¡iid ¡from ¡some ¡(unknown) ¡ distribu=on. ¡ Known ¡Distribu3on: ¡ ¡ ¡ Each ¡vertex ¡is ¡picked ¡iid ¡from ¡a ¡known ¡distribu=on. ¡ ¡ ¡

  20. Random ¡order ¡/ ¡ ¡ Adversarial ¡Order ¡ Known ¡iid ¡ Unknown ¡iid ¡ Bipar=te ¡Matching ¡ 1-­‑1/e ¡ ¡(op=mal) ¡ Vertex ¡Weighted ¡ Matching ¡ Adwords ¡

  21. Unknown ¡Distribu=on ¡/ ¡Random ¡Order ¡ • ¡GREEDY ¡= ¡ ¡1-­‑1/e ¡ • ¡ ¡KVV ¡ ¡>= ¡1-­‑1/e ¡ ¡ ¡ • ¡ ¡Can ¡we ¡do ¡bemer? ¡ ¡ ¡ ¡ ¡ ¡ ¡How ¡about ¡KVV ¡itself? ¡ . . . . . .

  22. Unknown ¡Distribu=on ¡/ ¡Random ¡Order ¡ • ¡GREEDY ¡= ¡ ¡1-­‑1/e ¡ • ¡ ¡KVV ¡ ¡>= ¡1-­‑1/e ¡ ¡ ¡ • ¡ ¡Can ¡we ¡do ¡bemer? ¡ ¡ ¡ ¡ ¡ ¡ ¡How ¡about ¡KVV ¡itself? ¡ . . Upper ¡triangular ¡example ¡ ¡ . . goes ¡to ¡factor ¡1 ¡! ¡ ¡ . .

  23. KVV ¡in ¡random ¡order ¡ [Karande, ¡Mehta, ¡Tripathi] ¡ STOC ¡2011 ¡ Theorem ¡1: ¡ ¡ ¡KVV ¡has ¡factor ¡0.655 ¡in ¡the ¡Random ¡Order ¡Model ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡[ ¡Computer ¡aided ¡proof: ¡0.667] ¡ Theorem ¡2: ¡ ¡: ¡ ¡If ¡the ¡graph ¡has ¡k ¡disjoint ¡perfect ¡matchings ¡then ¡factor ¡is ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡1 ¡-­‑ ¡ ¡1 ¡/ ¡√k ¡ [Mahdian, ¡Yan] ¡ ¡ STOC ¡2011 ¡ ¡Computer ¡aided ¡proof ¡for ¡0.696 ¡

  24. Bad ¡examples ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡R ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡R ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡L ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡L ¡ 0 ¡ 0 ¡ 0.75 ¡ 0.726 ¡

  25. Random ¡order ¡/ ¡ ¡ Adverserial ¡Order ¡ Known ¡iid ¡ Unknown ¡iid ¡ Bipar=te ¡Matching ¡ 1-­‑1/e ¡ ¡(op=mal) ¡ 0.696 ¡ ¡(0.83) ¡ Vertex ¡Weighted ¡ Matching ¡ Adwords ¡

  26. Known ¡iid ¡input ¡ [Feldman, ¡Mehta, ¡Mirrokni, ¡Muthukrishnan] ¡ FOCS ¡2009 ¡ Ver=ces ¡in ¡R ¡are ¡picked ¡iid ¡ ¡ from ¡the ¡set ¡of ¡types ¡ (with ¡replacement) ¡ . . . . . . Known ¡ Use ¡offline ¡es3mates ¡to ¡guide ¡online ¡decisions? ¡ edges ¡ Known ¡ Known ¡ ver3ces ¡ ¡types ¡

  27. Amempt ¡1 ¡ ¡ ALGORITHM ¡Suggested-­‑Matching: ¡ ¡ ¡ • ¡ ¡Find ¡an ¡op=mal ¡matching ¡in ¡the ¡base ¡graph ¡ • ¡ ¡When ¡the ¡next ¡vertex ¡arrives: ¡ • ¡If ¡the ¡op=mal ¡match ¡is ¡available, ¡use ¡it ¡ . . • ¡ ¡Else ¡don’t ¡match ¡ . . . . Core ¡difficulty: ¡ ¡ ¡Some ¡types ¡will ¡repeat. ¡ You ¡will ¡match ¡only ¡the ¡first ¡of ¡each ¡type. ¡ Op3mal ¡matching ¡in ¡ ¡ ¡ ¡Base ¡Graph ¡ ⇒ ¡ ¡Factor ¡1-­‑1/e ¡

  28. Amempt ¡2: ¡ ¡Power ¡of ¡two ¡choices! ¡ ALGORITHM ¡ ¡Two-­‑Suggested-­‑Matchings ¡(TSM): ¡ Offline: ¡ Find ¡Two ¡disjoint ¡matchings ¡in ¡base ¡graph ¡ Online: ¡ ¡ ¡ ¡ ¡ • ¡Try ¡Red ¡Matching ¡ • ¡If ¡FAIL ¡: ¡Try ¡Blue ¡Matching ¡ . . • ¡If ¡FAIL: ¡ ¡do ¡not ¡match ¡ ¡ ¡ ¡ . . . . ¡ ¡ ¡ ¡Two ¡Matchings ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡in ¡Base ¡Graph ¡

  29. How ¡to ¡get ¡the ¡two ¡matchings? ¡

  30. Performance ¡ • ¡ ¡Theorem: ¡ ¡TSM ¡achieves ¡factor ¡0.67 ¡with ¡high ¡probability ¡ • ¡ ¡Miraculously, ¡this ¡is ¡=ght! ¡ • ¡ ¡No ¡algorithm ¡can ¡get ¡1-­‑ ¡o(1) ¡ Follow-­‑ups: ¡ ¡ [Bahmani ¡Karpalov] ¡(ESA ¡2010): ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ ¡ 0.70 ¡and ¡upper ¡bound ¡of ¡0.90 ¡ [Manshadi, ¡Oweis-­‑Gharan, ¡Saberi] ¡(SODA ¡2011): ¡ ¡ ¡ ¡ 0.70 ¡and ¡upper ¡bound ¡of ¡ ¡0.83 ¡

  31. Random ¡order ¡/ ¡ ¡ Adverserial ¡Order ¡ Known ¡iid ¡ Unknown ¡iid ¡ Bipar=te ¡Matching ¡ 1-­‑1/e ¡ ¡(op=mal) ¡ 0.655 ¡ ¡(0.83) ¡ 0.70 ¡(0.83) ¡ Vertex ¡Weighted ¡ Matching ¡ Adwords ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend