Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory...

52
Game Theory 19. Mechanisms without Money Albert-Ludwigs-Universität Freiburg Bernhard Nebel, Robert Mattmüller, Stefan Wölfl, Christian Becker-Asano Research Group Foundations of Artificial Intelligence July 15, 2013

Transcript of Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory...

Page 1: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Game Theory19. Mechanisms without Money

Albert-Ludwigs-Universität Freiburg

Bernhard Nebel, Robert Mattmüller,Stefan Wölfl, Christian Becker-AsanoResearch Group Foundations of Artificial IntelligenceJuly 15, 2013

Page 2: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchings

Summary

Course Evaluation

Course evaluation:

It’s really time for the course evaluation once again!Seehttp://www.informatik.uni-freiburg.de/~welte/lehrevaluation/ss2013/webseite_links.html

Please complete the evaluation by July 17th, so we candiscuss it on July 18th.Separate evaluations for different lecturers unfortunatelynot possible fill in form for Prof. Nebel.

July 15, 2013 BN, RM, SW, CBA – Game Theory 2 / 30

Page 3: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchings

SummaryMotivation

July 15, 2013 BN, RM, SW, CBA – Game Theory 3 / 30

Page 4: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchings

Summary

Mechanisms without Money

Motivation 1:According to Gibbard-Satterthwaite:in general, nontrivial social choice functions manipulableOne way out: Introduction of money(cf. VCG mechanisms, Chapter 17)Other way out: Restriction of preferences (this chapter)

Motivation 2:Introduction of central concept from cooperative gametheory: the core

Examples:House allocation problemStable matchings

July 15, 2013 BN, RM, SW, CBA – Game Theory 4 / 30

Page 5: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

July 15, 2013 BN, RM, SW, CBA – Game Theory 5 / 30

Page 6: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

Players N = {1, . . . ,n}.Each player i owns house i.Each player i has strict linear preference order Ci overthe set of houses.Example: jCi k means player i prefers house k to house j.Alternatives A: allocations of houses to players(permutations π ∈ Sn of N).Example: π(i) = j means player i gets house j.Objective: reallocate the houses among the agents“appropriately”.

July 15, 2013 BN, RM, SW, CBA – Game Theory 6 / 30

Page 7: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

Note on preference relations:Arbitrary (strict linear) preference orders Ci over houses,but no arbitrary preference orders �i over A.

Rather: Player i indifferent between different allocationsπ1 and π2 as long as π1(i) = π2(i).Indifference denoted as π1 ≈i π2.If player i is not indifferent: π1 ≺i π2 iff π1(i)Ci π2(i).Notation: π1 �i π2 iff π1 ≺i π2 or π1 ≈i π2.This makes Gibbard-Satterthwaite inapplicable.

July 15, 2013 BN, RM, SW, CBA – Game Theory 7 / 30

Page 8: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

Important new aspect of house allocation problem:players control resources to be allocated.Allocation can be subverted by subset of agents breakingaway and trading among themselves.How to avoid such allocations?How to make allocation mechanism non-manipulable?

July 15, 2013 BN, RM, SW, CBA – Game Theory 8 / 30

Page 9: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

Notation: For M ⊆ N , let

A(M) = {π ∈ A |∀i ∈M : π(i) ∈M}

be the set of allocations that can be achieved by the agents inM trading among themselves.

Definition (blocking coalition)Let π ∈ A be an allocation. A set M ⊆ N is called a blockingcoalition for π if there exists a π ′ ∈ A(M) such that

π �i π ′ for all i ∈M andπ ≺i π ′ for at least one i ∈M.

July 15, 2013 BN, RM, SW, CBA – Game Theory 9 / 30

Page 10: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

House Allocation Problem

Intuition:A blocking coalition can receive houses everyone from thecoalition likes at least as much as under allocation π , with atleast one player being strictly better off, by trading amongthemselves.

Definition (core)The set of allocations that is not blocked by any subset ofagents is called the core.

Question: Is the core nonempty?

