Average Envy-freeness for Indivisible Items
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 is said to be average envy-free if for any pair of agents , .
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 allocation, in which agents value their bundles at least times of other agent’s bundles on the average value after removing one item.
Criterion | Valuation | Result | |||||
AEF |
|
|
NP-complete | ||||
AEF-1 | General | General | Always Exists | ||||
AEF-1 with quota | General |
|
NP-complete | ||||
Constant, | Binary | In P | |||||
General |
|
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 is defined by a set of agents , a set of items , and a valuation profile . We use to denote a generic agent in and to denote a generic item in .
Valuation and Average Value
Valuation functions represent the preferences of agents among the items. For each agent , a mapping to a subset of to a non-negative value . We follow the convention to assume additive valuation, i.e for any and , . We say that an instance has binary valuation if for any and , , and an instance has identical valuation if . We also define the average value of a subset of item as , i.e. the average value of the items in the subset. Specifically, .
Allocation
An allocation is a -partition of the set of items , where is the bundle allocated to agent . We sometimes abuse the notation and use to denote a partial allocation, where there are items unallocated to any agent.
Quota
A quota is a constraint on allocations. For each agent , imposes an upper bound and a lower bound for the size of the bundle . An allocation satisfies a quota 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 is said to be average envy-free if for any pair of agents , .
Definition 2 (Average envy-freeness up to one item (AEF-1)).
An allocation is said to be average envy-free up to one item if for any pair of agents , there exists an item such that .
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 , does there exist an allocation such that is an AEF allocation?
Definition 4 (AEF-1-Existence).
Given an instance , does there exist an allocation such that is an AEF-1 allocation?
Definition 5 (AEF-Existence with a quota).
Given an instance and a quota , does there exist an allocation such that is an AEF allocation and satisfies ?
Definition 6 (AEF-1-Existence with a quota).
Given an instance and a quota , does there exist an allocation such that is an AEF-1 allocation and satisfies ?
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 where . The goal is to determine whether can be partitioned into two subsets and with equal sum .
Given an instance of Partition , we construct an AEF-Existence instance with two agents and items. Two agents share the same value function , and is the average valuation function. For each , there exists two items and such that , and .
Given and being an equal-sum partition of , we construct an allocation . For each , gets if or if . gets the rest of the items. It is not hard to verify that both agents get items, and . Therefore, , and is an AEF allocation.
If there exists an AEF allocation , we show that induces an equal-sum partition of in four steps.
First, each agent gets exactly one of the largest items and . Otherwise, the exponential term guarantees that the agent without the two items envies the other agent.
Second, each agent gets exactly items. and 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 , each agent get exactly one of and , following the similar reasoning of the first step.
Finally, the allocation induces an equal-sum partition of . Let , and and is an equal-sum partition of . Given that each agent get exactly one of and , the difference between two bundles just come from from each . Therefore, the sum of in must equal to the sum of in , which implies and be an equal-sum partition of . 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 , an AEF-1 allocation always exists and can be found in polynomial time.
Proof.
Consider the following allocation scheme:
-
•
If , agents get their favorite item among the unallocated items in turns. The rest agents get nothing.
-
•
If , get their favorite item among the unallocated items in turns, and agent gets the rest of the items.
We show that allocation induced by this scheme is AEF-1. Consider two agents and . We show that does not envy up to one item.
.
If , then does not envy any because gets either no item or an item inferior to ’s item under ’s valuation. If , then and does not envy by removing ’s only item. If , then does not envy any other after removing ’s item (if exists).
.
If , does not envy after removing ’s only item. If , note that picks their favorite item among all the rest of the items, including all ’s items. Therefore, for any , . Therefore, , and does not envy . ∎
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, , a set of items (), and a binary additive valuation profile . The goal is to determine whether there is an envy-free allocation.
We construct a AEF-1-Existence with a quota instance as follows: , , where is a set of items which have no value to any agent. Additive valuation profile is defined as follows: for each agent , and item , if , ; otherwise, . . is the average value function of . The quota requires every agent to receive exactly items.
Suppose EF-Existence is a YES instance, and is an envy-free allocation under . We show that AEF-1-Existence with a quota is a YES instance. Let be an allocation in the AEF-1-Existence with a quota instance where each agent gets all the items in and fills up the quota with items in . It follows from the definition that satisfies . Now we show that is AEF-1. Note that for any agents , . Since is envy-free, . Therefore, , and is an AEF (thus AEF-1) allocation.
Suppose AEF-1-Existence with a quota is a YES instance, and is an AEF-1 allocation satisfying . We first show that must also be an AEF allocation. Suppose this is not the case, and agent envies agent . We show envies even after removing one item. From binary valuation, we have . If agent removes one item from , the average value of is not smaller than , and has fewer items than . Therefore, still has a higher average value than , and envies . If agent removes one item from , the average value will be no more than . This value is strictly less than for . If , then since contains at most valuable items for . Therefore, still envies after removing any item. This is a contradiction. Therefore, must also be AEF allocation.
Now we show that EF-Existence with binary value is also a YES instance. Let be a allocation in EF-Existence instance such that for every . Similarly, with relationship , the AEF-ness of implies the envy-freeness of . ∎
Due to the hardness of the problem, we turn to consider AEF-1 allocation with a fixed number of agents . We show that, for binary valuations, AEF-1-Existence with a quota for a fixed number of agents is in , in contrast with the hardness in the general 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 . Suppose is a partial allocation of where has been allocated. is a -vector that records the number of items each agent is allocated, i.e. for each . is a -matrix that records the additive value of each agent toward each bundle, i.e. . and together record each agent’s average value on each bundle. For any pair of agents , . indicates that item has been allocated while other items are not. means no item has been allocated yet. For each state, we maintain two values. indicates whether this state is reached, which stands for there exists a partial allocation of whom the state is . records the agent that item is allocated to reach the current state. For any allocation, it is sufficient to judge whether it is AEF-1 and satisfies from its corresponding state.
State Transition
For a given state with and , we enumerate the agent to whom item is allocated. For each agent , we find the updated state after is allocated to and set and . The algorithm start from and iterated for . The search space of is , and the search space is . Finally, the algorithm finds if there is a state that is AEF-1 and satisfies . If so, the algorithm outputs YES and constructs the allocation backward with . Otherwise, the algorithm outputs NO.
The technique of enumerating all possible values in Algorithm 1 can be extended to valuations where a bundle has at most 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 is NP-complete.
Theorem 4.
AEF-1-Existence with a quota with fixed 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 where . The goal is to determine whether can be partitioned into two subsets and with equal size and equal sum .
Given an Equal-cardinality Partition instance, we construct a AEF-1-Existence with a quota instance with three agents and items. (If , 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 and average value function . The quota requires every agent to be allocated exactly items. The item set consists of three parts:
-
•
, where .
Let -
•
contains copies of with
-
•
contains five copies of with .
We state that the value of is smaller than any item in .
Lemma 1.
For any ,
If Equal-cardinality Partition is a YES instance, and and are a equal-size and equal-sum partition, we show the following allocation is AEF-1 and satisfies .
-
1.
.
-
2.
.
-
3.
.
It’s not hard to verify that each agent gets exactly items, , and . 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 . Therefore, is AEF-1 and satisfies .
If AEF-1-Existence with a quota is a YES instance, and is an AEF-1 allocation satisfying . We show that Equal-cardinality Partition is a YES instance in three steps.
First, no agent can have more than two item 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 (agent 3, with loss of generality) must have all the item . Otherwise, since for any , the average value of will exceed , and one of and will have average value strictly less than . 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 . Otherwise, the average value of the less-valuable bundle will be strictly less than . With the same reasoning as the second step, the owner of this bundle will envy agent 3 (with ) 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 different values and apply the procedure of Algorithm 1.
For simplicity of calculation, we assume . We propose two approximation notions of AEF-1 based on the additive error and multiplicative ratio respectively.
Definition 7 ().
Given , an allocation is if for any pairs of agents , there exists an item such that .
Definition 8 ().
Given , an allocation is if for any pairs of agents , there exists an item such that .
Proposition 2.
Given the assumption that , if an allocation is , then it is .
Proof.
From we know that . Therefore,
The last inequality comes from . ∎
Proposition 2 tells us that implies given bounded valuations. However, does not guarantee , as shown in the followings (Example 2). Our goal is to find an approximation algorithm that returns an with close to 1 if possible. We first introduce our rounding scheme.
Rounding
Given the rounding parameter and an upper bound , we divide into intervals . For , a positive value is rounded to . is rounded to .
If we apply the same rounding scheme to each and directly apply Algorithm 1, we will be able to find an allocation, because an AEF-1 allocation in the original valuations implies an allocation in the rounded valuations, and an allocation in the rounded valuations in turn implies an allocation in the original valuations. However, there is no guarantee on , because the value of an item can be rounded from arbitrarily small to . 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 (assuming ), consider an instance with more than two agents and more than three items. The table below describes an allocation where the first two agents and are allocated the first three items .
1 | \normalsize$\frac{a}{r}$⃝ | \normalsize$\frac{a}{r}$⃝ | |
2 | \normalsize$\frac{\varepsilona}{r}$⃝ |
For item , is an arbitrarily small positive value. It is not hard to verify that is not AEF-1, as agent 2 envies agent 1 even after removing an item. Moreover, the allocation is no better than . However, after rounding, the value of and is unchanged while the value of is rounded to . Then is AEF-1 in the rounded valuation. Therefore, if Algorithm 1 finds (the state of) , it returns an allocation where can be arbitrarily small.
Although the instance has an AEF-1 allocation where agent 1 gets and and agent 2 gets , the algorithm may not find . Note that after rounding and both have value of . This means that and share the same state in Algorithm 1. Which allocation is constructed depends on the record. By carefully manipulating the order of items, we can let the algorithm returns rather than .
Therefore, we need a more refined rounding and searching scheme that can distinguish between and 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 is a matrix recording the items to remove when agents compare bundles with each other. For every pair of agents , . The first value is the item to remove when agent compares their bundle with ’s bundle, and the second value indicates whether belongs to or . means does not remove any item when comparing with . In this case, makes no difference. Specifically, for each agent . A removing matrix is valid if it derives a partial allocation of . That is, it does not contain two entries and such that .
Our algorithm runs in four steps. We enumerate on all valid removing matrix . For each , we first allocate the items that have been pre-allocated by . 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 , let be the set of item such there there exists an entry . We allocate items in according to . Let and be the vector of bundle sizes and the valuation matrix after has been allocated.
Step 2: rounding
For each agent , let be the set of ’s removing items, and Let . For each agent , we set the rounding upper-bound . is the same for all agents. We create the rounded valuation by rounding the values for all items in . That is, for any agent , if , and is rounded to the closest larger if . Let be the average value function of . Given a fixed , each bundle will have at most possible values. Precisely, takes value from .
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 , i.e. the unallocated items in step 1. The start state is which represent the state where all items in and no items in has been allocated.
Step 4: searching
Finally, we search if there is a state that satisfies two conditions. (1) The state satisfies the quota . (2) For any agent and , does not envy by more than under the rounded valuation , after removing one item, i.e. for some . 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 , 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 , the average value of an agent’s bundle is lower bound by the average value of .
Lemma 2.
Given any removing matrix and allocation , and for any agent , if does not envy any other agent by more than under and , then , where is the set of ’s removing items.
Proof Sketch.
Suppose this is not true, and agent has a bundle with average value less than . We consider the agent that takes the share of with the largest average value under ’s valuation. Then envies by more than 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 contains at most items, and the largest item has a value of . Therefore, (in ’s valuation,) the average value of is at least , and the average value of is at least . On the other hand, the rounding error is . 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 ,
-
1.
if the algorithm returns NO, then does not have an AEF-1 allocation satisfying .
-
2.
if the algorithm returns YES, it gives a allocation satisfying .
Proof Sketch.
(NO case) We turn to prove the equivalent statement that if exists an AEF-1 allocation satisfying , then the algorithm always returns YES. Suppose is an AEF-1 allocation satisfying , and is a removing matrix of that achieves AEF-1. We show that any agent will not envy another agent by more than under , after removing one item. For the original valuation , we have for any and some . For the rounded valuation, we have . Therefore, the average value of any bundle will neither decrease nor increase more than in the rounded valuation. Therefore, , and agent does not envy agent by more than . In the process of the algorithm, the state of 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 satisfies that any agent will not envy another agent by more than under after removing one item, then will be under . Consider any pair of agent and and suppose still envies even after removing one item under the original valuation . (If such a pair does not exist, then is an AEF-1 allocation, and the statement holds.) For simplicity, let and be the bundles after agent removing item . Since envy is bounded by in the rounded valuation , it is also bounded in the original valuation: . On the other hand, since envies , . Consider two subcases.
-
1.
. In this case agent either remove an item in or an item with a value lower than average in . In this case, we have . With the rounding, we know . And from Lemma 2, . Aggregating all these inequalities, we get
-
2.
. In this case, removes an item in with a value higher than average. With a similar reasoning, we turn to show that .
Therefore, is an allocation under the original valuation . ∎
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 where . The goal is to determine whether there exists a subset such that , where . Without the loss of generality, we assume that and .
Given an instance of Partition, we construct an AEF-Existence instance as follows. There are agents and items. . Two agents share the same valuation function . is the average value function on . For each , , and .
Suppose Partition is a YES instance, and and is an equal-sum partition of . Consider the following allocation : , and . It’s not hard to verify that , which indicates AEF.
Suppose AEF-Existence is a YES instance, and is an AEF allocation. We show that induces a partition of in the following four steps.
First, and must be allocated to different agents in . Suppose this is not the case and agent 1 gets both and . We show that agent 2 will envy agent 1. Note that . Therefore, . On the other hand, cannot exceed the value of the most valuable item left, i.e. . Therefore, , and which is a contradiction.
Second, and both contain exactly items. Suppose this is not the case, and . Then we have and . We show that agent 2 must envy agent 1. Since contains either or , , and . , on the other hand, can have at most all items expect for . Therefore, , and . It’s not hard to verify that , which is a contradiction. As is an AEF allocation, implies that .
Third, for any , (and , respectively) contains exactly one of and . Suppose this is not the case, and is the largest index such that and are allocated to the same agent (suppose agent 1). We show that agent 2 will envy agent 1. contains one of and for each , and both and . Therefore, . On the other hand will not exceed the sum of the rest value. Therefore, . We can verify that , Since both bundles contains items, , which is a contradiction.
Finally, we show that and induce a partition on . Let , we show that and is a partition of . Note that , and . To achieve AEF, we have , which implies . Therefore, and is a partition of , and Partition is a YES instance. ∎
A.2 Theorem 4
Theorem 4.
AEF-1-Existence with a quota with fixed 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 where . The goal is to determine whether there exists a subset of size such that , where . With the loss of generality, we assume that and .
Given an Equal-cardinality Partition instance, we construct a AEF-1-Existence with a quota instance with three agents and items. If , 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 , and the quota requires every agent to have exactly items. The item set consists of three parts:
-
•
, where .
Let -
•
contains copies of with
-
•
contains five copies of with .
We state that the value of is smaller than any item in . The proof of the lemma is at the end of this proof.
Lemma 1.
For any ,
If Equal-cardinality partition is a YES instance, and and are a solution, we show the following allocation is AEF-1 and satisfies .
-
1.
.
-
2.
.
-
3.
.
It’s not hard to verify that each agent gets exactly items, , and . 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 . Therefore, such allocation is AEF-1 and satisfies .
If AEF-1-Existence with a quota is a YES instance, and is an AEF-1 allocation satisfying . We show that Equal-cardinality partition is a YES instance in the following steps.
First, no agent can have more than two item 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 , the best choice is to remove an . Then the average value of is at most . This is achieved when contains exactly three 0 and all such that (Recall that , so containing will decrease the average value). On the other hand, the average value of is at least for one item and item . Then we have .
-
•
If agent 1 removes an item in , the average value of is at most , and the value of remaining is at least . Still, .
In both cases, agent 1 envies agent 2, which is a contradiction. Therefore, no agents can have more than two item . Then there are two agents with two item and one agent with one item .
Second, the agent with exactly one item must have all the item . Without loss of generality, let agent have exactly one 0. Then . Suppose this is not the case, and contains at least one item from . Since , we have , and at least one of and will have a value less than . Without loss of generality, assume . We show that agent 1 envies agent 3 even after removing one item.
-
•
If agent 1 removes an item in , the best choice is to remove an item . Then
-
•
If agent 1 removes an item in , then Still .
Agent 1 envies agent 3 even after removing one item, which is a contradiction. Therefore, must contain all the item .
Finally, agent 1 and agent 2’s bundles must derive a partition of . That is , , where and is a partition of . Suppose it is not the case, and is not a partition of . Without loss of generality, assume . Then we have . With a similar reasoning to the second step, we can show that agent 1 envies agent 3 even after removing one item. Therefore, must be a partitioning of , and Equal-cardinality partition is a YES instance. ∎
Proof of Lemma 1.
Note that and . Therefore,
∎
A.3 Theorem 5
Theorem 5.
Proof.
For the proof of the theorem, we first propose the following lemma.
Lemma 2.
Given any removing matrix and allocation , and for any agent , if does not envy any other agent by under and , then .
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 exists an AEF-1 allocation satisfying , then Algorithm 2 always returns YES. Suppose is an AEF-1 allocation satisfying , and is the corresponding removing matrix. Then for any agent and the corresponding removing item , . After rounding to , the average value of will not decrease, and the average value of will increase no more than according to the rounding on . Therefore,
In , agent will not envy another agent by more than after removing one item under. Therefore, the state corresponding to will be discovered when searching under .
For the YES case, we show that if satisfies that any agent will not envy another agent by more than after removing one item under , then will be under . From Lemma 2 we know that . Suppose still envy even after removing on item under . (If this case does not exist, is an AEF-1 allocation, and the statement holds). We discuss cases where belongs to different bundles.
Case 1: . By the envy guarantee in the rounded valuation, we have
Then by the envy in the original valuation, we have
Now note that contains at most items, of which the largest valuation is . Therefore, . Therefore,
Case 2: , and . With a similar reasoning, we have . And
Therefore,
Case 3: , and . In this case, we have
Note that , which implies . Therefore,
Therefore, we show that is an allocation under .
∎
Proof of Lemma 2.
Suppose this is not true, and there exists an agent such that . In this case .
First we show that . This is because contains at most items from (one for every other agent). If , then . Otherwise, . Then there must exist another agent that takes the share of with the largest average value in ’s valuation, i.e. . We show must envy . Suppose the item removes when comparing with is (which is determined by ).
-
1.
If , then does not contain any item from and at least one item from . Therefore,
-
2.
If , then contains at most items from and at least one item from . Therefore,
For , if contains exactly one item, Then
Otherwise, contains at least two items. Therefore,
-
3.
If ( does not remove any item), similar to the case, we have
Therefore, envies more than even after removing one item, which is a contradiction. ∎