sep 29, 2014 lirong xia matching. report your preferences over papers soon! –deadline this...

32
Sep 29, 2014 Lirong Xia Matching

Upload: dorothy-ramsey

Post on 19-Jan-2016

217 views

Category:

Documents


1 download

TRANSCRIPT

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

Sep 29, 2014

Lirong Xia

Matching

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

• Report your preferences over papers

soon!

– deadline this Thursday before the class

• Drop deadline Oct 17

• Catalan independence referendum

– Nov 9, 2014

2

News and announcements

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

• "for the theory of stable allocations and

the practice of market design."

3

Nobel prize in Economics 2013

Alvin E. Roth Lloyd Shapley

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

4

Two-sided one-one matching

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

Applications: student/hospital, National Resident Matching Program

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

• 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]5

Formal setting

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

6

Example of a matching

nobody

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

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

• 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?

7

Good matching?

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

• Given a matching M, (b,g) is a blocking pair if

– g>bM(b)

– b>gM(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

8

Stable matchings

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

9

Example

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

> > > N:

> > > N:

> > > N:

> > >N:

> > > N: >

> > > N: >

> > > N: >

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

10

A stable matching

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

no link = matched to “nobody”

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

11

An unstable matching

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

Blocking pair: ( )Stan Wendy

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

• 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

12

Does a stable matching always exist?

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

13

Men-proposing DA (on blackboard)

Boys Girls

Stan

Eric

Kenny Kelly

Rebecca

Wendy

> > > N:

> > > N:

> > >N:

> > > N: >

> > > N: >

> > > N: >

Kyle

> > > N:

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

14

Round 1

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

15

Round 2

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

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

16

Women-proposing DA (on blackboard)

Boys Girls

Stan

Eric

Kenny Kelly

Rebecca

Wendy

> > > N:

> > > N:

> > >N:

> > > N: >

> > > N: >

> > > N: >

Kyle

> > > N:

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

17

Round 1

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

18

Round 2

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

19

Round 3

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

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

20

Women-proposing DA with slightly different

preferencesBoys Girls

Stan

Eric

Kenny Kelly

Rebecca

Wendy

> > > N:

> > > N:

> > >N:

> > > N: >

> > > N: >

> > > N: >

Kyle

> > > N:

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

21

Round 1

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

22

Round 2

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

23

Round 3

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

24

Round 4

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

reject

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

25

Round 5

Boys Girls

Stan

Eric

Kenny

Kyle

Kelly

Rebecca

Wendy

nobody

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

• 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

26

Properties of men-proposing DA

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

• For each boy b, let gb denote his most

favorable girl matched to him in any

stable matching

• A matching is men-optimal if each boy b

is matched to gb

• Seems too strong, but…

27

The men-optimal matching

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

• Theorem. The output of men-proposing DA is men-

optimal

• Proof: by contradiction

– suppose b is the first boy not matched to g≠gb in the execution

of DA,

– let M be an arbitrary matching where b is matched to gb

– Suppose b’ is the boy whom gb chose to reject b, and M(b’)=g’

– g’ >b’ gb, which means that g’ rejected b’ in a previous round

28

Men-proposing DA is men-optimal

b’

b g

gb

g’

DA

b’

b g

gb

g’

M

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

• Theorem. Truth-reporting is a dominant

strategy for boys in men-proposing DA

29

Strategy-proofness for boys

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

• Proof.

• If (S,W) and (K,R) then

• If (S,R) and (K,W) then 30

No matching mechanism is strategy-proof and stable

Boys Girls

Stan

Rebecca

Wendy

>: >:

>:Kyle

>:

Stan

>: >N

Wendy

>: > N

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

• Men-proposing deferred acceptance

algorithm (DA)

– outputs the men-optimal stable matching

– runs in polynomial time

– strategy-proof on men’s side

31

Recap: two-sided 1-1 matching

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

• Indivisible goods: one-sided 1-1 or 1-

many matching (papers, apartments, etc.)

• Divisible goods: cake cutting

32

Next class: Fair division