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 1/n1/n of their value for the entire resource, where nn 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 D\mathcal{D} supported on $whoseprobabilitydensityfunctionisboundedaboveandbelow.Wesaythataneventhappens“withhighprobability”iftheprobabilitythatithappensconvergestowhose probability density function is bounded above and below. We say that an event happens “with high probability” if the probability that it happens converges to1asasn$ goes to infinity.

First (Section 3), we show that when m=Ω(nlog⁡n/log⁡log⁡n)m=\Omega(n\log n/\log\log n), 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 m=Ω(nlog⁡n)m=\Omega(n\log n) and, perhaps more importantly, matches the non-existence result in the case that mm is not “almost divisible” by nn. Hence, except for the case where mm is “almost divisible” by nn, 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 m=Ω(nlog⁡n)m=\Omega(n\log n) (Dickerson et al. 2014), it is unlikely to be even proportional, let alone envy-free, when m=o(nlog⁡n)m=o(n\log n) (Manurangsi and Suksompong 2019).

Second (Section 4), we show that if the distribution D\mathcal{D} has mean at most 1/21/2, We comment on the necessity of this condition in Section 4. a proportional allocation exists with high probability as long as m≥nm\geq n; this completely closes the gap for propotionality with respect to such distributions (cf. footnote 1). The result for m≥2nm\geq 2n is obtained by using the round-robin algorithm and generalizes a prior result of Amanatidis et al. 2017, which holds only when D\mathcal{D} is the uniform distribution on $.Ontheotherhand,thecase. On the other hand, the casen\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 mm and nn. 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 m=Ω(nlog⁡n)m=\Omega(n\log n), 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 m=enm=en: for any constant ε>0\varepsilon>0, an envy-free allocation is likely to exist if m/n≥e+εm/n\geq e+\varepsilon, and unlikely to exist if m/n≤e−εm/n\leq e-\varepsilon.

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 M=[m]M=[m] of indivisible items is to be allocated to a set N=[n]N=[n] of agents, where [k]:={1,2,…,k}[k]:=\{1,2,\dots,k\} for any positive integer kk. Each agent i∈Ni\in N has a utility ui(j)≥0u_{i}(j)\geq 0 for each item j∈Mj\in M. We assume without loss of generality that ui(j)∈u_{i}(j)\in for all i,ji,j, since otherwise we can simply scale down the utilities by their maximum. The utilities are additive, meaning that ui(M′)=∑j∈M′ui(j)u_{i}(M^{\prime})=\sum_{j\in M^{\prime}}u_{i}(j) for all M′⊆MM^{\prime}\subseteq M. 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 M′⊆MM^{\prime}\subseteq M of items. An allocation is a partition of the items into nn bundles (M1,…,Mn)(M_{1},\dots,M_{n}), where agent ii receives bundle MiM_{i}. An allocation is said to be envy-free if ui(Mi)≥ui(Mi′)u_{i}(M_{i})\geq u_{i}(M_{i^{\prime}}) for all i,i′∈Ni,i^{\prime}\in N, and envy-free up to any item (EFX) if ui(Mi)≥ui(Mi′\{j})u_{i}(M_{i})\geq u_{i}(M_{i^{\prime}}\backslash\{j\}) for all i,i′∈Ni,i^{\prime}\in N and all j∈Mi′j\in M_{i^{\prime}}. For the sake of convenience, when the allocation under consideration is clear, we say that agent ii is envy-free (resp., EFX) with respect to agent i′i^{\prime} if the corresponding inequality is satisfied for ii and i′i^{\prime}, and that agent ii is envy-free (resp., EFX) if the corresponding inequality is satisfied for ii and all i′∈Ni^{\prime}\in N. An allocation is said to be proportional if ui(Mi)≥ui(M)/nu_{i}(M_{i})\geq u_{i}(M)/n for all i∈Ni\in N. 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 i∈Ni\in N and items j∈Mj\in M, the utilities ui(j)u_{i}(j) are drawn independently from a given distribution D\mathcal{D} supported on $.Adistributionissaidtobenon−atomicifitdoesnotputpositiveprobabilityonanysinglepoint.Foranon−atomicdistribution. A distribution is said to be non-atomic if it does not put positive probability on any single point. For a non-atomic distribution\mathcal{D},wedenoteby, we denote byF_{\mathcal{D}}andandf_{\mathcal{D}}thecumulativedistributionfunction(CDF)andtheprobabilitydensityfunction(PDF)ofthe cumulative distribution function (CDF) and the probability density function (PDF) of\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 α,β>0\alpha,\beta>0, we say that a distribution D\mathcal{D} supported on $isis(\alpha,\beta)−PDF−boundedif-PDF-bounded if\mathcal{D}isnon−atomicandis non-atomic and\alpha\leq f_{\mathcal{D}}(x)\leq\betaforallfor allx\in.Wesaythat. We say that\mathcal{D}isPDF−boundedifitisis PDF-bounded if it is(\alpha,\beta)−PDF−boundedforsome-PDF-bounded for some\alpha,\beta>0$.

It follows from the definition that any (α,β)(\alpha,\beta)-PDF-bounded distribution must have α≤1\alpha\leq 1 and β≥1\beta\geq 1. Note that many common distributions, including the uniform distribution on $(henceforthdenotedby(henceforth denoted byU)andanormaldistribution(withanymeanandvariance)truncatedat) and a normal distribution (with any mean and variance) truncated at0andand1arePDF−bounded.Forthesakeofconvenience,wemayusethenotationsare PDF-bounded. For the sake of convenience, we may use the notationsF_{X}andandf_{X}forarandomvariablefor a random variableXtorefertotheCDFandPDFofitsassociateddistribution.Similarly,wesaythatto refer to the CDF and PDF of its associated distribution. Similarly, we say thatXisis(\alpha,\beta)−PDF−boundedifitsdistributionis-PDF-bounded if its distribution is(\alpha,\beta)−PDF−bounded.Inthispaper,wethinkof-PDF-bounded. In this paper, we think of\mathcal{D}asafixeddistributionthatdoesnotchangewithas a fixed distribution that does not change withnandandm;specifically,theparameters; specifically, the parameters\alpha,\betaareconstantsandourbig−Onotationmayincludetermsthatdependontheseparameters.Wesaythataneventhappenswithhighprobabilityiftheprobabilitythatithappensapproachesare constants and our big-O notation may include terms that depend on these parameters. We say that an event happens with high probability if the probability that it happens approaches1asasn\rightarrow\infty.Furthermore,whenwewrite. Furthermore, when we write\log n,thelogarithmisassumedtohavebase, the logarithm is assumed to have base2$.

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 1,2,…,n,1,2…1,2,\dots,n,1,2\dots until the items run out. The tt-th “round” consists of each agent’s tt-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 D\mathcal{D} and any real number c∈(0,1]c\in(0,1], we use D≤c\mathcal{D}_{\leq c} to denote the conditional distribution of D\mathcal{D} on [0,c][0,c] (provided that FD(c)>0F_{\mathcal{D}}(c)>0). Notice that the CDF and PDF of this distribution are

Now, let YY be a random variable generated as follows: we draw XX from D≤c\mathcal{D}_{\leq c} and set Y=X/cY=X/c. Then, from the above expression of fD≤cf_{\mathcal{D}_{\leq c}}, 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 (α,β)(\alpha,\beta)-PDF-bounded distribution D\mathcal{D} and any c∈(0,1]c\in(0,1], suppose that YY is a random variable where we draw XX from D≤c\mathcal{D}_{\leq c} and let Y=X/cY=X/c. Then, YY is (α/β,β/α)\left(\alpha/\beta,\beta/\alpha\right)-PDF-bounded.

Since D\mathcal{D} is (α,β)(\alpha,\beta)-PDF-bounded, we have α≤fD(x)≤β\alpha\leq f_{\mathcal{D}}(x)\leq\beta for all x∈[0,c]x\in[0,c]. This implies that FD(c)∈[c⋅α,c⋅β]F_{\mathcal{D}}(c)\in[c\cdot\alpha,c\cdot\beta]. Hence, for all y∈y\in, we have

Hence YY is (α/β,β/α)\left(\alpha/\beta,\beta/\alpha\right)-PDF-bounded, as desired. ∎

For any real number c<1c<1 (such that FD(c)<1F_{\mathcal{D}}(c)<1), we also define D>c\mathcal{D}_{>c} in a similar manner as D≤c\mathcal{D}_{\leq c} 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 X1,…,XkX_{1},\dots,X_{k} be independent random variables taking values in $,andlet, and letS:=X_{1}+\cdots+X_{k}.Then,forany. Then, for any\delta\geq 0$,

Our last inequality is of the opposite nature from the above bounds: it says that the probability that X1+⋯+XkX_{1}+\cdots+X_{k} is “far” from its expectation is still large (i.e., anti-concentration).

Let X1,…,XkX_{1},\dots,X_{k} be independent random variables sampled from D\mathcal{D} whose support is a subset of $,andlet, and letS:=X_{1}+\cdots+X_{k}.Supposethat. Suppose that\mathcal{D}hasvariancehas variance\sigma^{2}>0andmeanatmostand mean at most1/2$. Then,

where the constant in the big-O notation can depend on σ\sigma.

Let μ≤1/2\mu\leq 1/2 denote the mean of D\mathcal{D}. Consider S′:=1σk(S−k⋅μ)S^{\prime}:=\frac{1}{\sigma\sqrt{k}}(S-k\cdot\mu). From the Berry-Esseen theorem (Berry 1941; Esseen 1942), the CDF of S′S^{\prime} and that of the standard normal distribution Φ\Phi differ by at most O(1/k)O(1/\sqrt{k}) 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 D\mathcal{D} and any positive integer kk, we use Dmax⁡(k)\mathcal{D}^{\max(k)} to denote the distribution of the maximum of kk independent random variables distributed according to D\mathcal{D}.

In the round-robin algorithm, consider any agent ii and let XrX_{r} be his value for the item that he gets in round rr (and X0=1X_{0}=1 for convenience). We will show later (in Lemma 3.2) that X1,X2,…X_{1},X_{2},\dots are distributed as if they were drawn from the following process: for r=1,2,…r=1,2,\dots, sample XrX_{r} from D≤Xr−1max⁡(m+1−i−n(r−1))\mathcal{D}^{\max(m+1-i-n(r-1))}_{\leq X_{r-1}}. We often want to show that XrX_{r} is large for a specified rr. We make a generic calculation below, which will be used multiple times in this work.

