CSC304 Lecture 14
Mechanism Design w/o Money 2: Stable Matching Gale-Shapley Algorithm
CSC304 - Nisarg Shah 1
CSC304 Lecture 14 Mechanism Design w/o Money 2: Stable Matching - - PowerPoint PPT Presentation
CSC304 Lecture 14 Mechanism Design w/o Money 2: Stable Matching Gale-Shapley Algorithm CSC304 - Nisarg Shah 1 Stable Matching Recap Graph Theory: In graph = (, ) , a matching is a set of edges with no common
CSC304 - Nisarg Shah 1
CSC304 - Nisarg Shah 2
β’ That is, each vertex should have at most one incident
β’ A matching is perfect if no vertex is left unmatched.
1, π 2 such that
1 βͺ π 2 and πΉ β π 1 Γ π 2
CSC304 - Nisarg Shah 3
β’ π 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
CSC304 - Nisarg Shah 4
β’ Our goal was welfare maximization. β’ This was sensitive to the exact numerical values.
β’ Stability is a property of the ranked preference. β’ That is, you can check whether a matching is stable or not
β’ So ranked information suffices.
CSC304 - Nisarg Shah 5
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 6
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 7
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 8
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
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
CSC304 - Nisarg Shah 11
matched.
β’ π₯ β πβs most preferred woman to whom π has not
proposed yet
β’ π proposes to π₯ β’ If π₯ is unengaged:
β’ Else if π₯ prefers π to her current partner πβ²
β’ Else: π₯ rejects π
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 = proposed = engaged = rejected
CSC304 - Nisarg Shah 13
β’ In each iteration, a man proposes to someone to whom
β’ π men, π women β at most π2 proposals
CSC304 - Nisarg Shah 14
β’ Assume (π, π₯) is a blocking pair. β’ Case 1: π never proposed to π₯
CSC304 - Nisarg Shah 15
β’ Assume (π, π₯) is a blocking pair. β’ Case 2: π proposed to π₯
CSC304 - Nisarg Shah 16
β’ Denote the best valid partner of π by πππ‘π’(π).
CSC304 - Nisarg Shah 17
β’ Surprising that this is even a matching. E.g., why canβt two
β’ Every man is simultaneously matched with his best
CSC304 - Nisarg Shah 18
β’ Let π = matching returned by MPDA. β’ π β first man rejected by πππ‘π’ π = π₯ β’ πβ² β the man π₯ preferred more and thus rejected π β’ π₯ is valid for π, so (π, π₯) part of stable matching πβ² β’ π₯β² β woman πβ² is matched to in πβ² β’ Mic drop: πβ² cannot be stable because (πβ², π₯) is a
CSC304 - Nisarg Shah 19
π₯ π πβ²
π₯ π πβ² π₯β²
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 20
β’ Weβll skip the proof of this. β’ Actually, it is group-strategyproof.
CSC304 - Nisarg Shah 21
β’ Just flip the roles of men and women
CSC304 - Nisarg Shah 22
β’ Allow every agent to report a partial ranking β’ If woman π₯ does not include man π in her preference
β’ (π, π₯) is blocking if each prefers the other over their
β’ Just π (or just π₯) can also be blocking if they prefer being
CSC304 - Nisarg Shah 23
β’ 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
β’ Many-to-one matching
β’ Resident-proposing (resp. hospital-proposing) results in
CSC304 - Nisarg Shah 24
β’ No stable matching algorithm exists such that truth-
CSC304 - Nisarg Shah 25
β’ Still one-to-one matching β’ But no partition into men and women
β’ Each of π agents submits a ranking over the other π β 1
β’ A variant of DA can still find a stable matching if it exists. β’ Due to Irving [1985]
CSC304 - Nisarg Shah 26
β’ Markets βunralveledβ, offers came earlier and earlier, quality of
matches decreased
(stable matchings may not exist anymoreβ¦)