Two's Company, Three's a Crowd: Consensus-Halving for a Constant Number of Agents

Argyrios Deligkas, Aris Filos-Ratsikas, Alexandros Hollender

Introduction

The topic of fair division, founded in the work of Steinhaus , has been in the centre of the literature in economics, mathematics, and more recently computer science and artificial intelligence. Classic examples include the well-known fair cake cutting problem for the division of divisible resources (e.g., see [Gamow and Stern, 1958], [Brams and Taylor, 1996] or [Procaccia, 2013]), as well as the fair division of indivisible resources (e.g., see [Bouveret et al., 2016]). The earlier works in economics and mathematics were mainly concerned with the questions of whether fair solutions exist, and whether they can be found constructively, i.e., via finite-time protocols. In the more recent literature in computer science, a plethora of works have been concerned with the computational complexity of finding such solutions, either by providing polynomial-time algorithms, or by proving computational hardness results. Currently, it would be no exaggeration to say that fair division is one of the most vibrant and important topics in the intersection of these areas.

Besides the classic fair division settings mentioned above, another well-known problem is the Consensus-Halving problem, whose origins date back to the 1940s and the work of Neyman . In this problem, a set of nn agents with different and heterogeneous valuation functions over the unit interval $aimatfindingapartitionoftheintervalintopieceslabelledeitheraim at finding a partition of the interval into pieces labelled either “+or” or “-usingatmost” using at mostncuts,suchthatthetotalvalueofeveryagentfortheportionlabelledcuts, such that the total value of every agent for the portion labelled “+andfortheportionlabelled” and for the portion labelled “-$” is the same. Very much like other well-known problems in fair division, the existence of a solution can be proven via fixed-point theorems, in particular the Borsuk-Ulam theorem [Borsuk, 1933], and can also be seen as a generalisation of the Hobby-Rice Theorem [Hobby and Rice, 1965].

The problem has applications in the context of the well-known Necklace Splitting problem of Alon and was studied in conjunction with this latter problem [Goldberg and West, 1985; Alon and West, 1986]. Other applications were highlighted by Simmons and Su , who were the first to study the problem in isolation. For example, consider two families that are dividing a piece of land into two regions, such that every member of each family considers the split to be equal. Another example is the 1994 Convention of the Law of the Sea (see [Brams and Taylor, 1996]), which regards the protection of developing countries in the event that an industrialised nation is planning to mine resources in international waters. In such cases, a representative of the developing nations reserves half of the seabed for future use by them, and a consensus-halving solution would correspond to a partition of the seabed into two portions that all the developing nations consider to be of equal value.

Simmons and Su in fact studied the approximate version of Consensus-Halving, coined the ε\varepsilon-Consensus-Halving problem, where the requirement is that the total value of every agent for the portion labelled “++” and for the portion labelled “-” is approximately the same, up to an additive parameter ε\varepsilon. For this version, Simmons and Su provided a constructive solution via an exponential-time algorithm. The ε\varepsilon-Consensus-Halving problem received considerable attention in the literature of computer science over the past few years, as it was proven to be the first “natural” PPA-complete problem [Filos-Ratsikas and Goldberg, 2018], i.e., a problem that does not have a polynomial-sized circuit explicitly in its definition, answering a decade-old open question [Papadimitriou, 1994; Grigni, 2001]. Additionally, Filos-Ratsikas and Goldberg , reduced from this problem to establish the PPA-completeness of Necklace Splitting with two thieves; these PPA-completeness results provided the first definitive evidence of intractability for these two classic problems, establishing for instance that solving them is at least as hard as finding a Nash equilibrium of a strategic game [Daskalakis et al., 2009; Chen et al., 2009]. Filos-Ratsikas et al. improved on the results for the ε\varepsilon-Consensus-Halving problem, by showing that the problem remains PPA-complete, even if one restricts the attention to very small classes of agents’ valuations, namely piecewise uniform valuations with only two valuation blocks. Very recently, the ε\varepsilon-Consensus-Halving problem was shown to be PPA-complete even for constant ε\varepsilon, namely any ε<1/5\varepsilon<1/5 [Deligkas et al., 2022a].

This latter result falls under the general umbrella of imposing restrictions on the structure of the problem, to explore if the computational hardness persists or whether we can obtain polynomial-time algorithms. Filos-Ratsikas et al. applied this approach along the axis of the valuation functions, while considering a general number of agents, similarly to [Filos-Ratsikas and Goldberg, 2018, 2019]. In this paper, we take a different approach, and we restrict the number of agents to be constant. This is in line with most of the theoretical work on fair division, which is also concerned with solutions for a small number of agentsFor example, the existence of bounded protocols for cake-cutting for more than 33 agents was not known until very recently [Aziz and Mackenzie, 2016a, b], but such protocols for 22 and 33 agents were known since the 1960s (see [Brams and Taylor, 1996; Robertson and Webb, 1998]). and it is also quite relevant from a practical standpoint, as fair division among a few participants is quite common. We believe that such investigations are necessary in order to truly understand the computational complexity of the problem. To this end, we state our first main question:

What is the computational complexity of ε\varepsilon-Consensus-Halving for a constant number of agents?

Since the number of agents is now fixed, any type of computational hardness must originate from the structure of the valuation functions. We remark that the existence results for ε\varepsilon-Consensus-Halving are fairly general, and in particular do not require assumptions like additivity or monotonicity of the valuation functions. For this reason, the sensible approach is to start from valuations that are as general as possible (for which hardness is easier to establish), and gradually constrain the domain to more specific classes, until eventually polynomial-time solvability becomes possible. Indeed, in a paper that is conceptually similar to ours, Deng et al. studied the computational complexity of the contiguous envy-free cake-cutting problemThis version of the classic envy-free cake-cutting problem requires that every agent receives a single, connected piece. and proved that the problem is PPAD-complete, even for three agents, when agents have ordinal preferences over the possible pieces. These types of preferences induce no structure on the valuation functions and are therefore as general as possible. In contrast, the authors showed that for three agents and monotone valuations, the problem becomes polynomial-time solvable, leaving the case of four or more agents as an open problem. We adopt a similar approach in this paper for ε\varepsilon-Consensus-Halving, and we manage to completely settle the complexity of the problem when the agents have monotone valuations, among other results, which are highlighted in Section 1.1.

Another relevant question that has been surprisingly overlooked in the related literature is the query complexity of the problem. In this regime, the algorithm interacts with the agents via queries, asking them to provide their values for different parts of the interval $,andthecomplexityismeasuredbythenumberofqueriesrequiredtofindan, and the complexity is measured by the number of queries required to find an\varepsilon$-approximate solution. This brings us to our second main question:

What is the query complexity of ε\varepsilon-Consensus-Halving for a constant number of agents?

We develop appropriate machinery that allows us to answer both of our main questions at the same time. In a nutshell, for the positive results, we design algorithms that run in polynomial time and can be recast as query-based algorithms that only use a polynomial number of queries. For the negative results, we construct reductions from “hard” computational problems which allow us to simultaneously obtain computational hardness results and query complexity lower bounds.

In this section, we list our main results regarding the computational complexity and the query complexity of the ε\varepsilon-Consensus-Halving problem.

Computational Complexity: We start from the computational complexity of the problem for a constant number of agents. We prove the following main results, parameterised by (a) the number of agents and (b) the structure of the valuation functions.

Finally, the ε\varepsilon-Consensus-Halving problem with 22 agents coincides with the well-known ε\varepsilon-Perfect Division problem for cake-cutting (e.g., see [Brânzei and Nisan, 2017, 2019]), and thus naturally our results imply that ε\varepsilon-Perfect Division with 22 agents with monotone valuations can be done in polynomial time, whereas it becomes PPA-complete for 22 agents with general valuations.

Before we proceed, we offer a brief discussion on the different cases that are covered by our results. The distinction on the number of agents is straightforward. For the valuation functions, we consider mainly general valuations and monotone valuations. Note that neither of these functions is additive, meaning that the value that an agent has for the union of two disjoint intervals [a,b][a,b] and [c,d][c,d] is not necessarily the sum of her values for the two intervals. For monotone valuations, the requirement is that for any two subsets II and II^{\prime} of $suchthatsuch thatI\subseteq I^{\prime},theagentvalues, the agent valuesI^{\prime}atleastasmuchasat least as much asI$, whereas for general valuations there is no such requirement.

We remark that for agents with piecewise constant valuations (i.e., the valuations used in [Filos-Ratsikas and Goldberg, 2018] to obtain the PPA-completeness of the problem for many agents), the problem can be solved rather straightforwardly in polynomial time for a constant number of agents, using linear programming (see Appendix A). In terms of the classification of the complexity of the problem in order of increasing generality of the valuation functions, this observation provides the “lower bound” whereas our PPA-hardness results for monotone valuations provide the “upper bound”, see Figure 1. While the precise point of the phase transition has not yet been identified, our results make considerable progress towards this goal.

Query Complexity: Besides the computational complexity of the problem, we are also interested in its query complexity. In this setting, one can envision an algorithm which interacts with the agents via a set of queries, and aims to compute a solution to ε\varepsilon-Consensus-Halving using the minimum number of queries possible. In particular, a query is a question from the algorithm to an agent about a subset of $,whothenrespondswithhervalueforthatset.Weprovidethefollowingresults,where, who then responds with her value for that set. We provide the following results, whereL$ denotes the Lipschitz parameter of the valuation functions:

To put these results into context, we remark that when studying the query complexity of the problem, the input consists of the error parameter ε\varepsilon and the Lipschitz parameter LL, given by their binary representation. In that sense, for some constant kk, a Θ(logk(L/ε))\Theta(\log^{k}(L/\varepsilon)) number of queries is polynomial in the size of the input. On the contrary, a Θ(L/ε)\Theta(L/\varepsilon) number of queries is exponential in the size of the input. Not surprisingly, our PPA-hardness results give rise to exponential query complexity lower bounds, whereas our algorithms can be transformed into query-based algorithms of polynomial query complexity. We remark however that beyond this connection, our query complexity analysis is in fact quantitative, as we provide tight or almost tight bounds on the query complexity as a function of the number of agents nn, for both general and monotone valuation functions.

Finally, for the case of monotone valuations, we consider a more expressive query model, which is an appropriate extension of the well-known Robertson-Webb query model [Robertson and Webb, 1998; Woeginger and Sgall, 2007], the predominant query model in the literature of fair cake-cutting [Brams and Taylor, 1996]; we refer to this extension as the Generalised Robertson-Webb (GRW) query model. We show that our bounds extend to this model as well, up to logarithmic factors.

2 Related Work

As we mentioned in the introduction, the origins of the Consensus-Halving problem can be traced back to the 1940s and the work of Neyman , who studied a generalisation of the problem with kk labels instead of two (“++”, “-”), and proved the existence of a solution when the valuation functions are probability measures and there is no constraint on the number of cuts used to obtain the solution. The existence theorem for two labels is known as the Hobby-Rice Theorem [Hobby and Rice, 1965] and has been studied rather extensively in the context of the famous Necklace Splitting problem [Goldberg and West, 1985; Alon and West, 1986; Alon, 1987]. In fact, most of the proofs of existence for Necklace Splitting (with two thieves) were established via the Consensus-Halving problem, which was at the time referred to as Continuous Necklace Splitting [Alon, 1987]. The term “Consensus-Halving” was coined by Simmons and Su , who studied the continuous problem in isolation, and provided a constructive proof of existence which holds for very general valuation functions, including all of the valuation functions that we consider in this paper. Interestingly, the proof of Simmons and Su reduces the problem to finding edges of complementary labels on a triangulated nn-sphere, labelled as prescribed by Tucker’s lemma, a fundamental result in topology.