Let TT be a positive integer and let s1,…,sTs_{1},\dots,s_{T} be any positive integers. Consider the random variables X0=1X_{0}=1 and X1,…,XTX_{1},\dots,X_{T} generated by the following process: for every t=0,1,…,T−1t=0,1,\dots,T-1, sample Xt+1X_{t+1} according to D≤Xtmax⁡(st+1)\mathcal{D}^{\max(s_{t+1})}_{\leq X_{t}}. If D\mathcal{D} is (α,β)(\alpha,\beta)-PDF-bounded, then for any parameter p∈(0,1)p\in(0,1) we have

The inequality trivially holds if the expression 1−βα⋅Tln⁡(T/p)s1-\frac{\beta}{\alpha}\cdot\frac{T\ln(T/p)}{s} is negative, so we may assume that this expression is nonnegative, which means that 1−βα⋅ln⁡(T/p)s1-\frac{\beta}{\alpha}\cdot\frac{\ln(T/p)}{s} is also nonnegative. For every t=0,1,…,T−1t=0,1,\dots,T-1, Proposition 2.2 implies that if we sample Z∼D≤XtZ\sim\mathcal{D}_{\leq X_{t}} and let Y=Z/XtY=Z/X_{t}, then YY is (α/β,β/α)(\alpha/\beta,\beta/\alpha)-PDF-bounded. As a result, we have

From the above inequality and since Xt+1X_{t+1} is sampled from D≤Xtmax⁡(st+1)\mathcal{D}_{\leq X_{t}}^{\max(s_{t+1})}, we have

where the second inequality follows from the well-known inequality 1−x≤e−x1-x\leq e^{-x}, which holds for any real number xx.

Hence, by union bound, with probability at least 1−p1-p, we have Xt+1≥(1−βα⋅ln⁡(T/p)s)XtX_{t+1}\geq\left(1-\frac{\beta}{\alpha}\cdot\frac{\ln(T/p)}{s}\right)X_{t} for all t=0,1,…,T−1t=0,1,\dots,T-1. When this is the case, we get

where we use Bernoulli’s inequality for the second inequality and the assumption that X0=1X_{0}=1. 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 D\mathcal{D} is PDF-bounded. For m=Ω(nlog⁡nlog⁡log⁡n)m=\Omega\left(\frac{n\log n}{\log\log n}\right), the round-robin algorithm outputs an envy-free allocation with high probability.

Since an envy-free allocation is unlikely to exist even when m=Θ(nlog⁡n/log⁡log⁡n)m=\Theta(n\log n/\log\log n) if mm is not “almost divisible” by nn 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 i,i′i,i^{\prime}, denote by Xti,i′X^{i,i^{\prime}}_{t} agent ii’s utility for the tt-th item received by agent i′i^{\prime} in the round-robin algorithm, and let X0i,i′=1X^{i,i^{\prime}}_{0}=1 for convenience. When i=i′i=i^{\prime}, we abbreviate Xti,i′X^{i,i^{\prime}}_{t} as XtiX^{i}_{t}. The following lemma, which was alluded to before Lemma 2.6, allows us to consider a simple random process that generates (Xti,i′)i,i′∈[n],t∈[1+⌊m−i′n⌋](X^{i,i^{\prime}}_{t})_{i,i^{\prime}\in[n],t\in\left[1+\left\lfloor\frac{m-i^{\prime}}{n}\right\rfloor\right]} rather than dealing with the round-robin algorithm directly.

(Xti,i′)i,i′∈[n],t∈[1+⌊m−i′n⌋](X^{i,i^{\prime}}_{t})_{i,i^{\prime}\in[n],t\in\left[1+\left\lfloor\frac{m-i^{\prime}}{n}\right\rfloor\right]} has the same distribution as if it is generated as follows:

Sample Xti∼D≤Xt−1imax⁡(m+1−(t−1)n−i)X^{i}_{t}\sim\mathcal{D}_{\leq X^{i}_{t-1}}^{\max(m+1-(t-1)n-i)}.

For every 1≤i′<i1\leq i^{\prime}<i, sample Xti′,i∼D≤Xti′X^{i^{\prime},i}_{t}\sim\mathcal{D}_{\leq X^{i^{\prime}}_{t}}.

For every i<i′≤ni<i^{\prime}\leq n, sample Xti′,i∼D≤Xt−1i′X^{i^{\prime},i}_{t}\sim\mathcal{D}_{\leq X^{i^{\prime}}_{t-1}}.

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 ii choosing his/her tt-th item. Observe also that m+1−(t−1)n−im+1-(t-1)n-i is simply the number of remaining items before agent ii’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 i,i′i,i^{\prime}. If i<i′i<i^{\prime}, then clearly ii does not envy i′i^{\prime}, so we focus on the case where i>i′i>i^{\prime}. For ii to envy i′i^{\prime}, we must have ui(Mi′)−ui(Mi)>0u_{i}(M_{i^{\prime}})-u_{i}(M_{i})>0. Note that ui(Mi′)−ui(Mi)u_{i}(M_{i^{\prime}})-u_{i}(M_{i}) is at most

where zz is the last round in which i′i^{\prime} picks an item. In other words, X1i,i′X^{i,i^{\prime}}_{1} is the amount that i′i^{\prime} “gains” with her first item from ii’s viewpoint, and (X1i−X2i,i′),(X2i−X3i,i′),…,(Xz−1i−Xzi,i′)(X^{i}_{1}-X^{i,i^{\prime}}_{2}),(X^{i}_{2}-X^{i,i^{\prime}}_{3}),\dots,(X^{i}_{z-1}-X^{i,i^{\prime}}_{z}) are the gains of ii that ii will use to try to “catch up”, so that ii does not envy i′i^{\prime} in the end. Note that the first gain X1i,i′X^{i,i^{\prime}}_{1} of i′i^{\prime} is rather small, i.e., no more than 11. Moreover, each of the gains (Xti−Xt+1i,i′)(X^{i}_{t}-X^{i,i^{\prime}}_{t+1}) can be written as Xti(1−Xt+1i,i′/Xti)X^{i}_{t}(1-X^{i,i^{\prime}}_{t+1}/X^{i}_{t}). Lemma 2.6 ensures that these “scaling factors” XtiX^{i}_{t} are relatively large, which allows us to apply the concentration of sums of independent random variables from Lemma 2.4 to Xt+1i,i′/XtiX^{i,i^{\prime}}_{t+1}/X^{i}_{t}. The proof below implements this idea with the appropriate selection of parameters.

Observe that, if i<i′i<i^{\prime}, then clearly ii does not envy i′i^{\prime}. As a result, we may henceforth assume that i>i′i>i^{\prime}. In this case, from Lemma 3.2, we may view the values X1i,i′,X1i,X2i,i′,…X^{i,i^{\prime}}_{1},X^{i}_{1},X^{i,i^{\prime}}_{2},\dots as being generated by the following process:

Randomly sample X1i,i′X^{i,i^{\prime}}_{1} from D\mathcal{D}.

For t=1,2,…,1+⌊m−in⌋t=1,2,\dots,1+\left\lfloor\frac{m-i}{n}\right\rfloor:

Randomly sample XtiX^{i}_{t} from D≤Xt−1imax⁡(m+1−i−n(t−1))\mathcal{D}_{\leq X^{i}_{t-1}}^{\max(m+1-i-n(t-1))}.

Randomly sample Xt+1i,i′X^{i,i^{\prime}}_{t+1} from D≤Xti\mathcal{D}_{\leq X^{i}_{t}}.

Note that in the last iteration it may be possible that Xt+1i,i′X^{i,i^{\prime}}_{t+1} is not actually selected in the round-robin algorithm if all the items are already assigned. In this case we overestimate ii’s value for i′i^{\prime}’s bundle; hence, we will still get an upper bound on the probability that ii envies i′i^{\prime}.

Let us also define Yti,i′:=Xt+1i,i′/XtiY^{i,i^{\prime}}_{t}:=X^{i,i^{\prime}}_{t+1}/X^{i}_{t}. Recall that ii does not envy i′i^{\prime} if ui(Mi)≥ui(Mi′)u_{i}(M_{i})\geq u_{i}(M_{i^{\prime}}). To bound the probability that this happens, let us rearrange ui(Mi)−ui(Mi′)u_{i}(M_{i})-u_{i}(M_{i^{\prime}}) as

: The event that Y1i,i′+⋯+YTi,i′≥T−2Y^{i,i^{\prime}}_{1}+\cdots+Y^{i,i^{\prime}}_{T}\geq T-2.

where fX1i,...,XTif_{X_{1}^{i},...,X_{T}^{i}} denotes the PDF of the joint distribution over X1i,...,XTiX_{1}^{i},...,X_{T}^{i} (which are not independent random variables).

As for the event E2, notice that the sequence X0i,X1i,…,XTiX^{i}_{0},X^{i}_{1},\dots,X^{i}_{T} is sampled in the same way as that in Lemma 2.6 with st=m+1−i−n(t−1)s_{t}=m+1-i-n(t-1) for t=1,…,Tt=1,\dots,T. Observe also that, for sufficiently large mm, we have βα⋅Tln⁡(T⋅m3)m/2≤1/2\frac{\beta}{\alpha}\cdot\frac{T\ln(T\cdot m^{3})}{m/2}\leq 1/2 and s1,…,sT≥m+1−i−n(T−1)≥m−nT≥m/2s_{1},\dots,s_{T}\geq m+1-i-n(T-1)\geq m-nT\geq m/2, where the last inequality follows from (3). As a result, by plugging in Lemma 2.6 with p=1/m3p=1/m^{3}, we have Pr⁡[E2 occurs]≤1m3\Pr[\text{E2 occurs}]\leq\frac{1}{m^{3}}.

Hence, by union bound, the probability that at least one of the two bad events occurs is at most O(1/m3)O(1/m^{3}). Now, when neither E1 nor E2 occurs, we can further bound (2) as

meaning that ii does not envy i′i^{\prime}. As a result, the probability that ii does not envy i′i^{\prime} is at least 1−O(1/m3)1-O(1/m^{3}). By taking a union bound over all pairs i,i′i,i^{\prime}, we have that the allocation is envy-free with probability at least 1−O(1/m)1-O(1/m), completing the proof. ∎

Proportionality

