arXiv:2610.28535cs.GTOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.28535

Exact Envy-Free Cake Cutting with Polynomial Expected Queries

Simon Mackenzie, Mashbat Suzuki

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Envy-free cake cutting asks how to divide a resource so that no agent prefers another agent's share. Finding such a division with few queries about preferences has been a longstanding challenge. Aziz and Mackenzie gave the first query bound depending only on the number n of agents: a tower of six n's. Subsequent improvements culminated in Ye and Bai's single-exponential bound of nO(1)2nn^{O(1)}2^n. A large gap remains between this deterministic upper bound and Procaccia's general lower bound of Ω(n2)\Omega(n^2). Whether polynomially many queries suffice is a central open question in fair division.

We show that a polynomial expected query bound is possible. Our randomised protocol uses only independent, uniformly sampled points from the cake as its source of randomness. For every profile of n agents with nonnegative, additive, nonatomic valuations, the protocol has the following guarantees:

• It terminates with probability one.

• Every allocation it returns is complete and exactly envy-free.

• Its expected number of Robertson–Webb queries is O~(n30)\tilde{O}(n^{30}).

The expectation is taken solely over the protocol's random choices, with no distributional assumptions on preferences.

1 Introduction

Fair division asks how to share a resource among agents who may value its parts differently. A natural fairness requirement is envy-freeness, which means that each agent values her own share at least as highly as anyone else's. Finding such a division requires information about the agents' preferences. The algorithmic challenge is to determine how much information is needed.

We study this question in cake cutting, where a divisible resource is represented by the interval [0,1][0,1]. Each agent assigns finite, nonnegative values to pieces. These valuations are additive and nonatomic: values of disjoint pieces add, and the value of an interval varies continuously with its endpoints. In particular, individual points have zero value. We assume that every agent assigns positive value to every interval of positive length; such agents are called hungry. These interval values may be arbitrarily small and may differ greatly across agents.

The protocol learns about these valuations through two types of query: an Eval query asks an agent for the value of an interval, and a Cut query asks her to identify a cut that yields a specified value. These are the standard Robertson–Webb queries [RW98, WS07], and their answers are exact. Hungriness ensures that every feasible Cut query has a unique answer, simplifying the protocol's description. Our goal is to find an exactly envy-free division of the whole cake, allowing each share to consist of several intervals. We seek a query bound that depends only on the number of agents, regardless of their valuations.

Obtaining a bound of this kind was a major step in the study of envy-free cake cutting. Brams and Taylor [BT95] gave a protocol that terminates for every profile of additive, nonatomic valuations, but whose query count is not bounded by any function of the number of agents. Aziz and Mackenzie obtained bounded protocols first for four agents [AM16a] and then for any number of agents [AM16b]. Amanatidis et al. [ACF+18] later improved the four-agent bound.

For general nn, however, Aziz and Mackenzie's bound was a tower of six nn's, nnnnnn^{n^{n^{n^{n}}}}. Subsequent work substantially reduced this bound: Sokolov obtained n8n2(1+o(1))n^{8n^{2}(1+o(1))} [Sok23], and Ye and Bai recently improved it to nO(1)2nn^{O(1)}2^{n} [YB26]. Even so, a large gap remains between the best known deterministic bounds: the upper bound is single-exponential, whereas Procaccia's lower bound is Ω(n2)\Omega(n^{2}) [Pro09]. A central open question in this line of work is whether polynomially many queries suffice to find an exactly envy-free division.

Our Contribution. We make progress on this question by giving a randomized protocol with access to an oracle that returns independent uniform samples from (0,1)(0,1). Since the cake is represented by [0,1][0,1], each oracle call simply selects a point uniformly at random from the cake. With this source of randomness, the protocol has the following guarantees:

• It terminates with probability one.

• Every allocation it returns is complete and exactly envy-free.

• Its expected number of Robertson–Webb queries is polynomial in the number of agents.

The same polynomial bound holds for every valuation profile. The expectation is over the protocol's random choices, with the valuations fixed; we assume no distribution over preferences. The following theorem makes these guarantees precise.