While not strictly a reduction in the sense of computational complexity, the ideas of [Simmons and Su, 2003] certainly paved the way for subsequent work on the problem in computer science. The first computational results were obtained by Filos-Ratsikas et al. , who proved that the associated computational problem, ε\varepsilon-Consensus-Halving, lies in PPA (adapting the constructive proof of Simmons and Su ) and that the problem is PPAD-hard, for nn agents with piecewise constant valuation functions. Filos-Ratsikas and Goldberg proved that the problem is in fact PPA-complete, establishing for the first time the existence of a “natural” problem complete for PPA, i.e., a problem that does not contain a polynomial-sized circuit explicitly in its definition, answering a long-standing open question of Papadimitriou . In a follow-up paper, [Filos-Ratsikas and Goldberg, 2019] used the PPA-completeness of Consensus-Halving to prove that the Necklace Splitting problem with two thieves is also PPA-complete. Very recently, Filos-Ratsikas et al. strengthened the PPA-hardness result to the case of very simple valuation functions, namely piecewise constant valuations with at most two blocks of value. Deligkas et al. studied the computational complexity of the exact version of the problem, and obtained among other results its membership in a newly introduced class BU (for “Borsuk-Ulam” [Borsuk, 1933]) and its computational hardness for the well-known class FIXP of Etessami and Yannakakis . Batziou et al. showed that the corresponding strong approximation problem (with measures represented by algebraic circuits) is complete for BU. A version of Consensus-Halving with divisible items was studied by Goldberg et al. , who proved that the problem is polynomial-time solvable for additive utilities, but PPAD-hard for slightly more general utilities. Very recently, Deligkas et al. [2022b] showed the PPA-completeness of the related Pizza Sharing problem [Karasev et al., 2016], via a reduction from Consensus-Halving.

Importantly, none of the aforementioned results apply to the case of a constant number of agents, which was prior to this paper completely unexplored. Additionally, none of these works consider the query complexity of the problem. A recent work [Alon and Graur, 2021] studies ε\varepsilon-Consensus-Halving in a hybrid computational model (see the full version of their paper) which includes query access to the valuations, but contrary to our paper, their investigations are not targeted towards a constant number of agents, and the agents have additive valuation functions.

A relevant line of work is concerned with the query complexity of fair cake-cutting [Brams and Taylor, 1996; Procaccia, 2016], a related but markedly different fair-division problem. Conceptually closest to ours is the paper by Deng et al. , who study both the computational complexity and the query complexity of contiguous envy-free cake-cutting, for agents with either generalMore accurately, Deng et al. prove their impossibility results for ordinal preferences, where for each possible division of the cake, the agent specifies the piece that she prefers. In particular, if one were to define valuation functions consistent with these preferences, the value of an agent for a piece would have to depend also on the way the rest of the cake is divided among the agents. or monotone valuations. For the latter case, the authors obtain a polynomial-time algorithm for three agents, and leave open the complexity of the problem for four or more agents. In our case, for ε\varepsilon-Consensus-Halving, we completely settle the computational complexity of the problem for agents with monotone valuations.

In the literature of fair cake-cutting, most of the related research (e.g., see [Brams and Taylor, 1996; Aziz and Mackenzie, 2016a, b; Amanatidis et al., 2018; Brânzei and Nisan, 2017]) has focused on the well-known Robertson-Webb (RW) query model, in which agents interact with the protocol via two types of queries, evaluation queries (eval) and cut queries (cut). As the name suggests, this query model is due to Robertson and Webb , but the work of Woeginger and Sgall has been rather instrumental in formalising it in the form that it is being used today. Given the conceptual similarity of fair cake-cutting with Consensus-Halving, it certainly makes sense to study the latter problem under this query model as well, and in fact, the queries used by Alon and Graur are essentially RW queries. As we show in Section 6, our bounds are qualitatively robust when migrating to this more expressive model, i.e., they are preserved up to logarithmic factors.

Related to our investigation is also the work of Brânzei and Nisan , who among other settings study the problem of ε\varepsilon-Perfect Division, which stipulates a partition of the cake into nn pieces, such that each of the nn agents interprets all pieces to be of approximate equal value (up to ε\varepsilon). For the case of n=2n=2, this problem coincides with ε\varepsilon-Consensus-Halving, and thus one can interpret our results for n=2n=2 as extensions of the results in [Brânzei and Nisan, 2017] (which are only for additive valuations) to the case of monotone valuations (for which the problem is solvable with polynomially-many queries) and to the case of general valuations (for which the problem admits exponential query complexity lower bounds). Besides the aforementioned results, there is a plethora of works in computer science and artificial intelligence related to computational aspects of fair cake cutting and fair division in general, e.g., see [Elkind et al., 2021; Segal-Halevi, 2022; Bei et al., 2017, 2012, 2022; Bei and Suksompong, 2021; Goldberg et al., 2020; Balkanski et al., 2014; Alijani et al., 2017; Kurokawa et al., 2013; Brânzei et al., 2016; Cohler et al., 2011; Hosseini et al., 2020].

Preliminaries

In the ε\varepsilon-Consensus-Halving problem, there is a set of nn agents with valuation functions viv_{i} (or simply valuations) over the interval $,andthegoalistofindapartitionoftheintervalintosubintervalslabelledeither, and the goal is to find a partition of the interval into subintervals labelled either “+or” or “-,usingatmost”, using at mostncuts.Thispartitionshouldsatisfythatforeveryagentcuts. This partition should satisfy that for every agenti,thetotalvaluefortheunionofsubintervals, the total value for the union of subintervals\mathcal{I}^{+}labelledlabelled “+andthetotalvaluefortheunionofsubintervals” and the total value for the union of subintervals\mathcal{I}^{-}labelledlabelled “-isthesameupto” is the same up to\varepsilon,i.e.,, i.e.,|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq\varepsilon.Inthispaperwewillassume. In this paper we will assumentobeaconstantandthereforetheinputstotheproblemwillonlybeto be a constant and therefore the inputs to the problem will only be\varepsilonandthevaluationfunctionsand the valuation functionsv_{i}$.

Valuation Classes: We will be particularly interested in the following three valuation classes, in terms of decreasing generality:

General valuations, in which there is no further restriction to the functions viv_{i}.

Monotone valuations, in which vi(A)vi(A)v_{i}(A)\leq v_{i}(A^{\prime}) for any two Lebesgue-measurable subsets AA and AA^{\prime} such that AAA\subseteq A^{\prime}. Intuitively, for this type of function, when comparing two sets such that one is a subset of the other, an agent cannot have a smaller value for the set that contains the other.

Normalisation: We will also be interested in valuation functions that satisfy some standard normalisation properties. A valuation function viv_{i} is normalised, if the following properties hold:

In other words, we require the agents’ values to lie in $andthattheirvalueforthewholeintervalisnormalisedtoand that their value for the whole interval is normalised to1$. These are the standard assumptions in the literature of the problem for additive valuations [Alon, 1987], as well as in the related problem of fair cake-cutting [Procaccia, 2016]. We will only consider normalised valuation functions for our lower bounds and hardness results, whereas for the upper bounds and polynomial-time algorithms we will not impose any normalisation; this only makes both sets of results even stronger.

With regard to the valuation classes defined above, we will often be referring to their normalised versions as well, e.g., normalised general valuations or normalised monotone valuations.

Input models: Given the fairly general nature of the valuation functions, we need to specify the manner in which they will be accessed by an algorithm for ε\varepsilon-Consensus-Halving. Since we are interested in both the computational complexity and the query complexity of the problem, we will assume the following standard two ways of accessing these functions.

We will also consider the following weaker version of the black-box model, which we will use in our query complexity upper bounds, thus making them stronger: In the weak black-box model the input to a valuation function viv_{i} is some set I\mathcal{I} of intervals, obtained by using at most nn cuts, where nn is the number of agents.

In the white-box model, the valuation functions viv_{i} are polynomial-time algorithms, mapping sets of intervals to non-negative rational numbers. These polynomial-time algorithms are given explicitly as part of the input, including the Lipschitz parameter LL.To avoid introducing too many technical details here, we refer to Appendix B for the fully formal definition. This input model is appropriate for studying the computational complexity of the problem, where the complexity is measured as usual by the running time of the algorithm.

We now provide the formal definitions of the problem in the black-box and the white-box model. Note that the Lipschitz-parameter LL is part of the input of the problem and thus will appear in the bounds we obtain. Some of the previous works take LL to be bounded by a constant, and as a result it does not appear in their bounds.

\mathcal{I}^{+} and I\mathcal{I}^{-} such that for each agent ii, it holds that vi(I+)vi(I)ε|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq\varepsilon, using at most nn cuts. Definition 2 (ε\varepsilon-Consensus-Halving (white-box model)). For any constant n1n\geq 1, the problem ε\varepsilon-Consensus-Halving with nn agents is defined as follows: - Input: ε>0\varepsilon>0, the Lipschitz parameter LL, polynomial-time algorithms viv_{i}. - Output: A partition of $intotwosetsofintervalsinto two sets of intervals\mathcal{I}^{+}andand\mathcal{I}^{-}suchthatforeachagentsuch that for each agenti,itholdsthat, it holds that|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq\varepsilon,usingatmost, using at mostncuts.Terminology:Whenthevaluationfunctionsarenormalised,wewillrefertotheproblemascuts. Terminology: When the valuation functions are normalised, we will refer to the problem as\varepsilonConsensusHalvingwith-Consensus-Halving withnnormalisedagents.Whenthevaluationfunctionsaremonotone,wewillrefertotheproblemasnormalised agents. When the valuation functions are monotone, we will refer to the problem as\varepsilonConsensusHalvingwith-Consensus-Halving withnmonotoneagents.Ifbothconditionsaretrue,wewillusethetermmonotone agents. If both conditions are true, we will use the term\varepsilonConsensusHalvingwith-Consensus-Halving withn$ normalised monotone agents.

In the black-box version of nDnD-Borsuk-Ulam, we can query the value of the function FF at any point xBn+1x\in B^{n+1}. In the white-box version of this problem, we are given a polynomial-time algorithm that computes FF. Since the number of inputs of FF is fixed, we can assume that we are given an arithmetic circuit with n+1n+1 inputs and nn outputs that computes FF. Following the related literature [Daskalakis and Papadimitriou, 2011], we will consider circuits that use the arithmetic gates +,,×,max,min,<+,-,\times,\max,\min,< and rational constants.Formally speaking these circuits also need to be well-behaved in a certain sense (see [Fearnley et al., 2021]). It is easy to check that the circuits we construct in this paper all have this property.

Another related problem that will be of interest to us is the computational version of Tucker’s Lemma [Tucker, 1945]. Tucker’s lemma is a discrete analogue of the Borsuk-Ulam theorem, and its computational counterpart, nDnD-Tucker, is defined below.

In the white-box model, nDnD-Tucker was recently proven to be PPA-hard for any n2n\geq 2, by Aisenberg et al. ; the membership of the problem in PPA was known by [Papadimitriou, 1994].

For any constant n2n\geq 2, nDnD-Tucker is PPA-complete.

The computational class PPA was defined by Papadimitriou , among several subclasses of the class TFNP [Megiddo and Papadimitriou, 1991], the class of problems with a guaranteed solution which is verifiable in polynomial time. PPA is defined with respect to a graph of exponential size, which is given implicitly as input, via the use of a circuit that outputs the neighbours of a given vertex, and the goal is to find a vertex of odd degree, given another such vertex as input.

Given the close connection between Tucker’s Lemma and the Borsuk-Ulam Theorem, the PPA-hardness of some appropriate computational version of Borsuk-Ulam follows as well [Aisenberg et al., 2020]. However, this does not apply to the version of nDnD-Borsuk-Ulam defined above, especially when one considers the additional properties of the function FF required for normalisation and monotonicity, as discussed earlier. We will reduce from nDnD-Tucker to our version of nDnD-Borsuk-Ulam, to obtain its PPA-hardness (even for the normalised monotone version), which will then imply the PPA-hardness of ε\varepsilon-Consensus-Halving, via our main reduction in Section 3.

In the black-box model, Deng et al. , building on the results of Chen and Deng , proved both query complexity lower bounds and upper bounds for nDnD-Tucker.

For any constant n2n\geq 2, the query complexity of nDnD-Tucker is Θ(Nn1)\Theta\left(N^{n-1}\right).

We remark that Deng et al. use a version of nDnD-Tucker that is slightly different from the one that we defined above, but their results apply to this version as well.