In this section, we investigate another fundamental fairness notion, proportionality, and establish the following result:

Suppose that D\mathcal{D} is PDF-bounded and has mean at most 1/21/2. For any m≥nm\geq n, there is a polynomial-time algorithm that outputs a proportional allocation with high probability.

The assumption that D\mathcal{D} has mean at most 1/21/2 is necessary to guarantee the existence of a proportional allocation for all m≥nm\geq n with high probability. To see this, suppose that D\mathcal{D} has mean 1/2+ε1/2+\varepsilon for some constant ε>0\varepsilon>0, and let m=2n−1m=2n-1. In this case, the expected value of u1(M),…,un(M)u_{1}(M),\dots,u_{n}(M) is n(1+2ε−o(1))n(1+2\varepsilon-o(1)); by standard Chernoff and union bounds, we have that with high probability, ui(M)>nu_{i}(M)>n simultaneously for all ii. 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 11), 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 mm. For the case m≥2nm\geq 2n we will again employ the round-robin algorithm (Theorem 4.2), while the case n≤m≤2nn\leq m\leq 2n 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 D\mathcal{D} is PDF-bounded and has mean at most 1/21/2. When m≥2nm\geq 2n, 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 UU. We remark here that the requirement m≥2nm\geq 2n is tight. In particular, suppose that m=2n−1m=2n-1 and that D=U\mathcal{D}=U. Then there is at least a constant probability that un(M)>nu_{n}(M)>n. 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 nn.

When m=Ω(nlog⁡nlog⁡log⁡n)m=\Omega\left(\frac{n\log n}{\log\log n}\right), 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 m=O(nlog⁡n)m=O(n\log n).

Suppose that D\mathcal{D} is an (α,β)(\alpha,\beta)-PDF-bounded distribution with mean at most 1/21/2. One can check using Chernoff and union bounds that with high probability, we have

for all agents i∈Ni\in N. We will henceforth assume that (4) holds for all i∈Ni\in N.

Let us write mm as nr+qnr+q, where r=⌊m/n⌋≥2r=\lfloor m/n\rfloor\geq 2 and r=O(log⁡n)r=O(\log n). We will consider two cases, depending on whether q≤n0.1q\leq n^{0.1}. (Note that the threshold for qq can be any value that is ω(log⁡2n)\omega(\log^{2}n) and o(n)o(n); we simply select n0.1n^{0.1} for concreteness.) Define the notation XtiX^{i}_{t} as in Section 3. By Lemma 3.2, the sequence X0i,X1i,…,XriX^{i}_{0},X^{i}_{1},\dots,X^{i}_{r} is sampled in the same way as that in Lemma 2.6 with st=m+1−i−n(t−1)≥qs_{t}=m+1-i-n(t-1)\geq q for t=1,…,rt=1,\dots,r.

Consider an agent ii. Substituting p=1/n2p=1/n^{2} in Lemma 2.6 implies that the following holds with probability at least 1−1/n21-1/n^{2}:

This means that the agent receives an item of value at least 1−O(log⁡2n/n0.1)1-O(\log^{2}n/n^{0.1}) in each of the first rr rounds. As a result, ii’s utility for his bundle is at least r(1−O(log⁡2n/n0.1))r\left(1-O(\log^{2}n/n^{0.1})\right). Furthermore, (4) ensures that ui(M)/nu_{i}(M)/n is at most

where we use our assumption m=O(nlog⁡n)m=O(n\log n). Since r≥2r\geq 2, we have r>r+12r>\frac{r+1}{2}. It follows that for sufficiently large nn, the allocation is proportional for ii. 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 i∈Ni\in N, with the agents near the end of the round-robin ordering having a worse probability bound. This bound is stated formally below.

For each i∈Ni\in N, the allocation output by the round-robin algorithm is proportional for ii with probability at least 1−O(1/nmin⁡{0.05(n−i+1),2})1-O(1/n^{\min\{0.05(n-i+1),2\}}).

Observe that st≥ns_{t}\geq n for t=1,…,r−1t=1,\dots,r-1. Substituting p=1/n2p=1/n^{2} in Lemma 2.6 implies that the following holds with probability at least 1−1/n21-1/n^{2}:

This means that agent ii receives an item of value at least 1−O(log⁡2n/n0.1)1-O(\log^{2}n/n^{0.1}) in each of the first r−1r-1 rounds. Hence, from the first r−1r-1 rounds, the agent already has a bundle with utility at least (r−1)(1−O(log⁡2n/n0.1))(r-1)\left(1-O(\log^{2}n/n^{0.1})\right). From (4), it suffices for the agent to receive the following utility in the rr-th round for him to consider the allocation to be proportional:

Recall from Lemma 3.2 that the item that agent ii receives in the rr-th round has value distributed as the maximum of m+1−i−n(r−1)≥n−i+1m+1-i-n(r-1)\geq n-i+1 i.i.d. random variables from D≤Xr−1i\mathcal{D}_{\leq X^{i}_{r-1}}. As a result, conditioned on (5) occurring, the probability that the allocation is proportional for ii is at least

From this and the fact that (5) occurs with probability at least 1−O(1/n2)1-O(1/n^{2}), 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≤2​nn\leq m\leq 2n

We now address the case where the number of items is between nn and 2n2n. 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 D\mathcal{D} is PDF-bounded and has mean at most 1/21/2. For n≤m≤2nn\leq m\leq 2n, 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 m=nm=n, 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, 1.1log⁡nn\frac{1.1\log n}{n}. We use the notation G(a,b,p)\mathcal{G}(a,b,p) to denote a distribution over bipartite graphs where the two vertex sets have size aa and bb, and each edge occurs with probability pp independently of other edges.

Let G=(A,B,E)G=(A,B,E) be a graph sampled from the Erdős-Rényi random bipartite graph distribution G(n,n,p)\mathcal{G}(n,n,p) where p=(log⁡n+ω(1))/np=(\log n+\omega(1))/n. Then, with high probability, GG contains a perfect matching.

Notice here that the guaranteed lower bound of τ\tau on each agent’s utility is quite strong. In particular, if, say, m=1.999nm=1.999n and we just run the above algorithm on the first mm items, then the resulting (partial) allocation is already proportional with high probability, because each agent values the whole set MM roughly 0.9995n±o(n)0.9995n\pm o(n).

As a result, we are only left with the case where m=(2−o(1))nm=(2-o(1))n. For simplicity of discussion, let us focus on the case m=2n−1m=2n-1. 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 nn items. We then use the remaining m−nm-n 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 m−nm-n 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 τ\tau, which we do in the following lemma.

Suppose that D\mathcal{D} is an (α,β)(\alpha,\beta)-PDF-bounded distribution with mean at most 1/21/2. For n≤m≤2nn\leq m\leq 2n, Algorithm 2 with τ=1−1.1log⁡nαn\tau=1-\frac{1.1\log n}{\alpha n} outputs NULL with o(1)o(1) 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 (A,B,E)(A,B,E), where AA is slightly larger than BB, with sufficiently large probability pp, then any subset S⊆AS\subseteq A of size noticeably smaller than BB is likely to contain a matching to BB. 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 GG and a set SS of vertices, we denote by ZG(S)Z_{G}(S) the set of vertices adjacent to at least one vertex in SS.

Let G=(A,B,E)G=(A,B,E) be a graph sampled from the Erdős-Rényi random bipartite graph distribution G(n,q,p)\mathcal{G}(n,q,p), where p≥0.5p\geq 0.5 and 0.9n≤q≤n0.9n\leq q\leq n. Then, with high probability, for every S⊆AS\subseteq A of size at most 0.6n0.6n, we have ∣ZG(S)∣≥∣S∣|Z_{G}(S)|\geq|S|.

We can bound the probability that the “bad event” occurs as follows:

For sufficiently large nn, we have 20.1n≥n22^{0.1n}\geq n^{2}. 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 G≥τ=(N,M0,E≥τ)G_{\geq\tau}=(N,M^{0},E_{\geq\tau}) be the graph as defined in Algorithm 1 with our threshold τ=1−1.1log⁡nαn\tau=1-\frac{1.1\log n}{\alpha n}. 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 i∈Ni\in N. We will henceforth assume that (6) holds for all i∈Ni\in N. Furthermore, Lemma 4.5 immediately implies that a perfect matching in G≥τG_{\geq\tau} exists with high probability; we will also assume that this is the case from now on.

Let q=m−nq=m-n (so 0≤q≤n0\leq q\leq n). We consider two cases, based on the value of qq.

For sufficiently large nn, (6) implies that ui(M)/n≤0.996<τu_{i}(M)/n\leq 0.996<\tau for all i∈Ni\in N. Hence, the partial allocation (M10,…,Mn0)(M^{0}_{1},\dots,M^{0}_{n}) is already proportional for every agent, and the algorithm outputs this allocation without going into the second stage.

Case 2: q≥0.9​nq\geq 0.9n.

In this case, we will need to consider two more “good” events. Let G≥0.5/β1=(N,M1,E≥0.5/β1)G^{1}_{\geq 0.5/\beta}=(N,M^{1},E^{1}_{\geq 0.5/\beta}) be such that (i,j)∈E≥0.5/β1(i,j)\in E^{1}_{\geq 0.5/\beta} if and only if ui(j)≥0.5/βu_{i}(j)\geq 0.5/\beta.

: For every S⊆NS\subseteq N of size at most 0.6n0.6n, we have ∣ZG≥0.5/β1(S)∣≥∣S∣|Z_{G^{1}_{\geq 0.5/\beta}}(S)|\geq|S|.

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 NviolatedN^{\text{violated}} to M1M^{1} that uses all vertices in NviolatedN^{\text{violated}}. Moreover, notice that for sufficiently large nn, ui(M)/nu_{i}(M)/n, which is at most 1+o(1)1+o(1) by (6), is less than 0.5/β+τ=(1+0.5/β)−o(1)0.5/\beta+\tau=(1+0.5/\beta)-o(1) for all i∈Ni\in N. As a result, the aforementioned matching remains a matching in the graph GfixG^{\text{fix}}. 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 G≥0.5/β1G^{1}_{\geq 0.5/\beta} is generated in exactly the same way as in Lemma 4.7 (with p=1−FD(0.5/β)≥0.5p=1-F_{\mathcal{D}}(0.5/\beta)\geq 0.5).

As for E1, let us consider each agent i∈Ni\in N. Let σ2>0\sigma^{2}>0 be the variance of D\mathcal{D}. For sufficiently large nn, Lemma 2.5 implies that