July 15, 2013 BN, RM, SW, CBA – Game Theory 10 / 30

Page 11: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Algorithm to construct allocationLet G = 〈V ,A,c〉 be an arc-colored directed graph where:

V = N (i.e., one vertex for each player),A = V ×V , andc : A→ N such that c(i, j) = k if house j is player i’s kthranked choice according to Ci.

Note: Loops (i, i) are allowed. We treat them as cycles oflength 0.

July 15, 2013 BN, RM, SW, CBA – Game Theory 11 / 30

Page 12: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Pseudocode:

let π(i) = i for all i ∈ N .while players unaccounted for do

consider subgraph G′ of G where each vertex hasonly one outgoing arc: the least-colored one from G.

identify cycles in G′.add corresponding cyclic permutations to π .delete players accounted for and incident edges from G.

end whileoutput π .

Notation:Let Ni be the set of vertices on cycles identified in iteration i.

July 15, 2013 BN, RM, SW, CBA – Game Theory 12 / 30

Page 13: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 14: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 15: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 16: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 17: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 18: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 19: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Example:

Player 1: 3C1 1C1 4C1 2Player 2: 4C2 2C2 3C2 1Player 3: 3C3 4C3 2C3 1Player 4: 1C4 4C4 2C4 3

Corresponding graph:

1 2

3 4

Iteration 1: π(1) = 2, π(2) = 1.Iteration 2: π(3) = 4, π(4) = 3.Done: π(1) = 2, π(2) = 1, π(3) = 4, π(4) = 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 13 / 30

Page 20: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

TheoremThe core of the house allocation problem consists of exactlyone matching.

Proof sketchAt least one matching: Show that if a matching is in the core, itmust be the one returned by the TTCA.

In TTCA, each player in N1 receives his favorite house.

Therefore, N1 would form a blocking coalition to any allocationthat does not assign to all of those players the houses theywould receive in TTCA.

. . .

July 15, 2013 BN, RM, SW, CBA – Game Theory 14 / 30

Page 21: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

TheoremThe core of the house allocation problem consists of exactlyone matching.

Proof sketchAt least one matching: Show that if a matching is in the core, itmust be the one returned by the TTCA.

In TTCA, each player in N1 receives his favorite house.

Therefore, N1 would form a blocking coalition to any allocationthat does not assign to all of those players the houses theywould receive in TTCA.

. . .

July 15, 2013 BN, RM, SW, CBA – Game Theory 14 / 30

Page 22: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

TheoremThe core of the house allocation problem consists of exactlyone matching.

Proof sketchAt least one matching: Show that if a matching is in the core, itmust be the one returned by the TTCA.

In TTCA, each player in N1 receives his favorite house.

Therefore, N1 would form a blocking coalition to any allocationthat does not assign to all of those players the houses theywould receive in TTCA.

. . .

July 15, 2013 BN, RM, SW, CBA – Game Theory 14 / 30

Page 23: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Proof sketch (ctd.)That is, any core allocation must assign N1 to houses as TTCAassigns them.

Argument can be extended inductively to Nk, 2≤ k ≤ n.

At most one matching: Show that TTCA allocation is in thecore, i.e., that there is no other blocking coalition M ⊆ N .Homework.

July 15, 2013 BN, RM, SW, CBA – Game Theory 15 / 30

Page 24: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Proof sketch (ctd.)That is, any core allocation must assign N1 to houses as TTCAassigns them.

Argument can be extended inductively to Nk, 2≤ k ≤ n.

At most one matching: Show that TTCA allocation is in thecore, i.e., that there is no other blocking coalition M ⊆ N .Homework.

July 15, 2013 BN, RM, SW, CBA – Game Theory 15 / 30

Page 25: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Algorithm (TTCA)

Proof sketch (ctd.)That is, any core allocation must assign N1 to houses as TTCAassigns them.

Argument can be extended inductively to Nk, 2≤ k ≤ n.

At most one matching: Show that TTCA allocation is in thecore, i.e., that there is no other blocking coalition M ⊆ N .Homework.

