Article · Wikipedia archive · Last revised Jul 18, 2026

Envy-freeness up to any item

Envy-freeness up to any item (EFX) is a fairness notion in fair item allocation. It is a relaxation of envy-free item allocation. Determining whether EFX allocations always exist is widely regarded as the central open problem in the theory of fair item allocation.

Last revised
Jul 18, 2026
Read time
≈ 12 min
Length
2,858 w
Citations
54
Source

Envy-freeness up to any item (EFX) is a fairness notion in fair item allocation. It is a relaxation of envy-free item allocation. Determining whether EFX allocations always exist is widely regarded as the central open problem in the theory of fair item allocation.1

Background

Unsolved problem in computer science
Does there exist an envy-free up to any item allocation for four or more agents with additive valuations?

In the classical fair division problem, a set of indivisible items must be allocated among a group of agents, each with their own preferences over subsets of items. An allocation assigns every item to exactly one agent. A valuation function describes how agent i values any bundle of items. Valuations are typically assumed to be monotone (adding items never decreases value) and often additive (the value of a bundle equals the sum of the values of its items).

An allocation is envy-free (EF) if no agent prefers another agent's bundle to their own. Envy-free allocations do not always exist when items are indivisible — for instance, a single valuable item cannot be shared between two agents without creating envy. This motivates the study of relaxations of fairness notions.

A standard relaxation is envy-freeness up to one good (EF1), introduced by Budish:2 an allocation is EF1 if any envy agent i has toward agent j can be eliminated by hypothetically removing some single item from j's bundle. EF1 allocations always exist and can be computed in polynomial time (see envy-free item allocation).

Definition

Envy-freeness up to any good (EFX) is a strictly stronger notion than EF1. It was introduced in 2016 by Caragiannis, Kurokawa, Moulin, Proaccia, Shah and Wang34 in their study of maximum Nash welfare allocations. An allocation is EFX if for every pair of agents i and j, and for every item g in j's bundle that agent i values positively, removing g from j's bundle would eliminate i's envy.

In contrast to EF1, which requires only the existence of some item whose removal eliminates envy, EFX requires that removing any positively valued item from the envied bundle would suffice. The good is not actually removed — this is a thought experiment used to define the fairness condition.

Caragiannis et al. described EFX as "arguably the best fairness analog of envy-freeness for indivisible items."4 The question of whether EFX allocations always exist was immediately recognized as a fundamental open problem, and has been called "fair division's most enigmatic question."1

Existence for two agents

The first general existence result for EFX was established by Plaut and Roughgarden in 2018.56 They showed that an EFX allocation always exists for two agents with arbitrary monotone valuations, via a simple adaptation of the classical cut-and-choose protocol. Agent 1 splits all items into two bundles so as to maximize her minimum value across the two bundles — that is, she finds the partition that makes the worse bundle as valuable as possible from her own perspective. Agent 2 then picks whichever bundle she prefers, and agent 1 receives the other.

The key observation is that this optimal split guarantees both bundles are EFX-feasible for agent 1: if removing any single item from either bundle left that bundle strictly more valuable than the other, agent 1 could have moved that item across beforehand and obtained a better-balanced partition — contradicting optimality. Since this holds for both bundles, agent 1 is EFX-satisfied no matter which bundle agent 2 takes. Agent 2, having chosen her favorite bundle, does not envy agent 1 at all, and is therefore EFX-satisfied trivially.

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.7 For two agents with general monotone valuations, computing an EFX allocation may require an exponential number of queries.56

Another difference between EF1 and EFX is that the number of EFX allocations can be as few as 2 (for two agents and any number of items), while the number of EF1 allocations is always exponential in the number of items.8

Existence for three agents

The existence of EFX allocations for three or more agents with non-identical valuations was a major open problem, noted by Plaut and Roughgarden as "highly non-trivial even for three players with different additive valuations."6

A breakthrough91011 was established at 2020 by Chaudhury, Garg, and Mehlhorn,1213 who proved that an EFX allocation always exists for three agents with additive valuations. The core difficulty compared to the two-agent case is that any transfer of goods between two agents' bundles inevitably affects the third agent's envy relationships as well — a change that fixes one agent's envy may create or worsen another's. The proof maintains a partial EFX allocation in which some goods may be left temporarily unallocated, and resolves envy by a combination of transfers along envy cycles and carefully controlled augmentations from the unallocated pool, tracked by a lexicographic potential function that strictly increases at each step and guarantees termination. The argument makes heavy use of the additive structure of the valuations and does not extend to four or more agents.

