Closing Gaps in Asymptotic Fair Division
Pasin Manurangsi, Warut Suksompong
Introduction
One of the most frequently occurring tasks in our society is that of allocating scarce resources among interested agents or entities. Indeed, whether it be apportioning government funds among public organizations, allotting office space to research groups in a university, or assigning houses to residents of a city, one is faced with the decision of how to best allocate the limited resource. A central concern when making such decisions is fairness: it is desirable that all agents view the share they receive as fair.
Among the plethora of fairness notions that have been proposed in the literature, perhaps the two best-known ones are envy-freeness and proportionality. An allocation is said to be envy-free if it does not induce envy between any pair of agents, and proportional if it gives every agent at least of their value for the entire resource, where denotes the number of agents among whom the resource is divided. When the resource to be allocated is divisible, such as advertisement space or broadcast time, it is known that envy-free and proportional allocations are guaranteed to exist (Dubins and Spanier 1961; Stromquist 1980). However, in many situations we need to allocate indivisible resources like houses, cars, electronics, and musical instruments. For such discrete items, neither envy-freeness nor proportionality can always be satisfied; this can be most easily seen when two quarrelling siblings try to divide a single toy between themselves.
In this paper, we present several new results on asymptotic fair division and in the process close a number of gaps left open by previous work. We assume that agents are endowed with additive utilities, and the utility of each agent for each item is drawn independently from a continuous distribution supported on $1n$ goes to infinity.
First (Section 3), we show that when , the round-robin algorithm, which lets the agents take turns picking their favorite item from the remaining items, outputs an envy-free allocation with high probability. This improves upon the aforementioned upper bound of and, perhaps more importantly, matches the non-existence result in the case that is not “almost divisible” by . Hence, except for the case where is “almost divisible” by , our result essentially resolves the question of when envy-free allocations exist. Furthermore, our result gives a separation between the round-robin allocation and the welfare-maximizing allocation: while the latter is likely to be envy-free when (Dickerson et al. 2014), it is unlikely to be even proportional, let alone envy-free, when (Manurangsi and Suksompong 2019).
Second (Section 4), we show that if the distribution has mean at most , We comment on the necessity of this condition in Section 4. a proportional allocation exists with high probability as long as ; this completely closes the gap for propotionality with respect to such distributions (cf. footnote 1). The result for is obtained by using the round-robin algorithm and generalizes a prior result of Amanatidis et al. 2017, which holds only when is the uniform distribution on $n\leq m\leq 2n$ is handled using a matching-based algorithm inspired by previous work.
Third (Section 5), we consider envy-freeness up to any item (EFX): an allocation satisfies this property if any envy that an agent has towards another agent can be eliminated by removing any item from the latter agent’s bundle (Caragiannis et al. 2019b). While it is currently an important open problem whether an EFX allocation always exists, we show that such allocations are likely to exist for any relation between and . This complements recent lines of work which show the (non-asymptotic) existence of approximate EFX allocations (Plaut and Roughgarden 2018; Amanatidis et al. 2020) and exact EFX allocations when items can be discarded (Caragiannis et al. 2019a; Chaudhury et al. 2020b).
Fourth (Section 6), we analyze the related but slightly different setting of assignments, also known as house allocation, where each agent is assigned exactly one item and the remaining items are left unassigned. In this setting, Gan et al. 2019 proved that an envy-free assignment is present with high probability if , and left open the question of where the transition between non-existence and existence occurs. We essentially settle this question by showing that this transition occurs at : for any constant , an envy-free allocation is likely to exist if , and unlikely to exist if .
Besides closing the gaps themselves, our results also reveal qualitative insights on the relative fairness guarantees provided by different algorithms. For example, the classical round-robin algorithm performs optimally with respect to envy-freeness, whereas a matching-based algorithm is better suited for proportionality when the number of items is small.
Fair division is a fascinating topic whose formal study stretches back over half a century (Steinhaus 1948); see the books by Brams and Taylor 1996 and Moulin 2003 for an overview of its long and intriguing history. While early work in the subject focused on allocating divisible resources (a problem often referred to as cake cutting), the fair allocation of indivisible resources has attracted substantial interest from different research communities in the last few years (Thomson 2016; Markakis 2017; Moulin 2019). After the work of Dickerson et al. 2014 that initiated the study of asymptotic fair division, Kurokawa et al. 2016 and Farhadi et al. 2019 established the probabilistic existence of allocations satisfying a weakening of proportionality called maximin share fairness, the latter work also allowing agents to have unequal entitlements. Manurangsi and Suksompong 2017 extended Dickerson et al.’s results on envy-freeness to a more general setting where items are allocated to groups instead of to individual agents.
In addition to EFX, another (weaker) relaxation of envy-freeness that has been extensively studied is envy-freeness up to one item (EF1), which requires that any envy that an agent has towards another agent can be eliminated by removing some item from the latter agent’s bundle (Lipton et al. 2004; Budish 2011). Unlike EFX, whose guaranteed existence remains an open question, EF1 can be easily attained for additive utilities using the round-robin algorithm.
Preliminaries
In our model, a set of indivisible items is to be allocated to a set of agents, where for any positive integer . Each agent has a utility for each item . We assume without loss of generality that for all , since otherwise we can simply scale down the utilities by their maximum. The utilities are additive, meaning that for all . Additivity is a common assumption in fair division; in particular, to the best of our knowledge, it is assumed in all of the works on asymptotic fair division thus far.
A bundle refers to any subset of items. An allocation is a partition of the items into bundles , where agent receives bundle . An allocation is said to be envy-free if for all , and envy-free up to any item (EFX) if for all and all . For the sake of convenience, when the allocation under consideration is clear, we say that agent is envy-free (resp., EFX) with respect to agent if the corresponding inequality is satisfied for and , and that agent is envy-free (resp., EFX) if the corresponding inequality is satisfied for and all . An allocation is said to be proportional if for all . When discussing proportionality, we will sometimes allow allocations to be partial, i.e., leave some items unallocated. It is clear that if a partial allocation is proportional, then by allocating the remaining items arbitrarily, we obtain a complete proportional allocation.
For agents and items , the utilities are drawn independently from a given distribution supported on $\mathcal{D}F_{\mathcal{D}}f_{\mathcal{D}}\mathcal{D}$ respectively. Throughout this work, the assumption that we place on the distributions we consider is that their PDFs are bounded, as stated more precisely below.
For , we say that a distribution supported on $(\alpha,\beta)\mathcal{D}\alpha\leq f_{\mathcal{D}}(x)\leq\betax\in\mathcal{D}(\alpha,\beta)\alpha,\beta>0$.
It follows from the definition that any -PDF-bounded distribution must have and . Note that many common distributions, including the uniform distribution on $U01F_{X}f_{X}XX(\alpha,\beta)(\alpha,\beta)\mathcal{D}nm\alpha,\beta1n\rightarrow\infty\log n2$.
In the round-robin algorithm, the agents take turns picking their favorite item from the remaining items. We assume without loss of generality that the order in which the agents pick the items is until the items run out. The -th “round” consists of each agent’s -th pick (so in the last round, not every agent may get to pick).
In the analysis of the round-robin algorithm, we will often find ourselves dealing with distributions restricted to some range. We provide some useful notation and facts for such distributions next.
For any distribution and any real number , we use to denote the conditional distribution of on (provided that ). Notice that the CDF and PDF of this distribution are
Now, let be a random variable generated as follows: we draw from and set . Then, from the above expression of , we have
The following proposition follows almost immediately from the above expression. (Recall from Definition 2.1 that a PDF-bounded distribution is implicitly assumed to be supported on $$.)
For any -PDF-bounded distribution and any , suppose that is a random variable where we draw from and let . Then, is -PDF-bounded.
Since is -PDF-bounded, we have for all . This implies that . Hence, for all , we have
Hence is -PDF-bounded, as desired. ∎
For any real number (such that ), we also define in a similar manner as above.
2. (Anti-)Concentration Inequalities
We will need a few (anti-)concentration inequalities for sums of independent random variables. Our first inequality is the standard Chernoff bound:
Let be independent random variables taking values in $S:=X_{1}+\cdots+X_{k}\delta\geq 0$,
Our last inequality is of the opposite nature from the above bounds: it says that the probability that is “far” from its expectation is still large (i.e., anti-concentration).
Let be independent random variables sampled from whose support is a subset of $S:=X_{1}+\cdots+X_{k}\mathcal{D}\sigma^{2}>01/2$. Then,
where the constant in the big-O notation can depend on .
Let denote the mean of . Consider . From the Berry-Esseen theorem (Berry 1941; Esseen 1942), the CDF of and that of the standard normal distribution differ by at most pointwise. It follows that
3. An Inequality for the Round-Robin Algorithm
We now present a lemma related to the round-robin algorithm. To state this lemma, let us introduce another notation: for any distribution and any positive integer , we use to denote the distribution of the maximum of independent random variables distributed according to .
In the round-robin algorithm, consider any agent and let be his value for the item that he gets in round (and for convenience). We will show later (in Lemma 3.2) that are distributed as if they were drawn from the following process: for , sample from . We often want to show that is large for a specified . We make a generic calculation below, which will be used multiple times in this work.
Let be a positive integer and let be any positive integers. Consider the random variables and generated by the following process: for every , sample according to . If is -PDF-bounded, then for any parameter we have
The inequality trivially holds if the expression is negative, so we may assume that this expression is nonnegative, which means that is also nonnegative. For every , Proposition 2.2 implies that if we sample and let , then is -PDF-bounded. As a result, we have
From the above inequality and since is sampled from , we have
where the second inequality follows from the well-known inequality , which holds for any real number .
Hence, by union bound, with probability at least , we have for all . When this is the case, we get
where we use Bernoulli’s inequality for the second inequality and the assumption that . This completes the proof of the lemma. ∎
Envy-freeness
In this section, we consider envy-freeness. Our main result is the following theorem:
Suppose that is PDF-bounded. For , the round-robin algorithm outputs an envy-free allocation with high probability.
Since an envy-free allocation is unlikely to exist even when if is not “almost divisible” by and the constant in the asymptotic notation is sufficiently small (Manurangsi and Suksompong 2019), the bound in Theorem 3.1 is asymptotically tight.
Let us introduce an additional notation, which we will use in this section as well as in Section 4. For any agents , denote by agent ’s utility for the -th item received by agent in the round-robin algorithm, and let for convenience. When , we abbreviate as . The following lemma, which was alluded to before Lemma 2.6, allows us to consider a simple random process that generates rather than dealing with the round-robin algorithm directly.
has the same distribution as if it is generated as follows:
Sample .
For every , sample .
For every , sample .
The proof of Lemma 3.2 is deferred to the appendix. We note here that each loop in Step 1a should be thought of as agent choosing his/her -th item. Observe also that is simply the number of remaining items before agent ’s choice is made, and Step 1(a)i can be thought of as picking the best among these items.
Before we prove Theorem 3.1, let us give the high-level intuition behind the proof. Consider any pair of agents . If , then clearly does not envy , so we focus on the case where . For to envy , we must have . Note that is at most
where is the last round in which picks an item. In other words, is the amount that “gains” with her first item from ’s viewpoint, and are the gains of that will use to try to “catch up”, so that does not envy in the end. Note that the first gain of is rather small, i.e., no more than . Moreover, each of the gains can be written as . Lemma 2.6 ensures that these “scaling factors” are relatively large, which allows us to apply the concentration of sums of independent random variables from Lemma 2.4 to . The proof below implements this idea with the appropriate selection of parameters.
Observe that, if , then clearly does not envy . As a result, we may henceforth assume that . In this case, from Lemma 3.2, we may view the values as being generated by the following process:
Randomly sample from .
For :
Randomly sample from .
Randomly sample from .
Note that in the last iteration it may be possible that is not actually selected in the round-robin algorithm if all the items are already assigned. In this case we overestimate ’s value for ’s bundle; hence, we will still get an upper bound on the probability that envies .
Let us also define . Recall that does not envy if . To bound the probability that this happens, let us rearrange as
: The event that .
where denotes the PDF of the joint distribution over (which are not independent random variables).
As for the event E2, notice that the sequence is sampled in the same way as that in Lemma 2.6 with for . Observe also that, for sufficiently large , we have and , where the last inequality follows from (3). As a result, by plugging in Lemma 2.6 with , we have .
Hence, by union bound, the probability that at least one of the two bad events occurs is at most . Now, when neither E1 nor E2 occurs, we can further bound (2) as
meaning that does not envy . As a result, the probability that does not envy is at least . By taking a union bound over all pairs , we have that the allocation is envy-free with probability at least , completing the proof. ∎
Proportionality
In this section, we investigate another fundamental fairness notion, proportionality, and establish the following result:
Suppose that is PDF-bounded and has mean at most . For any , there is a polynomial-time algorithm that outputs a proportional allocation with high probability.
The assumption that has mean at most is necessary to guarantee the existence of a proportional allocation for all with high probability. To see this, suppose that has mean for some constant , and let . In this case, the expected value of is ; by standard Chernoff and union bounds, we have that with high probability, simultaneously for all . When this happens, any allocation cannot be proportional—indeed, it is not proportional for an agent who receives at most one item (since each item has value at most ), and such an agent always exists due to the pigeonhole principle.
The proof of Theorem 4.1 will be divided into two parts according to the range of . For the case we will again employ the round-robin algorithm (Theorem 4.2), while the case will be handled using a matching-based algorithm (Theorem 4.4).
We begin by showing that the allocation produced by the round-robin algorithm, in addition to satisfying EF1 with certainty and envy-freeness with high probability, is also likely to be proportional even for a modest number of items.
Suppose that is PDF-bounded and has mean at most . When , the round-robin algorithm outputs a proportional allocation with high probability.
Theorem 4.2 generalizes a result of Amanatidis et al. 2017, who showed an analogous existence but only for the uniform distribution . We remark here that the requirement is tight. In particular, suppose that and that . Then there is at least a constant probability that . When this happens, the round-robin algorithm will surely fail, as it only assigns one item (of value at most 1) to the last agent .
When , Theorem 3.1 already implies that the round-robin algorithm produces an envy-free (and therefore proportional) allocation with high probability. Hence, it suffices to prove the statement for the case where .
Suppose that is an -PDF-bounded distribution with mean at most . One can check using Chernoff and union bounds that with high probability, we have
for all agents . We will henceforth assume that (4) holds for all .
Let us write as , where and . We will consider two cases, depending on whether . (Note that the threshold for can be any value that is and ; we simply select for concreteness.) Define the notation as in Section 3. By Lemma 3.2, the sequence is sampled in the same way as that in Lemma 2.6 with for .
Consider an agent . Substituting in Lemma 2.6 implies that the following holds with probability at least :
This means that the agent receives an item of value at least in each of the first rounds. As a result, ’s utility for his bundle is at least . Furthermore, (4) ensures that is at most
where we use our assumption . Since , we have . It follows that for sufficiently large , the allocation is proportional for . By taking a union bound over all agents, we conclude that the allocation is proportional with high probability.
Case 2: q<n0.1q<n^{0.1}.
In this case, we will have to give a more refined bound which differs for each agent , with the agents near the end of the round-robin ordering having a worse probability bound. This bound is stated formally below.
For each , the allocation output by the round-robin algorithm is proportional for with probability at least .
Observe that for . Substituting in Lemma 2.6 implies that the following holds with probability at least :
This means that agent receives an item of value at least in each of the first rounds. Hence, from the first rounds, the agent already has a bundle with utility at least . From (4), it suffices for the agent to receive the following utility in the -th round for him to consider the allocation to be proportional:
Recall from Lemma 3.2 that the item that agent receives in the -th round has value distributed as the maximum of i.i.d. random variables from . As a result, conditioned on (5) occurring, the probability that the allocation is proportional for is at least
From this and the fact that (5) occurs with probability at least , we get the desired claim. ∎
Thus, by union bound, the allocation produced by the round-robin algorithm fails to be proportional with probability at most
which concludes Case 2 and therefore our proof. ∎
2. The Case n≤m≤2nn\leq m\leq 2n
We now address the case where the number of items is between and . As discussed at the beginning of Section 4.1, the round-robin algorithm fails in this regime. Nevertheless, we devise an alternative algorithm that computes a proportional allocation with high probability using some ideas from previous work together with an additional new idea.
Suppose that is PDF-bounded and has mean at most . For , there is a polynomial-time algorithm that outputs a proportional allocation with high probability.
We first explain the intuition leading up to the algorithm. In prior work of Suksompong 2016, a matching-based algorithm is used to find proportional allocations. The most basic case of the algorithm is the case , where the algorithm can be stated as follows:
A classic result of Erdős and Rényi states that a random balanced bipartite graph is likely to contain a perfect matching when the probability of each edge occurring is, say, . We use the notation to denote a distribution over bipartite graphs where the two vertex sets have size and , and each edge occurs with probability independently of other edges.
Let be a graph sampled from the Erdős-Rényi random bipartite graph distribution where . Then, with high probability, contains a perfect matching.
Notice here that the guaranteed lower bound of on each agent’s utility is quite strong. In particular, if, say, and we just run the above algorithm on the first items, then the resulting (partial) allocation is already proportional with high probability, because each agent values the whole set roughly .
As a result, we are only left with the case where . For simplicity of discussion, let us focus on the case . In this case, Algorithm 1 is not yet sufficient for us: recall from the beginning of Section 4 that in this regime, there are likely to be agents who need at least two items in order to be proportional. This motivates our algorithm, which consists of two stages. Initially, we run Algorithm 1 on the first items. We then use the remaining items to help “fix” the agents for whom the allocation is not yet proportional. In particular, we create a graph where the left vertices correspond to these agents, the right vertices to the remaining items, and there is an edge between an agent and an item exactly when adding that item to the agent’s bundle results in the bundle being proportional for that agent. The pseudocode of the algorithm is presented as Algorithm 2.
Note that when the algorithm does not output NULL, it always outputs a proportional allocation. Hence, to complete the proof of Theorem 4.4, it suffices to show that it rarely outputs NULL when we set an appropriate value for the parameter , which we do in the following lemma.
Suppose that is an -PDF-bounded distribution with mean at most . For , Algorithm 2 with outputs NULL with probability.
To formalize the above ideas, we need an additional bound regarding the existence of matchings, which is more tailored towards our application. It says that, if we sample a (non-balanced) random bipartite graph , where is slightly larger than , with sufficiently large probability , then any subset of size noticeably smaller than is likely to contain a matching to . The bound is stated below; note that we do not attempt to optimize any parameters here, and instead only prove a version which suffices for our application. For a graph and a set of vertices, we denote by the set of vertices adjacent to at least one vertex in .
Let be a graph sampled from the Erdős-Rényi random bipartite graph distribution , where and . Then, with high probability, for every of size at most , we have .
We can bound the probability that the “bad event” occurs as follows:
For sufficiently large , we have . We can use this to further bound the above summation as
With this setup ready, we can now proceed to the proof of Lemma 4.6.
Let be the graph as defined in Algorithm 1 with our threshold . As in the proof of Theorem 4.2, one can check that Chernoff and union bounds imply that, with high probability, we have
for all agents . We will henceforth assume that (6) holds for all . Furthermore, Lemma 4.5 immediately implies that a perfect matching in exists with high probability; we will also assume that this is the case from now on.
Let (so ). We consider two cases, based on the value of .
For sufficiently large , (6) implies that for all . Hence, the partial allocation is already proportional for every agent, and the algorithm outputs this allocation without going into the second stage.
Case 2: q≥0.9nq\geq 0.9n.
In this case, we will need to consider two more “good” events. Let be such that if and only if .
: For every of size at most , we have .
Before we prove that E1 and E2 hold with high probability, let us argue that if they hold, then the algorithm outputs a proportional allocation. To this end, first observe that since E1 and E2 hold, Hall’s marriage theorem implies that there exists a matching from to that uses all vertices in . Moreover, notice that for sufficiently large , , which is at most by (6), is less than for all . As a result, the aforementioned matching remains a matching in the graph . The algorithm thus outputs a proportional allocation as desired.
It remains to show that both E1 and E2 occur with high probability. This is obvious for E2, since the graph is generated in exactly the same way as in Lemma 4.7 (with ).
As for E1, let us consider each agent . Let be the variance of . For sufficiently large , Lemma 2.5 implies that
where the first inequality follows from and the fact that is smaller than for any sufficiently large .
By Chernoff bound, with high probability, at most agents have . Only these agents can be included into . Hence, E1 holds with high probability.
Thus, the algorithm outputs a proportional allocation with high probability in both cases. ∎
Envy-freeness up to Any Item
In this section, we turn our attention to an important relaxation of envy-freeness: envy-freeness up to any item (EFX). While the worst-case existence of EFX is an intriguing open problem, we show that an EFX allocation is likely to exist for any relation between the number of agents and the number of items:
Suppose that is PDF-bounded. There is a polynomial-time algorithm that outputs an EFX allocation with high probability.
Let and . An EFX allocation obviously exists when (by assigning at most one item to each agent), In fact, Amanatidis et al. 2020 showed that an EFX allocation always exists even when . so we may restrict our attention to the case . Furthermore, since an envy-free (and therefore EFX) allocation exists with high probability when (see Section 3), or when and (Manurangsi and Suksompong 2019), we may assume that and .
As with proportionality (Section 4), the existence of EFX allocations will be shown via two kinds of algorithms: round-robin-based and matching-based. The former will work whenever the remainder is . On the other hand, for the case , we in fact present two matching-based algorithms: the first works for and the second specifically for . These three algorithms and their corresponding proofs of correctness are given in Sections 5.1–5.3; we then combine them to deduce Theorem 5.1 in Section 5.4.
We start by describing the round-robin-based algorithm. The algorithm works in exactly the same way as round-robin for the first rounds: in each round, we let agents choose their most preferred item in this order. However, in the final round, we reverse the order and let agents chooses their most preferred item in this order.
We show that if , then this algorithm, which we will refer to as the round-robin algorithm with reversed last round, is likely to produce an EFX allocation.
With probability , the allocation output by the round-robin algorithm with reversed last round is EFX.
Before we proceed to prove Theorem 5.2, let us note that using different agent orderings in the algorithm is intuitively a fairer way of distributing items. For instance, by letting agent pick first in the last round, we somewhat “balance out” the unfairness of the previous rounds. On a more formal level, it is also the case that the standard round-robin algorithm fails to give a guarantee as in Theorem 5.2. A simple example is when and . In this case, the output allocation is not EFX for agent if his most preferred item was picked by one of the first agents; this bad event happens with constant probability (i.e., ). However, as Theorem 5.2 shows, reversing the order allows us to rule out such bad events with high probability.
Another remark we would like to make is that when is constant, there is a constant probability that round-robin with reversed last round fails to find an EFX allocation. To see this, consider the case where (i.e., ). Observe that there is an probability that each of the last items remaining has value at most, say, for agent . In this case, agent ’s bundle has value at most to him/her. On the other hand, there is a constant probability that agent ’s first item is of value more than to agent . This means that with probability at least , agent would not be EFX; this probability is constant when is constant.
We now proceed to the proof of Theorem 5.2. To start with, note that a particularly worrying case when proving that EFX is satisfied for an agent is when this agent receives strictly fewer items than some other agent. Our algorithm is specifically designed to handle this issue: the output allocation is always EFX for with respect to for every pair of agents such that receives items and receives items, as stated below. (Note that this guarantee is not probabilistic.)
For every and every , in the allocation output by the round-robin algorithm with reversed last round, is EFX with respect to .
Now, consider any for some item . Suppose that is the item that chooses in the -th round. Then, we have
As a result, is EFX with respect to . ∎
Next, we demonstrate that agents with the same number of items are EFX with respect to each other. We show this by proving that with high probability, for all . Notice that if for some , then this immediately implies that , i.e., that is EFX with respect to .
The proof that with high probability is divided into two claims, based on whether receives items (Claim 5.4) or items (Claim 5.5). The proofs of these claims share some similarities with the proof in Section 4 which shows that round-robin produces a proportional allocation with high probability. Nonetheless, the proofs here are slightly different due to the different lower bounds needed and the reversed order in the last round, so we state them in full below.
With probability , for all simultaneously.
We will bound the probability that for a fixed and apply the union bound in the end. Observe that, similarly to the standard round-robin algorithm (i.e., Lemma 3.2), are distributed as follows. First, is drawn from . Then, for each , is sampled according to .
To prove the desired bound, we use Lemma 2.6 on , which implies that the following holds with probability at least :
where we use the assumption that . When this holds, the bundle from the first rounds already yields value at least to agent . Hence, in order to have , it suffices to have . Recall that is distributed as the maximum of random variables independently drawn from . Thus, for large enough such that is at least, say, , Proposition 2.2 implies that the probability that is at most . As a result, we have .
Taking a union bound over all completes our proof. ∎
With probability , for all simultaneously.
Fix . Similarly to the proof of Claim 5.4, we would like to bound . To do so, we first use Lemma 2.6 on , which implies that the following holds with probability at least :
Moreover, since is the maximum of random variables independently sampled from , we have
where the first inequality follows from Proposition 2.2 and the second inequality from the well-known fact that for any real number .
In other words, with probability at least , the following holds:
where the second inequality follows from and , which means that .
In other words, to have , it suffices to have . Since is the maximum of random variables independently sampled from (recall that the ordering in the last round is reversed), the probability that it is less than is
where the second inequality holds because, when conditioned on (7) and (8), we have for any sufficiently large .
By taking a union bound over , the probability that for some such is at most
Theorem 5.2 can now be easily proved using the above claims.
By Claims 5.4 and 5.5, with probability , we have for all and for all . To see that this implies that the allocation is EFX, let us consider any pair of agents . We argue that is EFX with respect to by considering the following three cases.
. Since contains at most items, if we remove any item from this bundle, then it has at most items, meaning that values it at most . Recall that we have . Hence, in this case, is EFX with respect to .
and . Claim 5.3 immediately implies that is EFX with respect to .
. Similarly to the first case, since contains items, if we remove any item from this bundle, then it has at most items, meaning that values it at most . On the other hand, we have . Thus, is also EFX with respect to in this case. ∎
2. An EF-based Algorithm for r≥2r\geq 2 and q=O(1)q=O(1)
We move on to our second algorithm, which handles the case where while the remainder is . In this case, we will use the algorithm of Manurangsi and Suksompong 2019 as a subroutine. The algorithm there works when is divisible by and produces an envy-free allocation with high probability. Furthermore, it guarantees that every item is valued at least by the agent it is assigned to. The guarantee as stated in (Manurangsi and Suksompong 2019) is that this value is at least when is -polynomially bounded at (see the definition in their paper). However, our -PDF-boundedness assumption implies that is -polynomially bounded at , which yields our claimed bound. This is stated more formally below.
When is divisible by and , there exists an algorithm that, with high probability, outputs an envy-free allocation such that and for all and .
The algorithm in Theorem 5.6 is a matching-based algorithm. We will not give the full description of the algorithm here since we do not need it, and instead simply use in a black-box manner.
Our EFX algorithm is incredibly simple: we just run on the first items in . The rest of the items are assigned arbitrarily, in such a way that each agent receives at most one item. The pseudocode of the algorithm is given as Algorithm 3.
The main result of this subsection is that Algorithm 3 produces an EFX allocation with high probability when and (in fact, even when ). This follows from the theorem that we state next and our assumption that (which implies ).
When , Algorithm 3 outputs an EFX allocation with probability .
Before we proceed to the proof, let us describe its high-level idea. Let be the lower bound on the utility guaranteed by Theorem 5.6. The theorem ensures that each agent receives a bundle that he/she values at least from , and that the partial allocation is envy-free. (Note that here we use the assumption , which is required by Theorem 5.6.)
Since the partial allocation is envy-free and every item yields value at most , agent will be EFX with respect to agent , unless in the second step receives an item with —call this latter event (*). This is a low-probability event for a fixed pair ; however, it cannot be neglected when we consider all pairs of agents, because every item is likely to be valued more than by multiple agents.
To make the proof work, we need to make the following additional observation: since , if is not EFX with respect to , it must also be the case that there exists such that —call this event (**). One can check that the probability that both (*) and (**) occur together is only , meaning that we may now use the union bound over all pairs (with ) to finish the proof.
The proof below follows the outlined approach; in particular, we refer to a pair that may violate (**) as a potentially problematic pair, and a pair that may violate both (*) and (**) as a problematic pair. The main contribution in the formal proof below is to show that with high probability, no problematic pair exists.
Let be the lower bound on the utility guaranteed by Theorem 5.6, and let . Now, for every agent and , we say that the pair is potentially problematic if there exists an item such that and . Furthermore, an agent is said to be potentially problematic if is potentially problematic for some .
Let us fix and . Consider any item . The probability that and is at most . We can use a union bound on all items to derive
Hence, by once again taking a union bound over , we have
Now, for each agent , we say that is problematic if is potentially problematic and there exists such that . Let us bound the probability that the latter happens. To do so, note that for a fixed , . Hence, by union bound over all items in , we have
Notice that the two events “ is potentially problematic” and “there exists such that ” are independent, because the former only concerns valuations of items in whereas the latter concerns those in . As a result, by combining (9) and (10), we have
Applying the union bound over all yields
Finally, from Theorem 5.6 and the assumption , we have that with high probability, the partial allocation is envy-free, , and each agent values each assigned item at least . Assume that this is the case, and that there is no problematic . To conclude the proof, it suffices to show that the (complete) allocation produced by Algorithm 3 is EFX. Consider any pair of distinct agents , and divide into two cases:
. Since does not receive an item in the second phase of the algorithm, does not envy due to the guarantee from Theorem 5.6.
. Since is not problematic, we know that either is not potentially problematic or for all . We analyze these two cases separately.
is not potentially problematic. In this case, is not potentially problematic. Since for all , we must have for all . Recall that , which means that even after removing any item from the bundle of , at least one item from remains. Thus, after removing any item from , the bundle is valued by less than . Since values her own bundle at least , we have that is EFX with respect to .
for all . Consider a bundle that results from removing one item from . If the removed item is the item that receives last, then is exactly ; due to the envy-freeness guarantee of , we have . On the other hand, if the item that receives last is not removed from the bundle, this item is valued less than by agent . This means that . Hence, we can again conclude that is EFX with respect to . ∎
3. A Matching-Based Algorithm for r=1r=1 and q=O(1)q=O(1)
We now proceed to our final case: and (i.e., ). The algorithm for this case is inspired by that from the previous subsection. At a high level, we again use a matching-based algorithm to first assign one item to each agent while ensuring that each agent highly values his/her own item. Then, in the second step, we give an additional item to some agents. Although this general outline appears very similar to Algorithm 3, we have to be much more careful here: since the starting assignment is no longer envy-free, we cannot simply select arbitrary agents to receive additional items in the second step. In particular, if agent envies agent after the first step and agent receives an additional item, then agent must also receive an additional item for the allocation to be EFX.
With these prerequisites in mind, we now describe our algorithm. First, for an appropriate threshold (to be chosen later) we define a weight function such that if and otherwise, and find a maximum-weight assignment with respect to . We then create the envy graph for the assignment and assign one of the unused items to each of the lowest-ranked agents in the topological ordering associated with the envy graph. The pseudocode of the algorithm is presented as Algorithm 4.
Before we prove the correctness of the algorithm, let us argue that the algorithm is even valid. In particular, Line 7 implicitly assumes that the graph is acyclic. We show below that this always holds.
does not contain a cycle.
Suppose for the sake of contradiction that contains a cycle . Due to Line 5, if the algorithm reaches Line 7, then it must be that for all . Hence, the cycle implies that . In other words, if we adjust the assignment so that receives , receives , …, and receives , then this would result in a higher total weight, which is a contradiction to the definition of . ∎
Now that we have established the validity of the algorithm, we show that the algorithm outputs an EFX allocation with high probability if we choose .
For and , Algorithm 4 outputs an EFX allocation with high probability.
To prove Theorem 5.9, it is helpful to clarify the independence between the different steps of our algorithm. In this regard, let us think of each random variable as being generated using three independent random variables:
A Bernoulli random variable such that with probability .
A random variable sampled from .
A random variable sampled from .
Once these three random variables are sampled, if , then is set to . Otherwise, is set to .
By viewing the utilities as generated by the above process, it is obvious that our algorithm up until Line 8 depends only on and (but not on ). With this in mind, we proceed with our analysis in two stages. The first stage is up until Line 8, for which we use the randomness of to upper bound the probability of the algorithm terminating at Line 5, as formalized below.
With high probability (over the randomness of ), Algorithm 4 does not return NULL.
Let be the set of the first items. Consider the bipartite graph where . If the graph contains a perfect matching, then the algorithm does not return NULL (at line 5); this is because if we pick the assignment that corresponds to this perfect matching, then has a positive weight. Observe also that is distributed as where . Thus, from Lemma 4.5, contains a perfect matching with high probability. ∎
Next, we consider the second stage of the algorithm, which is after Line 8. For this purpose, we may think of and as arbitrary (i.e., worst case) and as being random. We will prove two more lemmas. The first lemma is that the output allocation is EFX for all agents whose topological rank is at least . We note that this lemma is not probabilistic and holds regardless of the values of the random variables.
When Algorithm 4 does not output NULL, the output allocation is EFX for all agents such that .
Fix such that , and consider any agent . If also satisfies , then receives only one item and hence is EFX with respect to . On the other hand, if satisfies , then receives two items and . Since , there is no edge from to in , meaning that . Furthermore, since is unused in the assignment , it must be that , as otherwise changing to would increase the weight of . This means that values at least as much as each of the two items received by ; hence, is again EFX with respect to . ∎
The other lemma that we need is that, with high probability, the output allocation is EFX for all agents whose topological rank is at most . Note that this probability is over , and the lemma holds for any (i.e., worst-case) values of and .
When Algorithm 4 does not output NULL, with probability (over the randomness of ), the output allocation is EFX for all such that .
We will argue that for each such that , the probability that the output allocation is not EFX for is . Applying the union bound over all yields the desired result.
In fact, we will prove an even stronger claim that for each with , we have with probability . Note that since each agent receives at most two items, immediately implies that the allocation is EFX for .
To prove our claim, we consider two cases based on whether .
. In this case, we have . Furthermore, from our assumption that the algorithm does not output NULL, we have . Hence, we have , which is at least 1 for any sufficiently large .
. Once again, from the assumption that the algorithm does not output NULL, we have . Hence, if , we must have , which happens with probability
Hence, in both cases, we have with probability at least , completing our proof. ∎
Finally, by combining Lemmas 5.10, 5.11 and 5.12, we immediately arrive at Theorem 5.9.
4. Putting Things Together: Proof of Theorem 5.1
The main theorem of this section (Theorem 5.1) can now be established by simply selecting one of the three algorithms based on the range of the parameters.
If , we run the round-robin algorithm with reversed last round; from Theorem 5.2, it outputs an EFX allocation with high probability. Else, . If , we run Algorithm 3; from Theorem 5.7, this outputs an EFX allocation with high probability. Finally, if , we run Algorithm 4, which, from Theorem 5.9, yields an EFX allocation with high probability. ∎
Envy-free Assignments
In this section, we address another important resource allocation setting: assignments. Unlike with allocations, here we assign exactly one item to every agent and leave the remaining items unassigned. Envy-freeness in the assignment setting means that every agent values her assigned item at least as much as that of any other agent. Since agents only compare individual items, the (non-atomic) distribution no longer plays an important role, and we may simply assume that each agent draws a strict ranking of items from most preferred to least preferred independently of other agents. Recently, Gan et al. 2019 showed that an envy-free assignment is likely to exist if , thereby leaving a gap between and (the latter is the minimum number of items needed so that any feasible assignment exists). Our contribution is the following theorem, which essentially closes this gap.
Let be any constant. If , then with high probability an envy-free assignment exists. On the other hand, if , then with high probability no envy-free assignment exists.
Our proof of Theorem 6.1 follows an approach pioneered by Karp and Sipser 1981 and later expanded upon by Wormald 1995 and others. Roughly speaking, this method can be applied to analyze greedy algorithms when the input is randomized. To apply the method, we first write out (probabilistic) recurrence relations for certain quantities important to the algorithm. Secondly, we convert these recurrence relations into continuous ones (i.e., differential equations), which we can then solve. The final step is to use concentration inequalities to show that the continuous solution and the discrete one are approximately the same with high probability; from this discrete solution, we can then deduce how well the algorithm performs. For more details and examples on this approach, we refer to the survey of Wormald 1999.
The rest of this section applies the outlined method to our problem. In particular, we start by describing a simple greedy algorithm for the problem in Section 6.1. Then, we write out the probabilistic recurrence relations in Section 6.2 and translate them to their continuous counterpart in Section 6.3. Finally, we put all the pieces together and prove Theorem 6.1 in Section 6.4.
We first present a simple greedy algorithm which, as long as there are no ties in the ranking, produces a correct answer: it outputs an envy-free assignment if one exists, and NULL otherwise. The algorithm starts with an empty assignment and marks every item as “valid”. While there is still at least one unassigned agent and at least one valid item left, it picks an unassigned agent arbitrarily and considers her most preferred item among the valid items. If this item is not yet matched to any agent, then assign it to this agent. Otherwise, mark this item invalid and deassign it from any agent it was assigned to. The algorithm then terminates with an envy-free assignment if there is at least one valid item at the end (in which case there must also be at least such items), and with no assignment otherwise.
The pseudocode for the algorithm is presented below; here we use to represent “unassigned” in the assignment, and and to denote the set of “valid” items and a ranking, respectively.
The following lemma establishes the correctness of the algorithm.
When the rankings contain no ties, Algorithm 5 always outputs an envy-free assignment if one exists, and NULL otherwise.
First, observe that if the algorithm outputs an assignment , the assignment must be envy-free. Indeed, the items are assigned in such a way that for each agent , is the most preferred item of within .
Hence, it remains to show that when Algorithm 5 outputs NULL, no envy-free assignment exists. Suppose that the algorithm indeed outputs NULL, and let denote the items in the order that they are removed from . We will use induction to show that if we assign one of to an agent, then the assignment is not envy-free. This in turn implies that no envy-free assignment exists.
Before we proceed to our inductive proof, let us introduce an additional notation: for every , let and denote the agents and that result in the removal of from in line 8 of the algorithm.
Base Case. Consider any assignment such that is assigned to some agent. Since is the most preferred items for both and , at least one of these two agents will envy the agent who receives . Hence, the assignment cannot be envy-free.
Inductive Step. Suppose that, for some , any assignment that uses at least one of is not envy-free. Consider any assignment that uses . If this assignment uses any of , it cannot be envy-free by our inductive hypothesis, so we may assume that the assignment does not use any of . Given how the algorithm works, it must be the case that is the most preferred item for both and among all the items in . Hence, at least one of these two agents will envy the agent who receives , which means that the assignment is again not envy-free. This completes the inductive step and our proof. ∎
2. Recurrence Relations
Having described a greedy algorithm for the problem, we now write down a recurrence relation corresponding to the algorithm. To do so, let us use to denote the set after the -th iteration of the while loop. We also use to denote the (possibly partial) assignment after the -th iteration and to denote the number of items assigned in ; equivalently, . We let denote the number of unassigned items in (with respect to ), i.e., . Initially, we have and .
At step with , notice that conditioned on the current set of valid items and the current assignment , the item picked in Line 5 is distributed uniformly at random among all items in . Hence, the probability that this item is not used in is ; when the item is not used, the algorithm goes to Line 10 and we have . On the other hand, with probability , the algorithm executes Lines 7 and 8, resulting in . In summary, we have
Whenever , the algorithm exits the while loop and outputs an assignment. However, it will be more convenient for us to study the process with no such stopping condition. In other words, we run the above Markovian process for , and the probability that our algorithm finds an envy-free assignment is exactly the probability that . Note that we choose to run the process for this range of because decreases by exactly in each iteration and both remain nonnegative throughout by (11), which means that the process is valid for this range and that An alternative way to see this is to observe that for to be zero, each item must be assigned once and unassigned once; this happens after exactly iterations. .
The observation that decreases by in each iteration is also useful for simplifying our recurrence relation. In particular, it implies that
By plugging (12) into (11), we obtain the following recurrence relation on alone.
3. From Recurrence Relations to Differential Equations and Back
One way to quantify the “average” change of is via the expected value of . In particular, we can use (13) to calculate
Let for . The above equation may be written as
The key idea in the approach of Karp and Sipser 1981 and Wormald 1995 is that as , this Markovian process is “similar” to the differential equation
This similarity can be formalized. In particular, Wormald 1995 proved a very general theorem which essentially shows that whenever an equation such as (14) holds along with some mild technical conditions, we have for all indices with high probability, where is the unique solution to (15). An application of Wormald’s theorem to our setting yields the following:
With high probability as , for all simultaneously, where is the solution to (15) in the range and .
Since the technical constraints in Wormald’s result are somewhat cumbersome to state, we defer the full proof of Lemma 6.3 to the appendix.
4. Putting Things Together: Proof of Theorem 6.1
With all the pieces ready, we now prove our main result of this section.
Let us consider the Markovian process defined by (11) with . By Lemma 6.3, with high probability, we have for all , where is the solution to (20). When this holds, we can use (12) to derive
This means that, with high probability, the following holds (recall that ):
Now, observe that , with the maximum achieved at (and ). Clearly, . On the other hand, we have . Moreover, one can check that is continuous at , which means that . Combining these lower and upper bounds, we have
with high probability, where the term converges to zero as . Plugging this back into (16), we get
Finally, recall that the probability that GreedyAssignment finds an envy-free assignment is exactly the probability that . Thus, if for some , then with high probability we have
which is at least for any sufficiently large . This implies that GreedyAssignment finds an envy-free assignment with high probability in this case. On the other hand, if for some , then, using a similar argument, we can conclude that GreedyAssignment outputs NULL with high probability, in which case Lemma 6.2 implies that no envy-free assignment exists. ∎
Conclusion and Future Work
In this paper, we have studied the asymptotic existence of fair allocations and settled several open questions from previous work. In addition to the tight bounds themselves, our work also sheds light on the fairness guarantees provided by different algorithms in the probabilistic setting. Specifically, our results serve as a strong argument for using the classical round-robin algorithm when allocating indivisible items: not only is the algorithm simple and its output always envy-free up to one item (EF1), but the produced allocation is likely to be fully envy-free as well as proportional provided that the number of items is sufficiently larger than the number of agents. We also show that an EFX allocation exists with high probability for any relation between the numbers of agents and items, further confirming the worst-case existence of such allocations as a tantalizing open question. Recently, Chaudhury et al. 2020a showed that an EFX allocation always exists when there are three agents.
An interesting avenue that remains after this work is to investigate the asymptotic behavior of fair allocations that satisfy additional properties. In fact, some desirable properties are already implied by previous results—for example, Dickerson et al. 2014 showed that a welfare-maximizing allocation is envy-free with high probability assuming that , while Manurangsi and Suksompong 2019 proved that if is a multiple of , there exists an algorithm that likely computes an allocation which is both envy-free and balanced (i.e., gives every agent the same number of items) as long as . In a similar vein, one could examine common fair division algorithms and solutions such as the envy-cycle elimination algorithm (Lipton et al. 2004), the maximum Nash welfare solution (Caragiannis et al. 2019b), or the leximin solution (Bogomolnaia and Moulin 2004; Kurokawa et al. 2015) through the probabilistic lens.
Our asymptotic approach can also be applied beyond the canonical resource allocation setting in which the resource is allocated to individual agents who have equal entitlements. For instance, many practical situations entail dividing items among groups of agents—the agents in each group share the same set of items but may have different opinions on them (Suksompong 2018a; Suksompong 2018b). In this generalized setting, Manurangsi and Suksompong 2017 studied the asymptotic existence of envy-free allocations and left open a logarithmic gap between existence and non-existence. Likewise, a number of division problems involve agents who have different entitlements to the resource (Babaioff et al. 2019; Farhadi et al. 2019). The definition of envy-freeness can be naturally extended to capture such scenarios, and Chakraborty et al. 2020 demonstrated through experiments that weighted envy-free allocations are usually harder to find than their unweighted counterparts. Providing a formal explanation for this phenomenon using probabilistic tools is an intriguing direction for future research.
References
Appendix A Omitted Proofs
Now, the main idea for the proof of Lemma 3.2 is to apply Lemma A.1 repeatedly to gradually transfer the process from the original round-robin process to the one described in Lemma 3.2.
Recall that the round-robin process can be written as follows:
For every , let .
Let be the index of a remaining item that maximizes .
Remove from the set of available items.
Set and, for every , set .
Sample utilities of the first item selected by the first agent:
Sample .
For every , sample .
For every , sample .
For every and , sample .
For :
Let be the index of a remaining item that maximizes .
Remove from the set of available items.
Set and, for every , set .
(We use to denote the indicator random variable for event . Note that in Step 3a, the term is there so that the first agent does not get to pick in the first round, since this pick was already taken care of in Step 1.)
Similarly to the arguments above, we may now consider the first item picked by the second agent (in Step 3a when and ) and assume without loss of generality that . From Lemma A.1, is distributed as (recall that ), and, for the remaining items , is distributed i.i.d. as . Moreover, since agent 2 does not consider other agent’s utilities at all when picking , we also have that are independently distributed as respectively, and, for the remaining items , are independently distributed as respectively. As a result, the process above is in turn equivalent to the following process.
Sample utilities of the first item selected by the first agent:
Sample .
For every , sample .
Sample utilities of the first item selected by the second agent:
Sample .
Sample .
For every , sample .
For every , let and .
For every and , let .
For :
Let be the index of a remaining item that maximizes .
Remove from the set of available items.
Set and, for every , set .
By repeatedly applying this argument additional times, we will arrive at the process stated in Lemma 3.2, and the proof is complete. ∎
Proof of Lemma 6.3
We explain how Theorem 1 of Wormald 1995 implies our Lemma 6.3. To do so, we first restate Wormald’s theorem for the special case of a single sequence of random variables:
Then, the differential equation with the initial condition has a unique solution on . Furthermore, with high probability as , the following holds: for every such that , we have
At first glance, it may seem that the above theorem immediately implies our Lemma 6.3. Nonetheless, there is in fact a slightly subtle point, because the Lipschitz constant of our function is not bounded as . However, this is a common issue and was also faced by Wormald in his original paper (Wormald 1995). Wormald handled this by using the concentration inequality only for and then use the fact that to deal with the rest of the range (i.e., ). A similar approach works for us here, as formalized below.
First, note that our differential equation (15) can be easily solved via standard methods, and its solution is the unique that satisfies
Let be any constant. We will argue that, with high probability as , we have for all .
Consider the set . For any , we have
which means that satisfies the Lipschitz condition on (with Lipschitz constant ).
As a result, by applying Theorem A.2 with , the following holds with high probability: for all such that , we have
Let be such that, in our equation (20), . Note that there exists a unique such because is decreasing and continuous for , , and . Moreover, we have for . Let .
Notice that we have for all . In other words, for any integer , which means that (21) is satisfied for all with high probability.
On the other hand, to see that (21) is also likely to hold for , first observe that the sequence is non-increasing. Hence, for such we have
Now, since is continuous at , it must be the case that converges to as grows. This means that , where the term converges to zero as . Plugging this into the inequality above, we get
where the equality follows from our choice of . Thus, we have
which is at most for any sufficiently large . This implies that with high probability, for all . In conclusion, we have for all with high probability, as desired. ∎