This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Average Envy-freeness for Indivisible Items

Qishen Han1    Biaoshuai Tao2    Lirong Xia1 1Rensselaer Polytechnic Institute
2Shanghai Jiao Tong University [email protected], [email protected], [email protected]
Abstract

In fair division applications, agents may have unequal entitlements reflecting their different contributions. Moreover, the contributions of agents may depend on the allocation itself. Previous fairness notions designed for agents with equal or pre-determined entitlement fail to characterize fairness in these collaborative allocation scenarios.

We propose a novel fairness notion of average envy-freeness (AEF), where the envy of agents is defined on the average value of items in the bundles. Average envy-freeness provides a reasonable comparison between agents based on the items they receive and reflects their entitlements. We study the complexity of finding AEF and its relaxation, average envy-freeness up to one item (AEF-1). While deciding if an AEF allocation exists is NP-complete, an AEF-1 allocation is guaranteed to exist and can be computed in polynomial time. We also study allocation with quotas, i.e. restrictions on the sizes of bundles. We prove that finding AEF-1 allocation satisfying a quota is NP-hard. Nevertheless, in the instances with a fixed number of agents, we propose polynomial-time algorithms to find AEF-1 allocation with a quota for binary valuation and approximated AEF-1 allocation with a quota for general valuation.

1 Introduction

Fair division aims to allocate items to a group of agents that have different preferences for the items and achieve fairness among the agents. It is a classical yet heating topic that has wide application in real-world scenarios including peer review (Payan and Zick, 2022), cloud computing (Wang et al., 2015), and healthcare resource distribution (Roadevin and Hill, 2021). In fair division application, it is often the case that agents are asymmetric, i.e. having unequal entitlements. For example, in a food bank allocation, a family with more population requires more food to feed themselves. Asymmetric agents characterize a wide range of scenarios where agents have different contributions in a collaboration or agents represent groups with different populations.

Extending fairness notions to agents with different entitlements, Chakraborty et al. (2021a) proposes weighted envy-freeness (WEF), where the entitlements of agents are characterized by predetermined weights, and envy is defined on the weighted margin. Its relaxation, weighted envy-freeness up to one item (WEF-1), is guaranteed to exist and has been applied to paper-reviewer matching mechanisms (Payan and Zick, 2022). However, in many scenarios, especially the collaboration between nations, groups, and individuals on productive activities, the entitlement and the contribution of agents depend on the allocation of resources.

Example 1.

Multiple research labs decide to start an interdisciplinary research collaboration. They need to allocate the research resources (e.g. funding, computing resources, assistants) and assign tasks to each lab. The contribution (task) of a lab depends on the resource it gets, so both plans should be determined simultaneously. Different labs have expertise in different areas and have different preferences for resources. A computer science group would prefer more computing resources while a biological group would prefer more research assistants. Furthermore, labs want the resources allocated fairly based on their expected contributions. How should they fairly allocate the resources?

There are two challenges in characterizing fairness in collaboration scenarios. Firstly, with heterogeneous backgrounds, it is likely agents have unequal entitlements due to their different contributions. Secondly, the allocation and the entitlements are decided simultaneously, and the entitlements of agents depend on the allocation. For example, we would expect a lab with more computing resources to make more contributions to the computational results. Under these challenges, neither EF nor WEF is able to characterize fairness in the collaboration scenarios. EF designed for equal entitlement cannot directly extend to different entitlements. WEF requires a predetermined weight for each agent. When the entitlements change with the allocation, a fixed weight is unable to represent them.

Based on the challenges, the following question remains unanswered: what is a proper fairness notion for fair division under collaborations?

1.1 Average Envy-freeness

We propose the notion of average envy-freeness (AEF), where envy between agents is defined on the average value of the items in the bundles.

Definition 1 (Average envy-freeness (AEF)).

An allocation AA is said to be average envy-free if for any pair of agents i,hNi,h\in N, vi(Ai)|Ai|vi(Ah)|Ah|\frac{v_{i}(A_{i})}{|A_{i}|}\geq\frac{v_{i}(A_{h})}{|A_{h}|}.

In average envy-freeness, the entitlement of each agent is the number of items they received. For example, in the paper review scenario, the contribution of a reviewer is evaluated by the number of papers they review. The reviewer with more papers has a larger contribution to the community and deserves a larger entitlement when allocating the papers.

The major difference between WEF and AEF is the modeling of the entitlements. In WEF, the entitlement of each agent is is their weight, which is pre-determined and independent of the allocation. In AEF, on the other hand, the entitlement or contribution of an agent is reflected by the size of their bundle. In a collaboration scenario where the allocation and the entitlements are decided simultaneously, predetermined weights cannot characterize entitlements that depend on the allocation. On the other hand, when there is no large difference between entitlements brought by different items, the size of each bundle serves as a natural estimation of the entitlements of each agent.

We believe that average envy-freeness is a proper fairness notion for the collaboration scenarios because it provides a reasonable comparison between agents based on the resources they received. In an AEF allocation, every agent believes that they get a fair share of resources based on their (expected) contribution to the resource.

1.2 Our contribution

We study the existence and the complexity of average envy-freeness and average envy-freeness up to one item (AEF-1). We also consider scenarios with quotas, i.e. restrictions on the size of the bundles. The quota reflects the requirements and capability of each agent in the allocation. For example, a research lab needs a minimum amount of funding to run experiments and can digest at most a maximum amount of funding.

The summary of our result is shown in Table 1. We first consider the existence of AEF and AEF-1 without quota. Deciding whether an AEF allocation exists is NP-complete, while an AEF-1 allocation always exists and can be computed in polynomial time. However, the problem becomes much more difficult when quotas are considered, as deciding whether there exists an AEF-1 allocation satisfying the quota is NP-complete. Therefore, we consider the instances with a fixed number of agents. When the value of each item is either zero or one, we propose a polynomial-time dynamic programming algorithm to decide the existence of an AEF-1 allocation satisfying the quota and find the allocation if it exists. On the other hand, deciding the existence of an AEF-1 allocation satisfying the quota in general valuation is still NP-complete. For the general valuation case, we give an approximation algorithm that finds an (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation, in which agents value their bundles at least (14mn)(1-\frac{4}{mn}) times of other agent’s bundles on the average value after removing one item.

Criterion nn Valuation Result
AEF
22
General
Identical
General
NP-complete
AEF-1 General General Always Exists
AEF-1 with quota General
Binary
General
NP-complete
Constant, 3\geq 3 Binary In P
General
NP-complete
(14mn)(1-\frac{4}{mn})-approx
Table 1: Result Summary of AEF and AEF-1. nn and mm are the number of agents and the number of items respectively.

2 Related Works

There is a large literature on the fair division problem with asymmetric agents, i.e. individuals or groups with heterogeneous entitlements. Chakraborty et al. (2021a) proposes the notion of weighted envy-freeness up to one item (WEF-1), where predetermined weights of each agent represent their entitlements, and shows that a WEF-1 allocation always exists. Payan and Zick (2022) and  Chakraborty et al. (2021b) focus on maximizing social welfare of WEF-1 allocations by select the correct picking sequence in a Round-Robin-like mechanism. Chakraborty et al. (2022) proposes a parameterized family of weighted envy-freeness, where agents with large or small weights are favored by setting different parameters. Other fairness notions on asymmetric agents include weighted MMS (Farhadi et al., 2019; Babaioff et al., 2021; Aziz et al., 2020), weighted proportionality (Aziz et al., 2020; Li et al., 2022), and maximizing weighted Nash social welfare (Suksompong and Teh, 2022).

Another related line of work is fair division with cardinality constraints. Biswas and Barman (2018) considers a scenario where items are categorized into multiple groups, and each group has a capacity of contributing to each agent. They show that an EF-1 allocation and a constant-factor approximation of MMS allocation always exist in such a scenario. They also extend this type of constraint to be represented by a matroid. Biswas and Barman (2019) designs a polynomial time algorithm to find an EF-1 allocation satisfying the matroid constraint. Dror et al. (2021) studies scenarios where agents have heterogeneous matroid constraints, and provides an algorithm to find EF-1 allocations in certain circumstances. Gan et al. (2021) and Babaioff et al. (2019) study fair division problem where agents have budget constraints on the items. Aziz et al. (2019) propose a mechanism that turns a welfare-efficient allocation into a fair allocation while preserving the efficiency constraint.

3 Preliminaries

Problem Instance

An instance of fair division problem =N,M,V\mathcal{I}=\langle N,M,V\rangle is defined by a set of nn agents N=[n]N=[n], a set of mm items MM, and a valuation profile V={v1,v2,,vn}V=\{v_{1},v_{2},\cdots,v_{n}\}. We use ii to denote a generic agent in NN and gg to denote a generic item in MM.

Valuation and Average Value

Valuation functions represent the preferences of agents among the items. For each agent ii, viv_{i} a mapping to a subset of MM to a non-negative value vi:2M0v_{i}:2^{M}\to\mathbb{R}_{\geq 0}. We follow the convention to assume additive valuation, i.e for any iNi\in N and MMM^{\prime}\subseteq M, vi(M)=gMvi(g)v_{i}(M^{\prime})=\sum_{g\in M^{\prime}}v_{i}(g). We say that an instance has binary valuation if for any iNi\in N and gMg\in M, vi(g){0,1}v_{i}(g)\in\{0,1\}, and an instance has identical valuation if v1=v2==vnv_{1}=v_{2}=\cdots=v_{n}. We also define the average value of a subset of item MM^{\prime} as ui(M)=vi(M)|M|u_{i}(M^{\prime})=\frac{v_{i}(M^{\prime})}{|M^{\prime}|}, i.e. the average value of the items in the subset. Specifically, ui()=0u_{i}(\emptyset)=0.

Allocation

An allocation A=(A1,A2,,An)A=(A_{1},A_{2},\cdots,A_{n}) is a nn-partition of the set of items MM, where AiMA_{i}\subseteq M is the bundle allocated to agent ii. We sometimes abuse the notation and use AA to denote a partial allocation, where there are items unallocated to any agent.

Quota

A quota QQ is a constraint on allocations. For each agent ii, QQ imposes an upper bound and a lower bound for the size of the bundle AiA_{i}. An allocation AA satisfies a quota QQ if all agents satisfy the constraint. A quota is said to be exact if the upper bound equals to the lower bound for every agent. An exact quota regulates the exact number of items in each bundle.

Definition 1 (Average envy-freeness (AEF)).

An allocation AA is said to be average envy-free if for any pair of agents i,hNi,h\in N, ui(Ai)ui(Ah)u_{i}(A_{i})\geq u_{i}(A_{h}).

Definition 2 (Average envy-freeness up to one item (AEF-1)).

An allocation AA is said to be average envy-free up to one item if for any pair of agents i,hNi,h\in N, there exists an item gAiAhg\in A_{i}\cup A_{h} such that ui(Ai{g})ui(Ah{g})u_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{h}\setminus\{g\}).