where the first inequality follows from n≥m/2n\geq m/2 and the fact that 1.1log⁡n/α=Θ(log⁡n)1.1\log n/\alpha=\Theta(\log n) is smaller than 0.01σm=Θ(n)0.01\sigma\sqrt{m}=\Theta(\sqrt{n}) for any sufficiently large nn.

By Chernoff bound, with high probability, at most 0.6n0.6n agents ii have ui(M)/n>τu_{i}(M)/n>\tau. Only these agents can be included into NviolatedN^{\text{violated}}. 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 D\mathcal{D} is PDF-bounded. There is a polynomial-time algorithm that outputs an EFX allocation with high probability.

Let r=⌊m/n⌋r=\lfloor m/n\rfloor and q=m−nrq=m-nr. An EFX allocation obviously exists when m≤nm\leq n (by assigning at most one item to each agent), In fact, Amanatidis et al. 2020 showed that an EFX allocation always exists even when m≤n+2m\leq n+2. so we may restrict our attention to the case m>nm>n. Furthermore, since an envy-free (and therefore EFX) allocation exists with high probability when r=Ω(log⁡nlog⁡log⁡n)r=\Omega\left(\frac{\log n}{\log\log n}\right) (see Section 3), or when r≥2r\geq 2 and q=0q=0 (Manurangsi and Suksompong 2019), we may assume that r=O(log⁡n)r=O(\log n) and q≥1q\geq 1.

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 qq is ω(1)\omega(1). On the other hand, for the case q=O(1)q=O(1), we in fact present two matching-based algorithms: the first works for r≥2r\geq 2 and the second specifically for r=1r=1. 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 rr rounds: in each round, we let agents 1,2,…,n1,2,\dots,n choose their most preferred item in this order. However, in the final round, we reverse the order and let agents n,n−1,…,n−q+1n,n-1,\dots,n-q+1 chooses their most preferred item in this order.

We show that if q=ω(1)q=\omega(1), 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 1−O(1/q)1-O(1/\sqrt{q}), 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 nn 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 r=1r=1 and q=Ω(n)q=\Omega(n). In this case, the output allocation is not EFX for agent nn if his most preferred item was picked by one of the first qq agents; this bad event happens with constant probability (i.e., Ω(q/n)\Omega(q/n)). 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 q≥2q\geq 2 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 r=1r=1 (i.e., m=n+qm=n+q). Observe that there is an exp⁡(−O(q))\exp(-O(q)) probability that each of the last q+1q+1 items remaining has value at most, say, 0.10.1 for agent nn. In this case, agent nn’s bundle has value at most 0.20.2 to him/her. On the other hand, there is a constant probability that agent (n−1)(n-1)’s first item is of value more than 0.20.2 to agent nn. This means that with probability at least exp⁡(−O(q))\exp(-O(q)), agent nn would not be EFX; this probability is constant when qq 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 ii with respect to i′i^{\prime} for every pair of agents i,i′i,i^{\prime} such that ii receives rr items and i′i^{\prime} receives r+1r+1 items, as stated below. (Note that this guarantee is not probabilistic.)

For every i∈{1,…,n−q}i\in\{1,\dots,n-q\} and every i′∈{n−q+1,…,n}i^{\prime}\in\{n-q+1,\dots,n\}, in the allocation output by the round-robin algorithm with reversed last round, ii is EFX with respect to i′i^{\prime}.

Now, consider any M′=Mi′\{j}M^{\prime}=M_{i^{\prime}}\backslash\{j\} for some item j∈Mi′j\in M_{i^{\prime}}. Suppose that jj is the item that i′i^{\prime} chooses in the tt-th round. Then, we have

As a result, ii is EFX with respect to i′i^{\prime}. ∎

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, ui(Mi)≥∣Mi∣−1u_{i}(M_{i})\geq|M_{i}|-1 for all ii. Notice that if ∣Mi∣=∣Mi′∣|M_{i}|=|M_{i^{\prime}}| for some i,i′i,i^{\prime}, then this immediately implies that ui(Mi)≥∣Mi∣−1≥max⁡j∈Mi′ui(Mi′∖{j})u_{i}(M_{i})\geq|M_{i}|-1\geq\max_{j\in M_{i^{\prime}}}u_{i}(M_{i^{\prime}}\setminus\{j\}), i.e., that ii is EFX with respect to i′i^{\prime}.

The proof that ui(Mi)≥∣Mi∣−1u_{i}(M_{i})\geq|M_{i}|-1 with high probability is divided into two claims, based on whether ii receives rr items (Claim 5.4) or r+1r+1 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 1−O(1/n)1-O(1/n), ui(Mi)≥r−1u_{i}(M_{i})\geq r-1 for all i∈{1,…,n−q}i\in\{1,\dots,n-q\} simultaneously.

We will bound the probability that ui(Mi)≥r−1u_{i}(M_{i})\geq r-1 for a fixed i∈{1,…,n−q}i\in\{1,\dots,n-q\} and apply the union bound in the end. Observe that, similarly to the standard round-robin algorithm (i.e., Lemma 3.2), X1i,…,XriX_{1}^{i},\dots,X_{r}^{i} are distributed as follows. First, X1iX_{1}^{i} is drawn from Dmax⁡(m+1−i)\mathcal{D}^{\max(m+1-i)}. Then, for each t=1,…,r−1t=1,\dots,r-1, Xt+1iX_{t+1}^{i} is sampled according to D≤Xtimax⁡(m+1−i−nt)\mathcal{D}_{\leq X_{t}^{i}}^{\max(m+1-i-nt)}.

To prove the desired bound, we use Lemma 2.6 on X1i,…,Xr−1iX_{1}^{i},\dots,X_{r-1}^{i}, which implies that the following holds with probability at least 1−1/n21-1/n^{2}:

where we use the assumption that r=O(log⁡n)r=O(\log n). When this holds, the bundle from the first r−1r-1 rounds already yields value at least (r−1)(1−O(log⁡2nn))(r-1)\left(1-O\left(\frac{\log^{2}n}{n}\right)\right) to agent ii. Hence, in order to have ui(Mi)≥r−1u_{i}(M_{i})\geq r-1, it suffices to have Xri≥r⋅O(log⁡2nn)=O(log⁡3nn)X_{r}^{i}\geq r\cdot O\left(\frac{\log^{2}n}{n}\right)=O\left(\frac{\log^{3}n}{n}\right). Recall that XriX_{r}^{i} is distributed as the maximum of m+1−i−n(r−1)≥2q+1≥3m+1-i-n(r-1)\geq 2q+1\geq 3 random variables independently drawn from D≤Xr−1i\mathcal{D}_{\leq X_{r-1}^{i}}. Thus, for nn large enough such that Xr−1iX_{r-1}^{i} is at least, say, 0.50.5, Proposition 2.2 implies that the probability that Xri<O(log⁡3nn)X_{r}^{i}<O\left(\frac{\log^{3}n}{n}\right) is at most O(log⁡3nn)3≤O(1n2)O\left(\frac{\log^{3}n}{n}\right)^{3}\leq O\left(\frac{1}{n^{2}}\right). As a result, we have Pr⁡[ui(Mi)≥r−1]≥1−O(1/n2)\Pr[u_{i}(M_{i})\geq r-1]\geq 1-O(1/n^{2}).

Taking a union bound over all i∈{1,…,n−q}i\in\{1,\dots,n-q\} completes our proof. ∎

With probability 1−O(1/q)1-O(1/\sqrt{q}), ui(Mi)≥ru_{i}(M_{i})\geq r for all i∈{n−q+1,…,n}i\in\{n-q+1,\dots,n\} simultaneously.

Fix i∈{n−q+1,…,n}i\in\{n-q+1,\dots,n\}. Similarly to the proof of Claim 5.4, we would like to bound Pr⁡[ui(Mi)<r]\Pr[u_{i}(M_{i})<r]. To do so, we first use Lemma 2.6 on X1i,…,Xr−1iX_{1}^{i},\dots,X_{r-1}^{i}, which implies that the following holds with probability at least 1−1/n21-1/n^{2}:

Moreover, since XriX_{r}^{i} is the maximum of m+1−i−n(r−1)>qm+1-i-n(r-1)>q random variables independently sampled from D≤Xr−1i\mathcal{D}_{\leq X_{r-1}^{i}}, we have

where the first inequality follows from Proposition 2.2 and the second inequality from the well-known fact that 1+x≤ex1+x\leq e^{x} for any real number xx.

In other words, with probability at least 1−e−q1-e^{-\sqrt{q}}, the following holds:

where the second inequality follows from r=O(log⁡n)r=O(\log n) and q<nq<n, which means that O(rlog⁡2nn)≤O(log⁡3nn)≤O(1n)≤O(1q)O\left(\frac{r\log^{2}n}{n}\right)\leq O\left(\frac{\log^{3}n}{n}\right)\leq O\left(\frac{1}{\sqrt{n}}\right)\leq O\left(\frac{1}{\sqrt{q}}\right).

In other words, to have ui(Mi)≥ru_{i}(M_{i})\geq r, it suffices to have Xr+1i≥O(1q)X^{i}_{r+1}\geq O\left(\frac{1}{\sqrt{q}}\right). Since Xr+1iX^{i}_{r+1} is the maximum of i−(n−q)i-(n-q) random variables independently sampled from D≤Xri\mathcal{D}_{\leq X^{i}_{r}} (recall that the ordering in the last round is reversed), the probability that it is less than O(1q)O\left(\frac{1}{\sqrt{q}}\right) is

where the second inequality holds because, when conditioned on (7) and (8), we have Xri≥0.5X_{r}^{i}\geq 0.5 for any sufficiently large n,qn,q.

By taking a union bound over i∈{n−q+1,…,n}i\in\{n-q+1,\dots,n\}, the probability that ui(Mi)<ru_{i}(M_{i})<r for some such ii is at most

Theorem 5.2 can now be easily proved using the above claims.

By Claims 5.4 and 5.5, with probability 1−O(1/q)1-O(1/\sqrt{q}), we have ui(Mi)≥r−1u_{i}(M_{i})\geq r-1 for all i∈{1,…,n−q}i\in\{1,\dots,n-q\} and ui(Mi)≥ru_{i}(M_{i})\geq r for all i∈{n−q+1,…,n}i\in\{n-q+1,\dots,n\}. To see that this implies that the allocation is EFX, let us consider any pair of agents i,i′∈Ni,i^{\prime}\in N. We argue that ii is EFX with respect to i′i^{\prime} by considering the following three cases.