Some connections between the aforementioned problems, namely nDnD-Borsuk-Ulam, nDnD-Tucker, and ε\varepsilon-Consensus-Halving are known from the previous literature. First, nDnD-Borsuk-Ulam and nDnD-Tucker are known to be computationally equivalent due to Papadimitriou and Aisenberg et al. , although, technically speaking, none of the aforementioned papers proved this result formally, or even defined nDnD-Borsuk-Ulam formally. Yet, even the implicit reduction between those problems is insufficient for our purposes, because, in order to achieve our results for Consensus-Halving, we need a version of nDnD-Borsuk-Ulam that exhibits several properties, as described in Definition 3 (namely, normalisation and primarily monotonicity). Indeed, proving the PPA-completeness of monotone nDnD-Borsuk-Ulam is the main technical result of our work.

In terms of the completeness of Consensus-Halving, the works of Filos-Ratsikas and Goldberg indeed establish reductions from nDnD-Tucker, but crucially, these reductions are white-box, i.e., they have access to the Boolean circuit that encodes the labelling function. On the contrary, our reductions are black-box (see Section 2.2 below), which allows us to obtain both computational complexity results and query complexity bounds at the same time. Also, quite importantly, all the previous reductions do not work when there is a constant number of agents.

2 Efficient Black-Box Reductions

The reductions that we will construct (from nDnD-Tucker to nDnD-Borsuk-Ulam to ε\varepsilon-Consensus-Halving) will be black-box reductions, and therefore they will also allow us to obtain query complexity lower bounds for ε\varepsilon-Consensus-Halving in the black-box model, given the corresponding lower bounds of Theorem 2.2. For the upper bounds, we will reduce directly from ε\varepsilon-Consensus-Halving to nDnD-Tucker, again via a black-box reduction.

Roughly speaking,To keep the exposition clean, we do not provide formal definitions of these concepts here, as they are rather standard; we refer the reader to the related works of [Beame et al., 1998; Komargodski et al., 2019] for more details. a black-box reduction from Problem A to Problem B is a procedure by which we can answer oracle calls (queries) for an instance of Problem B by using an oracle for some instance of Problem A, such that a solution to the instance of Problem B yields a solution to the instance of Problem A. For example, a black-box reduction from nDnD-Borsuk-Ulam to ε\varepsilon-Consensus-Halving is a procedure that simulates an instance for the latter problem by accessing the function FF of the former problem a number of times, and such that a solution of ε\varepsilon-Consensus-Halving can easily be translated to a solution of nDnD-Borsuk-Ulam. The name “black-box” comes from the fact that this type of reduction does not need to know the structure of the functions viv_{i} of ε\varepsilon-Consensus-Halving or FF of nDnD-Borsuk-Ulam.

In order to prove lower bounds on the query complexity of some Problem B, it suffices to construct a black-box reduction from some Problem A, for which query complexity lower bounds are known; the obtained bounds will depend on the number kk of oracle calls to the input of Problem A that are needed to answer an oracle call to the input of Problem B. A black-box reduction is efficient if kk is a constant, and therefore the query complexity lower bounds of Problems A and B are of the same asymptotic order. To obtain upper bounds on the query complexity, we can construct a reduction in the opposite direction (from Problem B to Problem A), assuming that query complexity upper bounds for Problem A are known.

Ideally, we would like to use the same reduction to also obtain computational complexity results in the white-box model. For this to be possible, the procedure described above should actually be a polynomial-time algorithm. Slightly abusing terminology, we will use the term “efficient” to describe such a reduction in the white-box model as well.

We say that a black-box reduction from Problem A to Problem B is efficient if:

in the black-box model, it uses a constant number of queries (oracle calls) to the function (oracle) of Problem A, for each query (oracle call) to the function of Problem B;

in the white-box model, the condition above holds, and the reduction is also a polynomial-time algorithm.

Concretely for our case, all of our reductions will be efficient black-box reductions, thus allowing us to obtain both PPA-completeness results and query complexity bounds matching those of the problems that we reduce from/to. We remark that the reductions constructed for proving the PPA-hardness of the problem in previous works (for a non-constant number of agents) [Filos-Ratsikas and Goldberg, 2018, 2019; Filos-Ratsikas et al., 2020] are not black-box reductions, and therefore have no implications on the query complexity of the problem.

Black-Box Reductions to and from Consensus-Halving

In this section we develop our main machinery for proving both PPA-completeness results and query complexity upper and lower bounds for ε\varepsilon-Consensus-Halving. We summarise our general approach for obtaining positive and negative results below.

For our impossibility results (i.e., computational hardness results in the white-box model and query complexity lower bounds in the black-box model), we will construct an efficient black-box reduction from nDnD-Borsuk-Ulam to ε\varepsilon-Consensus-Halving with nn agents (Proposition 3.1). This reduction will preserve the optional properties of Definition 3, meaning that if the instance of nDnD-Borsuk-Ulam is normalised (respectively monotone), the valuation functions of the corresponding instance of ε\varepsilon-Consensus-Halving will be normalised (respectively monotone) as well. This will allow us in subsequent sections to reduce the problem of proving impossibility results for ε\varepsilon-Consensus-Halving to proving impossibility results for the versions of nDnD-Borsuk-Ulam with those properties. We will obtain these latter results via reductions from nDnD-Tucker, which for n2n\geq 2 is known to be PPA-hard (Theorem 2.1) and admit exponential query complexity lower bounds (Theorem 2.2).

For our positive results (i.e., membership in PPA in the white-box model and query complexity upper bounds in the black-box model), we will construct an efficient black-box reduction from ε\varepsilon-Consensus-Halving to nDnD-Tucker (Proposition 3.2). We remark here that a similar reduction already exists in the related literature [Filos-Ratsikas et al., 2021], but only applied to the case of additive valuation functions. The extension to the case of general valuations follows along the same lines, and we provide it here for completeness. We also note that some of our positive results, namely the results for one general agent and two monotone agents, will not be obtained via reductions, but rather directly via the design of polynomial-time algorithms in the white-box model or algorithms of polynomial query complexity in the black-box model.

Related to the discussion above, we have the following two propositions. Their proofs are presented in the sections below.

There is an efficient black-box reduction from (normalised, monotone) nDnD-Borsuk-Ulam to (normalised, monotone) ε\varepsilon-Consensus-Halving.

There is an efficient black-box reduction from ε\varepsilon-Consensus-Halving to nDnD-Tucker.

Description of the reduction. Let n1n\geq 1 be a fixed integer. Let ε>0\varepsilon>0 and let F:Bn+1BnF:B^{n+1}\to B^{n} be a Lipschitz-continuous function with Lipschitz parameter LL. We now construct valuation functions v1,,vnv_{1},\dots,v_{n} for a Consensus-Halving instance.

Let R1,R2,,Rn+1R_{1},R_{2},\dots,R_{n+1} denote the partition of interval $intointon+1subintervalsofequallength,i.e.,subintervals of equal length, i.e.,R_{j}=[\frac{j-1}{n+1},\frac{j}{n+1}]forforj\in[n+1].Forany. For anyA\in\Lambda(),wedefine, we definex(A)\in B^{n+1}=^{n+1}$ by

for all j[n+1]j\in[n+1]. Recall that λ\lambda denotes the Lebesgue measure on the interval $.Notethatsince. Note that since\lambda(A\cap R_{j})\in[0,\frac{1}{n+1}],weindeedhave, we indeed have[x(A)]_{j}\in$; see Figure 2 for a visualisation.

For i[n]i\in[n], the valuation function viv_{i} of the iith agent is defined as

for any AΛ()A\in\Lambda(), where Fi:Bn+1F_{i}:B^{n+1}\to is the iith output of FF. Note that vi(A)v_{i}(A)\in, since Fi(x(A))F_{i}(x(A))\in.

Lipschitz-continuity. For any A,BΛ()A,B\in\Lambda() it holds that

Thus, viv_{i} is Lipschitz-continuous with Lipschitz parameter (n+1)L(n+1)\cdot L.

Letting y=x(I+)(Bn+1)y=x(\mathcal{I}^{+})\in\partial(B^{n+1}), we have that for any i[n]i\in[n]

Thus, yy is a solution to the original nDnD-Borsuk-Ulam instance.

White-box model. This reduction yields a polynomial-time many-one reduction from nDnD-Borsuk-Ulam to ε\varepsilon-Consensus-Halving with nn agents. Thus, if we show that nDnD-Borsuk-Ulam is PPA-hard for some nn, then we immediately obtain that ε\varepsilon-Consensus-Halving with nn agents is also PPA-hard.

Black-box model. It is easy to see that this is a black-box reduction. It can be formulated as follows: given access to an oracle for an instance of nDnD-Borsuk-Ulam with parameters (ε,L)(\varepsilon,L) we can simulate an oracle for an instance of ε\varepsilon-Consensus-Halving (with nn agents) with parameters (ε/2,(n+1)L)(\varepsilon/2,(n+1)L) such that any solution of the latter yields a solution to the former. Furthermore, in order to answer a query to some viv_{i}, we only need to perform a single query to FF. Thus, we obtain the following query lower bound: solving an instance of ε\varepsilon-Consensus-Halving (with nn agents) with parameters (ε,L)(\varepsilon,L) requires at least as many queries as solving an instance of nDnD-Borsuk-Ulam with parameters (ε,L)=(2ε,Ln+1)(\varepsilon^{\prime},L^{\prime})=(2\varepsilon,\frac{L}{n+1}). This means that if nDnD-Borsuk-Ulam has a query lower bound of Ω((Lε)n1)\Omega((\frac{L^{\prime}}{\varepsilon^{\prime}})^{n-1}) for some nn, then ε\varepsilon-Consensus-Halving (with nn agents) has a query lower bound of Ω((L2ε(n+1))n1)=Ω((Lε)n1)\Omega((\frac{L}{2\varepsilon(n+1)})^{n-1})=\Omega((\frac{L}{\varepsilon})^{n-1}), since nn is constant.

Additional properties of the reduction. Some properties of the Borsuk-Ulam function FF carry over to the valuation functions v1,,vnv_{1},\dots,v_{n}. In particular, the following properties are of interest to us:

If FF is monotone, then v1,,vnv_{1},\dots,v_{n} are monotone. Indeed, consider A,BΛ()A,B\in\Lambda() with ABA\subseteq B. Then, it holds that λ(ARj)λ(BRj)\lambda(A\cap R_{j})\leq\lambda(B\cap R_{j}) for all j[n+1]j\in[n+1], and as a result x(A)x(B)x(A)\leq x(B) (coordinate-wise). By monotonicity of FF, it follows that Fi(x(A))Fi(x(B))F_{i}(x(A))\leq F_{i}(x(B)), and thus vi(A)vi(B)v_{i}(A)\leq v_{i}(B) for all i[n]i\in[n].

If FF is normalised, then v1,,vnv_{1},\dots,v_{n} are normalised. As noted earlier, we already have that vi(A)v_{i}(A)\in for all AΛ()A\in\Lambda(). Thus, it remains to prove that vi()=0v_{i}(\emptyset)=0 and vi()=1v_{i}()=1. It is easy to see that x()=(1,1,,1)x()=(1,1,\dots,1) and thus F(x())=(1,1,,1)F(x())=(1,1,\dots,1) since FF is normalised, which yields vi()=1v_{i}()=1. On the other hand, we have x()=(1,1,,1)x(\emptyset)=(-1,-1,\dots,-1) and thus F(x())=F(x())=F(1,1,,1)=(1,1,,1)F(x(\emptyset))=-F(-x(\emptyset))=-F(1,1,\dots,1)=(-1,-1,\dots,-1), which yields vi()=0v_{i}(\emptyset)=0. Here we also used the fact FF is an odd function, since it is normalised. In fact, since FF is odd, we also obtain that vi(A)+vi(Ac)=1v_{i}(A)+v_{i}(A^{c})=1 for all AΛ()A\in\Lambda(), where Ac=AA^{c}=\setminus A denotes the complement of AA. This can be shown by noting that x(Ac)=x(A)x(A^{c})=-x(A) (by using the same argument as for I+\mathcal{I}^{+} and I\mathcal{I}^{-} above) and then using the fact that F(x(Ac))=F(x(A))F(x(A^{c}))=-F(x(A)).