By the definition of AEF-1, agents can remove an item from either bundle under comparison. This is because agents can increase the average value of their own bundle by removing the least preferred item (if it’s not the only item). It follows from the definition that an AEF allocation is always AEF-1.

We introduce the computational problems related to AEF and AEF-1.

Definition 3 (AEF-Existence).

Given an instance \mathcal{I}, does there exist an allocation AA such that AA is an AEF allocation?

Definition 4 (AEF-1-Existence).

Given an instance \mathcal{I}, does there exist an allocation AA such that AA is an AEF-1 allocation?

Definition 5 (AEF-Existence with a quota).

Given an instance \mathcal{I} and a quota QQ, does there exist an allocation AA such that AA is an AEF allocation and satisfies QQ?

Definition 6 (AEF-1-Existence with a quota).

Given an instance \mathcal{I} and a quota QQ, does there exist an allocation AA such that AA is an AEF-1 allocation and satisfies QQ?

4 Average Envy-freeness without quotas

This section focuses on finding AEF and AEF-1 allocations without a quota constraint. We show that deciding the existence of an AEF allocation is NP-complete, while an AEF-1 allocation always exists and can be found in polynomial time.

Theorem 1.

AEF-Existence is NP-complete even for two agents with identical valuations.

Proof Sketch.

We construct a reduction from Partition, which is known to be NP-complete (Garey and Johnson, 1979). An instance of Partition consists of a multiset X={x1,x2,,xk}X=\{x_{1},x_{2},\cdots,x_{k}\} where xix_{i}\in\mathbb{N}. The goal is to determine whether XX can be partitioned into two subsets YY and XYX\setminus Y with equal sum TT.

Given an instance of Partition XX, we construct an AEF-Existence instance with two agents and m=2km=2k items. Two agents share the same value function vv, and uu is the average valuation function. For each xix_{i}, there exists two items gisg^{s}_{i} and gilg^{l}_{i} such that v(gis)=(T2k2)iv(g^{s}_{i})=(T^{2}k^{2})^{i}, and v(gil)=(T2k2)i+xiv(g^{l}_{i})=(T^{2}k^{2})^{i}+x_{i}.

()(\Rightarrow) Given YY and XYX\setminus Y being an equal-sum partition of XX, we construct an allocation AA. For each ii, A1A_{1} gets gilg^{l}_{i} if xiYx_{i}\in Y or gisg^{s}_{i} if xiXYx_{i}\in X\setminus Y. A2A_{2} gets the rest of the items. It is not hard to verify that both agents get kk items, and v(A1)=v(A2)v(A_{1})=v(A_{2}). Therefore, u(A1)=u(A2)u(A_{1})=u(A_{2}), and AA is an AEF allocation.

()(\Leftarrow) If there exists an AEF allocation AA, we show that AA induces an equal-sum partition of XX in four steps.

First, each agent gets exactly one of the largest items gksg^{s}_{k} and gklg^{l}_{k}. Otherwise, the exponential term (T2k2)i(T^{2}k^{2})^{i} guarantees that the agent without the two items envies the other agent.

Second, each agent gets exactly kk items. gksg^{s}_{k} and gklg^{l}_{k} guarantee that the additive value of bundles is at the same level, and the agent with more items envies the agent with fewer items.

Third, for each i=1,2,,ki=1,2,\cdots,k, each agent get exactly one of gisg^{s}_{i} and gilg^{l}_{i}, following the similar reasoning of the first step.

Finally, the allocation induces an equal-sum partition of XX. Let Y={xi|gilA1}Y=\{x_{i}|g^{l}_{i}\in A_{1}\}, and YY and XYX\setminus Y is an equal-sum partition of XX. Given that each agent get exactly one of gisg^{s}_{i} and gilg^{l}_{i}, the difference between two bundles just come from xix_{i} from each ii. Therefore, the sum of xix_{i} in A1A_{1} must equal to the sum of xix_{i} in A2A_{2}, which implies YY and XYX\setminus Y be an equal-sum partition of XX. The full proof is in Appendix A.1. ∎

The fact that AEF-Existence is already NP-complete without quota directly implies that AEF-Existence with quotas is NP-complete.

Corollary 1.

AEF-Existence with a quota is NP-complete even for two agents with identical valuations.

Despite that AEF allocation is hard to find, we show that AEF-1 allocation always exists just like EF-1.

Proposition 1.

For any instance \mathcal{I}, an AEF-1 allocation always exists and can be found in polynomial time.

Proof.

Consider the following allocation scheme:

  • If mnm\leq n, agents 1,2,,m1,2,\cdots,m get their favorite item among the unallocated items in turns. The rest agents get nothing.

  • If m>nm>n, 1,2,,n11,2,\cdots,n-1 get their favorite item among the unallocated items in turns, and agent nn gets the rest of the items.

We show that allocation induced by this scheme is AEF-1. Consider two agents ii and hh. We show that ii does not envy hh up to one item.

mnm\leq n.

If imi\leq m, then ii does not envy any h>ih>i because hh gets either no item or an item inferior to ii’s item under ii’s valuation. If h<ih<i, then ii and does not envy hh by removing hh’s only item. If i>mi>m, then ii does not envy any other hh after removing hh’s item (if exists).

m>nm>n.

If hnh\neq n, ii does not envy hh after removing hh’s only item. If h=nh=n, note that ii picks their favorite item among all the rest of the items, including all hh’s items. Therefore, for any gAhg\in A_{h}, vi(Ai)vi(g)v_{i}(A_{i})\geq v_{i}(g). Therefore, ui(Ai)ui(Ah)u_{i}(A_{i})\geq u_{i}(A_{h}), and ii does not envy hh. ∎

5 AEF-1 with a quota

In this section, we focus on the complexity of AEF-1-Existence with quota. Although an AEF-1 allocation always exists, it is not likely in real-world applications that all but one agent get exactly one item, and the rest agent gets all the rest items. Quotas restrict the size of each bundle in reasonable ranges and lead to allocations reflecting real-world scenarios. Unfortunately, our first result shows that AEF-1-Existence with a quota is NP-complete even for binary valuations.

Theorem 2.

AEF-1-Existence with a quota is NP-com-plete even for binary valuations.

Proof.

We show a reduction from EF-Existence for binary valuations, which is known to be NP-complete (Aziz et al., 2015; Hosseini et al., 2020).

An EF-Existence with binary value instance consists of a set of agents, N=[n]N=[n], a set of items MM (|M|=m|M|=m), and a binary additive valuation profile VV. The goal is to determine whether there is an envy-free allocation.

We construct a AEF-1-Existence with a quota instance as follows: N=NN^{\prime}=N, M=MDM^{\prime}=M\cup D, where DD is a set of (n1)m(n-1)m items which have no value to any agent. Additive valuation profile VV^{\prime} is defined as follows: for each agent ii, and item gg, if gMg\in M, vi(g)=vi(g)v_{i}^{\prime}(g)=v_{i}(g); otherwise, vi(g)=0v_{i}^{\prime}(g)=0. vi()=0v_{i}^{\prime}(\emptyset)=0. uu^{\prime} is the average value function of vv^{\prime}. The quota QQ requires every agent to receive exactly mm items.

()(\Rightarrow) Suppose EF-Existence is a YES instance, and AA^{*} is an envy-free allocation under VV. We show that AEF-1-Existence with a quota is a YES instance. Let AA^{\prime} be an allocation in the AEF-1-Existence with a quota instance where each agent ii gets all the items in AiA^{*}_{i} and fills up the quota with items in DD. It follows from the definition that AA^{\prime} satisfies QQ. Now we show that AA^{\prime} is AEF-1. Note that for any agents i,hi,h, ui(Ah)=1mvi(Ah)u_{i}^{\prime}(A_{h}^{\prime})=\frac{1}{m}v_{i}(A^{*}_{h}). Since AA^{*} is envy-free, vi(Ai)vi(Ah)v_{i}(A^{*}_{i})\geq v_{i}(A^{*}_{h}). Therefore, ui(Ai)ui(Ah)u_{i}^{\prime}(A_{i}^{\prime})\geq u_{i}^{\prime}(A_{h}^{\prime}), and AA^{\prime} is an AEF (thus AEF-1) allocation.

()(\Leftarrow) Suppose AEF-1-Existence with a quota is a YES instance, and AA^{\prime} is an AEF-1 allocation satisfying QQ. We first show that AA must also be an AEF allocation. Suppose this is not the case, and agent ii envies agent hh. We show ii envies hh even after removing one item. From binary valuation, we have vi(Ai)vi(Ah)1v_{i}^{\prime}(A_{i}^{\prime})\leq v^{\prime}_{i}(A_{h}^{\prime})-1. If agent ii removes one item from AhA_{h}, the average value of AhA_{h}^{\prime} is not smaller than AiA_{i}^{\prime}, and AhA_{h}^{\prime} has fewer items than AiA_{i}^{\prime}. Therefore, AhA_{h}^{\prime} still has a higher average value than AiA_{i}^{\prime}, and ii envies hh. If agent ii removes one item from AiA_{i}^{\prime}, the average value will be no more than vi(Ah)1m1\frac{v_{i}^{\prime}(A_{h}^{\prime})-1}{m-1}. This value is strictly less than ui(Ah)=vi(Ah)mu_{i}(A_{h}^{\prime})=\frac{v_{i}^{\prime}(A_{h}^{\prime})}{m} for vi(Ah)<mv_{i}^{\prime}(A_{h}^{\prime})<m. If vi(Ah)=mv_{i}^{\prime}(A_{h}^{\prime})=m, then vi(Ai)=0v_{i}^{\prime}(A_{i}^{\prime})=0 since MM^{\prime} contains at most mm valuable items for ii. Therefore, ii still envies hh after removing any item. This is a contradiction. Therefore, AA^{\prime} must also be AEF allocation.

Now we show that EF-Existence with binary value is also a YES instance. Let AA^{*} be a allocation in EF-Existence instance such that Ai=AiMA^{*}_{i}=A^{\prime}_{i}\cap M for every iNi\in N. Similarly, with relationship ui(Ah)=1mvi(Ah)u_{i}^{\prime}(A_{h}^{\prime})=\frac{1}{m}v_{i}(A^{*}_{h}), the AEF-ness of AA^{\prime} implies the envy-freeness of AA^{*}. ∎

Due to the hardness of the problem, we turn to consider AEF-1 allocation with a fixed number of agents nn. We show that, for binary valuations, AEF-1-Existence with a quota for a fixed number of agents is in PP, in contrast with the hardness in the general nn case.

Theorem 3.

There exists a polynomial-time algorithm that, given any instance of AEF-1-Existence with a quota for a fixed number of agents and binary valuations, decides if there exists an AEF-1 allocation satisfying the quota, and outputs an allocation if there exists.

