csc304 lecture 13
play

CSC304 Lecture 13 Finishing Facility Location: Randomized - PowerPoint PPT Presentation

CSC304 Lecture 13 Finishing Facility Location: Randomized Left-Right-Middle Mechanism Begin Stable Matching: Gale-Shapley Algorithm CSC304 - Nisarg Shah 1 Recap: Facility Location Set of agents Each agent has a true location


  1. CSC304 Lecture 13 Finishing Facility Location: Randomized Left-Right-Middle Mechanism Begin Stable Matching: Gale-Shapley Algorithm CSC304 - Nisarg Shah 1

  2. Recap: Facility Location β€’ Set of agents 𝑂 β€’ Each agent 𝑗 has a true location 𝑦 𝑗 ∈ ℝ β€’ Mechanism 𝑔 takes as input reported locations ΰ·€ 𝑦 = (ΰ·€ 𝑦 1 , ΰ·€ 𝑦 2 , … , ΰ·€ 𝑦 π‘œ ) , and places the facility at 𝑧 ∈ ℝ β€’ Cost to agent 𝑗 : 𝑑 𝑗 𝑧 = 𝑧 βˆ’ 𝑦 𝑗 CSC304 - Nisarg Shah 2

  3. Recap: Facility Location β€’ Social cost 𝐷 𝑧 = Οƒ 𝑗 𝑑 𝑗 𝑧 = Οƒ 𝑗 𝑧 βˆ’ 𝑦 𝑗 ➒ Median is strategyproof (SP) and optimal (i.e., provides a 1 -approximation) β€’ Maximum cost 𝐷 𝑧 = max |𝑧 βˆ’ 𝑦 𝑗 | 𝑗 ➒ Median, Leftmost, Rightmost, Dictatorship, etc are strategyproof and provide a 2 -approximation ➒ No deterministic SP mechanism can provide < 2 approximation CSC304 - Nisarg Shah 3

  4. Max Cost + Randomized β€’ The Left-Right-Middle (LRM) Mechanism ➒ Choose min 𝑦 𝑗 with probability ΒΌ 𝑗 ➒ Choose max 𝑦 𝑗 with probability ΒΌ 𝑗 ➒ Choose (min 𝑦 𝑗 + max 𝑦 𝑗 )/2 with probability Β½ 𝑗 𝑗 β€’ Question: What is the approximation ratio of LRM for maximum cost? (1/4)βˆ—2𝐷+(1/4)βˆ—2𝐷+(1/2)βˆ—π· 3 β€’ At most = 𝐷 2 CSC304 - Nisarg Shah 4

  5. Max Cost + Randomized β€’ Theorem [Procaccia & Tennenholtz , β€˜09]: The LRM mechanism is strategyproof. β€’ Proof: 1/4 1/2 1/4 2πœ€ πœ€ 1/4 1/2 1/4 CSC304 - Nisarg Shah 5

  6. Max Cost + Randomized β€’ Exercise for you! Try showing that no randomized SP mechanism can achieve approximation ratio < 3/2 β€’ Suggested outline ➒ Consider two agents with 𝑦 1 = 0 and 𝑦 2 = 1 ➒ Show that one of them has expected cost at least Β½ ➒ What happens if that agent moves 1 unit farther from the other agent? CSC304 - Nisarg Shah 6

  7. Stable Matching β€’ Recap Graph Theory: β€’ In graph 𝐻 = (π‘Š, 𝐹) , a matching 𝑁 βŠ† 𝐹 is a set of edges with no common vertices ➒ That is, each vertex should have at most one incident edge ➒ A matching is perfect if no vertex is left unmatched. β€’ 𝐻 is a bipartite graph if there exist π‘Š 1 , π‘Š 2 such that π‘Š = π‘Š 1 βˆͺ π‘Š 2 and 𝐹 βŠ† π‘Š 1 Γ— π‘Š 2 CSC304 - Nisarg Shah 7

  8. Stable Marriage Problem β€’ Bipartite graph, two sides with equal vertices ➒ π‘œ men and π‘œ women (old school terminology  ) β€’ Each man has a ranking over women & vice versa ➒ E.g., Eden might prefer Alice ≻ Tina ≻ Maya ➒ And Tina might prefer Tony ≻ Alan ≻ Eden β€’ Want: a perfect, stable matching ➒ Match each man to a unique woman such that no pair of man 𝑛 and woman π‘₯ prefer each other to their current matches (such a pair is called a β€œblocking pair”) CSC304 - Nisarg Shah 8

  9. Example: Preferences Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles ≻ ≻ CSC304 - Nisarg Shah 9

  10. Example: Matching 1 Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles Question: Is this a stable matching? CSC304 - Nisarg Shah 10

  11. Example: Matching 1 Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles No, Albert and Emily form a blocking pair . CSC304 - Nisarg Shah 11

  12. Example: Matching 2 Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles Question: What about this matching? CSC304 - Nisarg Shah 12

  13. Example: Matching 2 Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles Yes! (Charles and Fergie are unhappy, but helpless.) CSC304 - Nisarg Shah 13

  14. Does a stable matching always exist in the marriage problem? Can we compute it in a strategyproof way? Can we compute it efficiently? CSC304 - Nisarg Shah 14

  15. Gale-Shapley 1962 β€’ Men-Proposing Deferred Acceptance (MPDA): 1. Initially, no one has proposed, no one is matched. 2. While some man 𝑛 is unmatched: ➒ π‘₯ ← 𝑛 ’s most preferred woman to whom 𝑛 has not proposed yet ➒ 𝑛 proposes to π‘₯ ➒ If π‘₯ is unmatched: o 𝑛 and π‘₯ are engaged ➒ Else if π‘₯ prefers 𝑛 to her current partner 𝑛′ o 𝑛 and π‘₯ are engaged, 𝑛′ becomes unengaged ➒ Else: π‘₯ rejects 𝑛 3. Match all engaged pairs. CSC304 - Nisarg Shah 15

  16. Example: MPDA Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles = engaged = proposed = rejected CSC304 - Nisarg Shah 16

  17. Running Time β€’ Theorem: DA terminates in polynomial time (at most π‘œ 2 iterations of the outer loop) β€’ Proof: ➒ In each iteration, a man proposes to someone to whom he has never proposed before. ➒ π‘œ men, π‘œ women β†’ π‘œ Γ— π‘œ possible proposals ➒ Can actually tighten a bit to π‘œ π‘œ βˆ’ 1 + 1 iterations β€’ At termination, it must return a perfect matching. CSC304 - Nisarg Shah 17

  18. Stable Matching β€’ Theorem: DA always returns a stable matching. β€’ Proof by contradiction: ➒ Assume (𝑛, π‘₯) is a blocking pair. ➒ Case 1: 𝑛 never proposed to π‘₯ o GS: 𝑛 cannot be unmatched o/w algorithm would not terminate. o GS: Men propose in the order of preference. o Hence, 𝑛 must be matched with a woman he prefers to π‘₯ o (𝑛, π‘₯) is not a blocking pair CSC304 - Nisarg Shah 18

  19. Stable Matching β€’ Theorem: DA always returns a stable matching. β€’ Proof by contradiction: ➒ Assume (𝑛, π‘₯) is a blocking pair. ➒ Case 2: 𝑛 proposed to π‘₯ o π‘₯ must have rejected 𝑛 at some point o GS: Women only reject to get better partners o π‘₯ must be matched at the end, with a partner she prefers to 𝑛 o (𝑛, π‘₯) is not a blocking pair CSC304 - Nisarg Shah 19

  20. Men-Optimal Stable Matching β€’ The stable matching found by MPDA is special. β€’ Valid partner: For a man 𝑛 , call a woman π‘₯ a valid partner if (𝑛, π‘₯) is in some stable matching. β€’ Best valid partner: For a man 𝑛 , a woman π‘₯ is the best valid partner if she is a valid partner, and 𝑛 prefers her to every other valid partner. ➒ Denote the best valid partner of 𝑛 by 𝑐𝑓𝑑𝑒(𝑛) . CSC304 - Nisarg Shah 20

  21. Men-Optimal Stable Matching β€’ Theorem: Every execution of MPDA returns the men- optimal stable matching in which every man is matched to his best valid partner 𝑐𝑓𝑑𝑒 𝑛 . ➒ Surprising that this is even a matching. E.g., why can’t two men have the same best valid partner? ➒ Every man is simultaneously matched with his best possible partner across all stable matchings β€’ Theorem: Every execution of MPDA produces the women- pessimal stable matching in which every woman is matched to her worst valid partner. CSC304 - Nisarg Shah 21

  22. Men-Optimal Stable Matching β€’ Theorem: Every execution of MPDA returns the men- optimal stable matching. β€’ Proof by contradiction: ➒ Let 𝑇 = matching returned by MPDA. ➒ 𝑛 ← first man rejected by 𝑐𝑓𝑑𝑒 𝑛 = π‘₯ ➒ 𝑛 β€² ← the more preferred man due to which π‘₯ rejected 𝑛 ➒ π‘₯ is valid for 𝑛 , so (𝑛, π‘₯) part of stable matching 𝑇′ ➒ π‘₯β€² ← woman 𝑛′ is matched to in 𝑇′ ➒ We show that 𝑇′ cannot be stable because (𝑛 β€² , π‘₯) is a blocking pair. CSC304 - Nisarg Shah 22

  23. Men-Optimal Stable Matching β€’ Theorem: Every execution of MPDA returns the men- optimal stable matching. β€’ Proof by contradiction: Blocking pair 𝑛′ 𝑛′ Not yet rejected by a valid partner β‡’ X hasn’t proposed to π‘₯β€² 𝑛 π‘₯ 𝑛 π‘₯ β‡’ prefers π‘₯ to π‘₯β€² π‘₯β€² 𝑇 𝑇′ First to be rejected by Rejects 𝑛 because best valid partner ( π‘₯ ) prefers 𝑛′ to 𝑛 CSC304 - Nisarg Shah 23

  24. Strategyproofness β€’ Theorem: MPDA is strategyproof for men, i.e., reporting the true ranking is a weakly dominant strategy for every man. ➒ We’ll skip the proof of this. ➒ Actually, it is group-strategyproof. β€’ But the women might want to misreport. β€’ Theorem: No algorithm for the stable matching problem is strategyproof for both men and women. CSC304 - Nisarg Shah 24

  25. Women-Proposing Version β€’ Women-Proposing Deferred Acceptance (WPDA) ➒ Just flip the roles of men and women ➒ Strategyproof for women, not strategyproof for men ➒ Returns the women-optimal and men-pessimal stable matching CSC304 - Nisarg Shah 25

Recommend


More recommend