This means that if we are able to show (white- or black-box) hardness of nDnD-Borsuk-Ulam where FF has additional properties, then the hardness will also hold for ε\varepsilon-Consensus-Halving with nn agents that have the corresponding properties.

Furthermore, note that if FF is a normalised nDnD-Borsuk-Ulam function, then an ε\varepsilon-approximate Consensus-Halving for v1,,vnv_{1},\dots,v_{n} (i.e., vi(I+)vi(I)ε|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq\varepsilon), yields an ε\varepsilon-approximate solution to FF, in the sense that F(x(I+))ε\|F(x(\mathcal{I}^{+}))\|_{\infty}\leq\varepsilon. This is due to the fact that, by definition, FF is an odd function, if it is normalised.

2 Proof of Proposition 3.2

The reduction presented in this section is based on a proof of existence for a generalization of Consensus-Halving with general valuations given in [Filos-Ratsikas et al., 2021]. This existence proof was also used in [Filos-Ratsikas et al., 2021] to provide a reduction for additive valuations. It can easily be extended to work for general valuations as well. We include the full reduction here for completeness.

Description of the reduction. Consider an instance of ε\varepsilon-Consensus-Halving with nn agents with parameters ε\varepsilon, LL. Let v1,,vnv_{1},\dots,v_{n} denote the valuations of the agents. We consider the domain KmnK_{m}^{n}, where Km={1,(m1)/m,,1/m,0,1/m,2/m,,(m1)/m,1}K_{m}=\{-1,-(m-1)/m,\dots,-1/m,0,1/m,2/m,\dots,(m-1)/m,1\}, for m=2nL/εm=\lceil 2nL/\varepsilon\rceil. A point in KmnK_{m}^{n} corresponds to a way to partition the interval $intotwosetsinto two sets\mathcal{I}^{+},\mathcal{I}^{-}usingatmostusing at mostncuts.AverysimilarencodingwasalsousedbyMeunierfortheNecklaceSplittingproblem.Apointcuts. A very similar encoding was also used by Meunier for the Necklace Splitting problem. A pointx\in K_{m}^{n}correspondstothepartitioncorresponds to the partition\mathcal{I}^{+}(x),\mathcal{I}^{-}(x)$ obtained as follows.

Provisionally put the label “++” on the whole interval $$

Note that subsequent assignments of a label to an interval, “overwrite” previous assignments. One way of thinking about it, is that we are applying a coat of paint on the interval $.Initiallythewholeintervalispaintedwithcolour. Initially the whole interval is painted with colour “+,andastheprocedureisexecuted,varioussubintervalswillbepaintedoverwithcolour”, and as the procedure is executed, various subintervals will be painted over with colour “-or” or “+.Itiseasytocheckthatthefinalpartitioninto”. It is easy to check that the final partition into\mathcal{I}^{+}(x),\mathcal{I}^{-}(x)thatisobtained,usesatmostthat is obtained, uses at mostncuts.Furthermore,foranycuts. Furthermore, for anyx\in\partial K_{m}^{n},thepartition, the partition\mathcal{I}^{+}(-x),\mathcal{I}^{-}(-x)obtainedfromobtained from-xcorrespondstothepartitioncorresponds to the partition\mathcal{I}^{+}(x),\mathcal{I}^{-}(x)withlabelswith labels “+and” and “-switched.Inotherwords,” switched. In other words,\mathcal{I}^{+}(-x)=\mathcal{I}^{-}(x)andand\mathcal{I}^{-}(-x)=\mathcal{I}^{+}(x)$. For a more formal definition of this encoding, see [Filos-Ratsikas et al., 2021].

Let i[n]i\in[n] be the agent that sees the largest difference between vi(I+(x))v_{i}(\mathcal{I}^{+}(x)) and vi(I(x))v_{i}(\mathcal{I}^{-}(x)), i.e., i=argmaxi[n]vi(I+(x))vi(I(x))i=\arg\max_{i\in[n]}|v_{i}(\mathcal{I}^{+}(x))-v_{i}(\mathcal{I}^{-}(x))|, where we break ties by picking the smallest such ii.

Pick a sign s{+,}s\in\{+,-\} as follows. If vi(I+(x))>vi(I(x))v_{i}(\mathcal{I}^{+}(x))>v_{i}(\mathcal{I}^{-}(x)), then let s=+s=+. If vi(I+(x))<vi(I(x))v_{i}(\mathcal{I}^{+}(x))<v_{i}(\mathcal{I}^{-}(x)), then let s=s=-. If vi(I+(x))=vi(I(x))v_{i}(\mathcal{I}^{+}(x))=v_{i}(\mathcal{I}^{-}(x)), then pick ss such that Is\mathcal{I}^{s} contains the left end of the interval $$.

and the same bound also holds for λ(I(x) I(y))\lambda(\mathcal{I}^{-}(x)\triangle~{}\mathcal{I}^{-}(y)). Since viv_{i} is Lipschitz-continuous with parameter LL, it follows that

and similarly for vi(I(x))vi(I(y))|v_{i}(\mathcal{I}^{-}(x))-v_{i}(\mathcal{I}^{-}(y))|.

This means that I+(x),I(x)\mathcal{I}^{+}(x),\mathcal{I}^{-}(x) yields a solution to the original ε\varepsilon-Consensus-Halving instance.

General Valuations

We are now ready to prove our main results for the ε\varepsilon-Consensus-Halving problem, starting from the case of general valuations. First, for a single agent with a general valuation function, a simple binary search procedure is sufficient to solve ε\varepsilon-Consensus-Halving with a polynomial number of queries and in polynomial time, therefore obtaining an efficient algorithm both in the white-box and in the black-box model. We have the following theorem.

For one agent with a general valuation function (or multiple agents with identical general valuations), ε\varepsilon-Consensus-Halving is solvable in polynomial time and has query complexity Θ(logLε)\Theta\left(\log\frac{L}{\varepsilon}\right).

We will prove the theorem for the case of n=1n=1, as a solution to ε\varepsilon-Consensus-Halving for this case is also straightforwardly a solution to the problem with multiple agents with identical valuations. Our algorithm essentially simulates binary search. We say that the label of a cut xx\in is “++”, if v([0,x])>v([x,1])+εv([0,x])>v([x,1])+\varepsilon. Respectively, the label of cut xx is “-”, if v([x,1])>v([0,x])+εv([x,1])>v([0,x])+\varepsilon. In any other case, the label of the cut is 0; if a cut has label 0, then it is a solution to ε\varepsilon-Consensus-Halving. Observe that in order for an interval [a,b][a,b]\subseteq to contain a solution, it suffices that the label of aa be “-” and the label of bb be “++” (or vice-versa); then there is definitely a point x[a,b]x\in[a,b] where the label is 0 (by continuity of vv).

Now let a=0a=0 and b=1b=1. If aa or bb has label 0, then we have immediately found a solution. Otherwise, note that if aa has label “-”, then bb must have label “++”, and vice-versa. For convenience, in what follows, we assume that aa has label “-” and bb has label “++”. Our algorithm proceeds as follows in every iteration. Given an interval [a,b][a,b] with label “-” for aa and label “++” for bb, it computes the label of a+b2\frac{a+b}{2}. This can be done via two eval queries. Then, if the label of a+b2\frac{a+b}{2} is “++”, it sets b=a+b2b=\frac{a+b}{2}; if the label is “-”, it sets a=a+b2a=\frac{a+b}{2}; and if the label is 0 it outputs this cut.

We claim that the algorithm will always find a cut with label 0 after at most logLε\log\frac{L}{\varepsilon} iterations. For the sake of contradiction, assume that there is no such cut after logLε\log\frac{L}{\varepsilon} iterations. Observe that the length of [a,b][a,b] in this case will be εL\frac{\varepsilon}{L}. In addition, we know the labels of aa and bb. Cut aa has label “-”, thus v([a,1])>v([0,a])+εv([a,1])>v([0,a])+\varepsilon, and cut bb has label “++”, i.e., v([0,b])>v([b,1])+εv([0,b])>v([b,1])+\varepsilon. Since baεL|b-a|\leq\frac{\varepsilon}{L} and vv is LL-Lipschitz-continuous, it follows that

and similarly v([0,a])v([0,b])ε|v([0,a])-v([0,b])|\leq\varepsilon. Putting everything together, we obtain that

which contradicts the assumption that cut bb has label “++”.

Since a polynomial-time algorithm which queries the polynomial-time algorithm of the input O(logLε)O\left(\log\frac{L}{\varepsilon}\right) times is a polynomial-time algorithm, we immediately obtain the polynomial-time upper bound for the white-box model.

For the black-box model, the algorithm immediately gives us the upper bound, whereas the lower bound follows from our general reduction from nDnD-Borsuk-Ulam (Proposition 3.1), and the query lower bounds for the latter problem obtained through Lemma 4.2 below. In more detail, 1D1D-Borsuk-Ulam (and thus ε\varepsilon-Consensus-Halving with a single agent) inherits its query complexity lower bounds from 1D1D-Tucker, which can be easily seen to require at least Ω(logN)\Omega(\log N) queries in the worst-case. The latter bound naturally translates to a Ω(log(L/ε))\Omega(\log(L/\varepsilon)) bound for ε\varepsilon-Consensus-Halving. We also remark that the upper bound holds for any version of the problem with general valuations, even in the weak black-box model, whereas the lower bound holds even for normalised general valuations and for the standard black-box model. ∎

We now move to our results for two or more agents with general valuations. Here we obtain a PPA-completeness result for ε\varepsilon-Consensus-Halving, as well as exponential bounds on the query complexity of the problem. Our results demonstrate that for general valuations, even in the case of two agents, the problem is intractable in both the black-box and the white-box model. The main technical result of the section is the following pivotal lemma, proved at the end of this section.

For any constant n1n\geq 1, nDnD-Tucker reduces to normalised nDnD-Borsuk-Ulam, via an efficient black-box reduction.

Now we state our main theorem about the computational/query complexity of the ε\varepsilon-Consensus-Halving problem, as well as a corresponding theorem for nDnD-Borsuk-Ulam. The proofs follow from Theorems 2.1 and 2.2 characterising the complexity of nDnD-Tucker and the following chain of reductions (where “\leq” denotes an efficient black-box reduction from the problem on the left-hand side to the problem on the right-hand side).

The specific parameters that appear in the bounds below follow from the proof of Lemma 4.2.

ε\varepsilon-Consensus-Halving with nn normalised general agents is PPA-complete. This remains the case, even if (a) we fix ε(0,1)\varepsilon\in(0,1), or (b) we fix L3(n+1)L\geq 3(n+1);

there exists a constant c>0c>0 such that for any ε(0,1)\varepsilon\in(0,1) and any L3(n+1)L\geq 3(n+1) with L/εcL/\varepsilon\geq c, the query complexity of ε\varepsilon-Consensus-Halving with nn normalised general agents is Θ((L/ε)n1)\Theta((L/\varepsilon)^{n-1}).

normalised nDnD-Borsuk-Ulam is PPA-complete. This remains the case, even if (a) we fix ε(0,1)\varepsilon\in(0,1), or (b) we fix L3L\geq 3;

there exists a constant c>0c>0 such that for any ε(0,1)\varepsilon\in(0,1) and any L3L\geq 3 with L/εcL/\varepsilon\geq c, the query complexity of normalised nDnD-Borsuk-Ulam is Θ((L/ε)n1)\Theta((L/\varepsilon)^{n-1}).

In both cases, the lower bounds hold even for the normalised versions of the problems, while the upper bounds hold even for the more general, non-normalised, versions.

The remainder of the proof will proceed in three steps: In Step 1, we will interpolate the nDnD-Tucker instance, to obtain a continuous function on [1/2,1/2]n[-1/2,1/2]^{n}, in Step 2, we extend this function to the whole domain n^{n}, and in Step 3 we further extend to n+1^{n+1}, to obtain an instance of the normalised nDnD-Borsuk-Ulam problem.