(Aziz et al., 2022) proposes a pseudo-polynomial time dynamic programming algorithm to find an EF-1 allocation maximizing social welfare given a constant number of agents. We apply their technique and propose Algorithm 1 to compute AEF-1-Existence with a quota for binary valuations.

State

A state in Algorithm 1 is a triplet (W,H,k)(W,H,k). Suppose AA is a partial allocation of M={g1,g2,,gm}M=\{g_{1},g_{2},\cdots,g_{m}\} where g1,g2,,gkg_{1},g_{2},\cdots,g_{k} has been allocated. WW is a nn-vector that records the number of items each agent is allocated, i.e. Wi=|Ai|W_{i}=|A_{i}| for each ii. HH is a n×nn\times n-matrix that records the additive value of each agent toward each bundle, i.e. H(i,h)=vi(Ah)H(i,h)=v_{i}(A_{h}). WW and HH together record each agent’s average value on each bundle. For any pair of agents i,hi,h, ui(Ah)=H(i,h)Whu_{i}(A_{h})=\frac{H(i,h)}{W_{h}}. k=0,1,2,mk=0,1,2\cdots,m indicates that item g1,g2,,gkg_{1},g_{2},\cdots,g_{k} has been allocated while other items are not. k=0k=0 means no item has been allocated yet. For each state, we maintain two values. Vld(W,H,k){0,1}Vld(W,H,k)\in\{0,1\} indicates whether this state is reached, which stands for there exists a partial allocation of whom the state is (W,H,k)(W,H,k). Prev(W,H,k)NPrev(W,H,k)\in N records the agent that item gkg_{k} is allocated to reach the current state. For any allocation, it is sufficient to judge whether it is AEF-1 and satisfies QQ from its corresponding state.

State Transition

For a given state (W,H,k)(W,H,k) with k<mk<m and Vld(W,H,k)=1Vld(W,H,k)=1, we enumerate the agent to whom item gk+1g_{k+1} is allocated. For each agent ii, we find the updated state (W,H,k+1)(W^{\prime},H^{\prime},k+1) after gk+1g_{k+1} is allocated to ii and set Vld(W,H,k+1)=1Vld(W^{\prime},H^{\prime},k+1)=1 and Prev(W,H,k+1)=iPrev(W^{\prime},H^{\prime},k+1)=i. The algorithm start from (𝟎n,𝟎𝐧×𝐧,0)(\mathbf{0}^{n},\mathbf{0^{n\times n}},0) and iterated for k=0,1,,m1k=0,1,\cdots,m-1. The search space of WW is 𝒲={0,1,,m}n\mathcal{W}=\{0,1,\cdots,m\}^{n}, and the search space HH is ={0,1,,m}n×n\mathcal{H}=\{0,1,\cdots,m\}^{n\times n}. Finally, the algorithm finds if there is a state Vld(W,H,m)=1Vld(W,H,m)=1 that is AEF-1 and satisfies QQ. If so, the algorithm outputs YES and constructs the allocation backward with PrevPrev. Otherwise, the algorithm outputs NO.

Algorithm 1 DP for AEF-1 with quota with binary valuation
0:  Agent set NN, Item set MM, binary valuation profile VV, and quota QQ.
0:  An AEF-1 allocation satisfying QQ if it exists.
1:  Initialization: Vld(𝟎n,𝟎n×n,0)1Vld(\mathbf{0}^{n},\mathbf{0}^{n\times n},0)\leftarrow 1.
2:  for k=0,1,,mk=0,1,\cdots,m do
3:     for W𝒲W\in\mathcal{W} and HH\in\mathcal{H} such that Vld(W,H,k)=1Vld(W,H,k)=1 do
4:        for i=1,2,ni=1,2,\cdots n do
5:           Update W,HW^{\prime},H^{\prime} after assigning gk+1g_{k+1} to ii.
6:           Vld(W,H,k+1)1Vld(W^{\prime},H^{\prime},k+1)\leftarrow 1.
7:           Prev(W,H,k+1)iPrev(W,H^{\prime},k+1)\leftarrow i.
8:  for W𝒲,HW\in\mathcal{W},H\in\mathcal{H} such that Vld(W,H,m)=1Vld(W,H,m)=1 do
9:     if (W,H,m)(W,H,m) is AEF-1 and satisfies QQ then
10:        Construct the allocation from PrevPrev backward
11:        return the allocation.
12:  return  NO

The technique of enumerating all possible values in Algorithm 1 can be extended to valuations where a bundle has at most Poly(m)Poly(m) different values. However, for general valuation, a bundle can have exponentially many values. In fact, we show that AEF-1-Existence with a quota with fixed n3n\geq 3 is NP-complete.

Theorem 4.

AEF-1-Existence with a quota with fixed n3n\geq 3 is NP-complete.

Proof Sketch.

We propose a reduction from the computation problem of Equal-cardinality Partition, a variation of Partition that requires equal size between two subsets and is also NP-complete (Garey and Johnson, 1979). An instance of Equal-cardinality Partition consists of a multiset X={x1,x2,,x2k}X=\{x_{1},x_{2},\cdots,x_{2k}\} where xix_{i}\in\mathbb{N}. The goal is to determine whether XX can be partitioned into two subsets YY and XYX\setminus Y with equal size kk and equal sum TT.

Given an Equal-cardinality Partition instance, we construct a AEF-1-Existence with a quota instance with three agents and 3k+63k+6 items. (If n>3n>3, we add agents that value all items as 0 and are required to receive no items by the quota.) Agents share the same valuation function vv and average value function uu. The quota QQ requires every agent to be allocated exactly k+2k+2 items. The item set M=M1M2M3M=M_{1}\cup M_{2}\cup M_{3} consists of three parts:

  • M1={g1,g2,,g2k}M_{1}=\{g_{1},g_{2},\cdots,g_{2k}\}, where v(gj)=xj+k2T2v(g_{j})=x_{j}+k^{2}T^{2}.
    Let T=12gM1v(g)=T+k3T2.T^{\prime}=\frac{1}{2}\sum_{g\in M_{1}}v(g)=T+k^{3}T^{2}.

  • M2M_{2} contains k+1k+1 copies of bb with v(b)=(k+2)T(k+1)2.v(b)=\frac{(k+2)T^{\prime}}{(k+1)^{2}}.

  • M3M_{3} contains five copies of 0 with v(0)=0v(0)=0.

We state that the value of bb is smaller than any item in M1M_{1}.

Lemma 1.

For any gM1g\in M_{1}, v(b)<v(g).v(b)<v(g).

()(\Rightarrow) If Equal-cardinality Partition is a YES instance, and YY and (XY)(X\setminus Y) are a equal-size and equal-sum partition, we show the following allocation AA is AEF-1 and satisfies QQ.

  1. 1.

    A1={gjxjY}{0,0}A_{1}=\{g_{j}\mid x_{j}\in Y\}\cup\{0,0\}.

  2. 2.

    A2={gjxj(XY)}{0,0}A_{2}=\{g_{j}\mid x_{j}\in(X\setminus Y)\}\cup\{0,0\}.

  3. 3.

    A3=M2{0}A_{3}=M_{2}\cup\{0\}.

It’s not hard to verify that each agent gets exactly k+2k+2 items, u(A1)=u(A2)=Tk+2u(A_{1})=u(A_{2})=\frac{T^{\prime}}{k+2}, and u(A3)=Tk+1u(A_{3})=\frac{T^{\prime}}{k+1}. Agent 1 and 2 does not envy each other, and agent 3 does not envy agent 1 and 2. When comparing with agent 3, agent 1 and agent 2 can remove an item 0 in their own bundle, and u(A1{0})=u(A2{0})=u(A3)=Tk+1u(A_{1}\setminus\{0\})=u(A_{2}\setminus\{0\})=u(A_{3})=\frac{T^{\prime}}{k+1}. Therefore, AA is AEF-1 and satisfies QQ.

()(\Leftarrow) If AEF-1-Existence with a quota is a YES instance, and AA is an AEF-1 allocation satisfying QQ. We show that Equal-cardinality Partition is a YES instance in three steps.

First, no agent can have more than two item 0 in their bundles. Otherwise, the agent get at least three 0 envies the agent get at most one 0 even after removing one item.

Second, the agent with exactly one item 0 (agent 3, with loss of generality) must have all the item bb. Otherwise, since v(b)<v(g)v(b)<v(g) for any gM1g\in M_{1}, the average value of A3A_{3} will exceed Tk+1\frac{T^{\prime}}{k+1}, and one of A1A_{1} and A2A_{2} will have average value strictly less than Tk+2\frac{T^{\prime}}{k+2}. Then the owner of this bundle will envy agent 3 even after removing one item.

Finally, agent 1 and agent 2’s bundles must derive a equal-cardinality partition of XX. Otherwise, the average value of the less-valuable bundle will be strictly less than Tk+2\frac{T^{\prime}}{k+2}. With the same reasoning as the second step, the owner of this bundle will envy agent 3 (with u(A3)=Tk+1u(A_{3})=\frac{T^{\prime}}{k+1}) even after removing one item. Therefore, Equal-cardinality partition is a YES instance. The full proof is in Appendix A.2

6 Approximation on AEF-1 with a quota

The NP-hardness on AEF-1-Existence with a quota urges us to look into approximation results. A natural idea is to round the value of items so that a bundle can have at most Poly(m)Poly(m) different values and apply the procedure of Algorithm 1.

For simplicity of calculation, we assume maxi,gvi(g)=1\max_{i,g}v_{i}(g)=1. We propose two approximation notions of AEF-1 based on the additive error and multiplicative ratio respectively.

Definition 7 (ε-error AEF-1\varepsilon\text{-error }\text{\rm AEF-1}).

Given ε0\varepsilon\geq 0, an allocation AA is ε-error AEF-1\varepsilon\text{-error }\text{\rm AEF-1} if for any pairs of agents i,hNi,h\in N, there exists an item gAiAhg\in A_{i}\cup A_{h} such that ui(Ai{g})ui(Ah{g})εu_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{h}\setminus\{g\})-\varepsilon.

Definition 8 (α-AEF-1\alpha\text{-}\text{\rm AEF-1}).

Given 0<α10<\alpha\leq 1, an allocation AA is α-AEF-1\alpha\text{-}\text{\rm AEF-1} if for any pairs of agents i,hNi,h\in N, there exists an item gAiAhg\in A_{i}\cup A_{h} such that ui(Ai{g})αui(Ah{g})u_{i}(A_{i}\setminus\{g\})\geq\alpha\cdot u_{i}(A_{h}\setminus\{g\}).

Proposition 2.

