CSC304 Lecture 13
Finishing Facility Location: Randomized Left-Right-Middle Mechanism Begin Stable Matching: Gale-Shapley Algorithm
CSC304 - Nisarg Shah 1
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
CSC304 - Nisarg Shah 1
CSC304 - Nisarg Shah 2
CSC304 - Nisarg Shah 3
β’ Median is strategyproof (SP) and optimal (i.e., provides a
1-approximation)
π
β’ Median, Leftmost, Rightmost, Dictatorship, etc are
strategyproof and provide a 2-approximation
β’ No deterministic SP mechanism can provide < 2
approximation
CSC304 - Nisarg Shah 4
β’ Choose min
π
π¦π with probability ΒΌ
β’ Choose max
π
β’ Choose (min
π
π¦π + max
π
π¦π)/2 with probability Β½
(1/4)β2π·+(1/4)β2π·+(1/2)βπ· π·
3 2
CSC304 - Nisarg Shah 5
1/4 1/4 1/2 1/4 1/4 1/2 2π π
CSC304 - Nisarg Shah 6
β’ 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
CSC304 - Nisarg Shah 7
β’ That is, each vertex should have at most one incident
edge
β’ A matching is perfect if no vertex is left unmatched.
1, π 2 such that
1 βͺ π 2 and πΉ β π 1 Γ π 2
CSC304 - Nisarg Shah 8
β’ π men and π women (old school terminology ο)
β’ E.g., Eden might prefer Alice β» Tina β» Maya β’ And Tina might prefer Tony β» Alan β» Eden
β’ 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 9
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 10
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 11
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 12
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 13
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 14
CSC304 - Nisarg Shah 15
β’ π₯ β πβs most preferred woman to whom π has not
proposed yet
β’ π proposes to π₯ β’ If π₯ is unmatched:
β’ Else if π₯ prefers π to her current partner πβ²
β’ Else: π₯ rejects π
CSC304 - Nisarg Shah 16
Albert Diane Emily Fergie Bradley Emily Diane Fergie Charles Diane Emily Fergie Diane Bradley Albert Charles Emily Albert Bradley Charles Fergie Albert Bradley Charles = proposed = engaged = rejected
CSC304 - Nisarg Shah 17
β’ 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
CSC304 - Nisarg Shah 18
β’ Assume (π, π₯) is a blocking pair. β’ Case 1: π never proposed to π₯
CSC304 - Nisarg Shah 19
β’ Assume (π, π₯) is a blocking pair. β’ Case 2: π proposed to π₯
CSC304 - Nisarg Shah 20
β’ Denote the best valid partner of π by πππ‘π’(π).
CSC304 - Nisarg Shah 21
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
pessimal stable matching in which every woman is matched to her worst valid partner.
CSC304 - Nisarg Shah 22
β’ 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 23
π₯ π πβ²
π₯ π πβ² π₯β²
Not yet rejected by a valid partner β hasnβt proposed to π₯β² β prefers π₯ to π₯β² First to be rejected by best valid partner (π₯) Rejects π because prefers πβ² to π Blocking pair
CSC304 - Nisarg Shah 24
β’ Weβll skip the proof of this. β’ Actually, it is group-strategyproof.
CSC304 - Nisarg Shah 25
β’ 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 26
β’ Allow every agent to report a partial ranking β’ If woman π₯ does not include man π in her preference
list, it means she would rather be unmatched than matched with π. And vice versa.
β’ (π, π₯) is blocking if each prefers the other over their
β’ Just π (or just π₯) can also be blocking if they prefer being
unmatched than be matched to their current partner
CSC304 - Nisarg Shah 27
β’ Men β residents (or students) β’ Women β hospitals (or colleges) β’ Each side has a ranked preference over the other side β’ But each hospital (or college) π can accept ππ > 1
residents (or students)
β’ Many-to-one matching
β’ Resident-proposing (resp. hospital-proposing) results in
resident-optimal (resp. hospital-optimal) stable matching
CSC304 - Nisarg Shah 28
β’ No stable matching algorithm exists such that truth-
telling is a weakly dominant strategy for hospitals (or colleges).
CSC304 - Nisarg Shah 29
β’ Still one-to-one matching β’ But no partition into men and women
β’ Each of π agents submits a ranking over the other π β 1
agents
β’ A variant of DA can still find a stable matching if it exists. β’ Due to Irving [1985]
CSC304 - Nisarg Shah 30
β’ Markets βunralveledβ, offers came earlier and earlier, quality of
matches decreased
(stable matchings may not exist anymoreβ¦)