We embed the grid [N]n[N]^{n} in [1/2,1/2]n[-1/2,1/2]^{n} in a straightforward way, namely p[N]np\in[N]^{n} corresponds to p^[1/2,1/2]n\widehat{p}\in[-1/2,1/2]^{n} such that p^j=1/2+(pj1)/(N1)\widehat{p}_{j}=-1/2+(p_{j}-1)/(N-1) for all j[n]j\in[n]. Note that antipodal grid points exactly correspond to antipodal points in [1/2,1/2]n[-1/2,1/2]^{n}. In other words, pp and qq are antipodal on the grid, if and only if p^=q^\widehat{p}=-\widehat{q}.

Next we define the value of the function f:[1/2,1/2]n[δn,δn]f:[-1/2,1/2]^{n}\to[-\delta\cdot n,\delta\cdot n] at the embedded grid points as follows

ff is antipodally anti-symmetric on the boundary of [1/2,1/2]n[-1/2,1/2]^{n}, i.e., f(x)=f(x)f(-x)=-f(x) for all x([1/2,1/2]n)x\in\partial([-1/2,1/2]^{n}).

ff is Lipschitz-continuous with Lipschitz parameter 2n2(N1)δ2n^{2}(N-1)\delta, since the grid size is 1/(N1)1/(N-1) and f(p^)δn\|f(\widehat{p})\|_{\infty}\leq\delta\cdot n for all p[N]np\in[N]^{n}.

f(1/2,1/2,,1/2)=δne+1=(δn,0,0,,0)f(1/2,1/2,\dots,1/2)=\delta\cdot n\cdot e_{+1}=(\delta\cdot n,0,0,\dots,0).

Now, we define g:[1/2,1/2]n[δ,δ]ng:[-1/2,1/2]^{n}\to[-\delta,\delta]^{n} to be the truncation of ff to [δ,δ]n[-\delta,\delta]^{n}, namely

It is not hard to see that gg is also antipodally anti-symmetric, Lipschitz-continuous with Lipschitz parameter 2n2(N1)δ2n^{2}(N-1)\delta and g(1/2,1/2,,1/2)=δe+1g(1/2,1/2,\dots,1/2)=\delta\cdot e_{+1}. Furthermore, if x[1/2,1/2]nx\in[-1/2,1/2]^{n} is such that g(x)ε\|g(x)\|_{\infty}\leq\varepsilon, then, since ε<δ\varepsilon<\delta, f(x)ε\|f(x)\|_{\infty}\leq\varepsilon, and thus xx again yields a solution to the nDnD-Tucker instance.

Step 2: Extending to n\bm{^{n}}. The goal of the next step is to define a function h:nnh:^{n}\to^{n} that extends gg and ensures that h(1,1,,1)=(1,1,,1)h(1,1,\dots,1)=(1,1,\dots,1), while maintaining its other properties. For xnx\in^{n} we let T(x)[1/2,1/2]nT(x)\in[-1/2,1/2]^{n} denote its truncation to [1/2,1/2]n[-1/2,1/2]^{n}, i.e., [T(x)]i=min{1/2,max{1/2,xi}}[T(x)]_{i}=\min\{1/2,\max\{-1/2,x_{i}\}\} for all i[n]i\in[n]. The function h:nnh:^{n}\to^{n} is defined as

so h(x)>ε\|h(x)\|_{\infty}>\varepsilon. By the same argument, if xi<1/2x_{i}<-1/2 for all ii, then we also have h(x)>ε\|h(x)\|_{\infty}>\varepsilon.

Since g(1/2,1/2,,1/2)=δe+1g(1/2,1/2,\dots,1/2)=\delta\cdot e_{+1} and g(1/2,1/2,,1/2)=δe1g(-1/2,-1/2,\dots,-1/2)=\delta\cdot e_{-1}, it is easy to see that hh is continuous. Furthermore, since for any x,ynx,y\in^{n} it holds that T(x)T(y)xy\|T(x)-T(y)\|_{\infty}\leq\|x-y\|_{\infty}, it is easy to see that hh is 2n2(N1)δ2n^{2}(N-1)\delta-Lipschitz-continuous outside of {xnxi1/2 for all i[n]}{xnxi1/2 for all i[n]}\{x\in^{n}|x_{i}\geq 1/2\text{ for all }i\in[n]\}\cup\{x\in^{n}|x_{i}\leq-1/2\text{ for all }i\in[n]\}. For any y,z{xnxi1/2 for all i[n]}y,z\in\{x\in^{n}|x_{i}\geq 1/2\text{ for all }i\in[n]\}, it holds that hi(y)hi(z)=2minjyjminjzj2yz|h_{i}(y)-h_{i}(z)|=2|\min_{j}y_{j}-\min_{j}z_{j}|\leq 2\|y-z\|_{\infty} for i>1i>1, and h1(y)h1(z)=2(1δ)minjyjminjzj2yz|h_{1}(y)-h_{1}(z)|=2(1-\delta)|\min_{j}y_{j}-\min_{j}z_{j}|\leq 2\|y-z\|_{\infty}. Thus, hh is 22-Lipschitz-continuous on {xnxi1/2 for all i[n]}\{x\in^{n}|x_{i}\geq 1/2\text{ for all }i\in[n]\} and, by the same argument, also on {xnxi1/2 for all i[n]}\{x\in^{n}|x_{i}\leq-1/2\text{ for all }i\in[n]\}.

As a result, hh is Lipschitz-continuous on n^{n} with Lipschitz parameter max{2,2n2(N1)δ}\max\{2,2n^{2}(N-1)\delta\}. Indeed, consider any x,ynx,y\in^{n}. If xi1/2x_{i}\geq 1/2 and yi1/2y_{i}\leq-1/2 for all ii, then xy1\|x-y\|_{\infty}\geq 1, and thus h(x)h(y)22xy\|h(x)-h(y)\|_{\infty}\leq 2\leq 2\|x-y\|_{\infty}. By symmetry, the only remaining case that we need to check is when xi1/2x_{i}\geq 1/2 for all ii, and yy is such that there exists ii with yi<1/2y_{i}<1/2 and there exists ii with yi>1/2y_{i}>-1/2. In that case, we consider the segment [x,y][x,y] from xx to yy, and let z[x,y]z\in[x,y] be the point that is the furthest away from xx but such that zi1/2z_{i}\geq 1/2 for all ii. Note that there must exist ii such that zi=1/2z_{i}=1/2. This means h(z)=g(T(z))h(z)=g(T(z)) and thus h(z)h(y)2n2(N1)δzy\|h(z)-h(y)\|_{\infty}\leq 2n^{2}(N-1)\delta\|z-y\|_{\infty}. On the other hand, we have h(x)h(z)2xz\|h(x)-h(z)\|_{\infty}\leq 2\|x-z\|_{\infty}. Putting these two expressions together, we obtain that h(x)h(y)max{2,2n2(N1)δ}(xz+zy)=max{2,2n2(N1)δ}xy\|h(x)-h(y)\|_{\infty}\leq\max\{2,2n^{2}(N-1)\delta\}(\|x-z\|_{\infty}+\|z-y\|_{\infty})=\max\{2,2n^{2}(N-1)\delta\}\|x-y\|_{\infty}. Here we used the fact that z[x,y]z\in[x,y], which means that there exists tt\in such that z=x+t(yx)z=x+t(y-x) and thus

Step 3: Extending to n+1\bm{^{n+1}}. The final step is to define a normalised nDnD-Borsuk-Ulam function F:n+1nF:^{n+1}\to^{n} such that any x(n+1)x\in\partial(^{n+1}) with F(x)ε\|F(x)\|_{\infty}\leq\varepsilon yields a solution to the nDnD-Tucker instance. For xn+1x\in^{n+1} we write x=(x,xn+1)x=(x^{\prime},x_{n+1}), where xnx^{\prime}\in^{n}. We define

Consider any x=(x,xn+1)(n+1)x=(x^{\prime},x_{n+1})\in\partial(^{n+1}) with F(x)ε\|F(x)\|_{\infty}\leq\varepsilon. Since FF is an odd function, we can assume that xn+10x_{n+1}\geq 0 (otherwise just use x-x instead of xx). If xn+1=1x_{n+1}=1, then F(x,xn+1)=h(x)F(x^{\prime},x_{n+1})=h(x^{\prime}), and thus h(x)ε\|h(x^{\prime})\|_{\infty}\leq\varepsilon, which yields a solution to the nDnD-Tucker instance. If xn+1[0,1)x_{n+1}\in[0,1), then x(n)x^{\prime}\in\partial(^{n}) and thus h(x)=h(x)h(x^{\prime})=-h(-x^{\prime}). This implies that F(x,xn+1)=h(x)F(x^{\prime},x_{n+1})=h(x^{\prime}) in this case too.

Finally, let us determine the Lipschitz parameter of FF. Let x,yn+1x,y\in^{n+1}. We have

Putting these two expressions together, it follows that

Note that max{3,2n2(N1)δ+1}max{3,4n2(N1)ε+1}\max\{3,2n^{2}(N-1)\delta+1\}\leq\max\{3,4n^{2}(N-1)\varepsilon+1\}.

Monotone Valuations

In this section, we present our results for agents with monotone valuations. In contrast to the results of Section 4, here we prove that for two agents with monotone valuations, the problem is solvable in polynomial time and with a polynomial number of queries, and in fact this result holds even if only one of the two agent has a monotone valuation and the other has a general valuation. For three or more agents however, the problem becomes PPA-complete once again, and we obtain a corresponding exponential lower bound on its query complexity.

We start with our efficient algorithm for the case of two agents, which is a polynomial-time algorithm in the white-box model, as well as an algorithm of polynomial query complexity in the black-box model; see Algorithm 1. The algorithm is based on a nested binary search procedure. At the higher level, we are performing a binary search on the position of the left cut of a solution. At the lower level, for any fixed position for the left cut, we perform another binary search in order to find a right cut such that the pair of cuts forms a solution for the first agent; as we have already seen this can be efficiently done if the agent has monotone valuation. Intuitively, we are moving on the “indifference curve” of the valuation function of the agent with the monotone valuation (see the red zig-zag line in Figure 3) until we reach a solution. We decide how to move on this curve by checking the preferences of the second agent.

Before we proceed, we draw an interesting connection with Austin’s moving knife procedure [Austin, 1982], an Exact-Division procedure for two agents with general valuations. The procedure is based on two moving knifes which one of the two agents simultaneously and continuously slides across the cake, maintaining that the corresponding cut positions ensure that she is satisfied with the partition. At some point during this process, the other agent becomes satisfied, which is guaranteed by the intermediate value theorem. Our algorithm can be interpreted as a discrete time implementation of this idea and quite interestingly, it results in a polynomial-time algorithm when one of the two agents has a monotone valuation, whereas it is computationally hard when both agents have general valuations, as shown in Section 4. On a more fundamental level, this demonstrates the intricacies of transforming moving-knife fair division protocols into discrete algorithms.

The main theorem of this section is the following.

For two agents with monotone valuation functions, ε\varepsilon-Consensus-Halving is solvable in polynomial time and has query complexity O(log2Lε)O\left(\log^{2}\frac{L}{\varepsilon}\right), even in the weak black-box model. This result holds even if one of the two agents has a general valuation.

Before we proceed with the description of our algorithm and its analysis, let us begin with some conventions that will make the presentation easier. Since we have to make two cuts, we denote xx the position of the leftmost cut and yy the position of the rightmost cut. So, 0xy10\leq x\leq y\leq 1. In addition, the labels of the corresponding intervals are as follows: intervals [0,x][0,x] and [y,1][y,1] have label “++”, forming the positive piece, and interval [x,y][x,y] has label “-”, forming the negative piece. Given a pair of cuts (x,y)(x,y), we say that agent ii:

weakly prefers the positive piece, if vi([0,x][y,1])vi([x,y])ε/2v_{i}([0,x]\cup[y,1])\geq v_{i}([x,y])-\varepsilon/2;

weakly prefers the negative piece, if vi([x,y])vi([0,x][y,1])ε/2v_{i}([x,y])\geq v_{i}([0,x]\cup[y,1])-\varepsilon/2;

is indifferent if vi([x,y])vi([0,x][y,1])ε/2|v_{i}([x,y])-v_{i}([0,x]\cup[y,1])|\leq\varepsilon/2.

