Social:Proportional cake-cutting with different entitlements
In the fair cake-cutting problem, the partners often have different entitlements. For example, the resource may belong to two shareholders such that Alice holds 8/13 and George holds 5/13. This leads to the criterion of weighted proportionality (WPR): there are several weights [math]\displaystyle{ w_i }[/math] that sum up to 1, and every partner [math]\displaystyle{ i }[/math] should receive at least a fraction [math]\displaystyle{ w_i }[/math] of the resource by their own valuation. In contrast, in the simpler proportional cake-cutting setting, the weights are equal: [math]\displaystyle{ w_i=1/n }[/math] for all [math]\displaystyle{ i }[/math]
Several algorithms can be used to find a WPR division.
Cloning
Suppose all the weights are rational numbers, with common denominator [math]\displaystyle{ D }[/math]. So the weights are [math]\displaystyle{ p_1/D,\dots,p_n/D }[/math], with [math]\displaystyle{ p_1+\cdots+p_n=D }[/math]. For each player [math]\displaystyle{ i }[/math], create [math]\displaystyle{ p_i }[/math] clones with the same value-measure. The total number of clones is [math]\displaystyle{ D }[/math]. Find a proportional cake allocation among them. Finally, give each partner [math]\displaystyle{ i }[/math] the pieces of his [math]\displaystyle{ p_i }[/math] clones.
Robertson and Webb[1]:36 show a simpler procedure for two partners: Alice cuts the cake into [math]\displaystyle{ D }[/math] pieces equal in her eyes; George selects the [math]\displaystyle{ p_{G} }[/math] most valuable pieces in his eyes, and Alice takes the remaining [math]\displaystyle{ p_{A} }[/math] pieces.
This simple procedure requires [math]\displaystyle{ D-1 }[/math] cuts, which may be very large. For example, if Alice is entitled to 8/13 and George is entitled to 5/13, then 13-1=12 cuts are needed in the initial partition.
The number of required queries is [math]\displaystyle{ D\lceil\log_2(D)\rceil. }[/math]
Ramsey partitions
Suppose a cake has to be divided among Alice and George, Alice is entitled to 8/13 and George is entitled to 5/13. The cake can be divided as follows.
- Alice cuts the cake to 6 pieces with valuation-ratios 5:3:2:1:1:1.
- George marks the pieces that have for him at least the value mentioned by Alice.
Now there are two "good" cases - cases in which we can use these pieces to attain a weighted-proportional division respecting the different entitlements:
Case 1: There is a subset of the marked pieces whose sum is 5. E.g., if George marks the 3-piece and the three 1-pieces. Then, this subset is given to George and the remainder is given to Alice. George now has at least 5/13 and Alice has exactly 8/13.
Case 2: There is a subset of the unmarked pieces whose sum is 8. E.g., if George marks the 3-piece and only one 1-piece. Then, this subset is given to Alice and the remainder is given to George. Alice now has exactly 8 and George has given up a sum of less than 8, so he has at least 5/13.
It is possible to prove that the good cases are the only possible cases. I.e, every subset of 5:3:2:1:1:1, EITHER has a subset that sums to 5, OR its complement has a subset that sums to 8. Hence, the above algorithm always finds a WPR allocation with the given ratios. The number of cuts used is only 5.
McAvaney, Robertson and Webb[1]:36–41[2] generalize this idea using the concept of Ramsey partitions (named after the Ramsey theory).
Formally: if [math]\displaystyle{ k_1 }[/math] and [math]\displaystyle{ k_2 }[/math] are positive integers, a partition [math]\displaystyle{ P }[/math] of [math]\displaystyle{ k_1+k_2 }[/math] is called a Ramsey partition for the pair [math]\displaystyle{ k_1,k_2 }[/math], if for any sub-list [math]\displaystyle{ L\subseteq P }[/math], either there is a sublist of [math]\displaystyle{ L }[/math] which sums to [math]\displaystyle{ k_1 }[/math], or there is a sublist of [math]\displaystyle{ P\setminus L }[/math] which sums to [math]\displaystyle{ k_2 }[/math].
In the example above, [math]\displaystyle{ k_1=8 }[/math] and [math]\displaystyle{ k_2=5 }[/math] and the partition is 5:3:2:1:1:1, which is a Ramsey partition. Moreover, this is the shortest Ramsey partition in this case, so it allows us to use a small number of cuts.
Ramsey partitions always exist. Moreover, there is always a unique shortest Ramsey partition. It can be found using a simple variant of the Euclidean algorithm. The algorithm is based on the following lemma:[1]:143–144
- If [math]\displaystyle{ p_1\lt a\lt b }[/math], and [math]\displaystyle{ P=(p_1,\dots,p_n) }[/math] is a partition of [math]\displaystyle{ b }[/math], and [math]\displaystyle{ P'=(b,p_1,\dots,p_n) }[/math], then [math]\displaystyle{ P' }[/math] is a partition of [math]\displaystyle{ a+b }[/math]. Moreover, [math]\displaystyle{ P' }[/math] is a minimal Ramsey partition for the pair [math]\displaystyle{ a,b }[/math] if-and-only-if [math]\displaystyle{ P }[/math] is a minimal Ramsey partition for the pair [math]\displaystyle{ a,b-a }[/math] .
This lemma leads to the following recursive algorithm.
[math]\displaystyle{ FindMinimalRamsey(a,b) }[/math]:
- Order the inputs such that [math]\displaystyle{ a\lt b }[/math].
- Push [math]\displaystyle{ a }[/math].
- If [math]\displaystyle{ a=b-a=1 }[/math], then push [math]\displaystyle{ 1,1,1 }[/math] and finish.
- If [math]\displaystyle{ b-a\neq 1 }[/math], then [math]\displaystyle{ FindMinimalRamsey(a,b-a) }[/math].
Once a minimal Ramsey partition is found, it can be used to find a WPR division respecting the entitlements.
The algorithm needs at least [math]\displaystyle{ \log_\phi \min(a,b) }[/math] cuts, where [math]\displaystyle{ \phi = (1+\sqrt{5})/2 }[/math] is the golden ratio. In most cases, this number is better than making [math]\displaystyle{ a+b-1 }[/math] cuts. But if [math]\displaystyle{ a=1 }[/math], then [math]\displaystyle{ b=a+b-1 }[/math] cuts are needed, since the only Ramsey partition of the pair [math]\displaystyle{ b,1 }[/math] is a sequence with [math]\displaystyle{ b+1 }[/math] ones.
Cut-near-halves
Suppose again that Alice is entitled to 8/13 and George is entitled to 5/13. The cake can be divided as follows.
- George cuts the cake to two pieces in ratios 7:6.
- Alice chooses one of the pieces, which is worth for her at least its declared value. Consider two cases:
- Alice chooses the 7. Then, Alice is entitled to 1 more, and the remaining piece should be divided in ratio 5:1.
- Alice chooses the 6. Then, Alice is entitled to 2 more, and the remaining piece should be divided in ratio 5:2.
- In both cases, the remaining piece is smaller and the ratio is smaller. Eventually, the ratio becomes 1:1 and the remaining cake can be divided using cut and choose.
The general idea is similar to the Even-Paz protocol:[1]:42–44 [math]\displaystyle{ CutNearHalves(a,b) }[/math]:
- Order the inputs such that [math]\displaystyle{ a\lt b }[/math]. Suppose Alice is entitled to [math]\displaystyle{ b/(a+b) }[/math] and George is entitled to [math]\displaystyle{ a/(a+b) }[/math].
- Ask George to cut the cake to near-halves, i.e.:
- if [math]\displaystyle{ a+b }[/math] is even then George cuts the cake to two pieces equal in his eyes;
- if [math]\displaystyle{ a+b }[/math] is odd then George cuts the cake to two pieces whose valuation-ratio is [math]\displaystyle{ (a+b-1)/2 : (a+b+1)/2 }[/math] in his eyes.
- At least one of the pieces is worth for Alice at least the value declared by George; give this piece to Alice.
- Suppose the piece taken by Alice is the piece with value [math]\displaystyle{ c/(a+b) }[/math], where [math]\displaystyle{ c\in\{(a+b-1)/2,(a+b)/2,(a+b+1)/2) }[/math]. Call [math]\displaystyle{ CutNearHalves(b,a-c) }[/math].
The cut-near-halves algorithm needs at most [math]\displaystyle{ \log_2 \min(a,b) }[/math] cuts, so it is always more efficient than the Ramsey-partitions algorithm.
The cut-near-halves algorithm is not always optimal. For example, suppose the ratio is 7:3.
- Cut-near-halves may need at least four cuts: first, George cuts in the ratio 5:5, and Alice gets 5. Then, Alice cuts in the ratio 3:2; suppose George chooses the 2. Then, George cuts in the ratio 2:1; suppose Alice chooses the 1. Finally, they do cut-and-choose on the remainder.
- We can do better by letting George cut in the ratio 6:4. If Alice chooses the 4, then the ratio becomes 3:3 and we can use cut-and-choose immediately. If Alice chooses the 6, then the ratio becomes 3:1. Alice cuts in ratio 2:2, George chooses the 2, and we need one more step of cut-and-choose. All in all, at most three cuts are needed.
It is an open question how to find the best initial cut for each entitlement ratio.
The algorithm can be generalized to n agents; the number of required queries is [math]\displaystyle{ n(n-1)\lceil\log_2(D)\rceil. }[/math]
Cseh and Fleiner[3] presented an algorithm for dividing a multi-dimensional cake among any number of agents with any entitlements (including irrational entitlements), in a finite number of queries. Their algorithm requires [math]\displaystyle{ 2(n-1)\lceil\log_2(D)\rceil }[/math] queries in the Robertson–Webb query model; thus it is more efficient than agent-cloning and cut-near-halves. They prove that this runtime complexity is optimal.
Algorithms for irrational entitlements
When the entitlements are not rational numbers, methods based on cloning cannot be used since the denominator is infinite. Shishido and Zeng presented an algorithm called mark-cut-choose, that can also handle irrational entitlements, but with an unbounded number of cuts.[4]
The algorithm of Cseh and Fleiner can also be adapted to work with irrational entitlements in a finite number of queries.[5]
Number of required cuts
Besides the number of required queries, it is also interesting to minimize the number of required cuts, so that the division is not too much fractioned. The Shishido-Zeng algorithms yield a fair division with at most [math]\displaystyle{ 2 \cdot 3^{n-2} }[/math]cuts, and a strongly-fair division with at most [math]\displaystyle{ 4 \cdot 3^{n-2} }[/math]cuts.[4]
In the worst case, at least [math]\displaystyle{ 2(n-1) }[/math] cuts might be required. Brams, Jones and Klamler[6] show an example for n=2. A cake made of four consecutive regions has to be divided between Alice and George, whose valuations are as follows:
Alice's value | 2 | 2 | 2 | 2 |
George's value | 1 | 3 | 3 | 1 |
Note that the total cake value is 8 for both partners. If [math]\displaystyle{ w_A \geq 0.75 }[/math], then Alice is entitled to a value of at least 6. To give Alice her due share in a connected piece, we must give her either the three leftmost slices or the three rightmost slices. In both cases George receives a piece with a value of only 1, which is less than his due share of 2. To achieve a WPR division in this case, we must give George his due share in the center of the cake, where his value is relatively large, but then Alice will get two disconnected pieces.[7]
Segal-Halevi[8] shows that, if the cake is circular (i.e. the two endpoints are identified) then a connected WPR division for two people is always possible; this follows from the Stromquist–Woodall theorem. By recursively applying this theorem to find exact divisions, it is possible to get a WPR division using at most [math]\displaystyle{ 2 n \cdot (\log_2 n-1) + 2 }[/math] cuts when n is a power of 2, and a similar number when n is general.
Crew, Narayanan and Spirkle[9] improved this upper bound to 3n-4 using the following protocol:
- Ask each agent i to mark an x such that Vi(0,x)=1/2.
- Order the agents in increasing order of their mark, breaking ties arbitrarily.
- Add the agents in the above order into a set P. Stop just before the total weight of agents in P goes above 1/2.
- The first agent that was not added to P is called t, and the set of agents after t is called Q. Now:
- All agents in P value (0,x) at least 1/2, and their total weight is at most 1/2;
- All agents in Q value (x,1) at least 1/2, and their total weight is at most 1/2;
- Agent t values both (0,x) and (x,1) at exactly 1/2.
- If both P and Q are nonempty, then agent t is split between P and Q such that the total weight in each set is exactly 1/2. The cake is cut at x, and the procedure proceeds recursively. This leads to the following recurrence relation (where k is the number of agents in P, not including the clone of agent t): [math]\displaystyle{ \text{Cuts}(n+1) \leq \max_{1\leq k\leq n-1} (1 + \text{Cuts}(k+1) + \text{Cuts}(n-k+1)) }[/math]. Adding the initial condition [math]\displaystyle{ \text{Cuts}(2) = 2 }[/math] yields the claimed number [math]\displaystyle{ \text{Cuts}(n) \leq 3n-4 }[/math].
- The harder case is that P is empty (the case that Q is empty is analogous). This implies that the weight of t is at least 1/2, and all agents value (0,x) at most 1/2. In this case, we find some y such that agent t values (0,y) exactly wt, and try to partition the agents into P and Q as before. If again one of these sets is empty, then we know that all agents value (0,y) at least wt. Therefore, by the intermediate value theorem, there must be a value z in (x,y) for which one of the agents, which is not t, values (0,z) exactly the same as t. Then, we can cut the cake at z and recurse as in the first case.
The exact number of required cuts remains an open question. The simplest open case is when there are 3 agents and the weights are 1/7, 2/7, 4/7. It is not known if the number of required cuts is 4 (as in the lower bound) or 5 (as in the upper bound).
See also
Zeng[10] presented an algorithm for approximate envy-free cake-cutting with different entitlements.
References
- ↑ 1.0 1.1 1.2 1.3 Template:Cite Robertson Webb 1998
- ↑ McAvaney, Kevin; Robertson, Jack; Webb, William (1992). "Ramsey partitions of integers and fair divisions". Combinatorica 12 (2): 193. doi:10.1007/bf01204722.
- ↑ Cseh, Ágnes; Fleiner, Tamás (2020-06-01). "The Complexity of Cake Cutting with Unequal Shares". ACM Transactions on Algorithms 16 (3): 29:1–29:21. doi:10.1145/3380742. ISSN 1549-6325. https://doi.org/10.1145/3380742.
- ↑ 4.0 4.1 Shishido, Harunor; Zeng, Dao-Zhi (1999). "Mark-Choose-Cut Algorithms For Fair And Strongly Fair Division" (in en). Group Decision and Negotiation 8 (2): 125–137. doi:10.1023/a:1008620404353. ISSN 0926-2644.
- ↑ Cseh, Ágnes; Fleiner, Tamás (2018), "The Complexity of Cake Cutting with Unequal Shares" (in en), Algorithmic Game Theory (Springer International Publishing): pp. 19–30, doi:10.1007/978-3-319-99660-8_3, ISBN 9783319996592
- ↑ Brams, S. J.; Jones, M. A.; Klamler, C. (2007). "Proportional pie-cutting". International Journal of Game Theory 36 (3–4): 353. doi:10.1007/s00182-007-0108-z.
- ↑ Note that there exists a connected division in which the ratios between the values of the partners are 3:1 – give Alice the two leftmost slices and 8/11 of the third slice (value 4+16/11=60/11) and give George the remaining 3/11 and the rightmost slice (value 1+9/11=20/11). However, this partition is not WPR since no partner receives his due share.
- ↑ Segal-Halevi, Erel (2018-03-14). "Cake-Cutting with Different Entitlements: How Many Cuts are Needed?". Journal of Mathematical Analysis and Applications 480: 123382. doi:10.1016/j.jmaa.2019.123382.
- ↑ Crew, Logan; Narayanan, Bhargav; Spirkl, Sophie (2019-09-16). "Disproportionate division". arXiv:1909.07141 [math.CO].
- ↑ Zeng, Dao-Zhi (2000). "Approximate Envy-Free Procedures" (in en). Game Practice: Contributions from Applied Game Theory. Theory and Decision Library. 23. Springer. pp. 259–271. doi:10.1007/978-1-4615-4627-6_17. ISBN 9781461546276.