i≥n−q+1i\geq n-q+1. Since Mi′M_{i^{\prime}} contains at most r+1r+1 items, if we remove any item from this bundle, then it has at most rr items, meaning that ii values it at most rr. Recall that we have ui(Mi)≥ru_{i}(M_{i})\geq r. Hence, in this case, ii is EFX with respect to i′i^{\prime}.

i≤n−qi\leq n-q and i′≥n−q+1i^{\prime}\geq n-q+1. Claim 5.3 immediately implies that ii is EFX with respect to i′i^{\prime}.

i,i′≤n−qi,i^{\prime}\leq n-q. Similarly to the first case, since Mi′M_{i^{\prime}} contains rr items, if we remove any item from this bundle, then it has at most r−1r-1 items, meaning that ii values it at most r−1r-1. On the other hand, we have ui(Mi)≥r−1u_{i}(M_{i})\geq r-1. Thus, ii is also EFX with respect to i′i^{\prime} 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 r≥2r\geq 2 while the remainder qq is O(1)O(1). In this case, we will use the algorithm of Manurangsi and Suksompong 2019 as a subroutine. The algorithm there works when mm is divisible by nn and produces an envy-free allocation with high probability. Furthermore, it guarantees that every item is valued at least 1−O(log⁡mn)1-O\left(\frac{\log m}{n}\right) by the agent it is assigned to. The guarantee as stated in (Manurangsi and Suksompong 2019) is that this value is at least 1−O(log⁡mn)1/q1-O\left(\frac{\log m}{n}\right)^{1/q} when D\mathcal{D} is (θ‾,θ‾,q)(\underline{\theta},\overline{\theta},q)-polynomially bounded at 11 (see the definition in their paper). However, our (α,β)(\alpha,\beta)-PDF-boundedness assumption implies that D\mathcal{D} is (α,β,1)(\alpha,\beta,1)-polynomially bounded at 11, which yields our claimed bound. This is stated more formally below.

When mm is divisible by nn and 2n≤m≤2o(n)2n\leq m\leq 2^{o(n)}, there exists an algorithm A\mathcal{A} that, with high probability, outputs an envy-free allocation (M1,…,Mn)(M_{1},\dots,M_{n}) such that ∣M1∣=⋯=∣Mn∣|M_{1}|=\dots=|M_{n}| and ui(j)≥1−O(log⁡mn)u_{i}(j)\geq 1-O\left(\frac{\log m}{n}\right) for all i∈Ni\in N and j∈Mij\in M_{i}.

The algorithm A\mathcal{A} 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 A\mathcal{A} in a black-box manner.

Our EFX algorithm is incredibly simple: we just run A\mathcal{A} on the first rnrn items in MM. 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 r≥2r\geq 2 and q=O(1)q=O(1) (in fact, even when q=o(nlog⁡3n)q=o\left(\frac{\sqrt{n}}{\log^{3}n}\right)). This follows from the theorem that we state next and our assumption that r=O(log⁡n)r=O(\log n) (which implies m=O(nlog⁡n)m=O(n\log n)).

When r≥2r\geq 2, Algorithm 3 outputs an EFX allocation with probability 1−o(1)−O(q2r3log⁡3mn)1-o(1)-O\left(\frac{q^{2}r^{3}\log^{3}m}{n}\right).

Before we proceed to the proof, let us describe its high-level idea. Let τ:=1−O(log⁡mn)\tau:=1-O\left(\frac{\log m}{n}\right) be the lower bound on the utility guaranteed by Theorem 5.6. The theorem ensures that each agent ii receives a bundle that he/she values at least rτr\tau from A\mathcal{A}, and that the partial allocation (M10,…,Mn0)(M_{1}^{0},\dots,M_{n}^{0}) is envy-free. (Note that here we use the assumption r≥2r\geq 2, which is required by Theorem 5.6.)

Since the partial allocation (M10,…,Mn0)(M_{1}^{0},\dots,M_{n}^{0}) is envy-free and every item yields value at most 11, agent ii will be EFX with respect to agent i′i^{\prime}, unless in the second step i′i^{\prime} receives an item jj with ui(j)≥rτ−(r−1)=1−O(rlog⁡mn)u_{i}(j)\geq r\tau-(r-1)=1-O\left(\frac{r\log m}{n}\right)—call this latter event (*). This is a low-probability event for a fixed pair i,i′i,i^{\prime}; however, it cannot be neglected when we consider all pairs of agents, because every item is likely to be valued more than 1−O(rlog⁡mn)1-O\left(\frac{r\log m}{n}\right) by multiple agents.

To make the proof work, we need to make the following additional observation: since r≥2r\geq 2, if ii is not EFX with respect to i′i^{\prime}, it must also be the case that there exists j∈Mi′0j\in M^{0}_{i^{\prime}} such that ui(j)≥rτ−(r−1)u_{i}(j)\geq r\tau-(r-1)—call this event (**). One can check that the probability that both (*) and (**) occur together is only (qrlog⁡m)O(1)n2\frac{(qr\log m)^{O(1)}}{n^{2}}, meaning that we may now use the union bound over all pairs i,i′i,i^{\prime} (with i′≥n−qi^{\prime}\geq n-q) to finish the proof.

The proof below follows the outlined approach; in particular, we refer to a pair i,i′i,i^{\prime} that may violate (**) as a potentially problematic pair, and a pair i,i′i,i^{\prime} 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 τ:=1−O(log⁡mn)\tau:=1-O\left(\frac{\log m}{n}\right) be the lower bound on the utility guaranteed by Theorem 5.6, and let τ′:=rτ−(r−1)=1−O(rlog⁡mn)\tau^{\prime}:=r\tau-(r-1)=1-O\left(\frac{r\log m}{n}\right). Now, for every agent i∈Ni\in N and i′∈{n−q+1,…,n}∖{i}i^{\prime}\in\{n-q+1,\dots,n\}\setminus\{i\}, we say that the pair (i,i′)(i,i^{\prime}) is potentially problematic if there exists an item j∈M0j\in M^{0} such that ui(j)≥τ′u_{i}(j)\geq\tau^{\prime} and ui′(j)≥τu_{i^{\prime}}(j)\geq\tau. Furthermore, an agent i∈Ni\in N is said to be potentially problematic if (i,i′)(i,i^{\prime}) is potentially problematic for some i′∈{n−q+1,…,n}∖{i}i^{\prime}\in\{n-q+1,\dots,n\}\setminus\{i\}.

Let us fix i∈Ni\in N and i′∈{n−q+1,…,n}∖{i}i^{\prime}\in\{n-q+1,\dots,n\}\setminus\{i\}. Consider any item j∈Mj\in M. The probability that ui(j)≥τ′u_{i}(j)\geq\tau^{\prime} and ui′(j)≥τu_{i^{\prime}}(j)\geq\tau is at most β(1−τ)⋅β(1−τ′)=O(rlog⁡2mn2)\beta(1-\tau)\cdot\beta(1-\tau^{\prime})=O\left(\frac{r\log^{2}m}{n^{2}}\right). We can use a union bound on all items j∈M0j\in M^{0} to derive

Hence, by once again taking a union bound over i′∈{n−q+1,…,n}∖{i}i^{\prime}\in\{n-q+1,\dots,n\}\setminus\{i\}, we have

Now, for each agent i∈Ni\in N, we say that ii is problematic if ii is potentially problematic and there exists j∈M1j\in M^{1} such that ui(j)≥τ′u_{i}(j)\geq\tau^{\prime}. Let us bound the probability that the latter happens. To do so, note that for a fixed j∈M1j\in M^{1}, Pr⁡[ui(j)≥τ′]≤β(1−τ′)=O(rlog⁡mn)\Pr[u_{i}(j)\geq\tau^{\prime}]\leq\beta(1-\tau^{\prime})=O\left(\frac{r\log m}{n}\right). Hence, by union bound over all qq items in M1M^{1}, we have

Notice that the two events “ii is potentially problematic” and “there exists j∈M1j\in M^{1} such that ui(j)≥τ′u_{i}(j)\geq\tau^{\prime}” are independent, because the former only concerns valuations of items in M0M^{0} whereas the latter concerns those in M1M^{1}. As a result, by combining (9) and (10), we have

Applying the union bound over all i∈Ni\in N yields

Finally, from Theorem 5.6 and the assumption r≥2r\geq 2, we have that with high probability, the partial allocation (M10,…,Mn0)(M^{0}_{1},\dots,M^{0}_{n}) is envy-free, ∣M10∣=⋯=∣Mn0∣=r|M^{0}_{1}|=\dots=|M^{0}_{n}|=r, and each agent values each assigned item at least τ\tau. Assume that this is the case, and that there is no problematic i∈Ni\in N. To conclude the proof, it suffices to show that the (complete) allocation produced by Algorithm 3 is EFX. Consider any pair of distinct agents i,i′i,i^{\prime}, and divide into two cases:

i′≤n−qi^{\prime}\leq n-q. Since i′i^{\prime} does not receive an item in the second phase of the algorithm, ii does not envy i′i^{\prime} due to the guarantee from Theorem 5.6.

i′>n−qi^{\prime}>n-q. Since ii is not problematic, we know that either ii is not potentially problematic or ui(j)<τ′u_{i}(j)<\tau^{\prime} for all j∈M1j\in M^{1}. We analyze these two cases separately.

ii is not potentially problematic. In this case, (i,i′)(i,i^{\prime}) is not potentially problematic. Since ui′(j)≥τu_{i^{\prime}}(j)\geq\tau for all j∈Mi′0j\in M^{0}_{i^{\prime}}, we must have ui(j)<τ′u_{i}(j)<\tau^{\prime} for all j∈Mi′0j\in M^{0}_{i^{\prime}}. Recall that r≥2r\geq 2, which means that even after removing any item from the bundle Mi′M_{i^{\prime}} of i′i^{\prime}, at least one item from Mi′0M^{0}_{i^{\prime}} remains. Thus, after removing any item from Mi′M_{i^{\prime}}, the bundle is valued by ii less than (r−1)+τ′=r⋅τ(r-1)+\tau^{\prime}=r\cdot\tau. Since ii values her own bundle at least r⋅τr\cdot\tau, we have that ii is EFX with respect to i′i^{\prime}.