Given the assumption that maxi,gvi(g)=1\max_{i,g}v_{i}(g)=1, if an allocation is α-AEF-1\alpha\text{-}\text{\rm AEF-1}, then it is (1α)-error AEF-1(1-\alpha)\text{-error }\text{\rm AEF-1}.

Proof.

From α-AEF-1\alpha\text{-}\text{\rm AEF-1} we know that ui(Ai{g})αui(Ah{g})u_{i}(A_{i}\setminus\{g\})\geq\alpha\cdot u_{i}(A_{h}\setminus\{g\}). Therefore,

ui(Ai{g})\displaystyle u_{i}(A_{i}\setminus\{g\}) \displaystyle\geq αui(Ah{g})\displaystyle\alpha\cdot u_{i}(A_{h}\setminus\{g\})
=\displaystyle= ui(Ah{g})(1α)ui(Ah{g})\displaystyle u_{i}(A_{h}\setminus\{g\})-(1-\alpha)u_{i}(A_{h}\setminus\{g\})
\displaystyle\geq ui(Ah{g})(1α).\displaystyle u_{i}(A_{h}\setminus\{g\})-(1-\alpha).

The last inequality comes from ui(Ah{g})1u_{i}(A_{h}\setminus\{g\})\leq 1. ∎

Proposition 2 tells us that α-AEF-1\alpha\text{-}\text{\rm AEF-1} implies ε-error AEF-1\varepsilon\text{-error }\text{\rm AEF-1} given bounded valuations. However, ε-error AEF-1\varepsilon\text{-error }\text{\rm AEF-1} does not guarantee ε-error AEF-1\varepsilon\text{-error }\text{\rm AEF-1}, as shown in the followings (Example 2). Our goal is to find an approximation algorithm that returns an α-AEF-1\alpha\text{-}\text{\rm AEF-1} with α\alpha close to 1 if possible. We first introduce our rounding scheme.

Rounding

Given the rounding parameter r+r\in\mathbb{N}^{+} and an upper bound a>0a>0, we divide [0,a][0,a] into r+1r+1 intervals {0},(0,ar],(ar,2ar],,\{0\},(0,\frac{a}{r}],(\frac{a}{r},\frac{2a}{r}],\cdots, ((r1)ar,a](\frac{(r-1)a}{r},a]. For k=1,2,rk=1,2,\cdots r, a positive value (k1)ar<xkar\frac{(k-1)a}{r}<x\leq\frac{ka}{r} is rounded to kar\frac{ka}{r}. 0 is rounded to 0.

If we apply the same rounding scheme to each vi(g)v_{i}(g) and directly apply Algorithm 1, we will be able to find an 2ar-error AEF-1\frac{2a}{r}\text{-error }\text{\rm AEF-1} allocation, because an AEF-1 allocation in the original valuations implies an ar-error AEF-1\frac{a}{r}\text{-error }\text{\rm AEF-1} allocation in the rounded valuations, and an ar-error AEF-1\frac{a}{r}\text{-error }\text{\rm AEF-1} allocation in the rounded valuations in turn implies an 2ar-error AEF-1\frac{2a}{r}\text{-error }\text{\rm AEF-1} allocation in the original valuations. However, there is no guarantee on α-AEF-1\alpha\text{-}\text{\rm AEF-1}, because the value of an item can be rounded from arbitrarily small to ar\frac{a}{r}. Example 2 shows a case where an AEF-1 allocation in the rounded valuation turns out to be a poor approximation in the original valuation.

Example 2.

Given any rounding parameters a,ra,r (assuming a<ra<r), consider an instance with more than two agents and more than three items. The table below describes an allocation where the first two agents 11 and 22 are allocated the first three items g1,g2,g3g_{1},g_{2},g_{3}.

g1g_{1} g2g_{2} g3g_{3}
1 \normalsize$\frac{a}{r}$⃝ \normalsize$\frac{a}{r}$⃝ εar\frac{\varepsilon a}{r}
2 ar\frac{a}{r} ar\frac{a}{r} \normalsize$\frac{\varepsilona}{r}$⃝
Table 2: Allocation AA where rounding leads to poor approximation.

For item g3g_{3}, ε(0,1)\varepsilon\in(0,1) is an arbitrarily small positive value. It is not hard to verify that AA is not AEF-1, as agent 2 envies agent 1 even after removing an item. Moreover, the allocation is no better than ε-AEF-1\varepsilon\text{-}\text{\rm AEF-1}. However, after rounding, the value of g1g_{1} and g2g_{2} is unchanged while the value of g3g_{3} is rounded to ar\frac{a}{r}. Then AA is AEF-1 in the rounded valuation. Therefore, if Algorithm 1 finds (the state of) AA, it returns an ε-AEF-1\varepsilon\text{-}\text{\rm AEF-1} allocation where ε\varepsilon can be arbitrarily small.

Although the instance has an AEF-1 allocation AA^{\prime} where agent 1 gets g1g_{1} and g3g_{3} and agent 2 gets g2g_{2}, the algorithm may not find AA^{\prime}. Note that after rounding g2g_{2} and g3g_{3} both have value of ar\frac{a}{r}. This means that AA and AA^{\prime} share the same state in Algorithm 1. Which allocation is constructed depends on the PrevPrev record. By carefully manipulating the order of items, we can let the algorithm returns AA rather than AA^{\prime}.

Therefore, we need a more refined rounding and searching scheme that can distinguish between AA and AA^{\prime} to ensure a closer approximation ratio between the original and the rounded valuation. The rounding of each agent should be proportional to their valuations so that the rounding error is not too large compared with the value of their own bundles. Bu et al. (2022) proposes a bi-criteria approximation algorithm to maximize EF-1 ratio and social welfare simultaneously. We follow their techniques to enumerate all items being removed in the envy comparisons, i.e. the “1” in “AEF-1”.

Removing matrix

A removing matrix RR is a matrix recording the items to remove when agents compare bundles with each other. For every pair of agents i,hi,h, R(i,h)=(g,l)(M{})×{i,h}R(i,h)=(g,l)\in(M\cup\{\emptyset\})\times\{i,h\}. The first value gg is the item to remove when agent ii compares their bundle with hh’s bundle, and the second value ll indicates whether gg belongs to ii or hh. g=g=\emptyset means ii does not remove any item when comparing with hh. In this case, ll makes no difference. Specifically, R(i,i)=(,i)R(i,i)=(\emptyset,i) for each agent ii. A removing matrix is valid if it derives a partial allocation of MM. That is, it does not contain two entries (g,l1)(g,l_{1}) and (g,l2)(g,l_{2}) such that l1l2l_{1}\neq l_{2}.

Our algorithm runs in four steps. We enumerate on all valid removing matrix RR. For each RR, we first allocate the items that have been pre-allocated by RR. Next, we round the values of the unallocated items based on each agent’s valuation. Then, we run the dynamic programming search on the unallocated items under the rounded valuation to validate all possible states. Finally, we search states where an agent will not envy another agent by their rounding error under the rounded valuation after removing one item. If such a state exists, the algorithm returns the corresponding allocation. Otherwise, the algorithm returns NO. A detailed description of the algorithm is in Appendix B.

Step 1: pre-allocation

Given an removing matrix RR, let MRM^{R} be the set of item gg such there there exists an entry (g,i)R(g,i)\in R. We allocate items in MRM^{R} according to RR. Let W0RW_{0}^{R} and H0RH_{0}^{R} be the vector of bundle sizes and the valuation matrix after MRM^{R} has been allocated.

Step 2: rounding

For each agent ii, let MiRM^{R}_{i} be the set of ii’s removing items, and Let Mi=MMiRM^{\prime}_{i}=M\setminus M^{R}_{i}. For each agent ii, we set the rounding upper-bound a=maxgMivi(g)a=\max_{g\in M^{\prime}_{i}}v_{i}(g). r=m2n2r=m^{2}n^{2} is the same for all agents. We create the rounded valuation viRv^{R}_{i} by rounding the values for all items in MiM^{\prime}_{i}. That is, for any agent ii, viR(g)=vi(g)v_{i}^{R}(g)=v_{i}(g) if gMiRg\in M^{R}_{i}, and viR(g)v_{i}^{R}(g) is rounded to the closest larger kair\frac{ka_{i}}{r} if gMig\in M^{\prime}_{i}. Let uiRu^{R}_{i} be the average value function of viRv^{R}_{i}. Given a fixed MiRM^{R}_{i}, each bundle will have at most Poly(m)Poly(m) possible values. Precisely, viRv^{R}_{i} takes value from {0,air,2air,,|Mi|ai}\{0,\frac{a_{i}}{r},\frac{2a_{i}}{r},\cdots,|M^{\prime}_{i}|\cdot a_{i}\}.

Step 3: dynamic programming

The dynamic programming follows the same procedure of Algorithm 1 that enumerates and iteratively validates states. The difference is that we run the dynamic programming only on M=MMRM^{\prime}=M\setminus M^{R}, i.e. the unallocated items in step 1. The start state is (W0R,H0R,0)(W_{0}^{R},H_{0}^{R},0) which represent the state where all items in MRM^{R} and no items in MM^{\prime} has been allocated.

Step 4: searching

Finally, we search if there is a state that satisfies two conditions. (1) The state satisfies the quota QQ. (2) For any agent ii and hh, ii does not envy hh by more than air\frac{a_{i}}{r} under the rounded valuation uiRu_{i}^{R}, after removing one item, i.e. u(Ai{g})u(Ai{g})airu(A_{i}\setminus\{g\})\geq u(A_{i}\setminus\{g\})-\frac{a_{i}}{r} for some gg. If such a state exists, the algorithm constructs the allocation backward and returns it. If such allocation does not exist for any state and any RR, the algorithm returns NO. The reason for searching a bounded envy allocation rather than an AEF-1 allocation is to guarantee that the algorithm will always return NO if there does not exist an AEF-1 allocation (Theorem 5).

The following lemma shows that, by rounding the value function of each agent based on the most valuable item in MiM^{\prime}_{i}, the average value of an agent’s bundle is lower bound by the average value of MiM^{\prime}_{i}.

Lemma 2.

Given any removing matrix RR and allocation AA, and for any agent ii, if ii does not envy any other agent by more than ε>0\varepsilon>0 under RR and uRu^{R}, then uiR(Ai)1nuiR(Mi)εu^{R}_{i}(A_{i})\geq\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon, where MiM^{\prime}_{i} is the set of ii’s removing items.

Proof Sketch.

Suppose this is not true, and agent ii has a bundle AiA_{i} with average value less than 1nuiR(Mi)ε\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon. We consider the agent hh that takes the share of MiM^{\prime}_{i} with the largest average value under ii’s valuation. Then ii envies hh by more than ε\varepsilon even after removing one item, which is a contradiction. The full proof is in Appendix A.3. ∎