July 15, 2013 BN, RM, SW, CBA – Game Theory 15 / 30

Page 26: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblemDefinitions

Top Trading CycleAlgorithm

StableMatchings

Summary

Top Trading Cycle Mechanism (TTCM)

Question: What about manipulability?

Definition (top trading cycle mechanism)The top trading cycle mechanism (TTCM) is the function that,for each profile of preferences, returns the allocation computedby the TTCA.

TheoremThe TTCM cannot be manipulated.

ProofHomework.

July 15, 2013 BN, RM, SW, CBA – Game Theory 16 / 30

Page 27: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

July 15, 2013 BN, RM, SW, CBA – Game Theory 17 / 30

Page 28: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Problem statement:

Given disjoint finite sets M of men and W of women.Assume WLOG that |M|= |W |(introduce dummy-men/dummy-women).Each m ∈M has strict preference ordering ≺m over W .Each w ∈W has strict preference ordering ≺w over M.Matching: “appropriate” assignment of men to womensuch that each man is assigned to at most one womanand vice versa.

July 15, 2013 BN, RM, SW, CBA – Game Theory 18 / 30

Page 29: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Note: A group of players can subvert a matching by opting out.

Definition (stability, blocking pair)A matching is called unstable if there are two men m, m′ andtwo women w, w′ such that

m is matched to w,m′ is matched to w′, andw≺m w′ and m′ ≺w′ m.

The pair 〈m,w′〉 is called a blocking pair.A matching that has no blocking pairs is called stable.

Definition (core)The core of the matching game is the set of all stablematchings.July 15, 2013 BN, RM, SW, CBA – Game Theory 19 / 30

Page 30: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Example:

Man 1: w3 ≺m1 w1 ≺m1 w2

Man 2: w2 ≺m2 w3 ≺m2 w1

Man 3: w3 ≺m3 w2 ≺m3 w1

Woman 1: m2 ≺w1 m3 ≺w1 m1

Woman 2: m2 ≺w2 m1 ≺w2 m3

Woman 3: m2 ≺w3 m3 ≺w3 m1

Two matchings:Matching {〈m1,w1〉,〈m2,w2〉,〈m3,w3〉}

unstable (〈m1,w2〉 is a blocking pair)Matching {〈m1,w1〉,〈m3,w2〉,〈m2,w3〉}

stable

July 15, 2013 BN, RM, SW, CBA – Game Theory 20 / 30

Page 31: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Example:

Man 1: w3 ≺m1 w1 ≺m1 w2

Man 2: w2 ≺m2 w3 ≺m2 w1

Man 3: w3 ≺m3 w2 ≺m3 w1

Woman 1: m2 ≺w1 m3 ≺w1 m1

Woman 2: m2 ≺w2 m1 ≺w2 m3

Woman 3: m2 ≺w3 m3 ≺w3 m1

Two matchings:Matching {〈m1,w1〉,〈m2,w2〉,〈m3,w3〉}

unstable (〈m1,w2〉 is a blocking pair)Matching {〈m1,w1〉,〈m3,w2〉,〈m2,w3〉}

stable

July 15, 2013 BN, RM, SW, CBA – Game Theory 20 / 30

Page 32: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Example:

Man 1: w3 ≺m1 w1 ≺m1 w2

Man 2: w2 ≺m2 w3 ≺m2 w1

Man 3: w3 ≺m3 w2 ≺m3 w1

Woman 1: m2 ≺w1 m3 ≺w1 m1

Woman 2: m2 ≺w2 m1 ≺w2 m3

Woman 3: m2 ≺w3 m3 ≺w3 m1

Two matchings:Matching {〈m1,w1〉,〈m2,w2〉,〈m3,w3〉}

unstable (〈m1,w2〉 is a blocking pair)Matching {〈m1,w1〉,〈m3,w2〉,〈m2,w3〉}

stable

July 15, 2013 BN, RM, SW, CBA – Game Theory 20 / 30

Page 33: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Example:

Man 1: w3 ≺m1 w1 ≺m1 w2

Man 2: w2 ≺m2 w3 ≺m2 w1

Man 3: w3 ≺m3 w2 ≺m3 w1

Woman 1: m2 ≺w1 m3 ≺w1 m1

Woman 2: m2 ≺w2 m1 ≺w2 m3

Woman 3: m2 ≺w3 m3 ≺w3 m1

Two matchings:Matching {〈m1,w1〉,〈m2,w2〉,〈m3,w3〉}

unstable (〈m1,w2〉 is a blocking pair)Matching {〈m1,w1〉,〈m3,w2〉,〈m2,w3〉}

stable

July 15, 2013 BN, RM, SW, CBA – Game Theory 20 / 30

Page 34: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Stable Matchings

Question: Is there always a stable matching?

Answer: Yes! And it can even be efficiently constructed.

How? Deferred acceptance algorithm!

July 15, 2013 BN, RM, SW, CBA – Game Theory 21 / 30

Page 35: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Definition (deferred acceptance algorithm, maleproposals)

1 Each man proposes to his top-ranked choice.2 Each woman who has received at least two proposals

tentatively keeps top-ranked proposal and rejects rest.3 Each man who has been rejected proposes to his

top-ranked choice among the women who have notrejected him.

4 Each woman who has at least two proposals (includingones from previous rounds) keeps top-ranked proposaland rejects rest.

5 If no man has a woman to propose to or each woman hasat most one proposal, stop. Else, goto 3.

July 15, 2013 BN, RM, SW, CBA – Game Theory 22 / 30

Page 36: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Note:Algorithm terminates after at most 2|W | steps and eachman is assigned to a woman who has not rejected hisproposal.No man is assigned to more than one woman.No woman is assigned to more than one man. matching

July 15, 2013 BN, RM, SW, CBA – Game Theory 23 / 30

Page 37: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.

July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 38: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.

July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 39: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.

July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 40: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.

July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 41: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.

July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 42: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Example:Man 1: w3 ≺m1 w1 ≺m1 w2Man 2: w2 ≺m2 w3 ≺m2 w1Man 3: w3 ≺m3 w2 ≺m3 w1Woman 1: m2 ≺w1 m3 ≺w1 m1Woman 2: m2 ≺w2 m1 ≺w2 m3Woman 3: m2 ≺w3 m3 ≺w3 m1

Deferred acceptance algorithm:1 m1 proposes to w2, m2 to w1, and m3 to w1.2 w1 keeps m3 and rejects m2, w2 keeps m1.3 m2 now proposes to w3.4 w3 keeps m2.

Resulting matching: {〈m1,w2〉,〈m2,w3〉,〈m3,w1〉}.July 15, 2013 BN, RM, SW, CBA – Game Theory 24 / 30

Page 43: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

TheoremThe deferred acceptance algorithm with male proposalsterminates in a stable matching.

ProofSuppose not.

Then there exists a blocking pair 〈m1,w1〉 with m1 matched tosome w2 and w1 matched to some m2.

Since 〈m1,w1〉 is blocking and w2 ≺m1 w1, in the proposalalgorithm, m1 would have proposed to w1 before w2.

Since m1 was not matched with w1 by the algorithm, it must bebecause w1 received a proposal from a man she ranked higherthan m1. . . .July 15, 2013 BN, RM, SW, CBA – Game Theory 25 / 30

Page 44: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

TheoremThe deferred acceptance algorithm with male proposalsterminates in a stable matching.

ProofSuppose not.

Then there exists a blocking pair 〈m1,w1〉 with m1 matched tosome w2 and w1 matched to some m2.

Since 〈m1,w1〉 is blocking and w2 ≺m1 w1, in the proposalalgorithm, m1 would have proposed to w1 before w2.

Since m1 was not matched with w1 by the algorithm, it must bebecause w1 received a proposal from a man she ranked higherthan m1. . . .July 15, 2013 BN, RM, SW, CBA – Game Theory 25 / 30

