Professional Documents
Culture Documents
4 Many-to-One Matching Markets
4 Many-to-One Matching Markets
Econ 498/598
Concordia University
Winter 2020
1/25
The two-sided many-to-one matching model
2/25
Preferences
3/25
Preferences
3/25
Preferences
3/25
Responsive preferences
4/25
Responsive preferences
4/25
Responsive preferences
4/25
Compare sets of doctors that differ only by one doctor:
I Suppose that hospital h has already hired Dr. Carol and Dr.
Denis, and it can hire a third doctor.
I The hospital has the choice between Dr. Alice and Dr. Bob.
5/25
Compare sets of doctors that differ only by one doctor:
I Suppose that hospital h has already hired Dr. Carol and Dr.
Denis, and it can hire a third doctor.
I The hospital has the choice between Dr. Alice and Dr. Bob.
5/25
Compare sets of doctors that differ only by one doctor:
I Suppose that hospital h has already hired Dr. Carol and Dr.
Denis, and it can hire a third doctor.
I The hospital has the choice between Dr. Alice and Dr. Bob.
5/25
Compare sets of doctors that differ only by one doctor:
I Suppose that hospital h has already hired Dr. Carol and Dr.
Denis, and it can hire a third doctor.
I The hospital has the choice between Dr. Alice and Dr. Bob.
5/25
Compare sets of doctors that differ only by one doctor:
I Suppose that hospital h has already hired Dr. Carol and Dr.
Denis, and it can hire a third doctor.
I The hospital has the choice between Dr. Alice and Dr. Bob.
5/25
Definition
Preferences Ph] over sets of doctors are responsive if for any set of
doctors S and doctors d and d 0 such that d, d 0 ∈
/S
and
6/25
Responsive preferences: examples
Let Ph = d1 , d2 , d3 , d4 , ∅.
since d2 is preferred to d3 .
7/25
Responsive preferences: examples
Let Ph = d1 , d2 , d3 , d4 , ∅.
since d2 is preferred to d3 .
7/25
Responsive preferences: examples
Let Ph = d1 , d2 , d3 , d4 , ∅.
since d2 is preferred to d3 .
7/25
Responsive preferences: examples
Let Ph = d1 , d2 , d3 , d4 , ∅.
since d2 is preferred to d3 .
7/25
Responsive preferences: examples
Let Ph = d1 , d2 , d3 , d4 , ∅.
since d2 is preferred to d3 .
7/25
I Compare {d2 } and {d1 , d3 }.
{d2 } is the same as {d2 , ∅}. Since d3 is acceptable,
]
⇒ {d1 , d3 } Ph] {d2 , ∅}
{d1 , d3 } Ph {d2 , d3 }
are possible.
8/25
I Compare {d2 } and {d1 , d3 }.
{d2 } is the same as {d2 , ∅}. Since d3 is acceptable,
]
⇒ {d1 , d3 } Ph] {d2 , ∅}
{d1 , d3 } Ph {d2 , d3 }
are possible.
8/25
I Compare {d2 } and {d1 , d3 }.
{d2 } is the same as {d2 , ∅}. Since d3 is acceptable,
]
⇒ {d1 , d3 } Ph] {d2 , ∅}
{d1 , d3 } Ph {d2 , d3 }
are possible.
8/25
I Compare {d2 } and {d1 , d3 }.
{d2 } is the same as {d2 , ∅}. Since d3 is acceptable,
]
⇒ {d1 , d3 } Ph] {d2 , ∅}
{d1 , d3 } Ph {d2 , d3 }
are possible.
8/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Matching
A matching is similar to a matching defined for one-to-one
matching models, but there are a few differences since
I hospitals can be matched to more than one doctor.
I hospitals have a maximum capacity.
Definition
A matching is a function µ : H ∪ D → H ∪ D such that:
I For each doctor d ∈ D, µ(d) ∈ H ∪ {d}
A doctor is matched to one hospital only, or herself
(unmatched).
I For each hospital h ∈ H,
I |µ(h)| ≤ qh
I µ(h) ⊆ D.
I µ(d) = h if, and only if, d ∈ µ(h).
9/25
Stability
Definition
A matching µ is individually rational if
I for each doctor d ∈ D, µ(d) Rd d
I for each hospital h ∈ H, if d ∈ µ(H) then d Ph ∅.
10/25
Stability
Definition
A matching µ is individually rational if
I for each doctor d ∈ D, µ(d) Rd d
I for each hospital h ∈ H, if d ∈ µ(H) then d Ph ∅.
10/25
Definition
A pair of a doctor and hospital (d, h) blocks a matching µ if
I µ(d) 6= h
I h Pd µ(d)
I d Ph d 0 for a doctor d 0 ∈ µ(h), or d Ph ∅ and |µ(h)| < qh .
11/25
Definition
A pair of a doctor and hospital (d, h) blocks a matching µ if
I µ(d) 6= h
I h Pd µ(d)
I d Ph d 0 for a doctor d 0 ∈ µ(h), or d Ph ∅ and |µ(h)| < qh .
11/25
Definition
A pair of a doctor and hospital (d, h) blocks a matching µ if
I µ(d) 6= h
I h Pd µ(d)
I d Ph d 0 for a doctor d 0 ∈ µ(h), or d Ph ∅ and |µ(h)| < qh .
11/25
Definition
A pair of a doctor and hospital (d, h) blocks a matching µ if
I µ(d) 6= h
I h Pd µ(d)
I d Ph d 0 for a doctor d 0 ∈ µ(h), or d Ph ∅ and |µ(h)| < qh .
11/25
Definition
A pair of a doctor and hospital (d, h) blocks a matching µ if
I µ(d) 6= h
I h Pd µ(d)
I d Ph d 0 for a doctor d 0 ∈ µ(h), or d Ph ∅ and |µ(h)| < qh .
11/25
Definition
A matching µ is stable if
I it is individually rational
I there is no doctor-hospital pair that blocks µ
12/25
Definition
A matching µ is stable if
I it is individually rational
I there is no doctor-hospital pair that blocks µ
12/25
Example
13/25
Example
13/25
Example
13/25
Example
13/25
The Deferred Acceptance Mechanism
14/25
The Deferred Acceptance Mechanism
14/25
The Deferred Acceptance Mechanism
14/25
Doctor-Proposing Deferred Acceptance Mechanism
15/25
Doctor-Proposing Deferred Acceptance Mechanism
15/25
Doctor-Proposing Deferred Acceptance Mechanism
15/25
Doctor-Proposing Deferred Acceptance Mechanism
15/25
Doctor-Proposing Deferred Acceptance Mechanism
15/25
Example
h1 h2
16/25
Example
h1 h2
d1 d2 , d3 , d4
16/25
Example
h1 h2
d1 d2 , d3 ,d4 h2 accepts d2 and d3 , rejects d4
16/25
Example
h1 h2
d1 d2 , d3 ,d4 h2 accepts d2 and d3 , rejects d4
d4
16/25
Example
h1 h2
d1 d2 , d3 ,d4 h2 accepts d2 and d3 , rejects d4
d4 no doctor is rejected
16/25
Example
h1 h2
d1 d2 , d3 ,d4 h2 accepts d2 and d3 , rejects d4
d4 no doctor is rejected
d1 , d4 d2 , d3 Final matching
16/25
Hospital-Proposing Deferred Acceptance Mechanism
Step 1
Each hospital proposes to its most preferred set of acceptable
doctors, up to but not exceeding its capacity.
Each doctor accepts the most preferred acceptable hospital
that proposed to her (if any) and rejects the rest.
17/25
Step k (k ≥ 2)
Each hospital
I Keeps the doctors whom the hospital had already proposed to
and who haven’t rejected the hospital.
I If a hospital had one or more rejections at the previous step
then it proposes to its most preferred set of doctors whom this
hospital has not proposed to yet, up to but not exceeding its
capacity, including doctors kept from the previous step.
18/25
Step k (k ≥ 2)
Each hospital
I Keeps the doctors whom the hospital had already proposed to
and who haven’t rejected the hospital.
I If a hospital had one or more rejections at the previous step
then it proposes to its most preferred set of doctors whom this
hospital has not proposed to yet, up to but not exceeding its
capacity, including doctors kept from the previous step.
18/25
Step k (k ≥ 2)
Each hospital
I Keeps the doctors whom the hospital had already proposed to
and who haven’t rejected the hospital.
I If a hospital had one or more rejections at the previous step
then it proposes to its most preferred set of doctors whom this
hospital has not proposed to yet, up to but not exceeding its
capacity, including doctors kept from the previous step.
18/25
Example
d1 d2 d3 d4
19/25
Example
d1 d2 d3 d4
h1 h1 , h2 h2
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
h1
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
h1 d3 rejects h1
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
h1 d3 rejects h1
h1
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
h1 d3 rejects h1
h1 no hospital is rejected
19/25
Example
d1 d2 d3 d4
h1 h1 ,h2 h2 d2 rejects h1
h1 d3 rejects h1
h1 no hospital is rejected
h1 h2 h2 h1 Final matching
19/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
Many results for the one-to-one matching model carry over to the
many-to-one matching model.
I Existence of a stable matching at each preference profile.
20/25
One-to-one versus many-to-one matching
21/25
One-to-one versus many-to-one matching
21/25
Example: a hospital manipulates the hospital-proposing DA
Pd1 Pd2 Pd 3 Pd4 Ph 1 Ph2 Ph3
Pbdh21
h3 h2 h1 h1 d1 d1 d3
d4
h1 h1 h3 h2 d2 d2 d1
d3
h2 h3 h2 h3 d3 d3 d2
d1
d4 d4 d4
bH (h1 ) = {d2 , d4 }
µ µ
bH (h2 ) = d1 µ
bH (h3 ) = d3
bH (h1 ) = {d2 , d4 }
µ µ
bH (h2 ) = d1 µ
bH (h3 ) = d3
bH (h1 ) = {d2 , d4 }
µ µ
bH (h2 ) = d1 µ
bH (h3 ) = d3
bH (h1 ) = {d2 , d4 }
µ µ
bH (h2 ) = d1 µ
bH (h3 ) = d3
bH (h1 ) = {d2 , d4 }
µ µ
bH (h2 ) = d1 µ
bH (h3 ) = d3
23/25
Rural hospitals
23/25
Rural hospitals
23/25
Theorem (Rural Hospital)
For any preference profile of doctors and hospitals, if at a stable
matching a hospital does not fill all its vacancies then it does not
fill all its vacancies at any stable matching.
Furthermore, if a hospital does not fill its vacancies at some stable
matching then it is matched to the same set of doctors at all
stable matchings.
24/25
Theorem (Rural Hospital)
For any preference profile of doctors and hospitals, if at a stable
matching a hospital does not fill all its vacancies then it does not
fill all its vacancies at any stable matching.
Furthermore, if a hospital does not fill its vacancies at some stable
matching then it is matched to the same set of doctors at all
stable matchings.
24/25
Take-away
I In the two-sided many-to-one matching model hospitals can
be matched to several doctors and have a maximum capacity
for doctors.
I We assume responsive preferences, which extend hospital
preferences over individual doctors to preferences over sets of
doctors in a natural manner.
I The Deferred Acceptance mechanism can be generalized to
the many-to-one matching model, with either doctors or
hospitals proposing.
I Most of the results of the one-to-one matching model carry
over to the many-to-one model, except the strategyproofness
of the DA mechanism for hospitals when the hospitals
propose.
I Rural Hospital Theorem: all stable matchings leave the same
doctors and same hospital positions unmatched.
25/25