ui(j)<τ′u_{i}(j)<\tau^{\prime} for all j∈M1j\in M^{1}. Consider a bundle M′M^{\prime} that results from removing one item from Mi′M_{i^{\prime}}. If the removed item is the item that i′i^{\prime} receives last, then M′M^{\prime} is exactly Mi′0M^{0}_{i^{\prime}}; due to the envy-freeness guarantee of (M10,…,Mn0)(M^{0}_{1},\dots,M^{0}_{n}), we have ui(Mi)≥ui(M′)u_{i}(M_{i})\geq u_{i}(M^{\prime}). On the other hand, if the item that i′i^{\prime} receives last is not removed from the bundle, this item is valued less than τ′\tau^{\prime} by agent ii. This means that ui(M′)<(r−1)+τ′=r⋅τ≤ui(Mi)u_{i}(M^{\prime})<(r-1)+\tau^{\prime}=r\cdot\tau\leq u_{i}(M_{i}). Hence, we can again conclude that ii is EFX with respect to i′i^{\prime}. ∎

3. A Matching-Based Algorithm for r=1r=1 and q=O⁡(1)q=O(1)

We now proceed to our final case: r=1r=1 and q=O(1)q=O(1) (i.e., m=n+O(1)m=n+O(1)). 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 ii envies agent i′i^{\prime} after the first step and agent i′i^{\prime} receives an additional item, then agent ii 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 τ\tau (to be chosen later) we define a weight function ww such that w(i,j)=ui(j)w(i,j)=u_{i}(j) if ui(j)≥τu_{i}(j)\geq\tau and w(i,j)=−∞w(i,j)=-\infty otherwise, and find a maximum-weight assignment ψ\psi with respect to ww. We then create the envy graph for the assignment ψ\psi and assign one of the qq unused items to each of the qq 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 (N,Eenvy)(N,E_{\text{envy}}) is acyclic. We show below that this always holds.

(N,Eenvy)(N,E_{\text{envy}}) does not contain a cycle.

Suppose for the sake of contradiction that (N,Eenvy)(N,E_{\text{envy}}) contains a cycle i1→i2→⋯→it→i1i_{1}\to i_{2}\to\cdots\to i_{t}\to i_{1}. Due to Line 5, if the algorithm reaches Line 7, then it must be that w(i,ψ(i))=ui(ψ(i))≥τw(i,\psi(i))=u_{i}(\psi(i))\geq\tau for all i∈Ni\in N. Hence, the cycle implies that w(i1,ψ(i1))+⋯+w(it−1,ψ(it−1))+w(it,ψ(it))<w(i1,ψ(i2))+⋯+w(it−1,ψ(it))+w(it,ψ(i1))w(i_{1},\psi(i_{1}))+\cdots+w(i_{t-1},\psi(i_{t-1}))+w(i_{t},\psi(i_{t}))<w(i_{1},\psi(i_{2}))+\cdots+w(i_{t-1},\psi(i_{t}))+w(i_{t},\psi(i_{1})). In other words, if we adjust the assignment ψ\psi so that i1i_{1} receives ψ(i2)\psi(i_{2}), i2i_{2} receives ψ(i3)\psi(i_{3}), …, and iti_{t} receives ψ(i1)\psi(i_{1}), then this would result in a higher total weight, which is a contradiction to the definition of ψ\psi. ∎

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 τ=1−2log⁡nαn\tau=1-\frac{2\log n}{\alpha n}.

For q=o(n/log⁡n)q=o(n/\log n) and τ=1−2log⁡nαn\tau=1-\frac{2\log n}{\alpha n}, 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 ui(j)u_{i}(j) as being generated using three independent random variables:

A Bernoulli random variable bi,jb_{i,j} such that bi,j=1b_{i,j}=1 with probability FD(τ)≤max⁡{0,1−2log⁡nn}F_{\mathcal{D}}(\tau)\leq\max\{0,1-\frac{2\log n}{n}\}.

A random variable vi,jhighv_{i,j}^{\text{high}} sampled from D>τ\mathcal{D}_{>\tau}.

A random variable vi,jlowv_{i,j}^{\text{low}} sampled from D≤τ\mathcal{D}_{\leq\tau}.

Once these three random variables are sampled, if bi,j=1b_{i,j}=1, then ui(j)u_{i}(j) is set to vi,jlowv_{i,j}^{\text{low}}. Otherwise, ui(j)u_{i}(j) is set to vi,jhighv_{i,j}^{\text{high}}.

By viewing the utilities as generated by the above process, it is obvious that our algorithm up until Line 8 depends only on {bi,j}i∈N,j∈M\{b_{i,j}\}_{i\in N,j\in M} and {vi,jhigh}i∈N,j∈M\{v_{i,j}^{\text{high}}\}_{i\in N,j\in M} (but not on {vi,jlow}i∈N,j∈M\{v_{i,j}^{\text{low}}\}_{i\in N,j\in M}). 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 {bi,j}i∈N,j∈M\{b_{i,j}\}_{i\in N,j\in M} to upper bound the probability of the algorithm terminating at Line 5, as formalized below.

With high probability (over the randomness of {bi,j}i∈N,j∈M\{b_{i,j}\}_{i\in N,j\in M}), Algorithm 4 does not return NULL.

Let M′M^{\prime} be the set of the first nn items. Consider the bipartite graph G=(N,M′,E)G=(N,M^{\prime},E) where E={(i,j)∈N×M′∣bi,j=0}E=\{(i,j)\in N\times M^{\prime}\mid b_{i,j}=0\}. If the graph GG contains a perfect matching, then the algorithm does not return NULL (at line 5); this is because if we pick the assignment ψ\psi that corresponds to this perfect matching, then ψ\psi has a positive weight. Observe also that GG is distributed as G(n,n,p)\mathcal{G}(n,n,p) where p=Pr⁡[bi,j=0]=1−FD(τ)≥min⁡{1,2log⁡nn}p=\Pr[b_{i,j}=0]=1-F_{\mathcal{D}}(\tau)\geq\min\{1,\frac{2\log n}{n}\}. Thus, from Lemma 4.5, GG 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 {bi,j}i∈N,j∈M\{b_{i,j}\}_{i\in N,j\in M} and {vi,jhigh}i∈N,j∈M\{v^{\text{high}}_{i,j}\}_{i\in N,j\in M} as arbitrary (i.e., worst case) and {vi,jlow}i∈N,j∈M\{v^{\text{low}}_{i,j}\}_{i\in N,j\in M} 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 q+1q+1. 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 i∈Ni\in N such that σ(i)>q\sigma(i)>q.

Fix i∈Ni\in N such that σ(i)>q\sigma(i)>q, and consider any agent i′≠ii^{\prime}\neq i. If i′i^{\prime} also satisfies σ(i′)>q\sigma(i^{\prime})>q, then i′i^{\prime} receives only one item and hence ii is EFX with respect to i′i^{\prime}. On the other hand, if i′i^{\prime} satisfies σ(i′)≤q\sigma(i^{\prime})\leq q, then i′i^{\prime} receives two items ψ(i′)\psi(i^{\prime}) and jσ(i′)j_{\sigma(i^{\prime})}. Since σ(i)>q≥σ(i′)\sigma(i)>q\geq\sigma(i^{\prime}), there is no edge from ii to i′i^{\prime} in EenvyE_{\text{envy}}, meaning that ui(ψ(i))≥ui(ψ(i′))u_{i}(\psi(i))\geq u_{i}(\psi(i^{\prime})). Furthermore, since jσ(i′)j_{\sigma(i^{\prime})} is unused in the assignment ψ\psi, it must be that ui(ψ(i))≥ui(jσ(i′))u_{i}(\psi(i))\geq u_{i}(j_{\sigma(i^{\prime})}), as otherwise changing ψ(i)\psi(i) to jσ(i′)j_{\sigma(i^{\prime})} would increase the weight of ψ\psi. This means that ii values Mi={ψ(i)}M_{i}=\{\psi(i)\} at least as much as each of the two items received by i′i^{\prime}; hence, ii is again EFX with respect to i′i^{\prime}. ∎

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 qq. Note that this probability is over {vi,jlow}i∈N,j∈M\{v^{\text{low}}_{i,j}\}_{i\in N,j\in M}, and the lemma holds for any (i.e., worst-case) values of {bi,j}i∈N,j∈M\{b_{i,j}\}_{i\in N,j\in M} and {vi,jhigh}i∈N,j∈M\{v^{\text{high}}_{i,j}\}_{i\in N,j\in M}.

When Algorithm 4 does not output NULL, with probability 1−O(qlog⁡n/n)1-O(q\log n/n) (over the randomness of {vi,jlow}i∈N,j∈M\{v_{i,j}^{\text{low}}\}_{i\in N,j\in M}), the output allocation is EFX for all i∈Ni\in N such that σ(i)≤q\sigma(i)\leq q.

We will argue that for each i∈Ni\in N such that σ(i)≤q\sigma(i)\leq q, the probability that the output allocation is not EFX for ii is O(log⁡n/n)O(\log n/n). Applying the union bound over all i∈{σ−1(1),…,σ−1(q)}i\in\{\sigma^{-1}(1),\dots,\sigma^{-1}(q)\} yields the desired result.

In fact, we will prove an even stronger claim that for each i∈Ni\in N with σ(i)≤q\sigma(i)\leq q, we have ui(Mi)≥1u_{i}(M_{i})\geq 1 with probability 1−O(log⁡n/n)1-O(\log n/n). Note that since each agent receives at most two items, ui(Mi)≥1u_{i}(M_{i})\geq 1 immediately implies that the allocation is EFX for ii.

To prove our claim, we consider two cases based on whether bi,jσ(i)=1b_{i,j_{\sigma(i)}}=1.

bi,jσ(i)=0b_{i,j_{\sigma(i)}}=0. In this case, we have ui(jσ(i))≥τu_{i}(j_{\sigma(i)})\geq\tau. Furthermore, from our assumption that the algorithm does not output NULL, we have ui(ψ(i))≥τu_{i}(\psi(i))\geq\tau. Hence, we have ui(Mi)≥2τ=2−O(log⁡n/n)u_{i}(M_{i})\geq 2\tau=2-O(\log n/n), which is at least 1 for any sufficiently large nn.