In addition, let pp^{\star}\in be such that v1([0,p])v1([p,1])ε/2|v_{1}([0,p^{\star}])-v_{1}([p^{\star},1])|\leq\varepsilon/2. Note that we can efficiently compute pp^{\star} using Theorem 4.1. The final assumption we need to make is regarding the preferences of Agent 2 for the two special pairs of (0,p)(0,p^{\star}) and (p,1)(p^{\star},1). Observe that both pairs of cuts create the same pieces over $andonlychangethelabelsofthepieces.Hence,ifAgent2weaklyprefersthepositivepieceunderthepairofcutsand only change the labels of the pieces. Hence, if Agent 2 weakly prefers the positive piece under the pair of cuts(0,p^{\star}),hehastoweaklypreferthenegativepieceunderthepairofcuts, he has to weakly prefer the negative piece under the pair of cuts(p^{\star},1).Inthedescriptionofthealgorithmwewillassumethatthisisindeedthecase,i.e.,heweaklyprefersthepositivepieceunder. In the description of the algorithm we will assume that this is indeed the case, i.e., he weakly prefers the positive piece under(0,p^{\star})andthenegativepieceunderand the negative piece under(p^{\star},1)$. (The other case can be handled analogously.) Using the above notation and assumptions we can now state Algorithm 1.

To prove the correctness of Algorithm 1 we will prove that the following invariants are maintained through all iterations of the algorithm.

Next we argue that we can implement Algorithm 1 using O(log2Lε)O(\log^{2}\frac{L}{\varepsilon}) queries in the black-box model. Observe that Steps 1 and 1 can be simulated with O(logLε)O(\log\frac{L}{\varepsilon}) queries each, as we have already explained in Theorem 4.1. In addition, observe that every time we ask Agent 2 for his preferences we only need two evaluation queries. Since we need O(logLε)O(\log\frac{L}{\varepsilon}) iterations in every while loop, Algorithm 1 needs O(log2Lε)O(\log^{2}\frac{L}{\varepsilon}) queries in total. ∎

2 Results for three or more monotone agents

We now move on to the case of three or more monotone agents, for which we manage to show that the problem becomes computationally hard and has exponential query complexity. Our results thus show a clear dichotomy on the complexity of ε\varepsilon-Consensus-Halving with monotone agents, between the case of two agents and the case of three or more agents.

Again we employ our general approach, but this time we need to prove computational and query-complexity hardness of the monotone nDnD-Borsuk-Ulam problem; the corresponding impossibility results for ε\varepsilon-Consensus-Halving with agents with monotone valuations then follow from our property-preserving reduction (Proposition 3.1). To this end, we in fact construct an efficient black-box reduction from (n1)D(n-1)D-Tucker to monotone nDnD-Borsuk-Ulam, i.e., we reduce from the corresponding version of nDnD-Tucker of one lower dimension. In order to achieve this, we once again interpolate the (n1)D(n-1)D-Tucker instance to obtain a continuous function, but, this time, we embed it in a very specific lower dimensional subset of the nDnD-Borsuk-Ulam domain. We then show that the function can be extended to a monotone function on the whole domain.

The “drop in dimension” which is featured in our reduction has the following effects:

Since 1D1D-Tucker is solvable in polynomial-time, we can only obtain the PPA-hardness of monotone nDnD-Borsuk-Ulam for n3n\geq 3, and therefore the PPA-hardness of ε\varepsilon-Consensus-Halving for three or more monotone agents.

The query complexity lower bounds that we “inherit” from (n1)D(n-1)D-Tucker do not exactly match our upper bounds, obtained via the reduction from ε\varepsilon-Consensus-Halving to nDnD-Tucker (Proposition 3.2).

The main technical contribution of this section is the following lemma, proved at the end of this section.

For any constant n2n\geq 2, (n1)D(n-1)D-Tucker reduces to normalised monotone nDnD-Borsuk-Ulam in polynomial time, via an efficient black-box reduction.

Similarly to Section 4, we then obtain the following two theorems.

ε\varepsilon-Consensus-Halving with nn monotone agents is PPA-complete. This remains the case, even if (a) we fix ε(0,1)\varepsilon\in(0,1), or (b) we fix L3(n+1)L\geq 3(n+1);

for any constant t(0,1)t\in(0,1), there exists a constant c>0c>0 such that for any ε(0,t)\varepsilon\in(0,t) and any L3(n+1)L\geq 3(n+1) with L/εcL/\varepsilon\geq c, the query complexity of ε\varepsilon-Consensus-Halving with nn monotone agents is between Ω((L/ε)n2)\Omega((L/\varepsilon)^{n-2}) and O((L/ε)n1)O((L/\varepsilon)^{n-1}).

monotone nDnD-Borsuk-Ulam is PPA-complete. This remains the case, even if (a) we fix ε(0,1)\varepsilon\in(0,1), or (b) we fix L3L\geq 3;

for any constant t(0,1)t\in(0,1), there exists a constant c>0c>0 such that for any ε(0,t)\varepsilon\in(0,t) and any L3L\geq 3 with L/εcL/\varepsilon\geq c, the query complexity of monotone nDnD-Borsuk-Ulam is between Ω((L/ε)n2)\Omega((L/\varepsilon)^{n-2}) and O((L/ε)n1)O((L/\varepsilon)^{n-1}).

The proofs of the theorems follow from Theorems 2.1 and 2.2 and the following chain of reductions, which now crucially involve the monotone version of nDnD-Borsuk-Ulam and ε\varepsilon-Consensus-Halving.

The specific parameters that appear in the bounds follow from the proof of Lemma 5.2. The lower bounds again hold even for the normalised versions of the problems. There is a small gap between our lower and upper bounds; we conjecture that it should be possible to prove upper bounds that match the lower bounds of Theorem 5.3, at least up to logarithmic factors, but we leave this for future work.

3 Reducing (𝒏−𝟏)​𝑫𝒏1𝑫\bm{(n-1)D}-Tucker to monotone 𝒏​𝑫𝒏𝑫\bm{nD}-Borsuk-Ulam (Proof of Lemma 5.2)

Step 1: From (n1)D\bm{(n-1)D}-Tucker to non-normalised (n1)D\bm{(n-1)D}-Borsuk-Ulam. Let δ=min{2ε,1}\delta=\min\{2\varepsilon,1\}. Note that δ(0,1]\delta\in(0,1] and ε<δ<2ε\varepsilon<\delta<2\varepsilon. The first step of the proof is very similar to the proof of Lemma 4.2. Namely, using Step 1 of the proof of Lemma 4.2, we construct g:[1/2,1/2]n1[δ,δ]n1g:[-1/2,1/2]^{n-1}\to[-\delta,\delta]^{n-1} such that gg is antipodally anti-symmetric and 4(n1)2(N1)ε4(n-1)^{2}(N-1)\varepsilon-Lipschitz-continuous. Furthermore, any x[1/2,1/2]n1x\in[-1/2,1/2]^{n-1} with g(x)<δ\|g(x)\|_{\infty}<\delta yields a solution to the original (n1)D(n-1)D-Tucker instance. Then, we define h:n1[δ,δ]n1h:^{n-1}\to[-\delta,\delta]^{n-1} by h(x)=g(x/2)h(x)=g(x/2). hh has the same properties as gg, except that it is 2(n1)2(N1)ε2(n-1)^{2}(N-1)\varepsilon-Lipschitz-continuous. Note that here the construction of hh differs from Step 2 of the proof of Lemma 4.2, since we do not want hh to be normalised.

Next, we extend hh to a (non-normalised) (n1)D(n-1)D-Borsuk-Ulam function G:n[δ,δ]n1G:^{n}\to[-\delta,\delta]^{n-1} using the same construction as in Step 3 of the proof of Lemma 4.2. By the same arguments, it holds that GG is an odd function and it is Lipschitz-continuous with parameter 2(n1)2(N1)ε+δ2n2Nε2(n-1)^{2}(N-1)\varepsilon+\delta\leq 2n^{2}N\varepsilon. Furthermore, any x(n)x\in\partial(^{n}) with G(x)<δ\|G(x)\|_{\infty}<\delta yields a solution to the original (n1)D(n-1)D-Tucker instance.

It has the nice property that for any x,yDx,y\in\mathcal{D}, if xyx\leq y, then x=yx=y.

Next, we embed G^\widehat{G} into D\mathcal{D}. Let H:D[δ,δ]n1H:\mathcal{D}\to[-\delta,\delta]^{n-1} be defined by H(x)=H(x,xn+1)=G^(x)H(x)=H(x^{\prime},x_{n+1})=\widehat{G}(x^{\prime}). Note that HH remains an odd function and is also 2(n+1)3Nε2(n+1)^{3}N\varepsilon-Lipschitz-continuous. Any xDx\in\mathcal{D} with H(x)<δ\|H(x)\|_{\infty}<\delta and such that there exists i[n]i\in[n] with xi1/(n+1)|x_{i}|\geq 1/(n+1), yields a solution to G^\widehat{G} and thus to the original (n1)D(n-1)D-Tucker instance.

where C=1+2(n+1)4NεC=1+2(n+1)^{4}N\varepsilon. It is easy to check that FF^{\prime} is an odd function by using the fact that S(x)=S(x)S(-x)=-S(x), Π(x)=Π(x)\Pi(-x)=-\Pi(x) and H(x)=H(x)H(-x)=-H(x).

It is easy to see that FF^{\prime} is continuous. Let us determine an upper bound on its Lipschitz parameter. For any x,yn+1x,y\in^{n+1} we have

where we used S(x)S(y)(n+1)xy|S(x)-S(y)|\leq(n+1)\|x-y\|_{\infty} and Π(x)Π(y)xy2n+1xy\|\Pi(x)-\Pi(y)\|_{\infty}\leq\|x-y\|_{2}\leq\sqrt{n+1}\|x-y\|_{\infty}. Thus, FF^{\prime} is Lipschitz-continuous with Lipschitz parameter 2(n+1)4Nε+C+1=4(n+1)4Nε+22(n+1)^{4}N\varepsilon+C+1=4(n+1)^{4}N\varepsilon+2.

Let us now show that FF^{\prime} is monotone. For this, it is enough to show that F(x)F(y)F^{\prime}(x)\leq F^{\prime}(y) for all x,yn+1x,y\in^{n+1} with xyx\leq y and S(x)0S(x)\geq 0, S(y)0S(y)\geq 0. Indeed, since FF^{\prime} is odd, this implies that the statement also holds if S(x)0S(x)\leq 0 and S(y)0S(y)\leq 0. Finally, if S(x)0S(x)\leq 0 and S(y)0S(y)\geq 0, then there exists zz with xzyx\leq z\leq y and S(z)=0S(z)=0, which implies that F(x)F(z)F(y)F^{\prime}(x)\leq F^{\prime}(z)\leq F^{\prime}(y).

Let xn+1x\in^{n+1} be such that S(x)0S(x)\geq 0. For any j[n+1]j\in[n+1], i[n1]i\in[n-1] and t0t\geq 0 with xj+t1x_{j}+t\leq 1, it holds that

since C=1+2(n+1)4NεC=1+2(n+1)^{4}N\varepsilon. Here we used the fact that Π(x+tej)Π(x)Π(x+tej)Π(x)2x+tejx2=t\|\Pi(x+t\cdot e_{j})-\Pi(x)\|_{\infty}\leq\|\Pi(x+t\cdot e_{j})-\Pi(x)\|_{2}\leq\|x+t\cdot e_{j}-x\|_{2}=t. We obtain that FF^{\prime} is monotone, since for any x,yx,y with xyx\leq y and S(x)0S(x)\geq 0, S(y)0S(y)\geq 0, we can decompose y=(((x+(y1x1)e1)+(y2x2)e2))+(yn+1xn+1)en+1y=(\dots((x+(y_{1}-x_{1})\cdot e_{1})+(y_{2}-x_{2})\cdot e_{2})\dots)+(y_{n+1}-x_{n+1})\cdot e_{n+1}.

