Mind the Gap: Cake Cutting With Separation
Edith Elkind, Erel Segal-Halevi, Warut Suksompong
Introduction
The end of the year is fast approaching, and members of a city council are busy planning the traditional New Year’s fair on their city’s main street. As usual, a major part of their work is to divide the space on the street among interested vendors. Each vendor naturally has a preference over potential locations, possibly depending on the proximity to certain attractions or the estimated number of customers visiting that space. Additionally, this year is different from previous years due to the social distancing guidelines issued by the government—vendors are required to be placed at least two meters apart. How should the city council allot the space so that all vendors feel fairly treated and at the same time everyone stays safe and sound under the new guidelines?
The problem of fairly allocating a heterogeneous divisible good among a set of agents in a fair manner has a long history and is commonly known as cake cutting (Brams and Taylor 1996; Robertson and Webb 1998; Procaccia 2016). A typical fairness criterion in cake cutting is proportionality, which means that each agent should receive her proportionally fair share, i.e., of the agent’s value for the whole cake, where denotes the total number of agents. For any set of agents with arbitrary valuations, a proportional allocation in which each agent receives a single connected piece is guaranteed to exist. Better still, such an allocation can be found by a simple and efficient algorithm (Dubins and Spanier 1961).
In this paper, we initiate the study of cake cutting with separation requirements. Besides the social distancing example that we mentioned, our setting captures the task of allocating machine processing time, where we need time to erase data from the previous process before the next process can be started, as well as land division, where we want space between different plots in order to avoid cross-fertilization. When separation is imposed, it is no longer the case that proportionality can always be satisfied—an extreme example is when all agents value only a common small piece of length less than the minimum gap required. A similar failure of proportionality has notably been observed in the allocation of indivisible items (without separation), and a solution that has been proposed and widely studied in that context is maximin share fairness (Budish 2011; Kurokawa et al. 2018). Maximin share fairness requires each agent to receive her “maximin share” (MMS), which is the best share that the agent can secure by dividing the items into bundles and getting the worst bundle. In this work, we demonstrate that maximin share fairness is an appropriate substitute for proportionality in cake cutting with separation, and analyze this concept from a computational perspective. This is one of the first uses of maximin share fairness in cake cutting (see Section 1.2).
As is commonly done in cake cutting, we assume that the cake is represented by an interval, and each agent is to be allocated a single subinterval of the cake. We further require the pieces of any two agents to be separated by distance at least , where is a given separation parameter. For the sake of exposition, we follow the convention in most of the literature and assume that the agents have additive valuations over the cake. However, as we discuss in Section 6, some of our positive results hold even for agents with arbitrary monotonic valuations.
In Section 3, we begin by proving that maximin share fairness can be guaranteed: there always exists an allocation that gives every agent at least her maximin share. If the maximin share of each agent is known, such an allocation can be found by a simple algorithm similar to the aforementioned algorithm by Dubins and Spanier 1961. Unfortunately, we show that no finite algorithm can compute the maximin share of an agent exactly in the standard Robertson–Webb model—this impossibility result holds even when and the agents have piecewise constant valuations. To establish this result, we prove that no finite number of queries can solve a basic function problem that we call FindSum1, which may be of independent interest. Nevertheless, we design an algorithm based on binary search that approximates the maximin share up to an arbitrarily small error. This enables us to compute an allocation wherein each agent obtains an arbitrarily close approximation of her maximin share. In addition, we present algorithms that decide whether the maximin share of an agent is greater than, less than, or equal to a given value, and show that if the agents have piecewise constant valuations that are given explicitly as part of the input, then we can compute their exact maximin shares, and therefore an MMS-fair allocation, in polynomial time using linear programming.
In Section 4, we consider the allocation of a “pie”, which is a one-dimensional circular cake and serves to model, for example, the streets around a city square, the shoreline of an island, or daily time slots for using a facility. In contrast to cake cutting, maximin share fairness cannot necessarily be guaranteed in pie cutting, and even the commonly studied cardinal multiplicative approximation cannot be obtained. Therefore, we focus instead on an ordinal relaxation of the maximin share, which allows each agent to partition the pie into pieces for some parameter . We show that when , the resulting fairness guarantee—called the -out-of- maximin share—can be satisfied. We then investigate computational properties of maximin share fairness in pie cutting, and demonstrate several similarities and differences with cake cutting. In particular, while we can still approximate the maximin share of an agent (albeit less efficiently than in cake cutting), deciding whether the maximin share is greater than, less than, or equal to a given value is no longer possible for any finite algorithm. A summary of our results in Sections 3 and 4 can be found in Table 1.
Finally, in Section 5, we investigate two other important fairness notions: envy-freeness and equitability. While these notions can be satisfied trivially by not allocating any of the cake or pie, we show that there always exist allocations fulfilling each of these criteria while at the same time allocating the maximum possible amount of resource subject to separation constraints.
2 Related Work
Cake cutting has long been studied by mathematicians and economists, and more recently attracted substantial interest from computer scientists, as it suggests a plethora of computational challenges. In particular, a long line of work in the artificial intelligence community in recent years has focused on cake cutting and its variants (Balkanski et al. 2014; Li et al. 2015; Brânzei et al. 2016; Alijani et al. 2017; Bei et al. 2017; Menon and Larson 2017; Arunachaleswaran et al. 2019b; Hosseini et al. 2020).
In order to ensure that no agent receives a collection of tiny pieces, it is often assumed that each agent must be allocated a connected piece of the cake (Dubins and Spanier 1961; Stromquist 1980; Stromquist 2008; Su 1999; Bei et al. 2012; Cechlárová and Pillárová 2012; Cechlárová et al. 2013; Aumann and Dombb 2015; Arunachaleswaran et al. 2019a; Goldberg et al. 2020). Indeed, when we divide resources such as time or space, non-connected pieces (e.g., disconnected time intervals or land plots) may be hard to utilize, or even entirely useless. Note that we impose the connectivity constraint not only on the allocation but also in the definition of the maximin share benchmark. Similar conventions have been used in the context of indivisible items, where the items are vertices of an undirected graph and every agent must be allocated a connected subgraph (Bouveret et al. 2017; Igarashi and Peters 2019; Lonc and Truszczynski 2020; Bilò et al. 2022). Bei et al. 2022 explored the relations between the constrained and unconstrained versions of the maximin share in that context.
Most previous works on cake cutting (and pie cutting) did not explicitly consider the maximin share. This is because, with additive utilities, a proportional allocation is also an MMS-fair allocation, since each agent’s maximin share is always at most of the agent’s value for the entire cake (or pie). In particular, without separation constraints, classic algorithms for proportional cake cutting (Steinhaus 1948; Dubins and Spanier 1961; Even and Paz 1984) attain maximin share fairness. The maximin share only becomes interesting when a proportional allocation may not exist.
We are aware of two recent studies of the maximin share in cake cutting. Bogomolnaia and Moulin 2022 considered agents with general continuous valuations—not necessarily additive or even monotonic. They showed that the maximin share is not always attainable, but the minimax share (i.e., the worst-case share of an agent when the items are partitioned into bundles and the agent gets the best bundle) can always be guaranteed. Segal-Halevi 2021 showed that maximin share fairness can be attained when the cake is a collection of disconnected intervals and each agent should receive a connected piece. We are not aware of previous studies of maximin share fairness in pie cutting.
Iyer and Huhns 2005 presented negotiation protocols for fairly dividing a cake or a pie. Their protocols require each agent to submit a set of intervals (in cake division) or intervals (in pie division), and guarantee to each agent one of her intervals. While presented in a different framework, their protocols are similar in spirit to our algorithms for a cake (Theorem 3.1) and for a pie (Theorem 4.1). However, they did not consider separation, and focused on solution concepts other than the maximin share (indeed, recall that maximin share fairness is trivial in the absence of separation).
After the publication of the conference version of our work (Elkind et al. 2021a), we extended our study of separation constraints to the division of two-dimensional resources such as land (Elkind et al. 2021c) and graphical resources such as road networks (Elkind et al. 2021b). In particular, our guarantees for arbitrary graphs generalize Theorems 3.1 and 4.1 of the present paper, but the general algorithms and their analysis are much more involved. Apart from this, there is no overlap between these papers.
Preliminaries
Let be a real parameter. We seek connected allocations in which any two pieces are separated by length at least ; we call such allocations -separated. The case corresponds to the classic setting (without separation), and when an -separated allocation must have at least one piece of length . Therefore, from now on we assume that . A set is an (-separated) partition if the tuple is an (-separated) allocation; intuitively, a partition is a collection of pieces, without a specification of which agent gets which piece. Assume without loss of generality that in each partition the pieces are listed in increasing order, i.e., for each we have for all , . The min-value of partition for agent is defined as . Let denote the set of all -separated partitions of the interval among agents (where ). Note that an -separated allocation or partition is incomplete, since some of the cake necessarily remains unallocated. An instance consists of the agents, cake, density functions, and a separation parameter.
A standard method for a cake-cutting algorithm to access agents’ valuations is through queries. Specifically, we use the model of Robertson and Webb 1998, which supports two types of queries:
: Asks agent to evaluate the interval and return the value .
: Asks agent to return the leftmost point such that , or to state that no such point exists.
We now define the main fairness criterion of our paper.
The maximin share of agent with respect to an interval is defined as
When and are clear from the context, we omit them from the notation and write instead of . Moreover, when , we further abbreviate to .
Let be the set of all -separated partitions of such that every pair of consecutive pieces is separated by length exactly . We claim that the definition of the maximin share can be simplified by replacing with ; intuitively, for every partition in which the distance between some pair of adjacent pieces is larger than , there is a partition with at least the same min-value in which the distance between all pairs of adjacent pieces is exactly . We also claim that the supremum in the definition can be replaced with a maximum, i.e., a maximizing partition always exists.
Fix a partition . Suppose that some pair of consecutive pieces of is separated by length more than . We can then extend one of these pieces so that they are separated by length exactly . By doing so for all pairs of consecutive pieces, we obtain another partition such that for all . It follows that , so in Definition 2.1 we may replace with .
Next, we show that we can also replace with . Define
Intuitively, for each the point is the right endpoint of the -th interval in a partition where every two intervals are separated by exactly (so that the -st interval starts at ). Let be a function defined by
From now on, we will work with this new definition of the maximin share. We say that an -separated partition is a maximin partition for agent if every piece in the partition yields value at least . Proposition 2.2 implies that every agent has at least one maximin partition. Similarly, an -separated allocation is said to be an MMS-fair allocation if for each .
Cake Cutting
In this section, we consider cake cutting with separation, both in the Robertson–Webb query model and in a model where the agents’ valuations are given explicitly.
We begin by showing that the maximin share is an appropriate fairness criterion in our setting: it is always possible to fulfill this criterion for every agent using a quadratic number of queries in the Robertson–Webb model. Our algorithm is similar to the famous Dubins–Spanier protocol for finding proportional allocations when separation is not required (Dubins and Spanier 1961): we process the cake from left to right and, at each stage, allocate a piece of cake to an agent who demands the smallest piece.
For any instance of cake cutting with separation, there exists an MMS-fair allocation. Moreover, given the maximin share of each agent, such an allocation can be computed using queries in the Robertson–Webb model.
If there are at least two agents present, we ask each agent to mark the leftmost point such that . The agent who marks the leftmost is allocated the piece (with ties broken arbitrarily); we then remove this agent along with the piece , and recurse on the remaining agents and cake. If there is only one agent left, that agent receives all of the remaining cake. Since we make Cut queries when there are agents left (and no Eval queries), our algorithm uses queries.
We now prove the correctness of the algorithm. Consider any agent and her maximin partition . If agent receives the first piece allocated by the algorithm, she receives value . Else, the allocated piece is no larger than . Since the algorithm inserts a separator of length exactly , the right endpoint of the first separator is either the same or to the left of the leftmost point of . Applying a similar argument repeatedly, we find that if agent is not allocated any of the first pieces, where , then the remaining cake contains the last pieces of . In particular, for it follows that if agent receives the very last piece, she receives a value of at least in this case, too. ∎
The algorithm in Theorem 3.1 crucially relies on knowing the maximin share of each agent. Unfortunately, we show next that this knowledge is impossible to achieve in finite time, even if the valuations are piecewise constant but are not given explicitly as part of the input. Our result is similar in spirit to the non-finiteness results for connected envy-free cake cutting (Stromquist 2008), equitability with connected pieces (Cechlárová and Pillárová 2012; Brânzei and Nisan 2017) and with arbitrary pieces (Procaccia and Wang 2017), and average-proportionality (Segal-Halevi and Nitzan 2019). However, all previous impossibility results were for two or more agents with possibly different valuations. In contrast, our impossibility result is attained even for a single agent who wants to cut the cake into two -separated pieces.
We prove the theorem by reducing from a more general problem, which may be of independent interest.
Problem FindSum1(), where is a real parameter.
, a continuous monotonically increasing bijective function, specified by oracles that can answer two kinds of queries:
Given , what is ?
Output:
A point for which .
2 Explicit Piecewise Constant Valuations
Given an agent with a piecewise constant valuation function given explicitly, we can compute in time polynomial in the size of the input.
At a high level, the proof of Theorem 3.10 proceeds by formulating a linear program whose solution corresponds to . The challenge is that in order to have a linear program that returns a correct answer, we need to find out the intervals to which each endpoint of a maximin partition belongs. To accomplish this, we proceed from left to right, determining the interval for one endpoint at a time. By comparing the maximin shares between optimal subpartitions to the left and right of the potential intervals to which the next endpoint belongs, we ensure that at each step of the algorithm, there exists a maximin partition whose endpoints are consistent with the intervals we have chosen. The full details of the algorithm are rather involved; we defer them to Appendix A.
Combined with Theorem 3.1, Theorem 3.10 implies that when agents have piecewise constant valuations given explicitly, an MMS-fair allocation can be computed efficiently (cf. Corollary 3.4).
For agents with piecewise constant valuations given explicitly, an MMS-fair allocation can be computed in time polynomial in the size of the input.
Pie Cutting
In the canonical model of cake cutting, the cake is assumed to be linear. By contrast, in this section we assume that it is circular. In other words, our resource is represented by the interval $$ with its two endpoints identified with each other. The respective division problem is known in the literature as pie cutting; its applications include dividing the shoreline of an island among its inhabitants and splitting a daily cycle for using a facility (Thomson 2007; Brams et al. 2008; Barbanel et al. 2009).
The definitions of -separated partitions and allocations can be readily adjusted to pie cutting—the only difference is that, due to the circular structure, there are separators in pie cutting rather than (so we assume that ). Note that, since the pie is one-dimensional, distances are measured along the circumference of the pie. We denote by the set of -separated partitions with respect to the pie, and by the subset of partitions for which every pair of consecutive pieces is separated by length exactly . We number the parts in a partition in the clockwise order starting from : that is, point is either contained in the first part or in the separator between the -th part and the first part. The maximin share can then be defined similarly to how it is defined in cake cutting (Definition 2.1); just as in Proposition 2.2, we can show that .
However, in pie cutting, unlike in cake cutting, an MMS-fair allocation does not necessarily exist. This is evident in the example in Figure 1, where , , and Alice values the pieces of length centered at the top and bottom of the pie at each, while Bob values similar pieces on the left and right at each. Since , the maximin share of each agent is . However, since the distance between any point in Alice’s piece and any point in Bob’s piece is at most , no -separated allocation gives both agents a positive value. Hence, no MMS-fair allocation exists.
It turns out that this relaxation is precisely what we need for pie cutting.
For any pie cutting instance with agents, there exists an allocation in which every agent receives a piece of value at least . Moreover, given the -out-of- maximin share of each agent, such an allocation can be computed using queries in the Robertson–Webb model.
The idea behind our algorithm is similar to that of the analogous result for cake cutting (Theorem 3.1). Note, however, that in case of a pie there is no natural starting point; in particular, by starting at , we may destroy one of the pieces in each agent’s partition. This is why we need pieces in the partition rather than .
We ask each agent to mark the leftmost point (i.e., the first such point when moving clockwise from ) such that . The agent who marks the leftmost is allocated the piece (with ties broken arbitrarily); we then remove this agent along with the piece , and recurse on the remaining agents and pie. If there is only one agent left, we still allocate to that agent a piece worth (rather than the entire remaining pie). Since we make Cut queries when there are agents left (and no Eval queries), our algorithm uses queries.
We now prove the correctness of the algorithm. Consider any agent and her -out-of- maximin partition . For , let if is in the interior of , and otherwise; we will write . Note that the segment contains parts of . If agent receives the first piece allocated by the algorithm, she receives value . Else, the right endpoint of the allocated piece is no further to the right than . Since the algorithm inserts a separator of length exactly , the right endpoint of the first separator is no further to the right than . Applying a similar argument repeatedly, we find that if agent is not allocated any of the first pieces, then after removing the -st piece and the following separator, the remaining cake contains . Now, if is in the interior of , then the remaining cake also contains a positive amount of as well as the separator between and . On the other hand, if is not in the interior of , then and the remaining cake contains as well as the separator between and . In either case, the remaining cake contains as well as the separator that comes after . Hence, if we allocate a piece of value to , its right endpoint is no further to the right than and thus the remaining cake contains an unallocated segment of length , which will serve as a separator between the piece that was allocated first and the piece that was allocated last. It follows that in either case the resulting allocation is -separated. ∎
Recall that for cake cutting there exists an algorithm that, given an agent and a number , decides whether and whether (Theorem 3.8 and Corollary 3.9). In contrast, for pie cutting this is not the case.
Fix any . For pie cutting, there is no finite algorithm in the Robertson–Webb model that can decide, for any agent and real number , whether or whether , even when the valuation of this agent is piecewise constant (but not given explicitly).
Assume for contradiction that such an algorithm exists, and take . We show how an adversary can answer the queries of the algorithm in such a way that after a finite number of queries, there exists a piecewise constant valuation function consistent with the answers for which , but also one for which .
The adversary records any point that appears in a query or in its own answer, and answers queries as if the valuation is uniform throughout the pie—that is, for any two consecutive recorded points on the pie, if the interval between them has length , then it also has value . Suppose that some finite number of queries have been answered in this manner, and consider the following two possibilities:
Possibility 1: The entire valuation function is uniform. For any -separated partition , the sum of the lengths of the pieces in is at most , so one of the pieces has length (and value) at most . On the other hand, there exists an -separated partition such that each of the pieces in has length . Hence in this case.
Possibility 2: Consider all -separated -partitions in which each of the pieces has length . Among all such partitions, choose a partition for which none of the endpoints of the pieces coincides with any recorded point; since there are infinitely many partitions and only a finite number of them are forbidden, this choice is possible. If a piece or a separator does not contain a recorded point, record an arbitrary point in its interior. This ensures that each interval between two recorded points contains at most one endpoint of . Now, for each interval of length containing an endpoint of , distribute a value of uniformly within the intersection of with the associated piece of , so the intersection of and the associated separator has value zero. For the remaining intervals, their value (which is equal to their length) is distributed uniformly within the interval. The resulting valuation function is piecewise constant, and each of the pieces of has value strictly greater than . Hence .
We conclude that a finite algorithm cannot distinguish between the case and the case . ∎
Theorem 4.2 leaves open the question of whether it is possible to decide whether for a given . We show next that the answer to this question, too, is negative. We do so by reducing from the following problem, which may be of independent interest.
Problem HasLowValue(), where .
A valuation function on a pie $$, accessible through Cut and Eval queries.
Output:
Yes if the pie contains an interval of length with value at most , i.e., there is an for which , where is computed modulo .
Envy-Freeness and Equitability
In this section, we focus on two other well-studied fairness notions: envy-freeness and equitability.
An allocation is said to be envy-free if for all .
An allocation is said to be equitable if for all .
An empty allocation is trivially envy-free and equitable, but leaves every agent empty-handed. Thus, envy-freeness and equitability should be combined with other axioms that discourage discarding the entire cake. To this end, we will now define a class of allocations (and partitions) that do not waste the cake needlessly.
Given a separation parameter , we say that an allocation or partition is exactly -separated if any two consecutive pieces are separated by length exactly (and in case of a cake, the first piece starts at , while the last piece ends at ).
We note that an envy-free or equitable allocation that is exactly -separated may still leave all agents with zero value: for example, this can happen if all agents have identical valuations and their entire value is packed within an interval of length at most .
The first question we investigate is whether an exactly -separated envy-free or equitable allocation always exists. We first consider cake cutting and answer this question in the affirmative for both notions, by adapting the arguments of Simmons (Su 1999) and Chèze 2017 from the setting without the separation requirement. Since the former argument is well-known in the fair division literature, we only present a sketch here and refer to Section 3 of Su’s paper for more details.
For any cake cutting instance, there exists an exactly -separated envy-free allocation.
Consider a triangulation of this simplex by barycentric subdivision, and assign each vertex of this triangulation to one of the agents, so that for each small subsimplex it holds that each agent is assigned exactly one vertex of this subsimplex. (See Section 4 of Su 1999’s paper for details on this step.) Label each vertex with the index of its assigned agent’s favorite piece in the corresponding partition. If the agent has two or more favorite pieces in the partition, then choose one such piece arbitrarily, as long as it is non-empty. Note that for every vertex its corresponding partition contains at least one non-empty piece, because of the assumption that . Moreover, since the valuations are monotonic, each agent has at least one non-empty favorite piece. Therefore, this tie-breaker is feasible. The tie-breaker ensures that the resulting labeling satisfies the conditions of Sperner’s lemma: each vertex is labeled with an index of a non-zero coordinate. Therefore, the triangulation has a Sperner subsimplex—a subsimplex all of whose labels are different. Repeating this process with finer triangulations gives an infinite sequence of smaller Sperner subsimplices. This sequence has a subsequence that converges to a single point. By the continuity of valuations, this limit point corresponds to a partition in which each agent prefers a different piece, thereby inducing an envy-free allocation. ∎
Next, we adapt the proof of Chèze 2017 to show the existence of an equitable allocation. Unlike for envy-freeness, for equitability we can additionally choose the order in which the agents are allocated pieces of the cake from left to right.
For any cake cutting instance and any ordering of the agents, there exists an equitable exactly -separated allocation in which the agents are allocated the pieces from left to right according to the ordering.
Assume without loss of generality that the desired agent ordering is . Recall that the density function of agent is . Consider the sphere
The function is continuous, so by the Borsuk–Ulam theorem, there exists such that . Moreover, one can check that for all , and in particular . Hence is the zero vector, meaning that
for every . Since both integrals are nonnegative, it must be the case that
for each . It follows that if we allocate the piece between and to agent , we obtain an equitable exactly -separated allocation. ∎
The existence guarantees carry over to pie cutting. Indeed, in order to obtain an envy-free (respectively, equitable) exactly -separated allocation, we can simply insert a separator of length at an arbitrary position in the pie and apply Theorem 5.4 (respectively, Theorem 5.5) on the remaining pie (treated as a cake).
We now explore the relationship between envy-freeness/equitability and maximin share fairness. Without separation, it is known that any complete envy-free allocation is proportional, and hence also MMS-fair. In Theorem 5.7, we generalize this observation to the setting with separation. For this, we need the following lemma.
(a) In any exactly -separated partition of a cake into pieces, each agent has value at least for at least one piece.
(b) In any exactly -separated partition of a pie into pieces, each agent has value at least for at least one piece.
(a) We can represent an exactly -separated partition as a list where and , so that for each . Now, fix an arbitrary partition represented as , and let represent some exactly -separated maximin partition of agent (such a partition exists by Proposition 2.2). Mark each integer by if and by if . Note that and are marked both and . Therefore, there exists at least one such that is marked and is marked . This means that the piece contains the piece , whose value is at least since it is a piece in a maximin partition.
(b) Consider an exactly -separated partition of the pie. We can assume without loss of generality that the leftmost point of is and hence the rightmost point of is . Let be some exactly -separated -out-of- maximin partition of the pie. Remove from the pie the interval , and remove from the (at most one) part that overlaps ; if no such part exists, remove a part closest to . Extend the parts adjacent to the removed part so that one of them starts at and the other one ends at . The resulting partition has parts, with the first part starting at and the last part ending at , and the value of each part is at least . Now, the situation (restricted to ) is exactly as in part (a), and the same proof shows that at least one part of contains a part of . ∎
The guarantee in part (b) cannot be improved to . Indeed, consider Figure 1 with . For Alice each of the two parts of length in the left figure has value , which means that , while each of the two parts of length in the right figure has value to her.
In any exactly -separated envy-free allocation, the value of each agent is
(a) at least in case of a cake;
(b) at least in case of a pie.
In any envy-free allocation, the piece allocated to agent is at least as valuable to as each of the pieces in the allocation. Therefore, by Lemma 5.6, this allocated piece yields value at least in case of a cake and in case of a pie. ∎
Similarly to the example following Lemma 5.6, the bound in part (b) cannot be improved to .
2 Computation
Having established that envy-free/equitable exactly -separated allocations of a cake always exist, it is natural to ask whether they can be computed by a finite algorithm. Unfortunately, it turns out that the answer to this question is ‘no’. We will show that this is the case even when there are only two agents with identical valuations; note that in this case an exactly -separated allocation is envy-free if and only if both parts have exactly the same value, so in particular envy-freeness is equivalent to equitability.
The argument for the case of cake is simple: by Theorem 5.7, if we could compute an envy-free (or, equivalently, equitable) allocation in this setting, we could also deduce the maximin share with respect to the common valuation, thereby contradicting Theorem 3.2.
For cake cutting, there is no algorithm that can always compute an envy-free or an equitable exactly -separated allocation by asking the agents a finite number of Robertson–Webb queries. This holds even when and the agents’ valuations are identical, piecewise constant, and strictly positive (but not given explicitly).
These impossibilities stand in stark contrast to the canonical setting without separation: in that setting, with two agents, an envy-free allocation for non-identical valuations and an equitable allocation for identical valuations can be found by a simple cut-and-choose algorithm.
Regarding pie cutting, it is possible to show that no finite algorithm can compute an envy-free/equitable allocation for two identical agents, by modifying the proof of Theorem 3.2. We cannot prove the impossibility by reducing from Theorem 4.2, since an envy-free or equitable division of a pie into pieces, even with identical valuations, is not necessarily 1-out-of- MMS-fair. In particular, the adversary can answer the queries made by the algorithm in such a way that after any finite number of queries, the algorithm cannot identify an exactly -separated partition in which the two pieces have the same value based on the given answers.
For pie cutting, there is no algorithm that can always compute an envy-free or an equitable exactly -separated allocation by asking the agents a finite number of Robertson–Webb queries. This holds even when and the agents’ valuations are identical, piecewise constant, and strictly positive (but not given explicitly).
In light of Corollary 5.8 and Theorem 5.9, it would be interesting to develop approximation algorithms that compute allocations with low envy—this direction has been recently pursued in cake cutting without separation (Arunachaleswaran et al. 2019a; Goldberg et al. 2020).
Conclusion and Future Work
In this paper, we have initiated the study of cake cutting under separation requirements, which capture scenarios including data erasure in machine processing, cross-fertilization prevention in land allocation, as well as social distancing. We established several existence and computational results concerning maximin share fairness, both positive and negative. Overall, our results indicate that maximin share fairness is an appropriate substitute for proportionality in this setting.
We end the paper with a number of directions for future work.
Can we improve the query complexity bounds in our results, or establish matching lower bounds? A particularly interesting question concerns Theorem 3.1, where we presented an algorithm that computes an MMS-fair allocation using queries given the agents’ maximin shares. Without separation, it is well-known that a proportional allocation can be found using queries via a divide-and-conquer approach (Even and Paz 1984), and that this is tight (Woeginger and Sgall 2007; Edmonds and Pruhs 2011). What is the optimal query complexity of computing an MMS-fair allocation in our setting?
While the canonical maximin share is a reasonable fairness requirement when agents have equal entitlements to the resource, in certain situations the agents may be endowed with different entitlements (Barbanel 1995; Cseh and Fleiner 2020; Chakraborty et al. 2021a; Chakraborty et al. 2021b). Various extensions of the maximin share have been proposed (Aziz et al. 2019; Farhadi et al. 2019; Babaioff et al. 2021; Chakraborty et al. 2022), and it may be interesting to study them in the context of cake cutting with separation. For different entitlements, a connected cake allocation may not exist even without separation (Segal-Halevi 2019; Crew et al. 2020).
What happens if we do not require each agent to receive a single connected piece, but instead allow up to connected pieces for some parameter ? When , the analog of Theorem 3.1 no longer holds: one can check that the valuation functions in Figure 4 do not admit an MMS-fair allocation. It remains open whether any (ordinal or cardinal) approximation of the maximin share can be attained.
Prior work has explored the combination of fairness and economic efficiency in cake cutting without separation (Bei et al. 2012; Aumann et al. 2013; Arunachaleswaran et al. 2019a). With separation, can we achieve maximin share fairness along with certain notions of efficiency, for instance, minimizing the value of the unallocated cake? Note that maximin share fairness is always compatible with Pareto efficiency, since a Pareto improvement of an MMS-fair allocation is again MMS-fair.
At a higher level, separation requirements represent one type of constraints that arise in a number of applications of cake cutting. In other applications, it may be desirable to limit the amount of cake that certain agents receive, or ensure that the cake is allocated to agents in a given order. Suksompong 2021 surveyed different types of constraints in fair division. Examining the interplay between such constraints and fairness considerations is an important direction that will likely lead to fruitful research.
Acknowledgments
This work was partially supported by the European Research Council (ERC) under grant number 639945 (ACCORD), by the Israel Science Foundation under grant number 712/20, by the Singapore Ministry of Education under grant number MOE-T2EP20221-0001, and by an NUS Start-up Grant. Part of the work was done while the third author was a postdoctoral researcher at the University of Oxford. We would like to thank Iosif Pinelis, Fedor Petrov, Jochen Wengenroth, and Dieter Kadelka for their mathematical help, and the anonymous reviewers of the 35th AAAI Conference on Artificial Intelligence (AAAI 2021) and Artificial Intelligence Journal for their valuable comments.
References
Appendix A Proof of Theorem 3.10
Let be the piecewise constant valuation function of agent , described by a list of breakpoints with , , and a list of densities . For readability, we set for each , as illustrated below:
In what follows, we depart from the notation used in the remainder of the paper and represent an -separated partition of $n(x_{0},x_{1},\dots,x_{n})x_{0}=-sx_{n}=1k[x_{k-1}+s,x_{k}]$.
Program :
To see that this approach is correct, consider two -separated maximin partitions of $(x^{-}_{0},\dots,x^{-}_{n})(x^{+}_{0},\dots,x^{+}_{n})s(x_{0},\dots,x_{n})x^{-}_{1}\leq x_{1}\leq x^{+}_{1}c^{*}>00
Indeed, by our choice of we have : if , then the value of the first part is less than , and if , we can find an with , a contradiction with our choice of . By the same argument, for every and hence for every . On the other hand, for , is a superset of and hence . Thus, . By a similar argument, . Further, if , then, by combining the corresponding maximin partition with , we obtain an -separated partition of $nc^{*}p_{j^{+}}>x^{+}_{1}x^{+}_{1}[p_{j^{+}},1]r(1)\leq j^{+}k=1$.
To see the correctness of our approach, first observe that it suffices to restrict our attention to the intervals in . Indeed, for every maximin partition that is consistent with we have , and hence . Thus, has to be contained in an interval such that .
To see that our algorithm runs in polynomial time, it remains to observe that, to find the maximin share of agent , we first need to identify all intervals in , and then solve the resulting linear program. Thus, we need to solve linear programs, and the size of each linear program is polynomial in the size of the input. The remaining steps of the algorithm (such as invoking the algorithm from Theorem 3.5) can also be implemented efficiently.
Appendix B Ordinal Maximin Relaxations
We prove here that in cake cutting, it is possible to compute an allocation in which each agent receives her -out-of- maximin share using a finite number of queries. Note that this result is incomparable to Corollary 3.7, which shows that an arbitrarily close additive approximation of the -out-of- maximin share can be computed.
For any cake cutting instance with agents, it is possible to compute an allocation in which every agent receives value at least using queries in the Robertson–Webb model.
From the left end of the cake, we repeatedly move a knife to the right by length . After each move, we ask each agent whether the piece to the left of the knife has value at least . To implement this query, we first ask the agent to evaluate the piece to the left of the knife so as to obtain , run the algorithm that can decide whether (see Theorem 3.8), and flip the answer. If the answer is Yes for at least one agent, we allocate the piece to one such agent; we then remove this agent along with the adjacent piece of length , and recurse on the remaining agents and cake. If there is only one agent left, that agent receives all of the remaining cake. Asking an agent can be implemented using at most queries (Theorem 3.8). Since we move the knife times, each time asking at most agents, we need queries.
We now prove the correctness of the algorithm. Consider any agent and her -out-of- maximin partition ; assume that for . Let be the -th piece allocated by the algorithm, where and ; for notational convenience, let . If receives a piece during the first steps of the algorithm, she values this piece at least . To complete the proof, we will argue by induction on that if agent does not receive any of the first pieces allocated by the algorithm, then the remaining cake, i.e., , contains the piece of her partition. This implies both that the algorithm will be able to allocate a piece to each agent and that the last agent values her piece at least .
For our claim is trivially true. Now, suppose it has been established for , and agent did not receive any of the first pieces. We know that contains . Consider the piece . Either this piece is of length or agent did not say Yes when the knife was at . Either way, is no further to the right than the right endpoint of , i.e., . That is, . As we have , this implies , and hence . That is, contains the piece , as claimed. This completes the induction and hence establishes the correctness of our algorithm. ∎
If we want to cut a pie, we can turn it into a cake by cutting it at an arbitrary point (e.g., at point ) and removing an interval of length starting from this point, similarly to the proof of Theorem 4.11.
For any pie cutting instance with agents, it is possible to compute an allocation in which every agent receives value at least using queries in the Robertson–Webb model.
Appendix C CutRight Query
We show that the query, which returns the rightmost point for which , cannot be implemented using finitely many queries in the standard Robertson–Webb model. This query has been used by Cechlárová and Pillárová 2012, where it was called a “reverse cut” query.
For any agent and real number , let be the largest for which . There is no algorithm that computes by asking agent a finite number of Robertson–Webb queries.
Suppose for contradiction that such an algorithm exists. During the run of the algorithm, there is always a finite set of points for which the algorithm knows the value of ; we say that such points are recorded. Initially, only points and are recorded. An adversary can answer all queries as if is uniform, i.e., for any two consecutive recorded points on the cake, if the piece between them has length , then it also has value . After any finite number of queries, it is possible that the entire valuation is uniform, in which case the algorithm should answer . But it is also possible that, for some small , it holds that , where is smaller than the smallest recorded point that is strictly larger than . In this case, the algorithm should answer at least . ∎