Matching and Resource Allocation Lirong Xia Nobel prize in - - PowerPoint PPT Presentation

matching and resource allocation
SMART_READER_LITE
LIVE PREVIEW

Matching and Resource Allocation Lirong Xia Nobel prize in - - PowerPoint PPT Presentation

Matching and Resource Allocation Lirong Xia Nobel prize in Economics 2013 Alvin E. Roth Lloyd Shapley "for the theory of stable allocations and the practice of market design." 1 Two-sided one-one matching Boys Girls Stan


slide-1
SLIDE 1

Lirong Xia

Matching and Resource Allocation

slide-2
SLIDE 2
  • "for the theory of stable allocations and

the practice of market design."

1

Nobel prize in Economics 2013

Alvin E. Roth Lloyd Shapley

slide-3
SLIDE 3

2

Two-sided one-one matching

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

Applications: student/hospital, National Resident Matching Program

slide-4
SLIDE 4
  • 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]

3

Formal setting

slide-5
SLIDE 5

4

Example of a matching

nobody Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

slide-6
SLIDE 6
  • 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?

5

Good matching?

slide-7
SLIDE 7
  • 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

6

Stable matchings

slide-8
SLIDE 8

7

Example

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

> > > N

:

> > > N

:

> > > N

:

> > > N

:

> > > N

:

> > > > N

:

> > > > N

:

>

slide-9
SLIDE 9

8

A stable matching

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

no link = matched to “nobody”

slide-10
SLIDE 10

9

An unstable matching

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

Blocking pair: ( )

Stan Wendy

slide-11
SLIDE 11
  • 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

10

Does a stable matching always exist?

slide-12
SLIDE 12

11

Men-proposing DA (on blackboard)

Boys Girls

Stan Eric Kenny Kelly Rebecca Wendy

> > > N

:

> > > N

:

> > > N

:

> > > N

:

> > > > N

:

> > > > N

:

>

Kyle

> > > N

:

slide-13
SLIDE 13

12

Round 1

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-14
SLIDE 14

13

Round 2

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody

slide-15
SLIDE 15

14

Women-proposing DA (on blackboard)

Boys Girls

Stan Eric Kenny Kelly Rebecca Wendy

> > > N

:

> > > N

:

> > > N

:

> > > N

:

> > > > N

:

> > > > N

:

>

Kyle

> > > N

:

slide-16
SLIDE 16

15

Round 1

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-17
SLIDE 17

16

Round 2

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-18
SLIDE 18

17

Round 3

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody

slide-19
SLIDE 19

18

Women-proposing DA with slightly different preferences

Boys Girls

Stan Eric Kenny Kelly Rebecca Wendy

> > > N

:

> > > N

:

> > > N

:

> > > N

:

> > > > N

:

> > > > N

:

>

Kyle

> > > N

:

slide-20
SLIDE 20

19

Round 1

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-21
SLIDE 21

20

Round 2

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-22
SLIDE 22

21

Round 3

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-23
SLIDE 23

22

Round 4

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody reject

slide-24
SLIDE 24

23

Round 5

Boys Girls

Stan Eric Kenny

Kyle

Kelly Rebecca Wendy

nobody

slide-25
SLIDE 25
  • 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

24

Properties of men-proposing DA

slide-26
SLIDE 26
  • 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…

25

The men-optimal matching

slide-27
SLIDE 27
  • Theorem. The output of men-proposing DA is men-
  • ptimal
  • 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

26

Men-proposing DA is men-optimal

b’ b g gb g’ DA b’ b g gb g’ M

slide-28
SLIDE 28
  • Theorem. Truth-reporting is a dominant

strategy for boys in men-proposing DA

27

Strategy-proofness for boys

slide-29
SLIDE 29
  • Proof.
  • If (S,W) and (K,R) then
  • If (S,R) and (K,W) then

28

No matching mechanism is strategy-proof and stable

Boys Girls

Stan Rebecca Wendy

>

:

>

:

>

:

Kyle

>

:

Stan

>

:

>

N

Wendy

>

:

> N

slide-30
SLIDE 30
  • Men-proposing deferred acceptance

algorithm (DA)

– outputs the men-optimal stable matching – runs in polynomial time – strategy-proof on men’s side

29

Recap: two-sided 1-1 matching

slide-31
SLIDE 31

30

Example

Agents Houses

Stan

Kyle

Eric

slide-32
SLIDE 32
  • Agents A = {1,…,n}
  • Goods G: finite or infinite
  • Preferences: represented by utility functions

– agent j, uj :G→R

  • Outcomes = Allocations

– g : G→A – g -1: A→2G

  • Difference with matching in the last class

– 1-1 vs 1-many – Goods do not have preferences

31

Formal setting

