csc2556 lecture 5 facility location
play

CSC2556 Lecture 5 Facility Location Stable Matching CSC2556 - - PowerPoint PPT Presentation

CSC2556 Lecture 5 Facility Location Stable Matching CSC2556 - Nisarg Shah 1 Facility Location CSC2556 - Nisarg Shah 2 Apprx Mechanism Design 1. Define the problem: agents, outcomes, values 2. Fix an objective function (e.g., maximizing


  1. CSC2556 Lecture 5 Facility Location Stable Matching CSC2556 - Nisarg Shah 1

  2. Facility Location CSC2556 - Nisarg Shah 2

  3. Apprx Mechanism Design 1. Define the problem: agents, outcomes, values 2. Fix an objective function (e.g., maximizing sum of values) 3. Check if the objective function is maximized through a strategyproof mechanism 4. If not, find the strategyproof mechanism that provides the best worst-case approximation ratio of the objective function CSC304 - Nisarg Shah 3

  4. Facility Location β€’ Set of agents 𝑂 β€’ Each agent 𝑗 has a true location 𝑦 𝑗 ∈ ℝ β€’ Mechanism 𝑔 ➒ Takes as input reports ΰ·€ 𝑦 = (ΰ·€ 𝑦 1 , ΰ·€ 𝑦 2 , … , ΰ·€ 𝑦 π‘œ ) ➒ Returns a location 𝑧 ∈ ℝ for the new facility β€’ Cost to agent 𝑗 : 𝑑 𝑗 𝑧 = 𝑧 βˆ’ 𝑦 𝑗 β€’ Social cost 𝐷 𝑧 = Οƒ 𝑗 𝑑 𝑗 𝑧 = Οƒ 𝑗 𝑧 βˆ’ 𝑦 𝑗 CSC2556 - Nisarg Shah 4

  5. Facility Location β€’ Social cost 𝐷 𝑧 = Οƒ 𝑗 𝑑 𝑗 𝑧 = Οƒ 𝑗 𝑧 βˆ’ 𝑦 𝑗 β€’ Q: Ignoring incentives, what choice of 𝑧 would minimize the social cost? β€’ A: The median location med(𝑦 1 , … , 𝑦 π‘œ ) ➒ π‘œ is odd β†’ the unique β€œ (n+1)/2 ” th smallest value ➒ π‘œ is even β†’ β€œ n/2 ” th or β€œ (n/2)+1 ” st smallest value ➒ Why? CSC2556 - Nisarg Shah 5

  6. Facility Location β€’ Social cost 𝐷 𝑧 = Οƒ 𝑗 𝑑 𝑗 𝑧 = Οƒ 𝑗 𝑧 βˆ’ 𝑦 𝑗 β€’ Median is optimal (i.e., 1 -approximation) β€’ What about incentives? ➒ Median is also strategyproof (SP)! ➒ Irrespective of the reports of other agents, agent 𝑗 is best off reporting 𝑦 𝑗 CSC2556 - Nisarg Shah 6

  7. Median is SP No manipulation can help CSC2556 - Nisarg Shah 7

  8. Max Cost β€’ A different objective function 𝐷 𝑧 = max 𝑧 βˆ’ 𝑦 𝑗 𝑗 β€’ Q: Again ignoring incentives, what value of 𝑧 minimizes the maximum cost? β€’ A: The midpoint of the leftmost ( min 𝑦 𝑗 ) and the 𝑗 rightmost ( max 𝑦 𝑗 ) locations 𝑗 β€’ Q: Is this optimal rule strategyproof? β€’ A: No! CSC2556 - Nisarg Shah 8

  9. Max Cost β€’ 𝐷 𝑧 = max 𝑗 𝑧 βˆ’ 𝑦 𝑗 β€’ We want to use a strategyproof mechanism. β€’ Question: What is the approximation ratio of median for maximum cost? 1. ∈ 1,2 2. ∈ 2,3 3. ∈ 3,4 4. ∈ 4, ∞ CSC2556 - Nisarg Shah 9

  10. Max Cost β€’ Answer: 2 -approximation β€’ Other SP mechanisms that are 2 -approximation ➒ Leftmost: Choose the leftmost reported location ➒ Rightmost: Choose the rightmost reported location ➒ Dictatorship: Choose the location reported by agent 1 ➒ … CSC2556 - Nisarg Shah 10

  11. Max Cost β€’ Theorem [Procaccia & Tennenholtz, β€˜ 09] No deterministic SP mechanism has approximation ratio < 2 for maximum cost. β€’ Proof: CSC2556 - Nisarg Shah 11

  12. 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 CSC2556 - Nisarg Shah 12

  13. 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 CSC2556 - Nisarg Shah 13

  14. Max Cost + Randomized β€’ Exercise for you! Try showing that no randomized SP mechanism can achieve approximation ratio < 3/2 . CSC2556 - Nisarg Shah 14

  15. Stable Matching CSC2556 - Nisarg Shah 15

  16. 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 CSC2556 - Nisarg Shah 16

  17. 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 ” ) CSC2556 - Nisarg Shah 17

  18. 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 ≻ ≻ CSC2556 - Nisarg Shah 18

  19. 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? CSC2556 - Nisarg Shah 19

  20. 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 . CSC2556 - Nisarg Shah 20

  21. 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: How about this matching? CSC2556 - Nisarg Shah 21

  22. 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.) CSC2556 - Nisarg Shah 22

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

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

  25. 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 CSC2556 - Nisarg Shah 25

  26. 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. CSC2556 - Nisarg Shah 26

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

  28. 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 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 CSC2556 - Nisarg Shah 28

  29. 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 𝑐𝑓𝑑𝑒(𝑛) . CSC2556 - Nisarg Shah 29

  30. Men-Optimal Stable Matching β€’ Theorem: Every execution of MPDA returns the β€œ men- optimal ” stable matching: every man is matched to his best valid partner. ➒ Surprising that this is a matching. E.g., it means two men cannot have the same best valid partner! β€’ Theorem: Every execution of MPDA produces the β€œ women- pessimal ” stable matching: every woman is matched to her worst valid partner. CSC2556 - Nisarg Shah 30

Recommend


More recommend