Theorem 1 (Complete exact envy-free division). There exists a randomised protocol that, for every n≥1n \geq 1 and every profile of n hungry agents with nonnegative, additive, nonatomic valuations, returns a complete, exactly envy-free allocation using O~(n30)\widetilde{O}(n^{30}) Robertson–Webb oracle calls in expectation. The expectation is over the protocols random choices.

The expected number of independent uniform draws from (0,1)(0,1) is also O~(n30)\widetilde{O}(n^{30}).

We also obtain a polynomial bound on the expected total computation between oracle calls.

Proposition 2 (Expected computation). The protocol in Theorem 1 can be implemented so that, for every n≥1n \geq 1 and every profile of n hungry agents with nonnegative, additive, nonatomic valuations, it returns a complete, exactly envy-free allocation using nO(1)n^{O(1)} operations in expectation. The expectation is over the protocol's random choices.

In Proposition 2, we count each Robertson–Webb query, independent uniform draw from (0,1)(0,1), exact arithmetic operation, or comparison as a single operation.

We also give a protocol whose query bound depends on the requested confidence and holds on every run. For any δ∈(0,1)\delta \in (0,1), it returns a complete, exactly envy-free allocation with probability at least 1−δ1 - \delta and reports failure otherwise; it never returns an allocation that violates envy-freeness. The full guarantee is stated in Proposition 7.3.

Remark 1.1 (The hungry-agent assumption). We assume hungriness only to simplify the presentation. Both main results, Theorem 1 and Proposition 2, remain valid without this assumption: valuations with zero-valued intervals can be handled using suitable conventions for zero values and cut points.

Relation to earlier protocols. The difficulty is not just to produce an envy-free partial division. The cake left over must eventually be allocated without creating envy. Earlier protocols give some agents enough of an advantage to protect them against any later division of the remainder [BT95, AM16b]. Ye and Bai organise this completion argument using polynomially many saved partial allocations. Their analysis identifies the exponential cost of calls to Core and SubCore, procedures introduced by Aziz and Mackenzie [AM16b], as the remaining obstacle to a polynomial bound [YB26, Section 5]. Our local procedures supply the guarantees needed for completion with polynomial expected cost. We retain the saved allocations, useful reassignments and eventual protection against the remainder. The key repair procedure removes envy by reassigning whole bundles and adding a small amount of cake. Applied to all agents still participating, it preserves enough of a selected group's large advantages for that group to keep its shares while the others divide the remainder.

Our new ingredient is a way to compensate agents with cake while controlling the envy that those payments could create. It builds on Halpern and Shah's envy-removing monetary subsidies [HS19] and the use of cake to realise payments in Aziz, Lu, Mackenzie and Suzuki [ALMS25]. Their construction uses cake pieces that all agents value in prescribed common proportions. Our payments may have different values for different agents: we make each recipient's payment exact and bound the discrepancies for everyone else. This allows compensation with polynomially many queries even when agents' preferences are arbitrarily close. Randomisation makes the necessary accuracy affordable.

Scope and related guarantees. Chèze obtains a polynomial query bound with high probability when values on a fixed partition follow a random-input model [Che26]. Our expected bound holds with the valuations fixed; we randomise the protocol. Mehra and Psomas give a deterministic

O(n4)O(n^{4})-query protocol for a fairness requirement that strengthens proportionality but is strictly weaker than envy-freeness for n≥3n \geq 3 [MP25]. Free-disposal protocols may leave cake unallocated while retaining exact envy-freeness [SHA16]. Stromquist's finite-protocol impossibility requires each share to be one interval [Str08].

Randomised lower bounds also depend on the query and allocation model. Arndt, Pruhs and Tran prove an expected Ω(nlog⁡n)\Omega(n \log n) query lower bound for proportional division when each agent must receive a single interval [APT26, Sections 1.3 and 2]. Edmonds and Pruhs obtain a randomised lower bound when cut replies permit a fixed relative error [EP11, Theorem 3.4]. Neither result directly applies to our combination of exact cut queries and possibly disconnected shares.

After specifying the model in Section 2, we state the three local guarantees and illustrate the payment idea in Section 3. Section 4 uses those guarantees to complete the division; Sections 5 and 6 construct the local procedures. Section 7 combines their costs.

References (25)