The result was subsequently extended and simplified by Akrami, Alon, Chaudhury, Garg, Mehlhorn, and Mehta,1415 who showed it holds even when two of the three agents have arbitrary monotone valuations and only one is required to be additive.

Both algorithms run in pseudo-polynomial time (polynomial in the number of items and the highest utility an agent assigns to an item). Whether a polynomial-time algorithm exists remains an open question.10

Approximations, relaxations, and special cases

Since exact EFX allocations are not known to always exist for general instances, a substantial body of work has focused on approximations, relaxations, and restricted settings.

Multiplicative approximation

For a parameter α ∈ [0,1], an allocation is α-EFX if for every pair of agents i and j and every positively valued item g in j's bundle, agent i's value for their own bundle is at least α times their value for j's bundle after removing g. Thus 1-EFX coincides with exact EFX, and larger α corresponds to a stronger guarantee.

A 1/2-approximate EFX allocation (that also satisfies a different approximate-fairness notion called Maximin Aware) can be found in polynomial time.16

The best known approximation for general additive valuations is (φ − 1) ≈ 0.618-EFX, where φ = (1+√5)/2 is the golden ratio, achieved via a variant of the envy-graph procedure in polynomial time. Their algorithm also guarantees EF1 and an 2/(φ+2) approximation to group maximin share.1718

Improving beyond the (φ − 1) factor remains an important open problem. Under additional ordinal assumptions — specifically, when agents agree on which n items are the most valuable — a 2/3-EFX allocation was shown to exist.19

EFX with charity

A natural relaxation allows some goods to remain unallocated, donated to a "charity". Obviously, donating all items yields an envy-free allocation, which is trivially EFX. The challenge is to attain EFX together with some welfare guarantees.

Caragiannis, Gravin and Huang proved that, when all agents have additive valuations, there exists a partial EFX allocation that achieves at least half of the maximum Nash welfare.20

This was strengthened to show that a partial EFX allocation with at most n−1 unallocated goods always exists for any number of agents with general monotone valuations (for additive valuations, this allocation also attains at least half of the maximum Nash welfare).2122

Subsequently, it was shown that four agents always admit an EFX allocation with at most one unallocated good, and n ≥ 5 agents with at most n−2 unallocated goods.23

Rainbow cycle number

An elegant connection between approximate EFX allocations and a combinatorial graph-theoretic problem called the rainbow cycle number was introduced.2425 For a given integer d, the rainbow cycle number R(d) is the largest k such that there exists a k-partite directed graph satisfying: (1) every part has at most d vertices; (2) for every pair of parts i and j, each vertex in i has an incoming edge from some vertex in j; and (3) the graph contains no rainbow cycle — that is, no directed cycle that visits each part at most once. It was shown that bounding the rainbow cycle number polynomially in d yields approximate EFX allocations with sublinearly many unallocated goods. The initial bound gave (1−ε)-EFX existence with O((n/ε)4/5) unallocated goods, for any ε>0.2425 A subsequent near-linear bound on the rainbow cycle number tightened this to Õ((n/ε)1/2) unallocated goods.2627

It remains open whether an EFX allocation exists with a sub-linear number of unallocated goods.10

Removing more items

For any positive integer k, EFkX is a weakening of EFX allowing removal of up to any k items.

EF2X allocations are known to exist for n=4 agents with additive valuations.28 For restricted additive valuations — where each agent values every good at either 0 or a good-specific amount — EF2X allocations were shown to always exist.29

It remains open whether there is any constant k such that EFkX allocations exist for all n and all additive valuations.

Special cases

EFX allocations are also known to exist in several restricted valuation settings. When each agent's value for every item takes one of at most two possible values, the maximum Nash welfare allocation is always EFX, and an explicit polynomial-time algorithm was given.3031

When all agents share one of two possible additive valuation functions, EFX was shown to always exist;32 this was extended to two monotone valuations,33 and to three distinct additive valuation functions.34