Lemma 2 guarantees that the rounding error is small compared with the bundle’s average value. Note that MiM^{\prime}_{i} contains at most mm items, and the largest item has a value of aia_{i}. Therefore, (in ii’s valuation,) the average value of MiM^{\prime}_{i} is at least aim\frac{a_{i}}{m}, and the average value of AiA_{i} is at least aimnε\frac{a_{i}}{mn}-\varepsilon. On the other hand, the rounding error is air=aim2n2\frac{a_{i}}{r}=\frac{a_{i}}{m^{2}n^{2}}. With a lower bound of average value and a bounded error, a reasonably good approximation ratio can be guaranteed, as shown in Theorem 5.

Theorem 5.

Given any instance of AEF-1-Existence with quota (,Q)(\mathcal{I},Q),

  1. 1.

    if the algorithm returns NO, then (,Q)(\mathcal{I},Q) does not have an AEF-1 allocation satisfying QQ.

  2. 2.

    if the algorithm returns YES, it gives a (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation satisfying QQ.

Proof Sketch.

(NO case) We turn to prove the equivalent statement that if (,Q)(\mathcal{I},Q) exists an AEF-1 allocation satisfying QQ, then the algorithm always returns YES. Suppose AA is an AEF-1 allocation satisfying QQ, and RR is a removing matrix of AA that achieves AEF-1. We show that any agent ii will not envy another agent hh by more than air\frac{a_{i}}{r} under uRu^{R}, after removing one item. For the original valuation uu, we have ui(Ai{g})ui(Ah{g})u_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{h}\setminus\{g\}) for any i,hi,h and some gg. For the rounded valuation, we have vi(g)viR(g)vi(g)+airv_{i}(g)\leq v_{i}^{R}(g)\leq v_{i}(g)+\frac{a_{i}}{r}. Therefore, the average value of any bundle will neither decrease nor increase more than ar\frac{a}{r} in the rounded valuation. Therefore, uiR(Ai{g})uiR(Ah{g})airu^{R}_{i}(A_{i}\setminus\{g\})-u_{i}^{R}(A_{h}\setminus\{g\})\geq-\frac{a_{i}}{r}, and agent ii does not envy agent hh by more than air\frac{a_{i}}{r}. In the process of the algorithm, the state of AA will be validated in Step 3 and found in Step 4, and the algorithm will return YES.

(YES case) We show that if an allocation AA satisfies that any agent ii will not envy another agent hh by more than air\frac{a_{i}}{r} under uRu^{R} after removing one item, then AA will be (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} under uu. Consider any pair of agent ii and hh and suppose ii still envies hh even after removing one item under the original valuation uu. (If such a pair does not exist, then AA is an AEF-1 allocation, and the statement holds.) For simplicity, let AiA_{i}^{\prime} and AhA_{h}^{\prime} be the bundles after agent ii removing item gg. Since envy is bounded by air\frac{a_{i}}{r} in the rounded valuation uRu^{R}, it is also bounded in the original valuation: ui(Ai)ui(Ah)2airu_{i}(A_{i}^{\prime})\geq u_{i}(A_{h}^{\prime})-\frac{2a_{i}}{r}. On the other hand, since ii envies hh, ui(Ah)>ui(Ai)u_{i}(A_{h}^{\prime})>u_{i}(A_{i}^{\prime}). Consider two subcases.

  1. 1.

    ui(Ai)ui(Ai)u_{i}(A_{i}^{\prime})\geq u_{i}(A_{i}). In this case agent ii either remove an item in AhA_{h} or an item with a value lower than average in AiA_{i}. In this case, we have ui(Ah)>ui(Ai)u_{i}(A_{h}^{\prime})>u_{i}(A_{i}). With the rounding, we know ui(Ai)uiR(Ai)airu_{i}(A_{i})\geq u_{i}^{R}(A_{i})-\frac{a_{i}}{r}. And from Lemma 2, uiR(Ai)1nuiR(Mi)airaimnairu_{i}^{R}(A_{i})\geq\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\frac{a_{i}}{r}\geq\frac{a_{i}}{mn}-\frac{a_{i}}{r}. Aggregating all these inequalities, we get

    ui(Ai)\displaystyle u_{i}(A_{i}^{\prime})\geq ui(Ah)2air\displaystyle u_{i}(A_{h}^{\prime})-\frac{2a_{i}}{r}
    =\displaystyle= (114mn)ui(Ah)+14mnui(Ah)2air\displaystyle(1-\frac{1}{4mn})u_{i}(A_{h}^{\prime})+\frac{1}{4mn}u_{i}(A_{h}^{\prime})-\frac{2a_{i}}{r}
    \displaystyle\geq (114mn)ui(Ah)+14mnaimn4air\displaystyle(1-\frac{1}{4mn})u_{i}(A_{h}^{\prime})+\frac{1}{4mn}\cdot\frac{a_{i}}{mn}-\frac{4a_{i}}{r}
    =\displaystyle= (114mn)ui(Ah).\displaystyle(1-\frac{1}{4mn})u_{i}(A_{h}^{\prime}).
  2. 2.

    ui(Ai)<ui(Ai)u_{i}(A_{i}^{\prime})<u_{i}(A_{i}). In this case, ii removes an item in AiA_{i} with a value higher than average. With a similar reasoning, we turn to show that ui(Ai)(114mn)ui(Ah)u_{i}(A_{i})\geq(1-\frac{1}{4mn})u_{i}(A_{h}).