Consider any x(n+1)x\in\partial(^{n+1}) with F(x)ε\|F(x)\|_{\infty}\leq\varepsilon. Since F(x)ε|F^{\prime\prime}(x)|\leq\varepsilon, it follows that S(x)(n+1)ε/Cn|S(x)|\leq(n+1)\varepsilon/C_{n}. Assume that there exists i[n1]i\in[n-1] such that Hi(Π(x))δ|H_{i}(\Pi(x))|\geq\delta. Then, we have

where we used Cn>(C+1)/(min{2,1/ε}1)C_{n}>(C+1)/(\min\{2,1/\varepsilon\}-1). But this would mean that F(x)>ε\|F(x)\|_{\infty}>\varepsilon, a contradiction. Thus, it must be that H(Π(x))<δ\|H(\Pi(x))\|_{\infty}<\delta.

In order to show that Π(x)\Pi(x) is a solution to HH, it remains to prove that there exists i[n]i\in[n] such that [Π(x)]i1/(n+1)|[\Pi(x)]_{i}|\geq 1/(n+1). Since x(n+1)x\in\partial(^{n+1}), there exists j[n+1]j\in[n+1] such that xj=1|x_{j}|=1. As a result, [Π(x)]j=xjS(x)/(n+1)1ε/Cn|[\Pi(x)]_{j}|=|x_{j}-S(x)/(n+1)|\geq 1-\varepsilon/C_{n}. If j<n+1j<n+1, then let i:=ji:=j. Otherwise, if j=n+1j=n+1, then, since S(Π(x))=0S(\Pi(x))=0, there necessarily exists i[n]i\in[n] such that [Π(x)]i1/nε/(nCn)|[\Pi(x)]_{i}|\geq 1/n-\varepsilon/(nC_{n}). In both cases we have found i[n]i\in[n] such that [Π(x)]i1/nε/(nCn)|[\Pi(x)]_{i}|\geq 1/n-\varepsilon/(nC_{n}). Since Cn(n+1)εC_{n}\geq(n+1)\varepsilon, it follows that [Π(x)]i1/(n+1)|[\Pi(x)]_{i}|\geq 1/(n+1).

Thus, from any x(n+1)x\in\partial(^{n+1}) with F(x)ε\|F(x)\|_{\infty}\leq\varepsilon, we can obtain a solution to the original (n1)D(n-1)D-Tucker instance. Note that the reduction is polynomial-time and we have only used operations allowed by the gates of the arithmetic circuit. In particular, we have only used division by constants, which can be performed by multiplying by the inverse of that constant.

Relations to the Robertson-Webb Query Model

At the same time, in the literature of the cake-cutting problem, the predominant query model is in fact a more expressive query model, known as the Robertson-Webb model (RW) [Robertson and Webb, 1998; Woeginger and Sgall, 2007]. The RW model has been defined only for the case of additive valuations, and consists of the following two types of queries:

eval queries, where the agent is given an interval [a,b][a,b] and she returns her value for that interval, and

cut queries, where the agent is given a point xx\in and a real number α\alpha, and they designate the smallest interval [x,y][x,y], for which their value is exactly α\alpha.

In fact, in the literature of envy-free cake-cutting, the query complexity in the RW model has been one of the most important open problems [Brams and Taylor, 1996; Procaccia, 2016], with breakthrough results coming from the literature of computer science fairly recently [Aziz and Mackenzie, 2016a, b]. Since ε\varepsilon-Consensus-Halving and ε\varepsilon-fair cake-cutting [Brânzei and Nisan, 2017] are conceptually closely related, it would make sense to consider the query complexity of the former problem in the RW model as well.The ε\varepsilon-Consensus-Halving halving problem has in fact recently been studied under this query model as well, but in a somewhat different direction, and for agents with additive valuations [Alon and Graur, 2021]. Note that the authors do not refer to their query model as the RW model, but the queries that they use are essentially RW queries.

A potential hurdle in this investigation is that the RW model has not been defined for valuation functions beyond the additive case. To this end, we propose the following generalisation of the RW model that we call Generalised Robertson-Webb model (GRW)), which is appropriate for monotone valuation functions that are not necessarily additive. Intuitively, in the GRW model the agent essentially is given sets of intervals AA rather than single intervals, and the queries are defined accordingly (see also Figure 4).

Let us discuss why this model is the most appropriate generalisation of the RW model. First, the definition of eval queries is in fact the natural extension, as the agent needs to specify her value for sets of intervals; note that in the additive case, it suffices to elicit an agent’s value for only single intervals, as her value for unions of intervals is then simply the sum of the elicited values. This is not the case in general for monotone valuations, and therefore we need a more expressive eval query. We also remark that the eval query is exactly the same as a query in the black-box model, as defined in Section 2, and therefore the GRW model is stronger than the black-box query model. Brânzei and Nisan in fact studied the restriction of the RW model (for the cake-cutting problem and for additive valuations), for which only eval queries are allowed, and they coined this the RWRW^{-} query model. To put our results into context, we offer the following definition of the GRWGRW^{-} query model, which is, as discussed, equivalent to the black-box query model of Section 2. By the discussion above, all of our query complexity bounds in Section 4 and Section 5 apply verbatim to the GRW- query model.

In the GRW- query model, only eval queries are allowed; there agent ii is given a Lebesgue-measurable subset AA of $andshereturnshervalueand she returns her valuev_{i}(A)$ for that set.

While the extension of eval queries from the RW model to the GRW model is relatively straightforward, the generalisation of cut queries is somewhat more intricate. Upon closer inspection of a cut query in the (standard) RW model for additive valuations, it is clear that one can equivalently define this query as

Given an interval I=[a,b]I=[a,b] and a real number γ\gamma, place a cut at x[a,b]x\in[a,b] such that vi([a,x])vi([x,b])=γ\frac{v_{i}([a,x])}{v_{i}([x,b])}=\gamma.

This is because one can easily find the value of the agent for [a,b][a,b] with one eval query, and then for any value of α\alpha used in the standard definition of a cut query, there is an appropriate value of γ\gamma in the modified definition above, which will result in exactly the same position xx of the cut and vice-versa.

The simplicity of the cut queries in the RW model is enabled by the fact that for additive valuations, the value of any agent ii for an interval II does not depend on how the remainder of the interval $$ has been cut. This is no longer the case for monotone valuations, as now the agent needs to specify a different value for sets of intervals. We believe that our definition of the cut query in the GRW model is the appropriate generalisation, which captures the essence of the original cut queries in RW, but also allows for enough expressiveness to make this type of query useful for monotone valuations beyond the additive case.

Finally, we remark that for general valuations (beyond monotone), any sensible definition of cut queries seems to be too strong, in the sense that it conveys unrealistically too much information (in contrast to the RW and GRW models, where the cut queries are intuitively “shortcuts” for binary search). For example, assume that the agent is asked to place a cut at some point xx in an interval [a,b][a,b], for which (a) if the cut is placed at aa the agent “sees” an excess of “++” and (b) if the cut is placed at bb, the agent still “sees” an excess of “++”. By the boundary conditions of the interval, there is no guarantee that a cut that “satisfies” the agent exists within that interval, and we would need to exhaustively search through the whole interval to find such a cut position, if it exists, meaning that binary search does not help us here. On the other hand, a single cut query would either find the position or return that there is no such xx within the interval.

We are now ready to state our results for the section, which we summarise in the following theorem. Qualitatively, we prove that ε\varepsilon-Consensus-Halving with three normalised monotone agents still has an exponential query complexity in the GRW model (with logarithmic savings compared to the black-box model), whereas for two normalised monotone agents, the problem becomes “easier” by a logarithmic factor.

ε\varepsilon-Consensus-Halving with n3n\geq 3 normalised monotone agents requires Ω((L/ε)n2log(L/ε))\Omega\left(\frac{(L/\varepsilon)^{n-2}}{\log(L/\varepsilon)}\right) queries.

ε\varepsilon-Consensus-Halving with n=2n=2 monotone agents can be solved with O(log(L/ε))O(\log(L/\varepsilon)) queries.

For the lower bound when n3n\geq 3, we will show how to construct an instance of ε\varepsilon-Consensus-Halving with nn normalised monotone agents, such that the Ω((L/ε)n2)\Omega((L/\varepsilon)^{n-2}) lower bound for eval queries still holds, but we can additionally answer any cut query by performing at most O(log(L/ε))O(\log(L/\varepsilon)) eval queries. We will again use our reduction from normalised monotone nDnD-Borsuk-Ulam to ε\varepsilon-Consensus-Halving with nn normalised monotone agents (Proposition 3.1).

Consider a normalised monotone nDnD-Borsuk-Ulam function F:n+1nF:^{n+1}\to^{n} with Lipschitz parameter L3L\geq 3 and some ε(0,1)\varepsilon\in(0,1). We first discretize the domain to be Kmn+1:={1,(m1)/m,,1/m,0,1/m,2/m,,(m1)/m,1}n+1K_{m}^{n+1}:=\{-1,-(m-1)/m,\dots,-1/m,0,1/m,2/m,\dots,(m-1)/m,1\}^{n+1} where m=2nL/εm=\lceil 2nL/\varepsilon\rceil. We let f:Kmn+1nf:K_{m}^{n+1}\to^{n} be defined by f(x)=F(x)f(x)=F(x). Note that ff is antipodally anti-symmetric (f(x)=f(x)f(-x)=-f(x) for all xKmn+1x\in K_{m}^{n+1}), monotone (f(x)f(y)f(x)\leq f(y) whenever xyx\leq y) and f(1,1,,1)=(1,1,,1)f(1,1,\dots,1)=(1,1,\dots,1). Furthermore, any x(Kmn+1)x\in\partial(K_{m}^{n+1}) with f(x)ε\|f(x)\|_{\infty}\leq\varepsilon yields a solution to the original instance FF. We extend ff back to a function f^:n+1n\widehat{f}:^{n+1}\to^{n} by using Kuhn’s triangulation on the grid Kmn+1K_{m}^{n+1} and interpolating (see Appendix C for a description of the triangulation and interpolation). By the arguments presented in Appendix C, it holds that f^\widehat{f} is a continuous, monotone, odd function, and f^(1,1,,1)=(1,1,,1)\widehat{f}(1,1,\dots,1)=(1,1,\dots,1). Furthermore, if xix_{i} is fixed for all i[n+1]{j}i\in[n+1]\setminus\{j\} and xjx_{j} is constrained such that xx lies in some fixed simplex σ\sigma of Kuhn’s triangulation, then f^(x)\widehat{f}(x) can be expressed as a linear affine function of xjx_{j}.

Let us now determine the Lipschitz parameter of f^\widehat{f}. Consider any simplex σ={y0\sigma=\{y^{0}, y1y^{1}, \dots, yn+1}y^{n+1}\} of the Kuhn triangulation of Kmn+1K_{m}^{n+1}. Consider any xn+1x\in^{n+1} that lies in σ\sigma and any j[n+1]j\in[n+1] and t[1/m,1/m]t\in[-1/m,1/m] such that x+tejx+t\cdot e_{j} also lies in σ\sigma. Then, the interpolation (as defined in Appendix C) yields

It is easy to check that this implies that f^\widehat{f} is (n+1)L(n+1)L-Lipschitz-continuous on the simplex σ\sigma. By a simple argument, it follows that f^\widehat{f} is (n+1)L(n+1)L-Lipschitz-continuous on n+1^{n+1} (see e.g., the proof of Lemma 4.2).

Now consider any simplex σ={y0,y1,,yn+1}\sigma=\{y^{0},y^{1},\dots,y^{n+1}\} such that there exists i[n+1]{0}i\in[n+1]\cup\{0\} with f(yi)>ε\|f(y^{i})\|_{\infty}>\varepsilon. Since f^(yi)=f(yi)\widehat{f}(y^{i})=f(y^{i}), and f^\widehat{f} is (n+1)L(n+1)L-Lipschitz-continuous, it follows that for any xn+1x\in^{n+1} that lies in σ\sigma we have