EFX is also known to exist for lexicographic preferences and for graph-structured allocation settings.35

Summary of known results

Setting Result
2 agents, any monotone valuations EFX always exists.56
Any number of agents, identical valuations EFX always exists.56
3 agents, additive valuations EFX always exists.1213
3 agents, two monotone + one additive EFX always exists.2627
4 agents, additive valuations EFX with at most 1 unallocated item.23
4 or more agents, additive valuations Open
See also

See also

  • Envy-free Relaxations for Goods, Chores, and Mixed Items.36
References

References

  1. Procaccia, Ariel D. (2020-03-20). "Technical perspective: An answer to fair division's most enigmatic question". Communications of the ACM. 63 (4): 118. doi:10.1145/3382131. ISSN 0001-0782.
  2. Budish, Eric (December 2011). "The Combinatorial Assignment Problem: Approximate Competitive Equilibrium from Equal Incomes". Journal of Political Economy. 119 (6): 1061–1103. doi:10.1086/664613. ISSN 0022-3808.
  3. Caragiannis, Ioannis; Kurokawa, David; Moulin, Hervé; Procaccia, Ariel D.; Shah, Nisarg; Wang, Junxing (2016-07-21). "The Unreasonable Fairness of Maximum Nash Welfare". Proceedings of the 2016 ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 305–322. doi:10.1145/2940716.2940726. ISBN 978-1-4503-3936-0.
  4. Caragiannis, Ioannis; Kurokawa, David; Moulin, Hervé; Procaccia, Ariel D.; Shah, Nisarg; Wang, Junxing (2019-08-31). "The Unreasonable Fairness of Maximum Nash Welfare". ACM Transactions on Economics and Computation. 7 (3): 1–32. doi:10.1145/3355902. ISSN 2167-8375.
  5. Plaut, Benjamin; Roughgarde, Tim (January 2018). "Almost Envy-Freeness with General Valuations". Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms. Philadelphia, PA: Society for Industrial and Applied Mathematics. pp. 2584–2603. doi:10.1137/1.9781611975031.165. ISBN 978-1-61197-503-1.
  6. Plaut, Benjamin; Roughgarden, Tim (January 2020). "Almost Envy-Freeness with General Valuations". SIAM Journal on Discrete Mathematics. 34 (2): 1039–1068. doi:10.1137/19m124397x. ISSN 0895-4801.
  7. Oh, Hoon; Procaccia, Ariel D.; Suksompong, Warut (2019-07-17). "Fairly Allocating Many Goods with Few Queries". Proceedings of the AAAI Conference on Artificial Intelligence. 33 (1): 2141–2148. arXiv:1807.11367. doi:10.1609/aaai.v33i01.33012141. ISSN 2374-3468. S2CID 51867780.
  8. Suksompong, Warut (2020-09-30). "On the number of almost envy-free allocations". Discrete Applied Mathematics. 284: 606–610. arXiv:2006.00178. doi:10.1016/j.dam.2020.03.039. ISSN 0166-218X. S2CID 215715272.
  9. Amanatidis, Georgios; Birmpas, Georgios; Filos-Ratsikas, Aris; Voudouris, Alexandros A. (July 2022). "Fair Division of Indivisible Goods: A Survey". Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. California: International Joint Conferences on Artificial Intelligence Organization. pp. 5385–5393. doi:10.24963/ijcai.2022/756. ISBN 978-1-956792-00-3.
  10. Amanatidis, Georgios; Aziz, Haris; Birmpas, Georgios; Filos-Ratsikas, Aris; Li, Bo; Moulin, Hervé; Voudouris, Alexandros A.; Wu, Xiaowei (September 2023). "Fair division of indivisible goods: Recent progress and open questions". Artificial Intelligence. 322 103965. doi:10.1016/j.artint.2023.103965. ISSN 0004-3702.
  11. Gollapudi, Sreenivas; Kollias, Kostas; Plaut, Benjamin (2020). "Almost Envy-Free Repeated Matching in Two-Sided Markets". Lecture Notes in Computer Science. Cham: Springer International Publishing. pp. 3–16. arXiv:2009.09336. doi:10.1007/978-3-030-64946-3_1. ISBN 978-3-030-64945-6.
  12. Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt (2020-07-13). "EFX Exists for Three Agents". Proceedings of the 21st ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 1–19. doi:10.1145/3391403.3399511. ISBN 978-1-4503-7975-5.
  13. Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt (2024-02-11). "EFX Exists for Three Agents". Journal of the ACM. 71 (1): 1–27. doi:10.1145/3616009. ISSN 0004-5411.
  14. Akrami, Hannaneh; Alon, Noga; Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta (2023-07-07). "EFX: A Simpler Approach and an (Almost) Optimal Guarantee via Rainbow Cycle Number". Proceedings of the 24th ACM Conference on Economics and Computation. New York, NY, USA: ACM. p. 61. doi:10.1145/3580507.3597799. ISBN 979-8-4007-0104-7.
  15. Akrami, Hannaneh; Alon, Noga; Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta (March 2025). "EFX: A Simpler Approach and an (Almost) Optimal Guarantee via Rainbow Cycle Number". Operations Research. 73 (2): 738–751. doi:10.1287/opre.2023.0433. ISSN 0030-364X.
  16. Chan, Hau; Chen, Jing; Li, Bo; Wu, Xiaowei (2019-10-25). "Maximin-Aware Allocations of Indivisible Goods". arXiv:1905.09969 [cs.GT].
  17. Amanatidis, Georgios; Markakis, Evangelos; Ntokos, Apostolos (2020-04-03). "Multiple Birds with One Stone: Beating 1/2 for EFX and GMMS via Envy Cycle Elimination". Proceedings of the AAAI Conference on Artificial Intelligence. 34 (2): 1790–1797. doi:10.1609/aaai.v34i02.5545. ISSN 2374-3468.
  18. Amanatidis, Georgios; Markakis, Evangelos; Ntokos, Apostolos (12 November 2020). "Multiple birds with one stone: Beating 1/2 for EFX and GMMS via envy cycle elimination". Theoretical Computer Science. 841: 94–109. arXiv:1909.07650. doi:10.1016/j.tcs.2020.07.006. ISSN 0304-3975.
  19. Markakis, Evangelos; Santorinaios, Christodoulos (2023-05-30). "Improved EFX Approximation Guarantees under Ordinal-based Assumptions". Proceedings of the Third International Joint Conference on Autonomous Agents and Multiagent Systems - Volume 1. IEEE Computer Society. pp. 591–599. doi:10.65109/njfc3604. ISBN 978-1-58113-864-1.
  20. Caragiannis, Ioannis; Gravin, Nick; Huang, Xin (2019-06-17). "Envy-Freeness up to Any Item with High Nash Welfare: The Virtue of Donating Items". Proceedings of the 2019 ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 527–545. doi:10.1145/3328526.3329574. ISBN 978-1-4503-6792-9.
  21. Chaudhury, Bhaskar Ray; Kavitha, Telikepalli; Mehlhorn, Kurt; Sgouritsa, Alkmini (January 2020). "A Little Charity Guarantees Almost Envy-Freeness". Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms. Philadelphia, PA: Society for Industrial and Applied Mathematics. pp. 2658–2672. arXiv:1907.04596. doi:10.1137/1.9781611975994.162. ISBN 978-1-61197-599-4. Retrieved 2026-05-18.
  22. Chaudhury, Bhaskar Ray; Kavitha, Telikepalli; Mehlhorn, Kurt; Sgouritsa, Alkmini (January 2021). "A Little Charity Guarantees Almost Envy-Freeness". SIAM Journal on Computing. 50 (4): 1336–1358. arXiv:1907.04596. doi:10.1137/20m1359134. ISSN 0097-5397.
  23. Berger, Ben; Cohen, Avi; Feldman, Michal; Fiat, Amos (2022-06-28). "Almost Full EFX Exists for Four Agents". Proceedings of the AAAI Conference on Artificial Intelligence. 36 (5): 4826–4833. doi:10.1609/aaai.v36i5.20410. ISSN 2374-3468.
  24. Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta; Misra, Pranabendu (2021-07-18). "Improving EFX Guarantees through Rainbow Cycle Number". Proceedings of the 22nd ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 310–311. doi:10.1145/3465456.3467605. ISBN 978-1-4503-8554-1.
  25. Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta; Misra, Pranabendu (November 2024). "Improving Envy Freeness up to Any Good Guarantees Through Rainbow Cycle Number". Mathematics of Operations Research. 49 (4): 2323–2340. doi:10.1287/moor.2021.0252. ISSN 0364-765X.
  26. Akrami, Hannaneh; Alon, Noga; Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta (March–April 2025). "EFX: A Simpler Approach and an (Almost) Optimal Guarantee via Rainbow Cycle Number". Operations Research. 73 (2): 738–751. doi:10.1287/opre.2023.0433. ISSN 0030-364X.
  27. Akrami, Hannaneh; Alon, Noga; Chaudhury, Bhaskar Ray; Garg, Jugal; Mehlhorn, Kurt; Mehta, Ruta (2023-07-07). "EFX: A Simpler Approach and an (Almost) Optimal Guarantee via Rainbow Cycle Number". Proceedings of the 24th ACM Conference on Economics and Computation. New York, NY, USA: ACM. p. 61. doi:10.1145/3580507.3597799. ISBN 979-8-4007-0104-7.
  28. Ashuri, Arash; Gkatzelis, Vasilis; Sgouritsa, Alkmini (2025-04-11). "EF2X Exists for Four Agents". Proceedings of the AAAI Conference on Artificial Intelligence. 39 (13): 13555–13563. doi:10.1609/aaai.v39i13.33480. ISSN 2374-3468.
  29. Akrami, Hannaneh; Rezvan, Rojin; Seddighin, Masoud (July 2022). "An EF2X Allocation Protocol for Restricted Additive Valuations". Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence. California: International Joint Conferences on Artificial Intelligence Organization. pp. 17–23. doi:10.24963/ijcai.2022/3. ISBN 978-1-956792-00-3.
  30. Amanatidis, Georgios; Birmpas, Georgios; Filos-Ratsikas, Aris; Hollender, Alexandros; Voudouris, Alexandros A. (July 2020). "Maximum Nash Welfare and Other Stories About EFX". Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence. California: International Joint Conferences on Artificial Intelligence Organization. pp. 24–30. doi:10.24963/ijcai.2020/4. ISBN 978-0-9992411-6-5.
  31. Amanatidis, Georgios; Birmpas, Georgios; Filos-Ratsikas, Aris; Hollender, Alexandros; Voudouris, Alexandros A. (8 April 2021). "Maximum Nash welfare and other stories about EFX". Theoretical Computer Science. 863: 69–85. doi:10.1016/j.tcs.2021.02.020. ISSN 0304-3975.
  32. Mahara, Ryoga (15 December 2023). "Existence of EFX for two additive valuations". Discrete Applied Mathematics. 340: 115–122. doi:10.1016/j.dam.2023.06.035. ISSN 0166-218X.
  33. Mahara, Ryoga (May 2024). "Extension of Additive Valuations to General Valuations on the Existence of EFX". Mathematics of Operations Research. 49 (2): 1263–1277. doi:10.1287/moor.2022.0044. ISSN 0364-765X.
  34. Hv, Vishwa Prakash; Ghosal, Pratik; Nimbhorkar, Prajakta; Varma, Nithin (2025-07-02). "EFX Exists for Three Types of Agents". Proceedings of the 26th ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 101–128. doi:10.1145/3736252.3742509. ISBN 979-8-4007-1943-1.
  35. Christodoulou, George; Fiat, Amos; Koutsoupias, Elias; Sgouritsa, Alkmini (2023-07-07). "Fair allocation in graphs". Proceedings of the 24th ACM Conference on Economics and Computation. New York, NY, USA: ACM. pp. 473–488. doi:10.1145/3580507.3597764. ISBN 979-8-4007-0104-7.
  36. Bérczi, Kristóf; Bérczi-Kovács, Erika R.; Boros, Endre; Gedefa, Fekadu Tolessa; Kamiyama, Naoyuki; Kavitha, Telikepalli; Kobayashi, Yusuke; Makino, Kazuhisa (29 June 2024). "Envy-free relaxations for goods, chores, and mixed items". Theoretical Computer Science. 1002 114596. doi:10.1016/j.tcs.2024.114596. ISSN 0304-3975.