Therefore, AA is an (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation under the original valuation uu. ∎

7 Conclusion and Future Work

In this paper, we propose average envy-freeness where envy is defined by the average value of a bundle. AEF provides a fairness criterion for allocation problems in collaboration scenarios, where agents have different entitlements, and the entitlements depend on the allocation itself. We study the existence and complexity of AEF and AEF-1. While deciding the existence of an AEF allocation is NP-hard, an AEF-1 allocation always exists and can be computed in polynomial time. We also study the complexity of AEF-1 with quota. While AEF-1 with quota is NP-complete to decide, we provide polynomial-time algorithms for instances with a constant number of agents to find AEF-1 allocation under binary valuation and approximated AEF-1 allocation under general valuation.

The notion of average envy-freeness can be extended in multiple aspects. One extension is scenarios with multiple copies. For example, in a paper review scenario, a paper should be reviewed by multiple papers, but a reviewer cannot review a paper multiple times. Another extension is scenarios where items bring different entitlements to agents. We expect the entitlement of agents to be the sum of entitlements of items in their bundles, and envy is defined on the sum of values divided by the entitlement of the agent. It is also an intriguing direction to find relaxations of AEF other than AEF-1. An interesting observation is that “AEF-X” is an even stronger notion than AEF since agents should not envy each other even if their bundle’s average value is decreased by removing the most valuation item.

References

  • Aziz et al. [2015] Haris Aziz, Serge Gaspers, Simon Mackenzie, and Toby Walsh. Fair assignment of indivisible objects under ordinal preferences. Artificial Intelligence, 227:71–92, 2015.
  • Aziz et al. [2019] Haris Aziz, Xin Huang, Nicholas Mattei, and Erel Segal-Halevi. The constrained round robin algorithm for fair and efficient allocation. arXiv preprint arXiv:1908.00161, 2019.
  • Aziz et al. [2020] Haris Aziz, Hervé Moulin, and Fedor Sandomirskiy. A polynomial-time algorithm for computing a pareto optimal and almost proportional allocation. Operations Research Letters, 48(5):573–578, 2020.
  • Aziz et al. [2022] Haris Aziz, Xin Huang, Nicholas Mattei, and Erel Segal-Halevi. Computing welfare-maximizing fair allocations of indivisible goods. European Journal of Operational Research, 2022.
  • Babaioff et al. [2019] Moshe Babaioff, Noam Nisan, and Inbal Talgam-Cohen. Fair allocation through competitive equilibrium from generic incomes. In Proceedings of the Conference on Fairness, Accountability, and Transparency, page 180, New York, NY, USA, 2019. Association for Computing Machinery.
  • Babaioff et al. [2021] Moshe Babaioff, Tomer Ezra, and Uriel Feige. Fair-share allocations for agents with arbitrary entitlements. In Proceedings of the 22nd ACM Conference on Economics and Computation, page 127, New York, NY, USA, 2021. Association for Computing Machinery.
  • Biswas and Barman [2018] Arpita Biswas and Siddharth Barman. Fair division under cardinality constraints. In Proceedings of the 27th International Joint Conference on Artificial Intelligence, page 91–97. AAAI Press, 2018.
  • Biswas and Barman [2019] Arpita Biswas and Siddharth Barman. Matroid constrained fair allocation problem. In Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence and Thirty-First Innovative Applications of Artificial Intelligence Conference and Ninth AAAI Symposium on Educational Advances in Artificial Intelligence. AAAI Press, 2019.
  • Bu et al. [2022] Xiaolin Bu, Zihao Li, Shengxin Liu, Jiaxin Song, and Biaoshuai Tao. On the complexity of maximizing social welfare within fair allocations of indivisible goods. arXiv preprint arXiv:2205.14296, 2022.
  • Chakraborty et al. [2021a] Mithun Chakraborty, Ayumi Igarashi, Warut Suksompong, and Yair Zick. Weighted envy-freeness in indivisible item allocation. ACM Transactions on Economics and Computation, 9(3), August 2021.
  • Chakraborty et al. [2021b] Mithun Chakraborty, Ulrike Schmidt-Kraepelin, and Warut Suksompong. Picking sequences and monotonicity in weighted fair division. Artificial Intelligence, 301:103578, 2021.
  • Chakraborty et al. [2022] Mithun Chakraborty, Erel Segal-Halevi, and Warut Suksompong. Weighted fairness notions for indivisible items revisited. Proceedings of the AAAI Conference on Artificial Intelligence, 36(5):4949–4956, Jun. 2022.
  • Dror et al. [2021] Amitay Dror, Michal Feldman, and Erel Segal-Halevi. On fair division under heterogeneous matroid constraints. Proceedings of the AAAI Conference on Artificial Intelligence, 35(6):5312–5320, May 2021.
  • Farhadi et al. [2019] Alireza Farhadi, Mohammad Ghodsi, Mohammad Taghi Hajiaghayi, Sebastien Lahaie, David Pennock, Masoud Seddighin, Saeed Seddighin, and Hadi Yami. Fair allocation of indivisible goods to asymmetric agents. Journal of Artificial Intelligence Research, 64:1–20, 2019.
  • Gan et al. [2021] Jiarui Gan, Bo Li, and Xiaowei Wu. Approximately envy-free budget-feasible allocation. arXiv preprint arXiv:2106.14446, 2021.
  • Garey and Johnson [1979] Michael Garey and David Johnson. Computers and Intractability. W. H. Freeman and Company, 1979.
  • Hosseini et al. [2020] Hadi Hosseini, Sujoy Sikdar, Rohit Vaish, Hejun Wang, and Lirong Xia. Fair division through information withholding. Proceedings of the AAAI Conference on Artificial Intelligence, 34(02):2014–2021, April 2020.
  • Li et al. [2022] Bo Li, Yingkai Li, and Xiaowei Wu. Almost (weighted) proportional allocations for indivisible chores. In Proceedings of the ACM Web Conference 2022, page 122–131, New York, NY, USA, 2022. Association for Computing Machinery.
  • Payan and Zick [2022] Justin Payan and Yair Zick. I will have order! optimizing orders for fair reviewer assignment. In Lud De Raedt, editor, Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence, IJCAI-22, pages 440–446. International Joint Conferences on Artificial Intelligence Organization, July 2022.
  • Roadevin and Hill [2021] Cristina Roadevin and Harry Hill. How can we decide a fair allocation of healthcare resources during a pandemic? Journal of Medical Ethics, 47(12):e84–e84, 2021.
  • Suksompong and Teh [2022] Warut Suksompong and Nicholas Teh. On maximum weighted nash welfare for binary valuations. Mathematical Social Sciences, 117:101–108, 2022.
  • Wang et al. [2015] Wei Wang, Ben Liang, and Baochun Li. Multi-resource fair allocation in heterogeneous cloud computing systems. IEEE Transactions on Parallel and Distributed Systems, 26(10):2822–2835, 2015.

Appendix A Full Proofs

A.1 Theorem 1

Theorem 1.

AEF-Existence is NP-complete even for two agents and under identical valuation.

Proof.

We construct a reduction from Partition, which is known to be NP-complete [Garey and Johnson, 1979]. An instance of Partition consists of a multiset X={x1,x2,,xk}X=\{x_{1},x_{2},\cdots,x_{k}\} where xix_{i}\in\mathbb{N}. The goal is to determine whether there exists a subset YXY\subset X such that xiYxi=xiXYxi=T\sum_{x_{i}\in Y}x_{i}=\sum_{x_{i}\in X\setminus Y}x_{i}=T, where T=12xiXxiT=\frac{1}{2}\sum_{x_{i}\in X}x_{i}. Without the loss of generality, we assume that k4k\geq 4 and T4T\geq 4.

Given an instance of Partition, we construct an AEF-Existence instance as follows. There are n=2n=2 agents and m=2km=2k items. M={gis,gil}i=1,2,,kM=\{g^{s}_{i},g^{l}_{i}\}_{i=1,2,\cdots,k}. Two agents share the same valuation function vv. uu is the average value function on vv. For each ii, v(gis)=(T2k2)iv(g^{s}_{i})=(T^{2}k^{2})^{i}, and v(gil)=(T2k2)i+xiv(g^{l}_{i})=(T^{2}k^{2})^{i}+x_{i}.

Suppose Partition is a YES instance, and YXY\subset X and XYX\setminus Y is an equal-sum partition of XX. Consider the following allocation AA: A1={gilxiY}{gisxiXY}A_{1}=\{g^{l}_{i}\mid x_{i}\in Y\}\cup\{g^{s}_{i}\mid x_{i}\in X\setminus Y\}, and A2=MA1A_{2}=M\setminus A_{1}. It’s not hard to verify that u(A1)=u(A2)=T+i=1k(T2k2)iku(A_{1})=u(A_{2})=\frac{T+\sum_{i=1}^{k}(T^{2}k^{2})^{i}}{k}, which indicates AEF.

Suppose AEF-Existence is a YES instance, and AA is an AEF allocation. We show that AA induces a partition of XX in the following four steps.

First, gksg^{s}_{k} and gklg^{l}_{k} must be allocated to different agents in AA. Suppose this is not the case and agent 1 gets both gksg^{s}_{k} and gklg^{l}_{k}. We show that agent 2 will envy agent 1. Note that v(A1)2(T2k2)k+xkv(A_{1})\geq 2(T^{2}k^{2})^{k}+x_{k}. Therefore, u(A1)v(A1)2kT2kk2k1u(A_{1})\geq\frac{v(A_{1})}{2k}\geq T^{2k}k^{2k-1}. On the other hand, u(A2)u(A_{2}) cannot exceed the value of the most valuable item left, i.e. u(A2)v(gk1l)(T2k2)k1+Tu(A_{2})\leq v(g^{l}_{k-1})\leq(T^{2}k^{2})^{k-1}+T. Therefore, u(A1)>u(A2)u(A_{1})>u(A_{2}), and which is a contradiction.

Second, A1A_{1} and A2A_{2} both contain exactly kk items. Suppose this is not the case, and |A1|<|A2||A_{1}|<|A_{2}|. Then we have |A1|k1|A_{1}|\leq k-1 and |A2|k+1|A_{2}|\geq k+1. We show that agent 2 must envy agent 1. Since A1A_{1} contains either gksg^{s}_{k} or gklg^{l}_{k}, v(A1)(T2k2)kv(A_{1})\geq(T^{2}k^{2})^{k}, and u(A1)(T2k2)kk1u(A_{1})\geq\frac{(T^{2}k^{2})^{k}}{k-1}. A2A_{2}, on the other hand, can have at most all items expect for gksg^{s}_{k}. Therefore, v(A2)2T+i=1k(T2k2)i(T2k2)kv(A_{2})\leq 2T+\sum_{i=1}^{k}(T^{2}k^{2})^{i}-(T^{2}k^{2})^{k}, and u(A2)v(A2)k+1u(A_{2})\leq\frac{v(A_{2})}{k+1}. It’s not hard to verify that u(A1)>u(A2)u(A_{1})>u(A_{2}), which is a contradiction. As AA is an AEF allocation, |A1|=|A2||A_{1}|=|A_{2}| implies that v(A1)=v(A2)v(A_{1})=v(A_{2}).

Third, for any i=1,2,ki=1,2\cdots,k, A1A_{1} (and A2A_{2}, respectively) contains exactly one of gisg^{s}_{i} and gilg^{l}_{i}. Suppose this is not the case, and ii is the largest index such that gisg^{s}_{i} and gilg^{l}_{i} are allocated to the same agent (suppose agent 1). We show that agent 2 will envy agent 1. A1A_{1} contains one of gjsg^{s}_{j} and gjlg^{l}_{j} for each j=i+1,i+2,kj=i+1,i+2,\cdots k, and both gisg^{s}_{i} and gilg^{l}_{i}. Therefore, v(A1)j=i+1k(T2k2)j+2(T2k2)iv(A_{1})\geq\sum_{j=i+1}^{k}(T^{2}k^{2})^{j}+2(T^{2}k^{2})^{i}. On the other hand v(A2)v(A_{2}) will not exceed the sum of the rest value. Therefore, v(A2)j=i+1k(T2k2)j+(ki+1)(T2k2)i1+2Tv(A_{2})\leq\sum_{j=i+1}^{k}(T^{2}k^{2})^{j}+(k-i+1)(T^{2}k^{2})^{i-1}+2T. We can verify that v(A1)>v(A2)v(A_{1})>v(A_{2}), Since both bundles contains kk items, u(A1)u(A2)=1k(v(A1)v(A2))>0u(A_{1})-u(A_{2})=\frac{1}{k}(v(A_{1})-v(A_{2}))>0, which is a contradiction.

Finally, we show that A1A_{1} and A2A_{2} induce a partition on XX. Let Y={xigilA1}Y=\{x_{i}\mid g^{l}_{i}\in A_{1}\}, we show that YY and XYX\setminus Y is a partition of XX. Note that v(A1)=i=1k(T2k2)i+xiYxiv(A_{1})=\sum_{i=1}^{k}(T^{2}k^{2})^{i}+\sum_{x_{i}\in Y}x_{i}, and v(A2)=i=1k(T2k2)i+xi(XY)xiv(A_{2})=\sum_{i=1}^{k}(T^{2}k^{2})^{i}+\sum_{x_{i}\in(X\setminus Y)}x_{i}. To achieve AEF, we have v(A1)=v(A2)v(A_{1})=v(A_{2}), which implies xiYxi=xi(XY)xi\sum_{x_{i}\in Y}x_{i}=\sum_{x_{i}\in(X\setminus Y)}x_{i}. Therefore, YY and XYX\setminus Y is a partition of XX, and Partition is a YES instance. ∎

A.2 Theorem 4

Theorem 4.

AEF-1-Existence with a quota with fixed n3n\geq 3 is NP-complete.

Proof.

We show a reduction from Equal-cardinality Partition, a variation of Partition that requires equal size between two subsets and is also NP-complete [Garey and Johnson, 1979]. An instance of Equal-cardinality Partition consists of a multiset X={x1,x2,,x2k}X=\{x_{1},x_{2},\cdots,x_{2k}\} where xix_{i}\in\mathbb{N}. The goal is to determine whether there exists a subset YXY\subset X of size kk such that xiYxi=xiXYxi=T\sum_{x_{i}\in Y}x_{i}=\sum_{x_{i}\in X\setminus Y}x_{i}=T, where T=12xiXxiT=\frac{1}{2}\sum_{x_{i}\in X}x_{i}. With the loss of generality, we assume that k4k\geq 4 and T4T\geq 4.

Given an Equal-cardinality Partition instance, we construct a AEF-1-Existence with a quota instance with three agents and 3k+63k+6 items. If n>3n>3, we add agents that value all items as 0 and are required to receive no items by the quota.

Agents share the same valuation function vv, and the quota QQ requires every agent to have exactly k+2k+2 items. The item set M=M1M2M3M=M_{1}\cup M_{2}\cup M_{3} consists of three parts:

  • M1={g1,g2,,g2k}M_{1}=\{g_{1},g_{2},\cdots,g_{2k}\}, where v(gj)=xj+k2T2v(g_{j})=x_{j}+k^{2}T^{2}.
    Let T=12gM1v(g)=T+k3T2.T^{\prime}=\frac{1}{2}\sum_{g\in M_{1}}v(g)=T+k^{3}T^{2}.

  • M2M_{2} contains k+1k+1 copies of bb with v(b)=(k+2)T(k+1)2.v(b)=\frac{(k+2)T^{\prime}}{(k+1)^{2}}.

  • M3M_{3} contains five copies of 0 with v(0)=0v(0)=0.

We state that the value of bb is smaller than any item in M1M_{1}. The proof of the lemma is at the end of this proof.

Lemma 1.

For any gM1g\in M_{1}, v(b)<v(g).v(b)<v(g).

If Equal-cardinality partition is a YES instance, and YY and XYX\setminus Y are a solution, we show the following allocation AA is AEF-1 and satisfies QQ.

  1. 1.

    A1={gjxjY}{0,0}A_{1}=\{g_{j}\mid x_{j}\in Y\}\cup\{0,0\}.

  2. 2.

    A2={gjxj(XY)}{0,0}A_{2}=\{g_{j}\mid x_{j}\in(X\setminus Y)\}\cup\{0,0\}.

  3. 3.

    A3=M2{0}A_{3}=M_{2}\cup\{0\}.

It’s not hard to verify that each agent gets exactly k+2k+2 items, u(A1)=u(A2)=Tk+2u(A_{1})=u(A_{2})=\frac{T^{\prime}}{k+2}, and u(A3)=Tk+1u(A_{3})=\frac{T^{\prime}}{k+1}. Agent 1 and 2 does not envy each other, and agent 3 does not envy agent 1 and 2. When comparing with agent 3, agent 1 and agent 2 can remove a 0 in their own bundle, and u(A1{0})=u(A2{0})=u(A3)=Tk+1u(A_{1}\setminus\{0\})=u(A_{2}\setminus\{0\})=u(A_{3})=\frac{T^{\prime}}{k+1}. Therefore, such allocation is AEF-1 and satisfies QQ.

If AEF-1-Existence with a quota is a YES instance, and AA is an AEF-1 allocation satisfying QQ. We show that Equal-cardinality partition is a YES instance in the following steps.

First, no agent can have more than two item 0 in their bundles. Suppose this is not the case, and agent 1 gets at least three 0. Without loss of generality, assume agent 2 gets at most one 0. We show that agent 1 envies agent 2 even after removing one item.

  • If agent 1 removes an item in A1A_{1}, the best choice is to remove an 0. Then the average value of A1{0}A_{1}\setminus\{0\} is at most 2T+(k1)k2T2k+1\frac{2T+(k-1)k^{2}T^{2}}{k+1}. This is achieved when A1A_{1} contains exactly three 0 and all gjg_{j} such that xj>0x_{j}>0 (Recall that v(g)>v(b)v(g)>v(b), so containing bb will decrease the average value). On the other hand, the average value of A2A_{2} is at least (k+1)v(b)k+2\frac{(k+1)\cdot v(b)}{k+2} for one item 0 and k+1k+1 item bb. Then we have u(A1{0})<u(A2)u(A_{1}\setminus\{0\})<u(A_{2}).

  • If agent 1 removes an item gg in A2A_{2}, the average value of A1A_{1} is at most 2T+(k1)k2T2k+2\frac{2T+(k-1)k^{2}T^{2}}{k+2}, and the value of remaining A2A_{2} is at least kv(b)k+1\frac{k\cdot v(b)}{k+1}. Still, u(A1)<u(A2{g})u(A_{1})<u(A_{2}\setminus\{g\}).

In both cases, agent 1 envies agent 2, which is a contradiction. Therefore, no agents can have more than two item 0. Then there are two agents with two item 0 and one agent with one item 0.

Second, the agent with exactly one item 0 must have all the item bb. Without loss of generality, let agent 33 have exactly one 0. Then A3=M2{0}A_{3}=M_{2}\cup\{0\}. Suppose this is not the case, and A3A_{3} contains at least one item from M1M_{1}. Since v(g)>v(b)v(g)>v(b), we have u(A3)>Tk+1u(A_{3})>\frac{T^{\prime}}{k+1}, and at least one of A1A_{1} and A2A_{2} will have a value less than Tk+2\frac{T^{\prime}}{k+2}. Without loss of generality, assume u(A1)<Tk+2u(A_{1})<\frac{T^{\prime}}{k+2}. We show that agent 1 envies agent 3 even after removing one item.

  • If agent 1 removes an item in A1A_{1}, the best choice is to remove an item 0. Then u(A1{0})=k+2k+1u(A1)<Tk+1<u(A3).u(A_{1}\setminus\{0\})=\frac{k+2}{k+1}u(A_{1})<\frac{T^{\prime}}{k+1}<u(A_{3}).

  • If agent 1 removes an item gg in A3A_{3}, then u(A3{g})kv(b)k+1=k(k+2)T(k+1)3=Tk+1T(k+1)3>Tk+2.u(A_{3}\setminus\{g\})\geq\frac{k\cdot v(b)}{k+1}=\frac{k(k+2)T^{\prime}}{(k+1)^{3}}=\frac{T^{\prime}}{k+1}-\frac{T^{\prime}}{(k+1)^{3}}>\frac{T^{\prime}}{k+2}. Still u(A1)<u(A3{g})u(A_{1})<u(A_{3}\setminus\{g\}).

Agent 1 envies agent 3 even after removing one item, which is a contradiction. Therefore, A3A_{3} must contain all the item bb.

Finally, agent 1 and agent 2’s bundles must derive a partition of XX. That is A1=M1{0,0}A_{1}=M_{1}^{\prime}\cup\{0,0\}, A2=(M1M1){0,0}A_{2}=(M_{1}\setminus M_{1}^{\prime})\cup\{0,0\}, where Y={xjgjM1}Y=\{x_{j}\mid g_{j}\in M_{1}^{\prime}\} and XYX\setminus Y is a partition of XX. Suppose it is not the case, and YY is not a partition of XX. Without loss of generality, assume xjYxj<T\sum_{x_{j}\in Y}x_{j}<T. Then we have u(A1)<Tk+2u(A_{1})<\frac{T^{\prime}}{k+2}. With a similar reasoning to the second step, we can show that agent 1 envies agent 3 even after removing one item. Therefore, YY must be a partitioning of XX, and Equal-cardinality partition is a YES instance. ∎

Proof of Lemma 1.

Note that v(g)k2T2v(g)\geq k^{2}T^{2} and v(b)=(k+2)T(k+1)2=(k+2)(T+k3T2)(k+1)2=v(b)=\frac{(k+2)T^{\prime}}{(k+1)^{2}}=\frac{(k+2)(T+k^{3}T^{2})}{(k+1)^{2}}=. Therefore,

v(g)v(b)\displaystyle v(g)-v(b)\geq k2T2(k+2)(T+k3T2)(k+1)2\displaystyle k^{2}T^{2}-\frac{(k+2)(T+k^{3}T^{2})}{(k+1)^{2}}
=\displaystyle= (1k(k+2)(k+2)2)k2T2(k+2)T(k+1)2\displaystyle(1-\frac{k(k+2)}{(k+2)^{2}})k^{2}T^{2}-\frac{(k+2)T}{(k+1)^{2}}
=\displaystyle= k2T2(k+1)2(k+2)T(k+1)2\displaystyle\frac{k^{2}T^{2}}{(k+1)^{2}}-\frac{(k+2)T}{(k+1)^{2}}
=\displaystyle= k2T2(k+2)T(k+1)2\displaystyle\frac{k^{2}T^{2}-(k+2)T}{(k+1)^{2}}
>\displaystyle> 0.\displaystyle 0.

A.3 Theorem 5

Theorem 5.

Given any instance of AEF-1-Existence with quota (,Q)(\mathcal{I},Q),

  1. 1.

    if Algorithm 2 returns NO, then (,Q)(\mathcal{I},Q) does not have an AEF-1 allocation satisfying QQ.

  2. 2.

    if Algorithm 2 returns YES, it gives a (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation satisfying QQ.

Proof.

For the proof of the theorem, we first propose the following lemma.

Lemma 2.

Given any removing matrix RR and allocation AA, and for any agent ii, if ii does not envy any other agent by ε>0\varepsilon>0 under RR and uRu^{R}, then uiR(Ai)1nuiR(Mi)εu^{R}_{i}(A_{i})\geq\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon.

Lemma 2 gives a lower bound for agents’ valuation on their own bundle, which guarantees the approximation ratio. The proof of Lemma 2 is at the end of the proof.

For the NO case, we turn to prove that if (,Q)(\mathcal{I},Q) exists an AEF-1 allocation satisfying QQ, then Algorithm 2 always returns YES. Suppose AA is an AEF-1 allocation satisfying QQ, and RR is the corresponding removing matrix. Then for any agent ihi\neq h and the corresponding removing item gg, ui(Ai{g})ui(Ah{g})u_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{h}\setminus\{g\}). After rounding to uRu^{R}, the average value of (Ai{g})(A_{i}\setminus\{g\}) will not decrease, and the average value of (Ah{g})(A_{h}\setminus\{g\}) will increase no more than air\frac{a_{i}}{r} according to the rounding on viv_{i}. Therefore,

uiR(Ai{g})uiR(Ah{g})air.u^{R}_{i}(A_{i}\setminus\{g\})-u_{i}^{R}(A_{h}\setminus\{g\})\geq-\frac{a_{i}}{r}.

In AA, agent ii will not envy another agent by more than air\frac{a_{i}}{r} after removing one item underuRu^{R}. Therefore, the state corresponding to AA will be discovered when searching under RR.

For the YES case, we show that if AA satisfies that any agent ii will not envy another agent by more than air\frac{a_{i}}{r} after removing one item under uRu^{R}, then AA will be (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} under uu. From Lemma 2 we know that uiR(Ai)1nuiR(Mi)airu^{R}_{i}(A_{i})\geq\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\frac{a_{i}}{r}. Suppose ii still envy hh even after removing on item gg under vv. (If this case does not exist, AA is an AEF-1 allocation, and the statement holds). We discuss cases where gg belongs to different bundles.

Case 1: gAhg\in A_{h}. By the envy guarantee in the rounded valuation, we have

ui(Ai)uiR(Ai)airuiR(Ah{g})2airui(Ah{g})2air\displaystyle u_{i}(A_{i})\geq u_{i}^{R}(A_{i})-\frac{a_{i}}{r}\geq u_{i}^{R}(A_{h}\setminus\{g\})-\frac{2a_{i}}{r}\geq u_{i}(A_{h}\setminus\{g\})-\frac{2a_{i}}{r}

Then by the envy in the original valuation, we have

ui(Ah{g})>ui(Ai)uiR(Ai)air1nuiR(Mi)2air\displaystyle u_{i}(A_{h}\setminus\{g\})>u_{i}(A_{i})\geq u_{i}^{R}(A_{i})-\frac{a_{i}}{r}\geq\frac{1}{n}u_{i}^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r}

