Envy-free (EF) item allocation is a
fair item allocation problem, in which the fairness criterion is
envy-freeness - each agent should receive a bundle that they believe to be at least as good as the bundle of any other agent.[1]: 296–297
Since the items are indivisible, an EF assignment may not exist. The simplest case is when there is a single item and at least two agents: if the item is assigned to one agent, the other will envy.
One way to attain fairness is to
use monetary transfers. When monetary transfers are not allowed or not desired, there are allocation algorithms providing various kinds of relaxations.
Finding an envy-free allocation whenever it exists
Preference-orderings on bundles: envy-freeness
The
undercut procedure finds a complete EF allocation for two agents, if-and-only-if such allocation exists. It requires the agents to rank bundles of items, but it does not require cardinal utility information. It works whenever the agents' preference relations are strictly monotone, but does not need to assume that they are
responsive preferences. In the worst case, the agents may have to rank all possible bundles, so the run-time might be exponential in the number of items.
Preference-orderings on items: necessary/possible envy-freeness
It is usually easier for people to rank individual items than to rank bundles. Assuming all agents have
responsive preferences, it is possible to lift the item-ranking to a partial bundle-ranking. For example, if the item-ranking is w>x>y>z, then responsiveness implies that {w,x}>{y,z} and {w,y}>{x,z}, but does not imply anything about the relation between {w,z} and {x,y}, between {x} and {y,z}, etc. Given an item-ranking:
An allocation is necessarily envy-free (NEF) if it is envy-free according to all responsive bundle-rankings consistent with the item-ranking;
An allocation is possibly envy-free (PEF) if for each agent i, there is at least one responsive bundle-ranking consistent with i's item-ranking, by which i does not envy;
An allocation is weakly possibly envy-free (WPEF) if for each pair of agents i,j, there is at least one responsive bundle-ranking consistent with i's item-ranking, by which i does not envy j;
An allocation is necessarily Pareto-optimal (NPE) if it is Pareto-optimal according to all responsive bundle-rankings consistent with the item-ranking (see
Ordinal Pareto efficiency);
An allocation is possibly Pareto-optimal (PPE) if it is Pareto-optimal according to at least one responsive bundle-ranking consistent with the item-ranking.
The following results are known:
Bouveret, Endriss and Lang[2] assume that all agents have strict preferences. They study the algorithmic questions of finding a NEF/PEF allocation with an additional efficiency condition, particularly, completeness or NPE or PPE. In general, PEF is easy while NEF is hard: checking whether a NEF allocation exists is
NP-complete, while checking existence of WPEF can be done in polynomial time.
Aziz, Gaspers, Mackenzie and Walsh[3] study the more general setting in which agents may have weak preferences (with indifferences). In this setting, checking existence of WPEF is NP-complete. Deciding whether a PEF allocation exists is in P for strict preferences or for n=2, but it is NP-complete in general. It is an open question whether, when the number of agents is constant, deciding the existence of NEF allocation is in P.
Cardinal utilities
The empty allocation is always EF. But if we want some efficiency in addition to EF, then the decision problem becomes computationally hard:[1]: 300–310
Deciding whether an EF and complete allocation exists is
NP complete. This is true even when there are only two agents, and even when their utilities are additive and identical, since in this case finding an EF allocation is equivalent to solving the
partition problem.[4]
Deciding whether a fair allocation exists requires exponential communication (in the number of goods) when there are more than two agents. When there are two agents, the communication complexity depends on specific combinations of parameters.[5]
Deciding whether an EF and Pareto efficient allocation exists is above NP: it is
-complete even with
dichotomous utilities[6] and even with
additive utilities.[7] (
is the class of problems that can be solved in nondeterministic time given an oracle that can solve any problem in NP).
The decision problem may become tractable when some parameters of the problem are considered fixed small constants:[8]
Considering the number of objects m as a parameter, the existence of a PE+EF allocation can be decided in time for additive or dichotomous utilities. When the utilities are binary and/or identical, the runtime drops to . Here, the notation hides expressions that are polynomial in the other parameters (e.g. number of agents).
Considering the number of agents n as a parameter, the existence of a PE+EF allocation remains hard. With dichotomous utilities, it is NP-hard even for n=2.[6] However, it is now in NP, and can be solved efficiently with an NP oracle (e.g. a
SAT solver). With agents, it can be done with such oracles, and at least oracles are needed unless P=NP. With additive utilities, it is NP-hard even for n=2.[6] Moreover, it is
W[1]-complete w.r.t. the number of agents even if all utilities are identical and encoded in unary.
Considering both the number of agents n and the largest utility V as parameters, the existence of a PE+EF allocation can be decided in time for additive utilities using
dynamic programming.
Considering both the number of agents n and the number of utility levels z as parameters, the existence of a PE+EF allocation for identical additive utilities can be decided using an
integer linear program with variables; Lenstra's algorithm allows solving such ILP in time
Finding an allocation with a bounded level of envy
Many procedures find an allocation that is "almost" envy-free, i.e., the level of envy is bounded. There are various notions of "almost" envy-freeness:
EF1 - envy-free up to at most one item
An allocation is called EF1 if for every two agents A and B, if we remove at most one item from the bundle of B, then A does not envy B.[9] An EF1 allocation always exists and can be found efficiently by various procedures, particularly:
When all agents have
weakly additive utilities, the round-robin protocol finds a complete EF1 allocation. Weak additivity is required since each agent should be able to pick, in each situation, a "best item".
In the more general case, when all agents have monotonically increasing utilities, the
envy-graph procedure finds a complete EF1 allocation. The only requirement is that the agents can rank bundles of items. If the agents' valuations are represented by a
cardinal utility function, then the EF1 guarantee has an additional interpretation: the numeric envy-level of each agent is at most the maximal-marginal-utility - the largest
marginal utility of a single item for that agent.
When agents have arbitrary utilities (not necessarily additive or monotone), the A-CEEI mechanism returns a partial EF1 allocation. The only requirement is that the agents can rank bundles of items. A small number of items might remain unallocated, and a small number of items may have to be added. The allocation is Pareto-efficient with respect to the allocated items.
The Maximum Nash Welfare algorithm selects a complete allocation that maximizes the product of utilities. It requires each agent to provide a numeric valuation of each item, and assumes that the agents' utilities are additive. The resulting allocation is both EF1 and
Pareto-efficient.[10]
For two agents with arbitrary monotone valuations, or three agents with additive valuations, an EF1 allocation can be computed using a number of queries logarithmic in the number of items.[11]
For two agents with arbitrary utility functions (not necessarily monotone), an EF1 allocation can be found in polynomial time.[12]
For at most 4 agents with arbitrary monotone valuations, or n agents with identical monotone valuations, there always exists an EF1 allocation that is also connected (when items are pre-ordered on a line, such as houses in a street). The proof uses an algorithm similar to the
Simmons–Su protocols. When there are n > 4 agents, it is not known whether a connected EF1 allocation exists, but a connected EF2 allocation always exists.[13]
EFx - envy-free up to at most any item
An allocation is called EFx if for every two agents A and B, if we remove any item from the bundle of B, then A does not envy B.[14] EFx is strictly stronger than EF1: EF1 lets us eliminate envy by removing the item most valuable (for A) from B's bundle; EFx requires that we eliminate envy by removing the item least valuable (for A). An EFx allocation is known to exist in some special cases:
When there are two agents, or when there are n agents with identical valuations. In this case, the
leximin-optimal allocation is EFx and Pareto-optimal. However, it requires exponentially many queries to compute.[15][12]
When there are n agents with additive valuations, but there are at most two different values for goods. In this case, any max-Nash-welfare allocation is EFx. Moreover, there is an efficient algorithm for calculating an EFx allocation (though not necessarily max-Nash-welfare).[16]
When there are n agents with additive valuations, but there are at most two different kinds of valuations.[17]
When there are three agents with
additive valuations. In this case, a polynomial-time algorithm exists.[18][19]
Some approximations are known:
A 1/2-approximate EFx allocation (that also satisfies a different approximate-fairness notion called Maximin Aware) can be found in polynomial time.[20]
There always exists a partial EFx allocation, where the Nash welfare is at least half of the maximum possible Nash welfare. In other words, after donating some items to a charity, the remaining items can be allocated in an EFx way. This bound is the best possible. In large markets, where the valuations of an agent for every item is relatively small, the algorithm attains EFx with almost optimal Nash welfare.[22] It is sufficient to donate n-1 items, and no agent envies the set of donated items.[23]
It is an open question whether an EFx allocation exists in general. The smallest open case is 4 agents with additive valuations.
In contrast to EF1, which requires a number of queries logarithmic in the number of items, computing an EFx allocation may require a linear number of queries even when there are two agents with identical additive valuations.[11]
Another difference between EF1 and EFx is that the number of EFX allocations can be as few as 2 (for any number of items), while the number of EF1 allocations is always exponential in the number of items.[24]
EFm - approximate envy-free for a mixture of divisible and indivisible items
Some division scenarios involve both divisible and indivisible items, such as divisible lands and indivisible houses. An allocation is called EFm if for every two agents A and B:[25]
If B's bundle contains some divisible goods, then A does not envy B (as in an EF allocation).
If B's bundle contains only indivisible goods, then A does not envy B after removing at most one item from B's bundle (as in an EF1 allocation).
An EFm allocation exists for any number of agents. However, finding it requires an oracle for
exact division of a cake. Without this oracle, an EFm allocation can be computed in polynomial time in two special cases: two agents with general additive valuations, or any number of agents with piecewise-linear valuations.
In contrast to EF1, which is compatible with Pareto-optimality, EFm may be incompatible with it.
Minimizing the envy
Rather than using a worst-case bound on the amount of envy, one can try to minimize the amount of envy in each particular instance. See
envy minimization for details and references.
Finding a partial EF allocation
The
AL procedure finds an EF allocation for two agents. It may discard some of the items, but, the final allocation is
Pareto efficient in the following sense: no other EF allocation is better for one and weakly better for the other. The AL procedure only requires the agents to rank individual items. It assumes that the agents have
responsive preferences and returns an allocation that is necessarily envy-free (NEF).
The
Adjusted winner procedure returns a complete and efficient EF allocation for two agents, but it might have to cut a single item (alternatively, one item remains in shared ownership). It requires the agents to report a numeric value for each item, and assumes that they have
additive utilities.
When each agent may get at most a single item, and the valuations are binary (each agent either likes or dislikes each item), there is a polynomial-time algorithm that finds an
envy-free matching of maximum cardinality.[26]
Existence of EF allocations with random valuations
If the agents have
additive utility functions that are drawn from probability distributions satisfying some independence criteria, and the number of items is sufficiently large relative to the number of agents, then an EF allocation exists
with high probability. Particularly:
If the number of items is sufficiently large: , then w.h.p. an EF allocation exists (the probability goes to 1 as m goes to infinity) and can be found by the
round-robin protocol.[27]
If , then w.h.p. an EF allocation exists and can be found by maximizing the social welfare.[28] This bound is also tight due to connections to the
coupon collector's problem.
If and m is divisible by n, then w.h.p. an EF allocation exists and can be found by a matching-based algorithm.[29]
On the other hand, if the number of items is not sufficiently large, then, with high probability, an EF allocation does not exist.
If the number of items is not sufficiently large, i.e., , then w.h.p. an EF allocation does not exist.[28]
If and m is not "almost divisible" by n, then w.h.p. an EF allocation does not exist.[29]
Envy-freeness vs. other fairness criteria
Every EF allocation is min-max-fair. This follows directly from the ordinal definitions and does not depend on additivity.
If all agents have
additive utility functions, then an EF allocation is also proportional and max-min-fair. Otherwise, an EF allocation may be not proportional and even not max-min-fair.
Every allocation of a competitive equilibrium from equal incomes is also envy-free. This is true regardless of additivity.[9]
Every Nash-optimal allocation (allocation that maximizes the product of utilities) is EF1.[14]
Group-envy-freeness is a strengthening of envy-freeness, which is applicable to both divisible and indivisible objects.
^Lipton, R. J.; Markakis, E.; Mossel, E.; Saberi, A. (2004). "On approximately fair allocations of indivisible goods". Proceedings of the 5th ACM conference on Electronic commerce - EC '04. p. 125.
doi:
10.1145/988772.988792.
ISBN1-58113-771-0.
^
abBudish, Eric (2011). "The Combinatorial Assignment Problem: Approximate Competitive Equilibrium from Equal Incomes". Journal of Political Economy. 119 (6): 1061–1103.
CiteSeerX10.1.1.357.9766.
doi:
10.1086/664613.
S2CID154703357.
^Aigner-Horev, Elad; Segal-Halevi, Erel (2022). "Envy-free matchings in bipartite graphs and their applications to fair division". Information Sciences. 587: 164–187.
arXiv:1901.09527.
doi:
10.1016/j.ins.2021.11.059.
S2CID170079201.
^
abJohn P. Dickerson; Jonathan Goldman; Jeremy Karp; Ariel D. Procaccia; Tuomas Sandholm (2014). The Computational Rise and Fall of Fairness. In Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence (2014). pp. 1405–1411.
CiteSeerX10.1.1.703.8413.
ACM link