bi,jσ(i)=1b_{i,j_{\sigma(i)}}=1. Once again, from the assumption that the algorithm does not output NULL, we have ui(ψ(i))≥τu_{i}(\psi(i))\geq\tau. Hence, if ui(Mi)<1u_{i}(M_{i})<1, we must have ui(jσ(i))<1−τu_{i}(j_{\sigma(i)})<1-\tau, which happens with probability

Hence, in both cases, we have ui(Mi)≥1u_{i}(M_{i})\geq 1 with probability at least 1−O(log⁡nn)1-O\left(\frac{\log n}{n}\right), 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 q=ω(1)q=\omega(1), we run the round-robin algorithm with reversed last round; from Theorem 5.2, it outputs an EFX allocation with high probability. Else, q=O(1)q=O(1). If r≥2r\geq 2, we run Algorithm 3; from Theorem 5.7, this outputs an EFX allocation with high probability. Finally, if r=1r=1, 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 D\mathcal{D} 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 m=Ω(nlog⁡n)m=\Omega(n\log n), thereby leaving a gap between Ω(nlog⁡n)\Omega(n\log n) and nn (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 ε>0\varepsilon>0 be any constant. If mn≥e+ε\frac{m}{n}\geq e+\varepsilon, then with high probability an envy-free assignment exists. On the other hand, if mn≤e−ε\frac{m}{n}\leq e-\varepsilon, 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 nn such items), and with no assignment otherwise.

The pseudocode for the algorithm is presented below; here we use ⊥\perp to represent “unassigned” in the assignment, and M′M^{\prime} and ≻\succ to denote the set of “valid” items and a ranking, respectively.

The following lemma establishes the correctness of the algorithm.

When the rankings {≻i}i∈N\{\succ_{i}\}_{i\in N} 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 ψ\psi, the assignment must be envy-free. Indeed, the items are assigned in such a way that for each agent ii, ψ(i)\psi(i) is the most preferred item of ii within M′M^{\prime}.

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 j1,…,jmj_{1},\dots,j_{m} denote the items in the order that they are removed from M′M^{\prime}. We will use induction to show that if we assign one of j1,…,jmj_{1},\dots,j_{m} 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 t∈[m]t\in[m], let iti_{t} and it′i^{\prime}_{t} denote the agents ii and i′i^{\prime} that result in the removal of jtj_{t} from M′M^{\prime} in line 8 of the algorithm.

Base Case. Consider any assignment such that j1j_{1} is assigned to some agent. Since j1j_{1} is the most preferred items for both i1i_{1} and i1′i^{\prime}_{1}, at least one of these two agents will envy the agent who receives j1j_{1}. Hence, the assignment cannot be envy-free.

Inductive Step. Suppose that, for some 1≤t<m1\leq t<m, any assignment that uses at least one of j1,…,jtj_{1},\dots,j_{t} is not envy-free. Consider any assignment that uses jt+1j_{t+1}. If this assignment uses any of j1,…,jtj_{1},\dots,j_{t}, it cannot be envy-free by our inductive hypothesis, so we may assume that the assignment does not use any of j1,…,jtj_{1},\dots,j_{t}. Given how the algorithm works, it must be the case that jt+1j_{t+1} is the most preferred item for both it+1i_{t+1} and it+1′i^{\prime}_{t+1} among all the items in M∖{j1,…,jt}M\setminus\{j_{1},\dots,j_{t}\}. Hence, at least one of these two agents will envy the agent who receives jt+1j_{t+1}, 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 Mt′M^{\prime}_{t} to denote the set M′M^{\prime} after the tt-th iteration of the while loop. We also use ψt\psi_{t} to denote the (possibly partial) assignment after the tt-th iteration and YtY_{t} to denote the number of items assigned in ψt\psi_{t}; equivalently, Yt=∣{i∈N∣ψ(i)≠⊥}∣Y_{t}=|\{i\in N\mid\psi(i)\neq\perp\}|. We let XtX_{t} denote the number of unassigned items in Mt′M^{\prime}_{t} (with respect to ψt\psi_{t}), i.e., Xt=∣Mt′∣−YtX_{t}=|M^{\prime}_{t}|-Y_{t}. Initially, we have X0=mX_{0}=m and Y0=0Y_{0}=0.

At step t+1≥1t+1\geq 1 with Yt<nY_{t}<n, notice that conditioned on the current set of valid items Mt′M^{\prime}_{t} and the current assignment ψt\psi_{t}, the item jj picked in Line 5 is distributed uniformly at random among all items in Mt′M^{\prime}_{t}. Hence, the probability that this item is not used in ψt\psi_{t} is XtXt+Yt\frac{X_{t}}{X_{t}+Y_{t}}; when the item is not used, the algorithm goes to Line 10 and we have (Xt+1,Yt+1)=(Xt−1,Yt+1)(X_{t+1},Y_{t+1})=(X_{t}-1,Y_{t}+1). On the other hand, with probability YtXt+Yt\frac{Y_{t}}{X_{t}+Y_{t}}, the algorithm executes Lines 7 and 8, resulting in (Xt+1,Yt+1)=(Xt,Yt−1)(X_{t+1},Y_{t+1})=(X_{t},Y_{t}-1). In summary, we have

Whenever Yt=nY_{t}=n, 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 t=1,2,…,2mt=1,2,\dots,2m, and the probability that our algorithm finds an envy-free assignment is exactly the probability that max⁡t=1,2,…,2mYt≥n\max_{t=1,2,\dots,2m}Y_{t}\geq n. Note that we choose to run the process for this range of tt because 2Xt+Yt2X_{t}+Y_{t} decreases by exactly 11 in each iteration and both Xt,YtX_{t},Y_{t} 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 XtX_{t} to be zero, each item must be assigned once and unassigned once; this happens after exactly 2m2m iterations. X2m=Y2m=0X_{2m}=Y_{2m}=0.

The observation that 2Xt+Yt2X_{t}+Y_{t} decreases by 11 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 XtX_{t} alone.

3. From Recurrence Relations to Differential Equations and Back

One way to quantify the “average” change of XtX_{t} is via the expected value of Xt+1−XtX_{t+1}-X_{t}. In particular, we can use (13) to calculate

Let f(s,z):=−z1−s−zf(s,z):=-\frac{z}{1-s-z} for 0≤s,z<10\leq s,z<1. The above equation may be written as

The key idea in the approach of Karp and Sipser 1981 and Wormald 1995 is that as m→∞m\rightarrow\infty, 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 ∣Xt2m−z(t2m)∣=o(1)\left|\frac{X_{t}}{2m}-z\left(\frac{t}{2m}\right)\right|=o(1) for all indices tt with high probability, where z=z(s)z=z(s) is the unique solution to (15). An application of Wormald’s theorem to our setting yields the following:

With high probability as m→∞m\rightarrow\infty, ∣Xt−2m⋅z(t2m)∣=o(m)|X_{t}-2m\cdot z\left(\frac{t}{2m}\right)|=o(m) for all t=0,1,…,2m−1t=0,1,\dots,2m-1 simultaneously, where z(s)z(s) is the solution to (15) in the range s∈[0,1)s\in[0,1) and z(0)=1/2z(0)=1/2.

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 {(Xt,Yt)}0≤t≤2m\{(X_{t},Y_{t})\}_{0\leq t\leq 2m} defined by (11) with (X0,Y0)=(m,0)(X_{0},Y_{0})=(m,0). By Lemma 6.3, with high probability, we have ∣Xt−2m⋅z(t2m)∣=o(m)|X_{t}-2m\cdot z\left(\frac{t}{2m}\right)|=o(m) for all t=0,1,…,2m−1t=0,1,\dots,2m-1, where zz 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 Y2m=0Y_{2m}=0):

Now, observe that sup⁡s∈[0,1)z(s)ln⁡(12z(s))=12e\sup_{s\in[0,1)}z(s)\ln\left(\frac{1}{2z(s)}\right)=\frac{1}{2e}, with the maximum achieved at s∗=1−32es^{*}=1-\frac{3}{2e} (and z(s∗)=12ez(s^{*})=\frac{1}{2e}). Clearly, max⁡t=0,1,…,2m−1z(t2m)⋅ln⁡(12z(t2m))≤sup⁡s∈[0,1)z(s)ln⁡(12z(s))=12e\max_{t=0,1,\dots,2m-1}z\left(\frac{t}{2m}\right)\cdot\ln\left(\frac{1}{2z\left(\frac{t}{2m}\right)}\right)\leq\sup_{s\in[0,1)}z(s)\ln\left(\frac{1}{2z(s)}\right)=\frac{1}{2e}. On the other hand, we have max⁡t=0,1,…,2m−1z(t2m)⋅ln⁡(12z(t2m))≥z(⌊2ms∗⌋2m)⋅ln⁡(12z(⌊2ms∗⌋2m))\max_{t=0,1,\dots,2m-1}z\left(\frac{t}{2m}\right)\cdot\ln\left(\frac{1}{2z\left(\frac{t}{2m}\right)}\right)\geq z\left(\frac{\lfloor 2ms^{*}\rfloor}{2m}\right)\cdot\ln\left(\frac{1}{2z\left(\frac{\lfloor 2ms^{*}\rfloor}{2m}\right)}\right). Moreover, one can check that z(s)z(s) is continuous at s=s∗s=s^{*}, which means that lim⁡m→∞z(⌊2ms∗⌋2m)⋅ln⁡(12z(⌊2ms∗⌋2m))=z(s∗)⋅ln⁡(12z(s∗))=12e\lim_{m\to\infty}z\left(\frac{\lfloor 2ms^{*}\rfloor}{2m}\right)\cdot\ln\left(\frac{1}{2z\left(\frac{\lfloor 2ms^{*}\rfloor}{2m}\right)}\right)=z(s^{*})\cdot\ln\left(\frac{1}{2z(s^{*})}\right)=\frac{1}{2e}. Combining these lower and upper bounds, we have

with high probability, where the term o(1)o(1) converges to zero as m→∞m\to\infty. Plugging this back into (16), we get

Finally, recall that the probability that GreedyAssignment finds an envy-free assignment is exactly the probability that max⁡t=0,1,…,2mYt≥n\max_{t=0,1,\dots,2m}Y_{t}\geq n. Thus, if m/n≥e+εm/n\geq e+\varepsilon for some ε>0\varepsilon>0, then with high probability we have