where we used m2nL/εm\geq 2nL/\varepsilon. Thus, for any x(n+1)x\in\partial(^{n+1}) with f^(x)ε/2\|\widehat{f}(x)\|_{\infty}\leq\varepsilon/2, it must hold that both f(y0)ε\|f(y^{0})\|_{\infty}\leq\varepsilon and f(yn+1)ε\|f(y^{n+1})\|_{\infty}\leq\varepsilon, where σ={y0,y1,,yn+1}\sigma=\{y^{0},y^{1},\dots,y^{n+1}\} is the Kuhn simplex containing xx. However, since x(n+1)x\in\partial(^{n+1}), it follows that y0y^{0} or yn+1y^{n+1} lies on the boundary of Kmn+1K_{m}^{n+1}. This means that we have obtained a solution to the original nDnD-Borsuk-Ulam function FF.

Since the parameters for f^\widehat{f} are L=nLL^{\prime}=nL and ε=ε/2\varepsilon^{\prime}=\varepsilon/2, and nn is constant, the query lower bound for FF carries over to f^\widehat{f}. ∎

Conclusion and Future Directions

In this paper, we managed to completely settle the computational complexity of the ε\varepsilon-Consensus-Halving problem for a constant number of agents with either general or monotone valuation functions. We also studied the query complexity of the problem and we provided exponential lower bounds corresponding to our hardness results, and polynomial upper bounds corresponding to our polynomial-time algorithms. We also defined an appropriate generalisation of the Robertson-Webb query model for monotone valuations and we showed that our bounds are qualitatively robust to the added expressiveness of this model. The main open problem associated with our work is the following.

What is the computational complexity and the query complexity of ε\varepsilon-Consensus-Halving with a constant number of agents and additive valuations?

Our approach in this paper prescribes a formula for answering this question: One can construct a black-box reduction to this version of ε\varepsilon-Consensus-Halving from a computationally-hard problem like nDnD-Tucker, for which we also know query complexity lower bounds, and obtain answers to both questions at the same time. Alternatively, one might be able to construct polynomial-time algorithms for solving this problem; concretely, attempting to do that for three agents with additive valuations would be the natural starting step, as this is the first case for which the problem becomes computationally hard for agents with monotone valuations. It is unclear whether one should expect the problem to remain hard for additive valuations.

Another line of work would be to study the query complexity of the related fair cake-cutting problem using the GRW model that we propose. In fact, while the fundamental existence results for the problem (e.g., see [Su, 1999]) actually apply to quite general valuation functions, most of the work in computer science has restricted its attention to the case of additive valuations only, with a few notable exceptions [Caragiannis et al., 2011; Deng et al., 2012]. We believe that our work can therefore spark some interest in the study of the query complexity of fair cake-cutting with valuations beyond the additive case.

Alexandros Hollender was supported by an EPSRC doctoral studentship (Reference 1892947).

References

Appendix A 𝜺𝜺\bm{\varepsilon}-Consensus-Halving for piecewise constant valuations

As we mentioned in the introduction, the valuation functions studied in previous work [Filos-Ratsikas and Goldberg, 2018, 2019] are piecewise constant valuations (i.e., step functions) which are given explicitly as part of the input, with each agent specifying the end-points and the height of each step. For a constant number of agents nn, this case is solvable in polynomial-time, as illustrated in Figure 1.

ε\varepsilon-Consensus-Halving with a constant number nn of agents and piecewise constant valuations (given explicitly as part of the input) is solvable in polynomial time.

The proof follows closely that of Lemma 15 in [Filos-Ratsikas et al., 2020]; here we provide the main proof idea, and we refer the reader to that paper for a fully detailed proof.

First, we partition the interval $intoregions,viaasetofpointsinto regions, via a set of pointst_{1},\ldots,t_{m}suchthatthedensityofthevaluationfunctionofeachagentisconstantwithineachregion.Letsuch that the density of the valuation function of each agent is constant within each region. LetT=[t_{j},t_{j+1}]denoteanarbitraryregion,andletdenote an arbitrary region, and letv_{i}(T)denotetheconstantvalueofthedensityofagentdenote the constant value of the density of agentiinregionin regionT$ (i.e., the height of the step). Since the valuations are provided explicitly (or equivalently, are polynomial in the other input parameters), this process will result in a polynomial number of such regions.

We will be interested in the regions that will contain cuts, and then we will find the appropriate positions of those cuts using linear programming. First, it is not hard to see that a solution in which some region contains more than 11 cut can be transformed into a solution in which every region contains at most 11 cut, by appropriately “merging” and “shifting” sets of cuts within the region. Therefore, we can assume that each region either contains a cut or it doesn’t. For any k=1,,nk=1,\ldots,n, we can consider all the possible ways of distributing the kk cuts to the regions, such that no region receives more than one cut; since nn is a constant, this can be done in polynomial time.

Let xTx_{T} be the position of the cut in region T=[ti,ti+1]T=[t_{i},t_{i+1}]. This means that for agent ii, the “left sub-region” [ti,xT][t_{i},x_{T}] receives one label (say “++”), whereas the “right sub-region” [xT,ti+1][x_{T},t_{i+1}] receives the other label (say “-”), resulting in values vi(T)[ti,xT]v_{i}(T)\cdot[t_{i},x_{T}] and vi(T)[xT,ti+1]v_{i}(T)\cdot[x_{T},t_{i+1}] for the agent respectively. If there is not cut in region TT, then the whole interval receives the same label. Now, we can consider the set of cuts at positions xTx_{T} in each of the regions that contain cuts, and the corresponding partitioning of $intointervals,labelledinto intervals, labelled “+and” and “-;withoutlossofgeneralitywecanassumethatthislabellingisalternating.Fromthere,wecandevisealinearprogramforeachvalueof”; without loss of generality we can assume that this labelling is alternating. From there, we can devise a linear program for each value ofk,whereweaimtominimise, where we aim to minimisez,subjectto, subject to|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq z(whichcanbetransformedintoasetoflinearconstraints),plusadditionallinearconstraintsforthepositionsofthecuts.Sinceasolutionalwaysexists,andsinceweconsiderallvaluesof(which can be transformed into a set of linear constraints), plus additional linear constraints for the positions of the cuts. Since a solution always exists, and since we consider all values ofk\in[1,n],oneofthelinearprogramswillterminatewith, one of the linear programs will terminate withz=0$, and therefore we can find an exact solution to the problem. ∎

Appendix B Formal definition of the input model

In Section 2, we mentioned that in the white-box model, the agents’ valuations viv_{i} are accessed via polynomial-time algorithms, which are given explicitly as part of the input. We provide the precise definition of the input model in this section. Formally, we assume that valuations are computed by Turing machines. The input to the Turing machine is a list of intervals, and the Turing machine outputs the value of the union of these intervals.

\mathcal{I}^{+} and I\mathcal{I}^{-} such that for each agent ii, it holds that vi(I+)vi(I)ε|v_{i}(\mathcal{I}^{+})-v_{i}(\mathcal{I}^{-})|\leq\varepsilon, using at most nn cuts. – A violation of LL-Lipschitz-continuity for one of the valuations. – An input XX on which one of the Turing machines does not terminate in at most p(X)p(|X|) steps. – (Optional, for monotone valuations only). A violation of monotonicity for one of the valuations. Note that for all solution types except the first one, a solution can be a union of an arbitrary number of intervals, i.e., not necessarily obtained using at most nn cuts. The violation solutions are only there to ensure that the problem is contained in TFNP. They are irrelevant for our hardness results, which also hold for the promise version of the problem where we are promised that the input does not violate any of the conditions.

Appendix C The Kuhn Triangulation

Let Dm:={0,1/m,2/m,,m/m}D_{m}:=\{0,1/m,2/m,\dots,m/m\}. Kuhn’s triangulation is a standard way to triangulate a grid DmnD_{m}^{n}. Every x(Dm{1})nx\in(D_{m}\setminus\{1\})^{n} is the base of the cube containing all vertices {y:yi{xi,xi+1/m}}\{y:y_{i}\in\{x_{i},x_{i}+1/m\}\}. Every such cube is subdivided into n!n! nn-dimensional simplices as follows: for every permutation π\pi of [n][n], σ={y0,y1,,yn}\sigma=\{y^{0},y^{1},\dots,y^{n}\} is a simplex, where y0=xy^{0}=x and yi=yi1+1meπ(i)y^{i}=y^{i-1}+\frac{1}{m}e_{\pi(i)} for all i[n]i\in[n] (where eie_{i} is the iith unit vector).

It is easy to see that Kuhn’s triangulation has the following properties:

For any simplex σ={z1,,zk}\sigma=\{z^{1},\dots,z^{k}\} it holds that zizj1/m\|z^{i}-z^{j}\|_{\infty}\leq 1/m for all i,ji,j, and there exists a permutation π\pi of [k][k] such that zπ(1)zπ(k)z^{\pi(1)}\leq\dots\leq z^{\pi(k)} (component-wise).

Given a point xnx\in^{n}, we can efficiently determine the simplex that contains it as follows. First find the base yy of a cube of DmnD_{m}^{n} that contains xx. Next, find a permutation π\pi such that xπ(1)yπ(1)xπ(n)yπ(n)x_{\pi(1)}-y_{\pi(1)}\geq\dots\geq x_{\pi(n)}-y_{\pi(n)}. Then, it follows that (y,π)(y,\pi) is the simplex containing xx.

The triangulation is antipodally anti-symmetric: if σ={y0,y1,,yn}\sigma=\{y^{0},y^{1},\dots,y^{n}\} is a Kuhn simplex of DmnD_{m}^{n}, then σ={y0,,yn}\overline{\sigma}=\{\overline{y^{0}},\dots,\overline{y^{n}}\} is also a simplex, where yij=1yji\overline{y^{i}}_{j}=1-y^{i}_{j} for all i,ji,j.

Using Kuhn’s triangulation, a function f:Dmn[M,M]f:D_{m}^{n}\to[-M,M] can be extended to a Lipschitz-continuous function f^:n[M,M]\widehat{f}:^{n}\to[-M,M]. f^\widehat{f} is constructed in each Kuhn simplex σ={y0,y1,,yn}\sigma=\{y^{0},y^{1},\dots,y^{n}\} by interpolating over the values {f(y0),f(y1),,f(yn)}\{f(y^{0}),f(y^{1}),\dots,f(y^{n})\}. In more detail, for any xnx\in^{n} that lies in simplex σ={y0,y1,,yn}\sigma=\{y^{0},y^{1},\dots,y^{n}\}, we let z:=m(xy0)z:=m\cdot(x-y^{0}). Let π\pi denote the permutation used to obtain σ\sigma. Note that since xx lies in σ\sigma, it must be that zπ(1)zπ(2)zπ(n)z_{\pi(1)}\geq z_{\pi(2)}\geq\dots\geq z_{\pi(n)}. Then, it holds that x=i=0nαiyix=\sum_{i=0}^{n}\alpha_{i}y^{i}, where α0=1zπ(1)\alpha_{0}=1-z_{\pi(1)}, αn=zπ(n)\alpha_{n}=z_{\pi(n)}, and αi=zπ(i)zπ(i+1)\alpha_{i}=z_{\pi(i)}-z_{\pi(i+1)} for i[n1]i\in[n-1]. We define

Finally, if ff is monotone, i.e., f(x)f(y)f(x)\leq f(y) for all x,yDmnx,y\in D_{m}^{n} with xyx\leq y, then so is f^\widehat{f}, i.e., f^(x)f^(y)\widehat{f}(x)\leq\widehat{f}(y) for all x,ynx,y\in^{n} with xyx\leq y. Consider any point xnx\in^{n} that lies in some simplex σ={y0,y1,,yn}\sigma=\{y^{0},y^{1},\dots,y^{n}\}. Then for any j[n]j\in[n] and t0t\geq 0 such that x+tejx+t\cdot e_{j} lies in the simplex σ\sigma, we have

since yjyj1y^{j}\geq y^{j-1} and ff is monotone. Using this it is easy to show that f^\widehat{f} is monotone within any simplex σ\sigma, since for any xyx\leq y in σ\sigma we can construct a path that goes from xx to yy (and lies in σ\sigma) that only uses the positive cardinal directions. Since monotonicity holds for any segment of the path, it also holds for xx and yy. Finally, for any xyx\leq y that lie in different simplices, we can just use the straight path that goes from xx to yy, and the fact that f^\widehat{f} is monotone in each simplex that we traverse.