powerpoint presentationarielpro/15896/docs/slides19.pdfΒ Β· a randomized algorithm β€’ 𝑋 1,…,...

22
CMU 15-896 Fair division: Incentives and Leontief Teachers: Avrim Blum Ariel Procaccia (this time)

Upload: others

Post on 24-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

CMU 15-896 Fair division: Incentives and Leontief Teachers: Avrim Blum Ariel Procaccia (this time)

Page 2: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Strategyproof Cake cutting β€’ We discussed strategyproofness (SP) in social choice and

auctions β€’ All the cake cutting algorithms that we discussed are not

SP: agents can gain from manipulation o Cut and choose: player 1 can manipulate o Dubins-Spanier: shout later

β€’ Assumption: agents report their full valuation functions (which are typically assumed to be concisely representable)

β€’ Deterministic EF and SP algs exist in some special cases, but they are rather involved [Chen et al. 2010]

2

Page 3: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

A randomized algorithm β€’ 𝑋1, … ,𝑋𝑛 is a perfect partition if 𝑉𝑖 𝑋𝑗 = 1 𝑛⁄ for all 𝑖, 𝑗 β€’ Algorithm

o Compute a perfect partition o Draw a random permutation πœ‹ over {1, … ,𝑛} o Allocate to agent 𝑖 the piece π‘‹πœ‹ 𝑖

β€’ Theorem [Chen et al. 2010; Mossel and Tamuz 2010]: the algorithm is SP in expectation and always produces an EF allocation

β€’ Proof: if an agent lies the algorithm may compute a different partition, but for any partition:

οΏ½1𝑛𝑉𝑖 𝑋𝑗′ =

1𝑛�𝑉𝑖 𝑋𝑗′ =

1𝑛

βˆŽπ‘—βˆˆπ‘π‘—βˆˆπ‘

3

Page 4: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Computing a perfect partition

β€’ Theorem [Alon, 1986]: a perfect partition always exists, needs polynomially many cuts

β€’ Proof is nonconstructive β€’ Can find perfect

partitions for special valuation functions

4

Page 5: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

A true story

β€’ In 2001 I moved into an apartment in Jerusalem with Naomi and Nir

β€’ One larger bedroom, two smaller bedrooms β€’ Naomi and I searched for the apartment, Nir

was having fun in South America β€’ Nir’s argument: I should have the large room

because I had no say in choosing apartment o Made sense at the time!

β€’ How to fairly divide the rent?

5

Page 6: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Sperner’s Lemma β€’ Triangle 𝑇 partitioned into

elementary triangles β€’ Label vertices by {1,2,3} using

Sperner labeling: o Main vertices are different o Label of vertex on an edge

(𝑖, 𝑗) of 𝑇 is 𝑖 or 𝑗 β€’ Lemma: Any Sperner

labeling contains at least one fully labeled elementary triangle

6

Page 7: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Proof of Lemma

β€’ Doors are 12 edges β€’ Rooms are elementary

triangles β€’ #doors on the boundary

of 𝑇 is odd β€’ Every room has ≀ 2

doors; one door iff the room is 123

7

Page 8: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Proof of Lemma β€’ Start at door on boundary

and walk through it β€’ Room is fully labeled or it

has another door... β€’ No room visited twice β€’ Eventually walk into fully

labeled room or back to boundary

β€’ But #doors on boundary is odd ∎

8

Page 9: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Fair rent division β€’ Assume there are three housemates

A, B, C β€’ Goal is to divide rent so that each person

wants different room β€’ Sum of prices for three rooms is 1 β€’ Can represent possible partitions as

triangle

9

Page 10: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

10

(0,0,1)

(1,0,0) (0,1,0)

(0, Β½, Β½)

(β…“, β…“, β…“)

Page 11: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Fair rent division

β€’ β€œTriangulate” and assign β€œownership” of each vertex to each of A, B, and C ...

β€’ ... in a way that each elementary triangle is an ABC triangle

11

Page 12: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

12

Page 13: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Fair rent division

β€’ Ask the owner of each vertex to tell us which rooms he prefers

β€’ This gives a new labeling by 1, 2, 3 β€’ Assume that a person wants a free room if

one is offered to him

13

Page 14: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

14

Page 15: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Fair rent division

