CSC373 Fun Asides Fair Division [Image and Illustration Credit: - - PowerPoint PPT Presentation

csc373 fun asides fair division
SMART_READER_LITE
LIVE PREVIEW

CSC373 Fun Asides Fair Division [Image and Illustration Credit: - - PowerPoint PPT Presentation

CSC373 Fun Asides Fair Division [Image and Illustration Credit: Ariel Procaccia] CSC373 - Nisarg Shah 1 Cake-Cutting A heterogeneous, divisible good Heterogeneous: it may be valued differently by different individuals Divisible: we


slide-1
SLIDE 1

CSC373 Fun Asides Fair Division

[Image and Illustration Credit: Ariel Procaccia]

CSC373 - Nisarg Shah 1

slide-2
SLIDE 2

Cake-Cutting

CSC373 - Nisarg Shah 2

  • A heterogeneous, divisible good

➢ Heterogeneous: it may be valued

differently by different individuals

➢ Divisible: we can share/divide

it between individuals

  • Represented as [0,1]

➢ Almost without loss of generality

  • Set of players 𝑂 = {1, … , 𝑜}
  • Piece of cake 𝑌 ⊆ [0,1]

➢ A finite union of disjoint intervals

slide-3
SLIDE 3

Agent Valuations

CSC373 - Nisarg Shah 3

  • Each player 𝑗 has a valuation 𝑊

𝑗 that

is very much like a probability distribution over [0,1]

  • Additive: For 𝑌 ∩ 𝑍 = ∅,

𝑊

𝑗 𝑌 + 𝑊 𝑗 𝑍 = 𝑊 𝑗 𝑌 ∪ 𝑍

  • Normalized: 𝑊

𝑗

0,1 = 1

  • Divisible: ∀𝜇 ∈ [0,1] and 𝑌,

∃𝑍 ⊆ 𝑌 s.t. 𝑊

𝑗 𝑍 = 𝜇𝑊 𝑗(𝑌)

𝛽 𝜇𝛽 𝛽 β β

𝛽 + 𝛾

slide-4
SLIDE 4

Fairness Goals

CSC373 - Nisarg Shah 4

  • Allocation: disjoint partition 𝐵 = (𝐵1, … , 𝐵𝑜)

➢ 𝐵𝑗 = piece of the cake given to player 𝑗

  • Desired fairness properties:

➢ Proportionality (Prop):

∀𝑗 ∈ 𝑂: 𝑊

𝑗 𝐵𝑗 ≥ 1

𝑜

➢ Envy-Freeness (EF):

∀𝑗, 𝑘 ∈ 𝑂: 𝑊

𝑗 𝐵𝑗 ≥ 𝑊 𝑗(𝐵𝑘)

slide-5
SLIDE 5

Fairness Goals

CSC373 - Nisarg Shah 5

  • Prop: ∀𝑗 ∈ 𝑂: 𝑊

𝑗 𝐵𝑗 ≥

Τ 1 𝑜

  • EF: ∀𝑗, 𝑘 ∈ 𝑂: 𝑊

𝑗 𝐵𝑗 ≥ 𝑊 𝑗 𝐵𝑘

  • Question: What is the relation between

proportionality and EF?

1.

Prop ⇒ EF

2.

EF ⇒ Prop

3.

Equivalent

4.

Incomparable

slide-6
SLIDE 6

CUT-AND-CHOOSE

CSC373 - Nisarg Shah 6

  • Algorithm for 𝑜 = 2 players
  • Player 1 divides the cake into two pieces 𝑌, 𝑍 s.t.

𝑊

1 𝑌 = 𝑊 1 𝑍 =

Τ 1 2

  • Player 2 chooses the piece she prefers.
  • This is envy-free and therefore proportional.

➢ Why?

slide-7
SLIDE 7

Input Model

CSC373 - Nisarg Shah 7

  • How do we measure the “time complexity” of a

cake-cutting algorithm for 𝑜 players?

  • Typically, time complexity is a function of the

length of input encoded as binary.

  • Our input consists of functions 𝑊

𝑗, which require

infinite bits to encode.

  • We want running time as a function of 𝑜.
slide-8
SLIDE 8

Robertson-Webb Model

CSC373 - Nisarg Shah 8

  • We restrict access to valuation 𝑊

𝑗 through two

types of queries:

➢ Eval𝑗(𝑦, 𝑧) returns 𝛽 = 𝑊

𝑗

𝑦, 𝑧

➢ Cut𝑗(𝑦, 𝛽) returns any 𝑧 such that 𝑊

𝑗

𝑦, 𝑧 = 𝛽

  • If 𝑊

𝑗

𝑦, 1 < 𝛽, return 1.

𝑦 𝑧

𝛽

eval output cut output

slide-9
SLIDE 9

Robertson-Webb Model

CSC373 - Nisarg Shah 9

  • Two types of queries:

➢ Eval𝑗 𝑦, 𝑧 = 𝑊

𝑗

𝑦, 𝑧

➢ Cut𝑗 𝑦, 𝛽 = 𝑧 s.t. 𝑊

𝑗

𝑦, 𝑧 = 𝛽

  • Question: How many queries are needed to find an

EF allocation when 𝑜 = 2?

  • Answer: 2
slide-10
SLIDE 10

DUBINS-SPANIER

CSC373 - Nisarg Shah 10

  • Protocol for finding a proportional allocation for 𝑜

players

  • Referee starts at 0, and moves a knife to the right.
  • Repeat: When the piece to the left of the knife is

worth 1/𝑜 to some player, the player shouts “stop”, gets that piece, and exits.

  • The last player gets the remaining piece.
slide-11
SLIDE 11

DUBINS-SPANIER

11

1/3 1/3 ≥ 1/3

CSC373 - Nisarg Shah

slide-12
SLIDE 12

DUBINS-SPANIER

CSC373 - Nisarg Shah 12

  • Robertson-Webb model? Cut-Eval queries?

➢ Moving knife is not really needed.

  • At each stage, we want to find the remaining player

that has value 1/𝑜 from the smallest next piece.

➢ Ask each remaining player a cut query to mark a point

where her value is 1/𝑜 from the current point.

➢ Directly move the knife to the leftmost mark, and give

that piece to that player.

slide-13
SLIDE 13

VISUAL PROOF OF PROPORTIONALITY

CSC373 - Nisarg Shah 13

slide-14
SLIDE 14

VISUAL PROOF OF PROPORTIONALITY

CSC373 - Nisarg Shah 14

Τ 1 3

slide-15
SLIDE 15

VISUAL PROOF OF PROPORTIONALITY

CSC373 - Nisarg Shah 15

Τ 1 3 Τ 1 3

slide-16
SLIDE 16

VISUAL PROOF OF PROPORTIONALITY

CSC373 - Nisarg Shah 16

Τ 1 3 Τ 1 3 ≥ Τ 1 3

slide-17
SLIDE 17

DUBINS-SPANIER

CSC373 - Nisarg Shah 17

  • Question: What is the complexity of the Dubins-

Spanier protocol in the Robertson-Webb model?

1.

Θ 𝑜

2.

Θ 𝑜 log 𝑜

3.

Θ 𝑜2

4.

Θ 𝑜2 log 𝑜

slide-18
SLIDE 18

EVEN-PAZ (RECURSIVE)

CSC373 - Nisarg Shah 18

  • Input: Interval [𝑦, 𝑧], number of players 𝑜

➢ For simplicity, assume 𝑜 = 2𝑙 for some 𝑙

  • If 𝑜 = 1, give [𝑦, 𝑧] to the single player.
  • Otherwise, let each player 𝑗 mark 𝑨𝑗 s.t.

𝑊

𝑗

𝑦, 𝑨𝑗 = 1 2 𝑊

𝑗

𝑦, 𝑧

  • Let 𝑨∗ be mark 𝑜/2 from the left.
  • Recurse on [𝑦, 𝑨∗] with the left 𝑜/2 players, and on [𝑨∗, 𝑧]

with the right 𝑜/2 players.

slide-19
SLIDE 19

EVEN-PAZ

CSC373 - Nisarg Shah 19

slide-20
SLIDE 20

EVEN-PAZ

CSC373 - Nisarg Shah 20

  • Theorem: EVEN-PAZ returns a Prop allocation.
  • Inductive Proof:

➢ Hypothesis: With 𝑜 players, EVEN-PAZ ensures that for

each player 𝑗, 𝑊

𝑗 𝐵𝑗 ≥

Τ 1 𝑜 ⋅ 𝑊

𝑗

𝑦, 𝑧

  • Prop follows because initially 𝑊

𝑗

𝑦, 𝑧 = 𝑊

𝑗

0,1 = 1

➢ Base case: 𝑜 = 1 is trivial. ➢ Suppose it holds for 𝑜 = 2𝑙−1. We prove for 𝑜 = 2𝑙. ➢ Take the 2𝑙−1 left players.

  • Every left player 𝑗 has 𝑊

𝑗

𝑦, 𝑨∗ ≥ Τ 1 2 𝑊

𝑗

𝑦, 𝑧

  • If it gets 𝐵𝑗, by induction, 𝑊

𝑗 𝐵𝑗 ≥ 1 2𝑙−1 𝑊 𝑗

𝑦, 𝑨∗ ≥

1 2𝑙 𝑊 𝑗

𝑦, 𝑧

slide-21
SLIDE 21

EVEN-PAZ

CSC373 - Nisarg Shah 21

  • Theorem: EVEN-PAZ uses 𝑃 𝑜 log 𝑜 queries.
  • Simple Proof:

➢ Protocol runs for log 𝑜 rounds. ➢ In each round, each player is asked one cut query. ➢ QED!

slide-22
SLIDE 22

Complexity of Proportionality

CSC373 - Nisarg Shah 22

  • Theorem [Edmonds and Pruhs, 2006]: Any

proportional protocol needs Ω(𝑜 log 𝑜) operations in the Robertson-Webb model.

  • Thus, the EVEN-PAZ protocol is (asymptotically)

provably optimal!

slide-23
SLIDE 23

Envy-Freeness?

CSC373 - Nisarg Shah 23

  • “I suppose you are also going to give such cute

algorithms for finding envy-free allocations?”

  • Bad luck. For 𝑜-player EF cake-cutting:

➢ [Brams and Taylor, 1995] give an unbounded EF protocol. ➢ [Procaccia 2009] shows Ω 𝑜2 lower bound for EF. ➢ Last year, the long-standing major open question of

“bounded EF protocol” was resolved!

➢ [Aziz and Mackenzie, 2016]: 𝑃(𝑜𝑜𝑜𝑜𝑜𝑜

) protocol!

  • Yes, it’s not a typo!
slide-24
SLIDE 24

Pareto Optimality

CSC373 - Nisarg Shah 24

  • Pareto Optimality

➢ We say that 𝐵 is Pareto optimal if for any other allocation

𝐶, it cannot be that 𝑊

𝑗 𝐶𝑗 ≥ 𝑊 𝑗 𝐵𝑗 for all 𝑗 and 𝑊 𝑗 𝐶𝑗

> 𝑊

𝑗(𝐵𝑗) for some 𝑗.

  • Q: Is it PO to give the entire cake to player 1?
  • A: Not necessarily. But yes if player 1 values “every

part of the cake positively”.

slide-25
SLIDE 25

PO + EF

CSC373 - Nisarg Shah 25

  • Theorem [Weller ‘85]:

➢ There always exists an allocation of the cake that is both

envy-free and Pareto optimal.

  • One way to achieve PO+EF:

➢ Nash-optimal allocation: argmax𝐵 ς𝑗∈𝑂 𝑊

𝑗 𝐵𝑗

➢ Obviously, this is PO. The fact that it is EF is non-trivial. ➢ This is named after John Nash.

  • Nash social welfare = product of utilities
  • Different from utilitarian social welfare = sum of utilities
slide-26
SLIDE 26

Nash-Optimal Allocation

CSC373 - Nisarg Shah 26

  • Example:

➢ Green player has value 1 distributed evenly over 0, Τ

2 3

➢ Blue player has value 1 distributed evenly over [0,1] ➢ Without loss of generality (why?) suppose:

  • Green player gets [0, 𝑦] for 𝑦 ≤ Τ

2 3

  • Blue player gets 𝑦, Τ

2 3 ∪

Τ

2 3 , 1 = [𝑦, 1]

➢ Green’s utility =

𝑦 Τ

2 3, blue’s utility = 1 − 𝑦

➢ Maximize: 3 2 𝑦 ⋅ (1 − 𝑦) ⇒ 𝑦 = Τ 1 2

1

ൗ 2 3

Allocation 1

ൗ 1 2

Green has utility 3

4

Blue has utility 1

2

slide-27
SLIDE 27

Indivisible Goods

CSC373 - Nisarg Shah 27

  • Goods cannot be shared / divided among players

➢ E.g., house, painting, car, jewelry, …

  • Problem: Envy-free allocations may not exist!
slide-28
SLIDE 28

Indivisible Goods: Setting

CSC373 - Nisarg Shah 28

8 7 20 5 9 11 12 8 9 10 18 3

We assume additive values. So, e.g., 𝑊 , = 8 + 7 = 15 Given such a matrix of numbers, assign each good to a player.

slide-29
SLIDE 29

8 7 20 5 9 11 12 8 9 10 18 3

Indivisible Goods

CSC373 - Nisarg Shah 29

slide-30
SLIDE 30

8 7 20 5 9 11 12 8 9 10 18 3

Indivisible Goods

CSC373 - Nisarg Shah 30

slide-31
SLIDE 31

8 7 20 5 9 11 12 8 9 10 18 3

Indivisible Goods

CSC373 - Nisarg Shah 31

slide-32
SLIDE 32

8 7 20 5 9 11 12 8 9 10 18 3

Indivisible Goods

CSC373 - Nisarg Shah 32

slide-33
SLIDE 33

Indivisible Goods

CSC373 - Nisarg Shah 33

  • Envy-freeness up to one good (EF1):

∀𝑗, 𝑘 ∈ 𝑂, ∃𝑕 ∈ 𝐵𝑘 ∶ 𝑊

𝑗 𝐵𝑗 ≥ 𝑊 𝑗 𝐵𝑘\{𝑕}

➢ Technically, ∃𝑕 ∈ 𝐵𝑘 only applied if 𝐵𝑘 ≠ ∅. ➢ “If 𝑗 envies 𝑘, there must be some good in 𝑘’s bundle such

that removing it would make 𝑗 envy-free of 𝑘.”

  • Does there always exist an EF1 allocation?
slide-34
SLIDE 34

EF1

CSC373 - Nisarg Shah 34

  • Yes! We can use Round Robin.

➢ Agents take turns in a cyclic order, say

1,2, … , 𝑜, 1,2, … , 𝑜, …

➢ An agent, in her turn, picks the good that she likes the

most among the goods still not picked by anyone.

➢ [Assignment Problem] This yields an EF1 allocation

regardless of how you order the agents.

  • Sadly, the allocation returned may not be Pareto
  • ptimal.
slide-35
SLIDE 35

EF1+PO?

CSC373 - Nisarg Shah 35

  • Nash welfare to the rescue!
  • Theorem [Caragiannis et al. ‘16]:

➢ Maximizing Nash welfare achieves both EF1 and PO. ➢ But what if there are two goods and three players?

  • All allocations have zero Nash welfare (product of utilities).
  • But we cannot give both goods to a single player.

➢ Algorithm in detail:

  • Step 1: Choose a subset of players 𝑇 ⊆ 𝑂 with the largest |𝑇| such

that it is possible to give every player in 𝑇 positive utility simultaneously.

  • Step 2: Choose argmax𝐵 ς𝑗∈𝑇 𝑊

𝑗 𝐵𝑗

slide-36
SLIDE 36

8 7 20 5 9 11 12 8 9 10 18 3

Integral Nash Allocation

CSC373 - Nisarg Shah 36

slide-37
SLIDE 37

8 7 20 5 9 11 12 8 9 10 18 3

20 * 8 * (9+10) = 3040

CSC373 - Nisarg Shah 37

slide-38
SLIDE 38

8 7 20 5 9 11 12 8 9 10 18 3

(8+7) * 8 * 18 = 2160

CSC373 - Nisarg Shah 38

slide-39
SLIDE 39

8 7 20 5 9 11 12 8 9 10 18 3

8 * (12+8) * 10 = 1600

CSC373 - Nisarg Shah 39

slide-40
SLIDE 40

8 7 20 5 9 11 12 8 9 10 18 3

20 * (11+8) * 9 = 3420

CSC373 - Nisarg Shah 40

slide-41
SLIDE 41

Computation

CSC373 - Nisarg Shah 41

  • For indivisible goods, Nash-optimal solution is

strongly NP-hard to compute

➢ That is, remains NP-hard even if all values are bounded.

  • Open Question: Can we find an allocation that is

both EF1 and PO in polynomial time?

➢ A recent paper provides a pseudo-polynomial time

algorithm, i.e., its time is polynomial in 𝑜, 𝑛, and max

𝑗,𝑕 𝑊 𝑗

𝑕 .

slide-42
SLIDE 42

Stronger Fairness Guarantees

CSC373 - Nisarg Shah 42

  • Envy-freeness up to the least valued good (EFx):

➢ ∀𝑗, 𝑘 ∈ 𝑂, ∀𝑕 ∈ 𝐵𝑘 ∶ 𝑊

𝑗 𝐵𝑗 ≥ 𝑊 𝑗 𝐵𝑘\{𝑕}

➢ “If 𝑗 envies 𝑘, then removing any good from 𝑘’s bundle

eliminates the envy.”

➢ Open question: Is there always an EFx allocation?

  • Contrast this with EF1:

➢ ∀𝑗, 𝑘 ∈ 𝑂, ∃𝑕 ∈ 𝐵𝑘 ∶ 𝑊

𝑗 𝐵𝑗 ≥ 𝑊 𝑗 𝐵𝑘\{𝑕}

➢ “If 𝑗 envies 𝑘, then removing some good from 𝑘’s bundle

eliminates the envy.”

➢ We know there is always an EF1 allocation that is also PO.

slide-43
SLIDE 43

Stronger Fairness

CSC373 - Nisarg Shah 43

  • Difference between EF1 and EFx:

➢ Suppose there are two players ➢ They are dividing one diamond and two rocks ➢ Giving a diamond and a rock to P1 and only a rock to P2

satisfies EF1, but seems unfair

➢ The only way to get EFx is to give diamond to one player

and both rocks to the other

Diamond Rock 1 Rock 2 P1 100 1 1 P2 100 1 1