Problemintro
Cake cutting problem
Also called fair cake cutting.
Divide a divisible resource, modeled as the interval [0, 1], among n agents with different value measures, so that each agent finds its piece fair.
- Time
- Θ(n log n) worst
- Where
- n = the number of agents
The cake cutting problem asks how to divide one divisible resource among agents who value its parts differently, so that each agent thinks its piece is fair. The resource is modeled as the interval , and each agent has its own measure of value on it. The two main fairness goals are proportional division, in which each agent gets at least by its own measure, and envy-freeness, in which no agent prefers the piece of another agent. Protocols are compared by the number of queries they ask in the Robertson-Webb query model. For proportional division the answer is known: queries.
In plain words
Some friends share a cake with many toppings. Each friend likes different toppings, so the same piece can look large to one friend and small to another. Each friend knows only what it likes. The problem is to find a rule that cuts the cake and gives the pieces out, so that each friend thinks it was treated fairly.
Fair can mean different things. A weak meaning is that each friend gets at least its share of the whole, as it sees it. A strong meaning is that no friend wants to swap its piece with the piece of another friend. The rule cannot look inside the heads of the friends. It can only ask them questions, so a good rule asks few questions.
Definition
The cake is the interval . There are agents. Agent has a valuation that assigns a value to each finite union of intervals. It has these properties.
- Nonnegative. for every piece .
- Additive. when and are disjoint.
- Nonatomic. for every point . So it does not matter which piece holds a cut point, and changes continuously with .
- Normalized. .
Often is given by a density , so that . An allocation is a list of pieces , each a finite union of intervals, that are disjoint (up to the end points) and cover . Agent gets . The allocation is
- proportional if for every ;
- envy-free if for every and ;
- equitable if .
A problem instance also says whether each must be one interval (connected pieces) or may be a finite union of intervals. A protocol does not know the valuations. It asks queries of the agents. In the Robertson-Webb model there are two kinds: returns , and returns a point with . The cost of a protocol is the number of queries in the worst case. Arithmetic and the choice of the next query are free.
Variants
- Proportional division. Each agent gets at least . Finite protocols with connected pieces exist for every .
- Envy-free division. No agent envies another. With agents, an envy-free allocation that covers the whole cake is also proportional, since . Envy-free allocations with connected pieces always exist, but no finite protocol finds them for (see Stromquist's impossibility theorem).
- Equitable and exact division. Each agent gets the same value by its own measure, or each agent values each piece at exactly . A consensus halving is the exact case with two pieces. These divisions exist, but no finite protocol in the Robertson-Webb model finds an exact one.
- Efficiency. A Pareto optimal allocation leaves no other allocation that is at least as good for every agent and better for one.
- Unequal entitlements. Agent has a weight and should get at least .
- Chores. The resource is bad, and each agent wants a piece of small cost. See chore division.
- Indivisible goods. The resource is a set of items that cannot be cut. Proportional and envy-free allocations need not exist then, so weaker goals are used. See indivisible goods allocation.
- Strategic agents. A protocol is strategyproof if no agent gains by false answers. Most classic protocols only guarantee that an honest agent gets its fair share, whatever the others do.
Examples
Two agents. Agent 1 values the cake uniformly. Agent 2 values only , with density 2 there. The allocation and gives agent 1 the value and agent 2 the value . It is proportional and envy-free. The allocation and gives agent 2 the value 0, so it is neither.
Proportional but not envy-free. Split into four equal segments, and let three agents have the densities , and , scaled to total value 1. The last diminisher gives agent 3 the piece , agent 2 the piece and agent 1 the piece . The values are , and , so the allocation is proportional. But agent 3 values the piece of agent 2 at , so agent 3 envies agent 2.
The same piece, different values. For agent 1 above, is worth ; for agent 3 it is worth . This difference is what makes fair division possible: when the agents disagree, each agent can get more than by its own measure.
Known algorithms
| protocol | agents | goal | pieces | queries |
|---|---|---|---|---|
| divide and choose | 2 | envy-free | connected | 2 |
| last diminisher | proportional | connected | ||
| Dubins-Spanier moving knife | proportional | connected | ||
| Even-Paz | proportional | connected | ||
| Selfridge-Conway | 3 | envy-free | unions | at most 5 cuts |
| Brams-Taylor | envy-free | unions | finite, not bounded | |
| Aziz-Mackenzie | envy-free | unions | bounded, a tower of six |
The Stromquist moving knife gives an envy-free division with connected pieces for three agents, but it uses continuous knives, so it is not a finite protocol in the Robertson-Webb model. For two agents who share several goods by points, the adjusted winner procedure is envy-free, equitable and Pareto optimal.
| Algorithm | Time | Space | Properties | Code |
|---|---|---|---|---|
| Aziz-Mackenzie protocol | O(n^(n^(n^(n^(n^n))))) worst | O(n^(n^(n^(n^(n^n))))) extra | deterministicofflinerecursive | 1 language |
| Brams-Taylor procedure | ∞ worst | ∞ extra | deterministicofflineiterative | 1 language |
| Divide and choose | Θ(1) worst | Θ(1) extra | deterministicofflineiterative | 1 language |
| Dubins-Spanier moving knife | Θ(n^2) worst | Θ(n) extra | deterministicofflineiterative | 1 language |
| Even-Paz algorithm | Θ(n log n) worst | Θ(n) extra | deterministicofflinerecursive | 1 language |
| Last diminisher | Θ(n^2) worst · best | Θ(n) extra | deterministicofflineiterative | 1 language |
| Selfridge-Conway procedure | Θ(1) worst | Θ(1) extra | deterministicofflineiterative | 1 language |
| Stromquist moving knife | O(k log k) worst | O(k) extra | deterministicofflineiterative | 1 language |
Bounds
- Proportional, upper bound. Even-Paz uses at most queries, so .
- Proportional, lower bound. Every deterministic proportional protocol needs queries, even with pieces that are unions of intervals. This is the Edmonds-Pruhs lower bound. Woeginger and Sgall had proved it before for connected pieces. So is the deterministic query complexity of proportional cake cutting.
- Proportional, randomized. Even and Paz gave a randomized protocol with expected cuts. Edmonds and Pruhs proved for randomized protocols when the queries return approximate answers.
- Envy-free, lower bound. Procaccia (2009) proved that every envy-free protocol needs queries.
- Envy-free, upper bound. Aziz and Mackenzie (2016) gave the first bounded protocol for every , with queries. The gap between the bounds is open.
- Envy-free with connected pieces. For no finite protocol exists (Stromquist 2008).
Reductions
- Envy-free to proportional. Any envy-free allocation of the whole cake is proportional, so a protocol for envy-freeness also gives a proportional division. For the two goals are the same.
- Proportional to search. Each of the agents in the Edmonds-Pruhs proof must find a piece that is thin and rich for it. This turns the lower bound into a search problem with an adversary, as in the comparison sort lower bound.
- Envy-free to fixed points. The existence of envy-free allocations with connected pieces follows from Sperner's lemma, by the method that Su also uses for rental harmony.
- Exact division to necklace splitting. The necklace splitting theorem is the discrete form of an exact division with few cuts.
Applications
- Division of land, an inheritance or the assets in a divorce. The adjusted winner procedure was designed for such cases.
- Division of time, such as shifts or the use of a shared machine, when the agents prefer different times of the day.
- Division of rent and rooms in a shared house (rental harmony).
- Allocation of a shared resource among users in computer systems, where the fairness goals of cake cutting are compared with goals such as proportional fairness.
References
- Steven J. Brams and Alan D. Taylor, Fair Division, From Cake-Cutting to Dispute Resolution, Cambridge University Press, 1996, Chapters 1 and 2 (proportional procedures for two and for n agents), Chapters 6 and 7 (envy-free procedures)
- Jack Robertson and William Webb, Cake-Cutting Algorithms, Be Fair If You Can, A K Peters, 1998, Chapter 1, Fairly Dividing a Cake; Chapter 8, Impossibility Theorems; Chapter 10, Exact and Envy-Free Algorithms
- Felix Brandt, Vincent Conitzer, Ulle Endriss, Jerome Lang and Ariel D. Procaccia (eds.), Handbook of Computational Social Choice, Cambridge University Press, 2016, Chapter 13, Ariel D. Procaccia, Cake Cutting Algorithms, pp. 311-330 (Section 13.3, classic algorithms, from p. 313; Section 13.4, complexity of cake cutting, from p. 316)
- Hugo Steinhaus, The problem of fair division, Econometrica 16(1) (1948), 101-104, the first statement of the problem for n people
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag PKXVNC Edit this page History Report an error Markdown