Now note that MiM^{\prime}_{i} contains at most mm items, of which the largest valuation is aia_{i}. Therefore, uiR(Mi)aimu_{i}^{R}(M^{\prime}_{i})\geq\frac{a_{i}}{m}. Therefore,

ui(Ai)\displaystyle u_{i}(A_{i})\geq ui(Ah{g})2air\displaystyle u_{i}(A_{h}\setminus\{g\})-\frac{2a_{i}}{r}
=\displaystyle= (14mn)ui(Ah{g})+4mnui(Ah{g})2air\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}\setminus\{g\})+\frac{4}{mn}\cdot u_{i}(A_{h}\setminus\{g\})-\frac{2a_{i}}{r}
\displaystyle\geq (14mn)ui(Ah{g})+4mn(1nuiR(Mi)2air)2air\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}\setminus\{g\})+\frac{4}{mn}\cdot(\frac{1}{n}u_{i}^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r})-\frac{2a_{i}}{r}
\displaystyle\geq (14mn)ui(Ah{g})+4mnamn4aim2n2\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}\setminus\{g\})+\frac{4}{mn}\cdot\frac{a}{mn}-\frac{4a_{i}}{m^{2}n^{2}}
\displaystyle\geq (14mn)ui(Ah{g}).\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}\setminus\{g\}).

