Presentation is loading. Please wait.

Presentation is loading. Please wait.

Sep 29, 2014 Lirong Xia Matching. Report your preferences over papers soon! –deadline this Thursday before the class Drop deadline Oct 17 Catalan independence.

Similar presentations


Presentation on theme: "Sep 29, 2014 Lirong Xia Matching. Report your preferences over papers soon! –deadline this Thursday before the class Drop deadline Oct 17 Catalan independence."— Presentation transcript:

1 Sep 29, 2014 Lirong Xia Matching

2 Report your preferences over papers soon! –deadline this Thursday before the class Drop deadline Oct 17 Catalan independence referendum –Nov 9, 2014 1 News and announcements

3 "for the theory of stable allocations and the practice of market design." 2 Nobel prize in Economics 2013 Alvin E. Roth Lloyd Shapley

4 3 Two-sided one-one matching Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy Applications: student/hospital, National Resident Matching Program

5 Two groups: B and G Preferences: –members in B : full ranking over G ∪ {nobody} –members in G : full ranking over B ∪ {nobody} Outcomes: a matching M: B ∪ G→B ∪ G ∪ {nobody} –M( B ) ⊆ G ∪ {nobody} –M( G ) ⊆ B ∪ {nobody} –[M( a )=M( b )≠nobody] ⇒ [ a = b ] –[M( a )= b ] ⇒ [M( b )= a ] 4 Formal setting

6 5 Example of a matching nobody Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy

7 Does a matching always exist? –apparently yes Which matching is the best? –utilitarian: maximizes “total satisfaction” –egalitarian: maximizes minimum satisfaction –but how to define utility? 6 Good matching?

8 Given a matching M, ( b, g ) is a blocking pair if – g > b M( b ) – b > g M( g ) –ignore the condition for nobody A matching is stable, if there is no blocking pair –no (boy,girl) pair wants to deviate from their currently matches 7 Stable matchings

9 8 Example Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy >>>N : >>>N : >>>N : >>>N : >>>N : > >>>N : > >>>N : >

10 9 A stable matching Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy no link = matched to “nobody”

11 10 An unstable matching Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy Blocking pair: ( ) Stan Wendy

12 Yes: Gale-Shapley’s deferred acceptance algorithm (DA) Men-proposing DA: each girl starts with being matched to “nobody” –each boy proposes to his top-ranked girl (or “nobody”) who has not rejected him before –each girl rejects all but her most-preferred proposal –until no boy can make more proposals In the algorithm –Boys are getting worse –Girls are getting better 11 Does a stable matching always exist?

13 12 Men-proposing DA (on blackboard) Boys Girls Stan Eric Kenny Kelly Rebecca Wendy >>>N : >>>N : >>>N : >>>N : > >>>N : > >>>N : > Kyle >>>N :

14 13 Round 1 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

15 14 Round 2 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody

16 15 Women-proposing DA (on blackboard) Boys Girls Stan Eric Kenny Kelly Rebecca Wendy >>>N : >>>N : >>>N : >>>N : > >>>N : > >>>N : > Kyle >>>N :

17 16 Round 1 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

18 17 Round 2 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

19 18 Round 3 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody

20 19 Women-proposing DA with slightly different preferences Boys Girls Stan Eric Kenny Kelly Rebecca Wendy >>>N : >>>N : >>>N : >>>N : > >>>N : > >>>N : > Kyle >>>N :

21 20 Round 1 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

22 21 Round 2 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

23 22 Round 3 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

24 23 Round 4 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody reject

25 24 Round 5 Boys Girls Stan Eric Kenny Kyle Kelly Rebecca Wendy nobody

26 Can be computed efficiently Outputs a stable matching –The “best” stable matching for boys, called men-optimal matching –and the worst stable matching for girls Strategy-proof for boys 25 Properties of men-proposing DA

27 For each boy b, let g b denote his most favorable girl matched to him in any stable matching A matching is men-optimal if each boy b is matched to g b Seems too strong, but… 26 The men-optimal matching

28 Theorem. The output of men-proposing DA is men- optimal Proof: by contradiction –suppose b is the first boy not matched to g ≠ g b in the execution of DA, –let M be an arbitrary matching where b is matched to g b –Suppose b ’ is the boy whom g b chose to reject b, and M( b’ )= g ’ – g ’ > b ’ g b, which means that g ’ rejected b ’ in a previous round 27 Men-proposing DA is men-optimal b’b’ bg gbgb g’ DA b’b’ bg gbgb g’ M

29 Theorem. Truth-reporting is a dominant strategy for boys in men-proposing DA 28 Strategy-proofness for boys

30 Proof. If (S,W) and (K,R) then If (S,R) and (K,W) then 29 No matching mechanism is strategy-proof and stable Boys Girls Stan Rebecca Wendy > : > : > : Kyle > : Stan > : > N Wendy > : > N

31 Men-proposing deferred acceptance algorithm (DA) –outputs the men-optimal stable matching –runs in polynomial time –strategy-proof on men’s side 30 Recap: two-sided 1-1 matching

32 Indivisible goods: one-sided 1-1 or 1- many matching (papers, apartments, etc.) Divisible goods: cake cutting 31 Next class: Fair division


Download ppt "Sep 29, 2014 Lirong Xia Matching. Report your preferences over papers soon! –deadline this Thursday before the class Drop deadline Oct 17 Catalan independence."

Similar presentations


Ads by Google