which is at least nn for any sufficiently large mm. This implies that GreedyAssignment finds an envy-free assignment with high probability in this case. On the other hand, if m/n≤e−εm/n\leq e-\varepsilon for some ε>0\varepsilon>0, 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 m=Ω(nlog⁡n)m=\Omega(n\log n), while Manurangsi and Suksompong 2019 proved that if mm is a multiple of nn, 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 m≥2nm\geq 2n. 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 i∈[n],j∈[m]i\in[n],j\in[m], let ui(j)∼D≤X0iu_{i}(j)\sim\mathcal{D}_{\leq X^{i}_{0}}.

Let j∗j^{*} be the index of a remaining item that maximizes ui(j∗)u_{i}(j^{*}).

Remove j∗j^{*} from the set of available items.

Set Xti=ui(j∗)X^{i}_{t}=u_{i}(j^{*}) and, for every i′∈[n]∖{i}i^{\prime}\in[n]\setminus\{i\}, set Xti′,i=ui′(j∗)X^{i^{\prime},i}_{t}=u_{i^{\prime}}(j^{*}).

Sample utilities of the first item selected by the first agent:

Sample X11∼D≤X01max⁡(m)X^{1}_{1}\sim\mathcal{D}^{\max(m)}_{\leq X^{1}_{0}}.

For every 1<i≤n1<i\leq n, sample Xti,1∼D≤X0iX^{i,1}_{t}\sim\mathcal{D}_{\leq X^{i}_{0}}.

For every j∈[m−1]j\in[m-1], sample u1(j)∼D≤X11u_{1}(j)\sim\mathcal{D}_{\leq X^{1}_{1}}.

For every 1<i≤n1<i\leq n and j∈[m−1]j\in[m-1], sample ui(j)∼D≤X0iu_{i}(j)\sim\mathcal{D}_{\leq X^{i}_{0}}.

For i=max⁡{1,2⋅1[t=1]},…,min⁡{n,m−(t−1)n}i=\max\{1,2\cdot\mathbf{1}[t=1]\},\dots,\min\{n,m-(t-1)n\}:

Let j∗j^{*} be the index of a remaining item that maximizes ui(j∗)u_{i}(j^{*}).

Remove j∗j^{*} from the set of available items.

Set Xti=ui(j∗)X^{i}_{t}=u_{i}(j^{*}) and, for every i′∈[n]∖{i}i^{\prime}\in[n]\setminus\{i\}, set Xti′,i=ui′(j∗)X^{i^{\prime},i}_{t}=u_{i^{\prime}}(j^{*}).

(We use 1[E]\mathbf{1}[E] to denote the indicator random variable for event EE. Note that in Step 3a, the term 2⋅1[t=1]2\cdot\mathbf{1}[t=1] 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 j2∗j^{*}_{2} picked by the second agent (in Step 3a when t=1t=1 and i=2i=2) and assume without loss of generality that j2∗=m−1j^{*}_{2}=m-1. From Lemma A.1, X12X^{2}_{1} is distributed as Dmax⁡(m−1)=D≤X02max⁡(m−1)\mathcal{D}^{\max(m-1)}=\mathcal{D}^{\max(m-1)}_{\leq X_{0}^{2}} (recall that X02=1X_{0}^{2}=1), and, for the remaining items j∈[m−2]j\in[m-2], u2(j)u_{2}(j) is distributed i.i.d. as D≤X12\mathcal{D}_{\leq X_{1}^{2}}. Moreover, since agent 2 does not consider other agent’s utilities at all when picking j2∗j^{*}_{2}, we also have that X11,2,X13,2,…,X1n,2X^{1,2}_{1},X^{3,2}_{1},\dots,X^{n,2}_{1} are independently distributed as D≤X11,D,…,D\mathcal{D}_{\leq X^{1}_{1}},\mathcal{D},\dots,\mathcal{D} respectively, and, for the remaining items j∈[m−2]j\in[m-2], u1(j),u3(j),…,un(j)u_{1}(j),u_{3}(j),\dots,u_{n}(j) are independently distributed as D≤X11,D,…,D\mathcal{D}_{\leq X^{1}_{1}},\mathcal{D},\dots,\mathcal{D} 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 X11∼D≤X01max⁡(m)X^{1}_{1}\sim\mathcal{D}^{\max(m)}_{\leq X^{1}_{0}}.

For every 1<i≤n1<i\leq n, sample X1i,1∼D≤X0iX^{i,1}_{1}\sim\mathcal{D}_{\leq X^{i}_{0}}.

Sample utilities of the first item selected by the second agent:

Sample X12∼D≤X02max⁡(m−1)X^{2}_{1}\sim\mathcal{D}^{\max(m-1)}_{\leq X^{2}_{0}}.

Sample X11,2∼D≤X11X^{1,2}_{1}\sim\mathcal{D}_{\leq X^{1}_{1}}.

For every 2<i≤n2<i\leq n, sample X1i,2∼D≤X0iX^{i,2}_{1}\sim\mathcal{D}_{\leq X^{i}_{0}}.

For every j∈[m−2]j\in[m-2], let u1(j)∼D≤X11u_{1}(j)\sim\mathcal{D}_{\leq X^{1}_{1}} and u2(j)∼D≤X12u_{2}(j)\sim\mathcal{D}_{\leq X^{2}_{1}}.

For every 2<i≤n2<i\leq n and j∈[m−2]j\in[m-2], let ui(j)∼D≤X0iu_{i}(j)\sim\mathcal{D}_{\leq X^{i}_{0}}.

For i=max⁡{1,3⋅1[t=1]},…,min⁡{n,m−(t−1)n}i=\max\{1,3\cdot\mathbf{1}[t=1]\},\dots,\min\{n,m-(t-1)n\}:

Let j∗j^{*} be the index of a remaining item that maximizes ui(j∗)u_{i}(j^{*}).

Remove j∗j^{*} from the set of available items.

Set Xti=ui(j∗)X^{i}_{t}=u_{i}(j^{*}) and, for every i′∈[n]∖{i}i^{\prime}\in[n]\setminus\{i\}, set Xti′,i=ui′(j∗)X^{i^{\prime},i}_{t}=u_{i^{\prime}}(j^{*}).

By repeatedly applying this argument m−2m-2 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 dzds=f(s,z)\frac{dz}{ds}=f(s,z) with the initial condition z(0)=x∗z(0)=x^{*} has a unique solution z(s)z(s) on DD. Furthermore, with high probability as T→∞T\rightarrow\infty, the following holds: for every tt such that (t/T,z(t/T))∈D(t/T,z(t/T))\in D, 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 ff is not bounded as s→1s\to 1. 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 s≤1−εs\leq 1-\varepsilon and then use the fact that ∣Xt−Xt+1∣≤1|X_{t}-X_{t+1}|\leq 1 to deal with the rest of the range (i.e., t≥(1−ε)Tt\geq(1-\varepsilon)T). 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 z=z(s)z=z(s) that satisfies

Let 0<ε<10<\varepsilon<1 be any constant. We will argue that, with high probability as m→∞m\rightarrow\infty, we have ∣Xt−2m⋅z(t2m)∣≤εm|X_{t}-2m\cdot z\left(\frac{t}{2m}\right)|\leq\varepsilon m for all t=0,1,…,2m−1t=0,1,\dots,2m-1.

Consider the set D={(s,z)∣−0.1<s<1,−0.1<s+z<1−0.01ε}D=\{(s,z)\mid-0.1<s<1,-0.1<s+z<1-0.01\varepsilon\}. For any (s,z),(s′,z′)∈D(s,z),(s^{\prime},z^{\prime})\in D, we have

which means that ff satisfies the Lipschitz condition on DD (with Lipschitz constant 31000/ε231000/\varepsilon^{2}).

As a result, by applying Theorem A.2 with T=2mT=2m, the following holds with high probability: for all tt such that t2m+z(t2m)<1−0.01ε\frac{t}{2m}+z\left(\frac{t}{2m}\right)<1-0.01\varepsilon, we have

Let s∗∈[0,1)s^{*}\in[0,1) be such that, in our equation (20), z(s∗)=0.1εz(s^{*})=0.1\varepsilon. Note that there exists a unique such s∗s^{*} because z(s)z(s) is decreasing and continuous for s∈[0,1)s\in[0,1), z(0)=1/2z(0)=1/2, and lim⁡s→1−z(s)=0\lim_{s\to 1^{-}}z(s)=0. Moreover, we have z(s)>0.1εz(s)>0.1\varepsilon for s<s∗s<s^{*}. Let t∗=⌈s∗T⌉t^{*}=\lceil s^{*}T\rceil.

Notice that we have s+z(s)=1−z(s)+z(s)ln⁡(2z(s))<1−0.1z(s)s+z(s)=1-z(s)+z(s)\ln(2z(s))<1-0.1z(s) for all s∈[0,1)s\in[0,1). In other words, t2m+z(t2m)<1−0.1z(t2m)≤1−0.01ε\frac{t}{2m}+z(\frac{t}{2m})<1-0.1z\left(\frac{t}{2m}\right)\leq 1-0.01\varepsilon for any integer t<t∗t<t^{*}, which means that (21) is satisfied for all t<t∗t<t^{*} with high probability.

On the other hand, to see that (21) is also likely to hold for t≥t∗t\geq t^{*}, first observe that the sequence (Xt)0≤t≤T(X_{t})_{0\leq t\leq T} is non-increasing. Hence, for such tt we have

Now, since z(s)z(s) is continuous at s∗s^{*}, it must be the case that t∗−12m\frac{t^{*}-1}{2m} converges to s∗s^{*} as mm grows. This means that ∣z(t∗−12m)−z(s∗)∣=o(1)\left|z\left(\frac{t^{*}-1}{2m}\right)-z(s^{*})\right|=o(1), where the o(1)o(1) term converges to zero as m→∞m\to\infty. Plugging this into the inequality above, we get

where the equality follows from our choice of s∗s^{*}. Thus, we have

which is at most εm\varepsilon m for any sufficiently large mm. This implies that with high probability, ∣Xt−2m⋅z(t2m)∣≤εm|X_{t}-2m\cdot z\left(\frac{t}{2m}\right)|\leq\varepsilon m for all t≥t∗t\geq t^{*}. In conclusion, we have ∣Xt−2m⋅z(t2m)∣≤εm|X_{t}-2m\cdot z\left(\frac{t}{2m}\right)|\leq\varepsilon m for all t∈{0,1,…,2m−1}t\in\{0,1,\dots,2m-1\} with high probability, as desired. ∎