slide-33
SLIDE 33
  • Pareto dominance: an allocation g Pareto

dominates another allocation g’, if

  • all agents are not worse off under g
  • some agents are strictly better off
  • Pareto optimality

– allocations that are not Pareto dominated

  • Maximizes social welfare

– utilitarian – egalitarian

32

Efficiency criteria

slide-34
SLIDE 34
  • Given an allocation g, agent j1 envies agent j2 if

uj1(g -1(j2))>uj1(g -1(j1))

  • An allocation satisfies envy-freeness, if

– no agent envies another agent – c.f. stable matching

  • An allocation satisfies proportionality, if

– for all j, uj (g -1(j)) ≥ uj (G)/n

  • Envy-freeness implies proportionality

– proportionality does not imply envy-freeness

33

Fairness criteria

slide-35
SLIDE 35
  • Consider fairness in other social choice problems

– voting: does not apply – matching: when all agents have the same preferences – auction: satisfied by the 2nd price auction

  • Use the agent-proposing DA in resource allocation

(creating random preferences for the goods)

– stableness is no longer necessary – sometimes not 1-1 – for 1-1 cases, other mechanisms may have better properties

34

Why not…

slide-36
SLIDE 36
  • House allocation

– 1 agent 1 good

  • Housing market

– 1 agent 1 good – each agent originally owns a good

  • 1 agent multiple goods (not discussed)

35

Allocation of indivisible goods

slide-37
SLIDE 37
  • The same as two sided 1-1 matching except

that the houses do not have preferences

  • The serial dictatorship (SD) mechanism

– given an order over the agents, w.l.o.g. a1→…→an – in step j, let agent j choose her favorite good that is still available – can be either centralized or distributed – computation is easy

36

House allocation

slide-38
SLIDE 38
  • Theorem. Serial dictatorships are the only

deterministic mechanisms that satisfy

– strategy-proofness – Pareto optimality – neutrality – non-bossy

  • An agent cannot change the assignment selected by

a mechanism by changing his report without changing his own assigned item

  • Random serial dictatorship

37

Characterization of SD

slide-39
SLIDE 39
  • Agent-proposing DA satisfies

– strategy-proofness – Pareto optimality

  • May fail neutrality
  • How about non-bossy?

– No

  • Agent-proposing DA when all goods have the same preferences

= serial dictatorship

38

Why not agent-proposing DA

Stan

Kyle

: h1>h2 : h1>h2 h1: S>K h2: K>S

slide-40
SLIDE 40
  • Agent j initially owns hj
  • Agents cannot misreport hj, but can misreport

her preferences

  • A mechanism f satisfies participation

– if no agent j prefers hj to her currently assigned item

  • An assignment is in the core

– if no subset of agents can do better by trading the goods that they own in the beginning among themselves – stronger than Pareto-optimality

39

Housing market

slide-41
SLIDE 41

40

Example: core allocation

Stan

Kyle

Eric

: h1>h2>h3, owns h3 : h3>h2>h1, owns h1 : h3>h1>h2, owns h2

Stan

Kyle

Eric

: h2 : h3 : h1 Not in the core

Stan

Kyle

Eric

: h1 : h3 : h2 In the core

slide-42
SLIDE 42
  • Start with: agent j owns hj
  • In each round

– built a graph where there is an edge from each available agent to the owner of her most- preferred house – identify all cycles; in each cycle, let the agent j gets the house of the next agent in the cycle; these will be their final allocation – remove all agents in these cycles

41

The top trading cycles (TTC) mechanism

slide-43
SLIDE 43

42

Example

a1: h2>… a2: h1>… a3: h4>… a4: h5>… a5: h3>… a6: h4>h3>h6>… a7: h4>h5>h6>h3>h8>… a9: h6>h4>h7>h3>h9>… a8: h7>… a1 a2 a3 a4 a5 a6 a7 a8 a9

slide-44
SLIDE 44
  • Theorem. The TTC mechanism

– is strategy-proof – is Pareto optimal – satisfies participation – selects an assignment in the core

  • the core has a unique assignment

– can be computed in O(n2) time

  • Why not using TTC in 1-1 matching?

– not stable

  • Why not using TTC in house allocation (using random initial

allocation)?

– not neutral

43

Properties of TTC

slide-45
SLIDE 45
  • All satisfy

– strategy-proofness – Pareto optimality – easy-to-compute

  • DA

– stableness

  • SD

– neutrality

  • TTC

– chooses the core assignment

44

DA vs SD vs TTC

slide-46
SLIDE 46
  • Each good is characterized by multiple

issues

– e.g. each presentation is characterized by topic and time

  • Paper allocation

– we have used SD to allocate the topic – we will use SD with reverse order for time

  • Potential research project

45

Multi-type resource allocation