Case 2: gAig\in A_{i}, and uiR(Ai{g})uiR(Ai)u_{i}^{R}(A_{i}\setminus\{g\})\geq u_{i}^{R}(A_{i}). With a similar reasoning, we have ui(Ai{g})ui(Ah)2airu_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{h})-\frac{2a_{i}}{r}. And

ui(Ah)>ui(Ai{g})ui(Ai)uiR(Ai)air1nuiR(Mi)2air\displaystyle u_{i}(A_{h})>u_{i}(A_{i}\setminus\{g\})\geq u_{i}(A_{i})\geq u_{i}^{R}(A_{i})-\frac{a_{i}}{r}\geq\frac{1}{n}u_{i}^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r}

Therefore,

ui(Ai{g})\displaystyle u_{i}(A_{i}\setminus\{g\})\geq ui(Ah)2air\displaystyle u_{i}(A_{h})-\frac{2a_{i}}{r}
\displaystyle\geq (14mn)ui(Ah)+4mn(1nuiR(Mi)2air)2air\displaystyle(1-\frac{4}{mn})u_{i}(A_{h})+\frac{4}{mn}\cdot(\frac{1}{n}u_{i}^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r})-\frac{2a_{i}}{r}
\displaystyle\geq (14mn)ui(Ah).\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}).

Case 3: gAig\in A_{i}, and uiR(Ai{g})<uiR(Ai)u_{i}^{R}(A_{i}\setminus\{g\})<u_{i}^{R}(A_{i}). In this case, we have

ui(Ai)>ui(Ai{g})uiR(Ai{g})airuiR(Ah)2airui(Ah)2air.\displaystyle u_{i}(A_{i})>u_{i}(A_{i}\setminus\{g\})\geq u_{i}^{R}(A_{i}\setminus\{g\})-\frac{a_{i}}{r}\geq u_{i}^{R}(A_{h})-\frac{2a_{i}}{r}\geq u_{i}(A_{h})-\frac{2a_{i}}{r}.

Note that uR(Ai)1nuR(Mi)airu^{R}(A_{i})\geq\frac{1}{n}u^{R}(M^{\prime}_{i})-\frac{a_{i}}{r}, which implies u(Ai)1nuR(Mi)2airu(A_{i})\geq\frac{1}{n}u^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r}. Therefore,

ui(Ai)>\displaystyle u_{i}(A_{i})> (14mn)(ui(Ah)2air)+4mnui(Ai)\displaystyle(1-\frac{4}{mn})(u_{i}(A_{h})-\frac{2a_{i}}{r})+\frac{4}{mn}u_{i}(A_{i})
\displaystyle\geq (14mn)(ui(Ah)2air)+4mn(1nuR(Mi)2air)\displaystyle(1-\frac{4}{mn})(u_{i}(A_{h})-\frac{2a_{i}}{r})+\frac{4}{mn}(\frac{1}{n}u^{R}(M^{\prime}_{i})-\frac{2a_{i}}{r})
\displaystyle\geq (14mn)ui(Ah)+4mnaimn4air\displaystyle(1-\frac{4}{mn})u_{i}(A_{h})+\frac{4}{mn}\cdot\frac{a_{i}}{mn}-\frac{4a_{i}}{r}
\displaystyle\geq (14mn)ui(Ah).\displaystyle(1-\frac{4}{mn})u_{i}(A_{h}).

Therefore, we show that AA is an (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation under uu.

Proof of Lemma 2.

Suppose this is not true, and there exists an agent ii such that uiR(Ai)<1nuiR(Mi)εu^{R}_{i}(A_{i})<\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon. In this case 1nuiR(Mi)>ε\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})>\varepsilon.

First we show that uiR(AiMi)<uiR(Mi)u^{R}_{i}(A_{i}\cap M^{\prime}_{i})<u^{R}_{i}(M^{\prime}_{i}). This is because AiA_{i} contains at most n1n-1 items from MiRM^{R}_{i} (one for every other agent). If AiMi=0A_{i}\cap M^{\prime}_{i}=0, then uiR(AiMi)=0u^{R}_{i}(A_{i}\cap M^{\prime}_{i})=0. Otherwise, uiR(AiMi)nuiR(Ai)<uiR(Mi)u^{R}_{i}(A_{i}\cap M^{\prime}_{i})\leq nu^{R}_{i}(A_{i})<u^{R}_{i}(M^{\prime}_{i}). Then there must exist another agent hih\neq i that takes the share of MiM^{\prime}_{i} with the largest average value in ii’s valuation, i.e. uiR(AhMi)uiR(Mi)u^{R}_{i}(A_{h}\cap M^{\prime}_{i})\geq u^{R}_{i}(M^{\prime}_{i}). We show ii must envy hh. Suppose the item ii removes when comparing with hh is gg (which is determined by RR).

  1. 1.

    If gAhg\in A_{h}, then Ah{g}A_{h}\setminus\{g\} does not contain any item from MiRM^{R}_{i} and at least one item from MiM^{\prime}_{i}. Therefore,

    uiR(Ah{g})=uiR(AhMi)uiR(Mi)>uiR(Ai)+ε.u^{R}_{i}(A_{h}\setminus\{g\})=u^{R}_{i}(A_{h}\cap M^{\prime}_{i})\geq u^{R}_{i}(M^{\prime}_{i})>u^{R}_{i}(A_{i})+\varepsilon.
  2. 2.

    If gAig\in A_{i}, then AhA_{h} contains at most 11 items from MiRM^{R}_{i} and at least one item from MiM^{\prime}_{i}. Therefore,

    uiR(Ah)12uiR(AhMi)12uiR(Mi)u^{R}_{i}(A_{h})\geq\frac{1}{2}u^{R}_{i}(A_{h}\cap M^{\prime}_{i})\geq\frac{1}{2}u^{R}_{i}(M^{\prime}_{i})

    For ii, if AiA_{i} contains exactly one item, Then

    uiR(Ai{g})=0<1nuiR(Mi)εuiR(Ah)ε.u^{R}_{i}(A_{i}\setminus\{g\})=0<\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon\leq u^{R}_{i}(A_{h})-\varepsilon.

    Otherwise, AiA_{i} contains at least two items. Therefore,

    uiR(Ai{g})2uiR(Ai)<2(1nuiR(Mi)ε)<uiR(Ah)ε.u^{R}_{i}(A_{i}\setminus\{g\})\leq 2u^{R}_{i}(A_{i})<2\left(\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon\right)<u^{R}_{i}(A_{h})-\varepsilon.
  3. 3.

    If g=g=\emptyset (ii does not remove any item), similar to the gAig\in A_{i} case, we have

    uiR(Ai)<1nuiR(Mi)εuiR(Ah)ε.u^{R}_{i}(A_{i})<\frac{1}{n}u^{R}_{i}(M^{\prime}_{i})-\varepsilon\leq u^{R}_{i}(A_{h})-\varepsilon.

Therefore, ii envies hh more than ε\varepsilon even after removing one item, which is a contradiction. ∎

Appendix B Approximation Algorithm

Algorithm 2 Approximated DP for AEF-1 with quota
0:  Agent set NN, item set MM, valuation profile VV, and quota QQ.
0:  (14mn)-AEF-1(1-\frac{4}{mn})\text{-}\text{\rm AEF-1} allocation satisfying QQ.
1:  for all valid removing matrix RR do
2:     For each agent ii, let MiRM^{R}_{i} be the items to remove by ii in comparisons (indicated by RR) and MiMMiRM^{\prime}_{i}\leftarrow M\setminus M^{R}_{i}.
3:     Construct the new valuation VRV^{R} by rounding the valuations for items in MiM^{\prime}_{i} for each agent ii.rm2n2r\leftarrow m^{2}n^{2} and aimaxgMivi(g)a_{i}\leftarrow\max_{g\in M^{\prime}_{i}}v_{i}(g) for all ii.For all agent ii and item gMiRg\in M^{R}_{i}, viR(g)vi(g)v^{R}_{i}(g)\leftarrow v_{i}(g).For all agent ii and item gMi,g\in M^{\prime}_{i}, viR(g)v^{R}_{i}(g) is the rounded version of vi(g)v_{i}(g) with parameters (r,ai)(r,a_{i}).
4:     Allocate all items in MiRM^{R}_{i} as RR indicates.Let M′′M^{\prime\prime} be the set of unallocated items. Let W0RW^{R}_{0} and H0RH^{R}_{0} be the (initial) state after allocation.
5:     Define the search space. 𝒲R={0,1,,m}n\mathcal{W}^{R}=\{0,1,\cdots,m\}^{n}.iR={0,air,2air,,|Mi|ai}n\mathcal{H}^{R}_{i}=\{0,\frac{a_{i}}{r},\frac{2a_{i}}{r},\cdots,|M^{\prime}_{i}|a_{i}\}^{n}, and R={H0R+HR|HR1R×2R××nR}\mathcal{H}^{R}=\{H^{R}_{0}+H^{R}|H^{R}\in\mathcal{H}^{R}_{1}\times\mathcal{H}^{R}_{2}\times\cdots\times\mathcal{H}^{R}_{n}\}
6:     Initialization: Vld(W0R,H0R,0)1Vld(W^{R}_{0},H^{R}_{0},0)\leftarrow 1.
7:     for k=0,1,,|M|1k=0,1,\cdots,|M^{\prime}|-1 do
8:        for W𝒲RW\in\mathcal{W}^{R} and HRH\in\mathcal{H}^{R} such that Vld(W,H,k)=1Vld(W,H,k)=1 do
9:           for i=1,2,ni=1,2,\cdots n do
10:              Update WW^{\prime} and HH^{\prime} after assigning the kk-th item in MM^{\prime} to agent ii.
11:              Vld(W,H,k+1)1Vld(W^{\prime},H^{\prime},k+1)\leftarrow 1. Prev(W,H,k+1)iPrev(W^{\prime},H^{\prime},k+1)\leftarrow i.
12:     for W𝒲R,HRW\in\mathcal{W}^{R},H\in\mathcal{H}^{R} such that Vld(W,H,|M|)=1Vld(W,H,|M^{\prime}|)=1 do
13:        if (W,H,|M|)(W,H,|M^{\prime}|) (1) satisfies for each ii, agent ii envies any other agent by at most air\frac{a_{i}}{r} after removing one item, (2) satisfies the quota QQthen
14:           Construct the allocation from PrevPrev backward. return YES and the allocation.
15:  return  NO.