Page 45: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

TheoremThe deferred acceptance algorithm with male proposalsterminates in a stable matching.

ProofSuppose not.

Then there exists a blocking pair 〈m1,w1〉 with m1 matched tosome w2 and w1 matched to some m2.

Since 〈m1,w1〉 is blocking and w2 ≺m1 w1, in the proposalalgorithm, m1 would have proposed to w1 before w2.

Since m1 was not matched with w1 by the algorithm, it must bebecause w1 received a proposal from a man she ranked higherthan m1. . . .July 15, 2013 BN, RM, SW, CBA – Game Theory 25 / 30

Page 46: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

TheoremThe deferred acceptance algorithm with male proposalsterminates in a stable matching.

ProofSuppose not.

Then there exists a blocking pair 〈m1,w1〉 with m1 matched tosome w2 and w1 matched to some m2.

Since 〈m1,w1〉 is blocking and w2 ≺m1 w1, in the proposalalgorithm, m1 would have proposed to w1 before w2.

Since m1 was not matched with w1 by the algorithm, it must bebecause w1 received a proposal from a man she ranked higherthan m1. . . .July 15, 2013 BN, RM, SW, CBA – Game Theory 25 / 30

Page 47: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Proof (ctd.)Since the algorithm matches her to m2 it follows thatm1 ≺w1 m2.

This contradicts the fact that 〈m1,w1〉 is a blocking pair.

Analogous version where the women propose: outcome wouldalso be a stable matching.

July 15, 2013 BN, RM, SW, CBA – Game Theory 26 / 30

Page 48: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Proof (ctd.)Since the algorithm matches her to m2 it follows thatm1 ≺w1 m2.

This contradicts the fact that 〈m1,w1〉 is a blocking pair.

Analogous version where the women propose: outcome wouldalso be a stable matching.

July 15, 2013 BN, RM, SW, CBA – Game Theory 26 / 30

Page 49: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

Denote a matching by µ . The woman assigned to man m in µ

is µ(m), and the man assigned to woman w is µ(w).

Definition (optimality)A matching µ is male-optimal if there is no stable matching ν

such that µ(m)≺m ν(m) or µ(m) = ν(m) for all m ∈M andµ(m)≺m ν(m) for at least one m ∈M. Female-optimal: similar.

TheoremThe stable matching produced by the (fe)male-proposaldeferred acceptance algorithm is (fe)male-optimal.In general, there is no stable matching that ismale-optimal and female-optimal.

Proof: Homework.July 15, 2013 BN, RM, SW, CBA – Game Theory 27 / 30

Page 50: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchingsDefinitions

DeferredAcceptanceAlgorithm

Properties

Summary

Deferred Acceptance Algorithm

TheoremThe mechanism associated with the (fe)male-proposalalgorithm cannot be manipulated by the (fe)males.

ProofHomework.

July 15, 2013 BN, RM, SW, CBA – Game Theory 28 / 30

Page 51: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchings

SummarySummary

July 15, 2013 BN, RM, SW, CBA – Game Theory 29 / 30

Page 52: Game Theory - 19. Mechanisms without Moneyki/teaching/ss13/... · Game Theory 19.MechanismswithoutMoney Albert-Ludwigs-Universität Freiburg BernhardNebel,RobertMattmüller, StefanWölfl,ChristianBecker-Asano

Motivation

HouseAllocationProblem

StableMatchings

Summary

Summary

Avoid Gibbard-Satterthwaite by restricting domain ofpreferences.House allocation problem:

Solve using top trading cycle algorithm.Algorithm finds unique solution in the core, where noblocking coalition of players has an incentive to breakaway.The top trading cycle mechanism cannot be manipulated.

Stable matchings:Solve using deferred acceptance algorithm.Algorithm finds a stable matching in the core, where noblocking pair of players has an incentive to break away.The mechanism associated with the (fe)male-proposalalgorithm cannot be manipulated by the (fe)males.

July 15, 2013 BN, RM, SW, CBA – Game Theory 30 / 30