β€’ Sperner’s lemma (variant): such a labeling must have a 123 triangle

15

1

3 2

Page 16: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Fair rent division

β€’ Such a triangle is nothing but an approximately envy free allocation!

β€’ By making the triangulation finer, we can increase accuracy

β€’ In the limit we obtain a completely envy free allocation

β€’ Same techniques generalize to more housemates [Su, 1999]

16

Page 17: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Applications to the cloud

β€’ Setting: allocating multiple homogeneous resources to agents with different requirements

β€’ Running example: cloud computing β€’ State-of-the-art systems employ a single resource

abstraction β€’ Assumption: agents have proportional demands for their

resources β€’ Example:

o Agent has requirement (2 CPU,1 RAM) for each copy of task o Indifferent between allocations (4,2) and (5,2)

17

Page 18: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Model

β€’ Set of agents 𝑁 = {1, … ,𝑛} and set of resources 𝑅, 𝑅 = π‘š

β€’ Demand of agent 𝑖 is 𝒅𝑖 = 𝑑𝑖𝑖, … ,𝑑𝑖𝑖 , 0 < 𝑑𝑖𝑖 ≀ 1; βˆƒπ‘Ÿ s.t. 𝑑𝑖𝑖 = 1

β€’ Allocation 𝑨𝑖 = 𝐴𝑖𝑖, … ,𝐴𝑖𝑖 where 𝐴𝑖𝑖 is the fraction of π‘Ÿ allocated to 𝑖

β€’ Preferences induced by the utility function 𝑒𝑖 𝑨𝑖 = minπ‘–βˆˆπ‘… 𝐴𝑖𝑖/𝑑𝑖𝑖

18

Page 19: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Dominant resource fairness

β€’ Dominant resource of 𝑖 = π‘Ÿ s.t. 𝑑𝑖𝑖 = 1 β€’ Dominant share of 𝑖 = 𝐴𝑖𝑖 for dominant π‘Ÿ β€’ Mechanism: allocate proportionally to

demands and equalize dominant shares

19

Agent 1 alloc. Agent 2 alloc. Total alloc.

Page 20: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Formally... β€’ DRF finds π‘₯ and allocates to 𝑖 an π‘₯𝑑𝑖𝑖

fraction of resource r:

max π‘₯ s.t. βˆ€π‘Ÿ ∈ 𝑅,οΏ½π‘₯ β‹… 𝑑𝑖𝑖 ≀ 1π‘–βˆˆπ‘

β€’ Equivalently, π‘₯ = 𝑖maxπ‘Ÿβˆˆπ‘… βˆ‘ π‘‘π‘–π‘Ÿπ‘–βˆˆπ‘

β€’ Example: 𝑑𝑖𝑖 = 𝑖2

;𝑑𝑖2 = 1;𝑑2𝑖 = 1;𝑑22 = 𝑖6

then π‘₯ = 𝑖12+𝑖

= 23

20

Page 21: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Axiomatic properties

β€’ Pareto optimality (PO) β€’ Envy-freeness (EF) β€’ Proportionality (a.k.a. sharing incentives,

individual rationality):

βˆ€π‘– ∈ 𝑁,𝑒𝑖 𝑨𝑖 β‰₯ 𝑒𝑖1𝑛

, … ,1𝑛

β€’ Strategyproofness (SP)

21

Page 22: PowerPoint Presentationarielpro/15896/docs/slides19.pdfΒ Β· A randomized algorithm β€’ 𝑋 1,…, 𝑋𝑛 is a perfect partition if 𝑉𝑖𝑋𝑗= 1⁄𝑛 for all 𝑖, 𝑗

Properties of DRF

β€’ An allocation 𝑨𝑖 is non-wasteful if βˆƒπ‘₯ s.t. 𝐴𝑖𝑖 = π‘₯𝑑𝑖𝑖 for all π‘Ÿ

β€’ If 𝑨𝑖 is non-wasteful and 𝑒𝑖 𝑨𝑖 < 𝑒𝑖 𝑨𝑖′ then 𝐴𝑖𝑖 < 𝐴𝑖𝑖′ for all π‘Ÿ

β€’ Theorem [Ghodsi et al., 2011]: DRF is PO, EF, proportional, and SP

β€’ We prove the theorem on the board

22