Manuscript Offprint
arXiv:2611.07468Polynomial-Time Approximate EFX for Chores via Flow and Matching
Genjie Qin¹, Qizhi Fang¹, Minming Li¹,², Wenjing Liu¹,³, Xin Chen⁴,*
¹School of Mathematical Sciences, Ocean University of China
²Department of Computer Science, City University of Hong Kong
³School of Mathematical Sciences and Laboratory of Marine Mathematics, Ocean University of China
⁴College of Computer Science and Technology, Ocean University of China
Genjie Qin: qgj@ouc.edu.cn; Qizhi Fang: qfang@ouc.edu.cn
Minming Li: minming.li@cityu.edu.hk; Wenjing Liu: liuwj@ouc.edu.cn
Xin Chen*: chenxin1403@ouc.edu.cn
- Corresponding author.
Abstract We study approximate EFX allocations of indivisible chores under nonnegative additive costs. Exact EFX allocations need not exist in general. We develop a polynomial-time algorithm that computes a complete -EFX allocation for any rational , improving the previous approximation guarantee from a factor depending on the number of agents to a constant. The algorithm extends to EFkX, achieving a -approximation for every integer .
For instances with relatively few chores, the polynomial-time BRBI algorithm gives stronger guarantees. It finds exact EFkX allocations when and achieves a factor of at most when . In particular, and give exact EFX.
We further show that the approximation factor is asymptotically tight for our main algorithm. We also construct a four-agent, ten-chore instance in which every complete allocation has EFX approximation factor at least 11/10, improving upon the 20/19 lower bound for submodular costs even under additive costs.
Keywords: indivisible chores, EFX, max-flow, matching-based rounding, EFkX extension
1 Introduction
Fair allocation of indivisible chores concerns the distribution of burdens among agents with heterogeneous preferences and is a fundamental problem in algorithmic game theory and social choice [1]. We consider a set of agents and a set of indivisible chores, which impose costs on their recipients. Each agent has a nonnegative additive cost function , with for every bundle . A complete allocation assigns every chore to exactly one agent, with denoting the possibly empty bundle assigned to agent . Envy-freeness (EF) would require each agent to weakly prefer her own bundle to every other bundle, but even one positive-cost chore can make this impossible. Envy-freeness up to any chore (EFX) asks that envy disappear after any one chore is removed from the agent's own bundle, with both bundles evaluated using that agent's costs. Our goal is to compute, in polynomial time, allocations satisfying approximate EFX. For , an allocation is -EFX if, after removing any single chore from an agent's own bundle, her remaining cost is at most times her cost for any other agent's bundle.
Exact EFX allocations can be computed in polynomial time in several restricted settings, including [2]. In general, however, exact EFX allocations need not exist, even when all costs are drawn from a set of three positive values [3]. We study multiplicative approximation: for , an allocation is -EFX if removing any single chore from leaves agent with cost at most for every other agent . Garg et al. [4] established the existence of 4-EFX allocations using earning-restricted equilibria, and Garg and Murhekar [5] subsequently improved the guarantee to 2 via local swaps on a suitable price-supported EF1 allocation. On the algorithmic side, Zhou and Wu [6] presented a polynomial-time -EFX algorithm for , but its approximation factor grows quadratically with . We therefore ask whether a constant-factor EFX allocation can be computed directly from the cost matrix in polynomial time.
Theorem 1.1. For every rational , a complete -EFX allocation can be computed in time polynomial in , , , and .
To the best of our knowledge, this is the first polynomial-time constant-factor EFX algorithm for general additive chores. The approximation factor is independent of the cost magnitudes and ratios. Although a stronger 2-EFX existence guarantee is known [5], Theorem 1.1 makes a constant-factor approximation efficiently computable.
A key algorithmic contribution of our work is Max-Flow Capped Price (MFCP), which constructs a capped-price structure directly from the input cost matrix. By combining max-flow feasibility with min-cut-guided multiplicative weight updates, MFCP obtains a complete fractional allocation with balanced capped incomes and approximate MPB support in polynomial time.
Our main focus is EFX, but the construction also extends to EFkX. For an integer , EFkX requires each agent to be envy-free after any chores are removed from her own bundle. This differs from EFk, which asks only for some deletion of at most chores in each comparison. Under additive costs, it suffices to remove the cheapest chores according to , since this leaves the largest remaining cost.
Corollary 1.2. For every integer and rational , a complete -EFkX allocation can be computed in time polynomial in , , , and .
When there are relatively few chores, a simpler balanced reservation and block insertion (BRBI) yields a stronger guarantee. In Section 4 and Appendix B, we show that BRBI also runs in polynomial time and computes a -EFkX allocation. This yields an exact EFkX allocation when , and an approximation factor of at most when . While the exact EFX guarantee for is already known [5, 4, 2], we extend this approach to base bundles of chores and analyze the insertion of the remaining chores.
Furthermore, we present an algorithmic tightness example and an EFX existence lower bound. For the former, we construct, for every , a family of instances on which the EFkX approximation ratio of our main algorithm's output approaches . Thus the leading factor is asymptotically tight for our algorithm, reaching 3 for EFX.
Theorem 1.3. There exists an instance with four agents, ten indivisible chores, and nonnegative additive costs in which every complete allocation has EFX approximation factor at least 11/10.
1.2 Algorithmic Overview
Our main algorithm (Algorithm 1) handles the single-agent case directly and invokes BRBI when . For the remaining instances, it proceeds according to the following framework:
Before these stages, we construct a strictly positive working-cost matrix from the input cost matrix . MFCP, SSR, and APR all operate on , and the approximation guarantee holds for both and the original costs .

(a) MFCP. Flow network with capped capacities and eligible edges.
(b) SSR. Price-ordered matching of chores to agent slots.
(c) APR. Ordered packet reallocation for envy repair.
Figure 1: Overview of the three stages of the EFX algorithm.
Max-Flow Capped Price The first challenge is to compute a useful price support in polynomial time. Inspired by the earning-restricted approach [4], we assign positive chore prices and cap their income contributions at . Algorithm MFCP updates agent weights and scales the base prices such that the total capped income equals . We construct a flow network and compute a maximum flow. If its value is , the flow yields a complete fractional allocation supported on approximately MPB edges. Otherwise, a minimum cut identifies the agents whose weights are to be increased by a factor of , and the prices are recomputed accordingly. This iterative procedure terminates in polynomial time and yields a fractional allocation satisfying the required conditions.
Rounding Algorithm SSR extends the Shmoys–Tardos rounding framework [7] by assigning fractional shares to unit slots in nonincreasing order of capped prices, placing chores with first among ties. Since each agent's fractional mass on these chores is at most , they occupy at most two slots. After padding partial slots with zero-price dummy chores, we find a perfect matching in the support graph, which yields an integral allocation . The matching preserves approximate MPB support, loses at most in capped income, and assigns at most two chores with to each agent. For each agent , we separate the chores with in as singleton packets and let the remaining chores form . Let denote the number of packets. Each packet has price greater than and zero EFX residual when assigned alone. Since for all , we have . Ignoring approximation slack, each and each packet has price at least , while .
Envy Repair Finally, Algorithm APR repairs the remaining fairness violations without undoing earlier repairs. Active agents choose their cheapest available packets in a fixed order, and a second pass checks and repairs their allocations. The order ensures that packets chosen later are not cheaper to an earlier agent than the packets she could choose. A recipient of a pure packet receives at most chores and therefore has zero residual cost after deleting chores; a composite bundle contains an earlier complete bundle and so cannot become cheaper to other observers. These properties prevent later exchanges from undoing earlier repairs. These stages together establish the required fairness conditions. The flow stage provides cost-to-price comparability, matching controls rounding loss and the number of high-price chores, and the final exchange converts these bounds into fairness against every comparison bundle.
1.3 Related work
Exact EFX is known for several restricted chore settings, including two-type and binary costs, and for a bounded number of agents or chores [8, 9, 10]; a 2-EFX algorithm is also known for three agents [11]. For general additive chores, Zhou and Wu [6] gave a polynomial-time -EFX algorithm for (with running time ). Garg, Murhekar, and Qin [4] subsequently established the existence of 4-EFX allocations via earning-restricted (ER) equilibria and rounding. Their reallocation procedure runs in polynomial time given an ER equilibrium; their general approach to computing that equilibrium enumerates support graphs in time, which is polynomial only for fixed . This does not establish an exponential-time lower bound for computing 4-EFX. Garg and Murhekar [5] later improved the general existence factor to 2-EFX, again without a polynomial-time procedure for obtaining the required starting allocation in general. Christoforidis [12] showed that, under monotone submodular costs, there exists a three-agent, six-chore instance admitting no -EFX allocation for any . Related work studies bivalued costs, EF1, fractional Pareto optimality, and approximate competitive equilibria [13, 14, 15, 16, 17]. Our algorithm constructs its approximate price certificate directly from the input rather than assuming an exact equilibrium or a specially structured integral starting allocation.
EFkX has also attracted interest. Originally introduced for goods by Akrami et al. [18] who achieved exact EF2X for restricted additive valuations. Ashuri et al. [19] obtained exact EF2X for four agents with cancelable valuations in pseudopolynomial time. EFkX has also been studied for chores. For binary supermodular costs, Barman et al. [20] showed that there are instances in which no Pareto-optimal allocation achieves any finite EFkX approximation factor. Our work instead focuses on additive costs and provides fairness guarantees.
2 Preliminaries
Consider indivisible chores (forming a set ) and agents (forming a set ). For each and each , denote the cost of agent on chore . We assume that is an additive function with . For our algorithmic results, the input is a cost matrix . A complete (integral) allocation is a partition of into possibly empty bundles. Our main goal is to compute an allocation satisfying -EFX in polynomial time.
Definition 2.1 (-EFX). A complete allocation is -EFX if, for every and every , . When , we call the allocation exact EFX.
We also consider the extension -EFkX. For any chores, an allocation is -EFkX if for all and , where . In particular, whenever , and -EF1X coincides with -EFX. For a complete allocation , we define its EFkX approximation ratio as and .
Prices and MPB Recall that the first stage of our main algorithm is to compute a fractional solution satisfying that every and for every .
To construct the fractional , we associate each chore with a price . Following the Fisher-market interpretation [4], can be thought of as the payment for performing one unit of chore . For a positive additive cost matrix , associate each chore with a positive price . Define agent 's minimum pain per buck (MPB) ratio as . For , a fractional allocation is -MPB-supported if implies , where . For an integral allocation , this reduces to .
Proposition 2.2. Fix a positive price vector and an agent . For every and every , the following hold.
(1) , ;
(2) If , , then .
Subsequently, Algorithm 2 constructs a fractional allocation with support factor . Algorithm SSR then performs rounding within this support, so the residual left after packet extraction inherits the cost upper bound. Thus, Proposition 2.2 allows us to bound an agent's cost for an -MPB-supported bundle relative to any comparison bundle , using only an upper bound on and a positive lower bound on .
Capped Price To balance fractional income and control rounding loads, we introduce capped price vector . Specifically, for a cap , let and . For each agent , her total capped income is defined as . For a strictly positive additive cost matrix , we define the following capped-price structure.
Definition 2.3 (Capped-price structure). For and , a capped-price structure consists of positive prices , MPB ratios and fractional shares satisfying
(1)
(completeness)
(2)
(capped-income balance)
(3)
(cost lower bound)
(4)
(approximate MPB support)
In the main algorithm, we apply this structure to the positive working-cost matrix . Notice that this structure allows small errors in support and income balance, while its complete representation permits every chore to enter rounding. It relates to earning-restricted (ER) equilibrium [4] through satisfying and . It is also related to competitive equilibrium with equal incomes (CEEI), which combines exact MPB support, complete fractional allocation, and uncapped income . Although approximate CEEI admits an FPTAS [17], its guarantee does not directly provide our capped structure.
3 Main Algorithm
Our overall algorithm (Algorithm 1) first distinguishes sparse instances from general instances. If , the BRBI procedure (in Section 4) directly constructs an exact EFX allocation. For instances with , define the positive working costs as follows. If , set . Otherwise, the algorithm scales each agent's cost vector to take integer values. Specifically, we express each cost as an irreducible fraction , where and zero is written as . For each agent , let and define the scaled integer costs and positive working costs . All subsequent stages use . The general branch uses the following parameters.
Here is the capped income contribution of a single chore, determines the minimum price scale for rounded bundles, and controls the approximation when prices are translated back into costs. The income bound governs the capped prices during the rounding procedure. Since on this branch of the algorithm, we have , ensuring sufficient total capped income. The three stages are detailed below, with complete proofs in Appendix A.
3.1 Max-Flow Capped Price
In the MFCP stage (Algorithm 2), we compute a fractional solution based on the capped-price structure (Definition 2.3). To balance capped incomes, we construct a flow network in which the eligible edges provide the approximate MPB support required by Proposition 2.2.
In MFCP, all agent weights are initially set to , and the base price is defined as . This base price corresponds to the minimum weighted cost, ensuring that every chore has at least one eligible recipient. We construct a common water level and scale
Algorithm 1 (3 + )-EFX allocation algorithm
Input: A cost matrix where each ;
Output: A complete -EFX allocation
1: if then
2: return BRBI(c, 1)
3: end if
4: if then
5: for all
6: else
7: Scale each row of the cost matrix to obtain integer costs
8: for all
9: end if
10: For every bundle , define
11: Set as in Eq. (1)
12: Compute using Algorithm 2
13: Compute using Algorithm 3
14: Split each into residual bundles and packets as in Section 3.2
15:
16: using Algorithm 4
▷ single-chore packets,
17: return
these prices to ensure the total capped income equals :
The condition guarantees that the first equation has a unique solution: the left-hand side increases continuously from zero and crosses before all chores are capped. By sorting the base prices to determine the prefix of capped chores, the water level can be exactly computed as . Furthermore, for any fractional allocation , the capped incomes satisfy . Thus, normalizing total capped income to yields a target income approximately 1 per agent, reducing the fractional fairness requirement to capacity constraints in a flow network.
Flow Network We construct a network which has a source , chore nodes, agent nodes, and a sink . Its edges and capacities are:
The source-to-chore capacity equals the chore's total capped income contribution. Each agent-to-sink capacity is slightly above 1, preventing any agent from receiving too much income. A chore-to-agent edge exists only when the agent's weighted cost is within a factor of its minimum.
Starting with , MFCP repeatedly computes the base prices, water level, and a maximum flow in this network. If the flow value F reaches n (Lines 6-8), every source-to-chore edge is
Algorithm 2 Max-Flow Capped Price (MFCP)
Input: Positive costs produced by Alg. 1; ; ;
Output: A capped-price structure satisfying Definition 2.3
1: Set for every agent
2: loop
3: Set for every chore
4: Compute using Eq. (2)
5: Compute a maximum flow in the network (3); let its value be
6: if then
7: Set and
8: return
9: end if
10: Let be the set of agents reachable from in the residual network
11: For every , update
12: end loop
saturated. All capped income is sent, and defines a complete fractional allocation that preserves approximate MPB support. Otherwise, if (Lines 10-11), a minimum cut of the residual network determines which agent weights to increase before prices and flows are recomputed. The algorithm continues until a full flow is found; the cut-progress lemma and potential bound below guarantee termination. Figure 2 illustrates the MFCP flow network and how the residual cut determines the agent-weight updates.

Figure 2: Flow network and weight update in MFCP.
Example 1. Consider an instance with two agents and five chores. For agent 1, her costs are: and . For agent 2, for every . Set . By Eq.(1), , , .
Lemma 3.1. If the maximum-flow value , Algorithm 2 outputs a capped-price structure satisfying Definition 2.3, with the stronger income bounds
Lemma 3.2 (Progress from cut updates). Suppose , and let and be the sets of chores and agents reachable from in the residual network. We have , , and
The updated base prices satisfy that for any ; for any .
MFCP must eventually find a full flow of value and return a structure. Indeed, every unsuccessful flow yields the strict cut inequality (4), so the update increases the potential defined in the appendix by a positive amount. As the potential has a uniform upper bound, the algorithm must terminate after finitely many updates. Theorem 3.3 gives the polynomial iteration bound.
Theorem 3.3. Let and . The number of times Algorithm 2 invokes a maximum-flow algorithm is at most
Recall that is the total binary encoding length of the input cost matrix. By construction, the working costs satisfy , . Indeed, in the scaling case, , and hence . In the unscaled case, each positive input cost is at most and at least . Moreover, in the scaling case, the scaled costs are nonnegative integers and at least one is zero, so . Thus, the above bounds hold in both cases. Consequently, . Since , Algorithm 2 runs in time polynomial in , , , and .
Running Time of MFCP. Each iteration builds a flow network with vertices and edges. Edmonds–Karp requires arithmetic operations per iteration. By Theorem 3.3, the total arithmetic complexity is
We next round the fractional shares while preserving the cost-price relation and controlling the loss in capped income. This motivates sorted-slot rounding over independent randomized rounding.
3.2 Rounding and Packet Decomposition
Sorted-Slot Rounding. For each agent , create unit-capacity slots and place her fractional shares into them in nonincreasing order of . Earlier slots therefore encounter larger chores. Since each slot is matched to at most one chore, the first slot can lose at most in capped income; later slots can be compared with adjacent fractional loads. This ordering provides both a lower bound on rounded income and an upper bound on income after removing the largest chore.
Among chores with , break ties by placing chores with first. Although their capped prices are equal, this tie-breaking rule ensures that high-price chores can only touch the early slots, controlling their number as well as their total capped price.
Some slots may be only partially filled by real chore shares. After adding zero-price dummy chores to fill the remaining capacity, every chore has total fractional assignment 1 and every slot receives total fractional assignment 1. Construct the bipartite support graph using the positive chore-slot shares. For any set of chores, its total fractional mass must be assigned to neighboring
Algorithm 3 Sorted-Slot Rounding (SSR)
Input: Certificate ;
Output: Complete integral allocation
1: for each agent do 2: Create unit slots 3: Place shares in nonincreasing order of , breaking ties in favor of high-price chores 4: end for 5: Set and add dummy chores of -size zero 6: Fill the remaining slot capacity with dummy-chore shares 7: Build the chore-slot support graph using positive shares 8: Find a perfect matching in the support graph 9: Assign each real chore to the agent owning its matched slot 10: Remove the dummy chores and return

Figure 3: Execution of Alg. 2 on Example 1. In round Figure 4: Execution of Alg. 3 on Example 1. Each 1, , ; in round 2, , . quarter-slot has mass 1/4; the dummy has .
slots; as each slot has capacity 1, there must be at least such slots. This verifies Hall's condition, so the support graph has an integral perfect matching. Each real chore is matched only to a slot of an agent who originally held a positive share of that chore, preserving approximate MPB support. We finally discard the dummy chores. We illustrate the execution of MFCP and SSR on the instance in Example 1, as shown in Figures 3 and 4, respectively.
Theorem 3.4. Let . Algorithm 3 runs in time, returns a complete allocation, and satisfies
All ownership edges for real chores retain the approximate MPB guarantee.
Table 1: Upper bounds on residual prices .
Substituting the parameters from (1) yields
By Theorem 3.4, the rounded allocation preserves approximate MPB support and contains at most high-price chores per agent. Moreover, Proposition 2.2(1), applied to , gives for every residual bundle and every packet with . Since the capped-price guarantee does not imply pEF1 under the original prices, we decompose the rounded bundles into packets for reallocation.
Packet Decomposition By Theorem 3.4, each rounded bundle contains at most high-price chores. We use this bound to extract at most two packets, each containing at most chores and having price greater than , and place all remaining chores in a residual bundle . A recipient holding only a packet has zero EFkX residual, since the packet contains at most chores. This allows APR to transfer packets as whole units.
Formally, a packet is a set of at most chores that is transferred as a unit. Decompose each integral bundle as
For EFX, every packet contains one chore with price greater than .
For , first consider the set of the highest-price chores. If the -st chore also has price greater than , make and that single chore separate packets, covering the possible high-price chores. If the next chore is not that expensive, create one packet only when ; otherwise create no packet. The number of extracted packets, , determines the upper bound on given in Table 1. In Section 3.4, we combine these bounds with Proposition 2.2(1) to establish the residual-cost condition required by Lemma 3.6.
Lemma 3.5 (Residual-bundle budgets). Each packet contains at most chores and has price greater than . If , then . The upper bounds on for each case are listed in Table 1. By Proposition 2.2(1), these bounds imply the corresponding upper bounds on .
The reallocation stage relies only on these bounds and does not require the final allocation to retain MPB support.
3.3 Reallocation
Rounding and packet decomposition bound each agent's residual cost, but may not eliminate envy toward a particularly cheap comparison bundle. APR uses two passes in the same fixed order. In the first pass, each active agent chooses the cheapest packets available to her, denoted , from a common pool. She keeps and combines it with the selected packets to form a temporary complete allocation. In the second pass, agents are checked and repaired in the same order.
The fixed selection order ensures that, for each active agent , every packet selected later is at least as costly to as the most expensive packet she selected. This property provides a lower bound
Algorithm 4 Adaptive Packet Reallocation(APR)
Input: A packet decomposition satisfying Lemma 3.6 Output: Complete -EFkX allocation
1: Each agent with chooses her cheapest available packets in a fixed order 2: Set for every agent 3: for active agent , in the same order do 4: Let be the bundle cheapest to agent among the other bundles 5: 6: if then 7: continue 8: end if 9: if then 10: 11: else 12: Denote the two packets by , ordered so that 13: Let be the second-cheapest bundle for agent 14: ; if no such bundle exists, set 15: if then 16: 17: else 18: 19: 20: end if 21: end if 22: end for 23: return
on the cost of later-selected packets in subsequent comparisons. A recipient of a pure packet has at most chores and hence satisfies exact EFkX; a composite bundle contains an earlier complete bundle and therefore cannot become cheaper to any observer. Together, these properties prevent later exchanges from breaking fairness already established.
Lemma 3.6 (Adaptive packet reallocation). Suppose . Each agent has at most two packets, each packet contains at most chores and has price at least . Assume that
, (10)
. (11)
Then Algorithm 4 runs in time and returns a complete -EFkX allocation.
Algorithm 4 chooses an exchange according to the number of packets held by the active agent. If the agent holds one packet, a violation is repaired by exchanging that packet for the cheapest comparison bundle ; the agent keeps and receives , while the other agent receives a pure packet of at most chores. If the agent holds two packets, she compares the cheaper packet with the second-cheapest comparison bundle . If , retain , send out the more expensive packet, and receive ; if , send out both packets and receive . These cases bound the repaired agent's own cost by the cheapest comparison cost and avoid creating a new, cheaper comparison bundle for future agents.
The proof must maintain both the initial bundles of unprocessed agents and the fairness already achieved for processed agents. Lemma 3.6 reduces the required conditions to a lower bound on bundle prices and residual-cost budgets determined by the number of packets. The complete proof is given in Appendix A.
Running Time For , combining the running times of MFCP, SSR, and APR, together with the packet decomposition, yields the following total arithmetic complexity:
For , Algorithm 1 applies BRBI, which runs in polynomial time. Thus, in both cases, the algorithm runs in time polynomial in , , , and .
3.4 Approximation Analysis
The approximation factor is determined by the residual-price bounds in Table 1 and the reallocation guarantee in Lemma 3.6. By Theorem 3.4 and Proposition 2.2(1), applied to , the residual bundle satisfies , where . Moreover, every comparison bundle with satisfies .
For EFX, let denote the number of packets associated with agent . Table 1 gives . By Proposition 2.2(1), it suffices to choose such that, for every , . The smallest such is therefore
Here, . We use , , and ; the first case dominates. Choosing gives a -EFX guarantee with respect to the working costs . If all original costs are positive, then and the guarantee applies directly. Otherwise, the perturbation analysis in Appendix A transfers the guarantee to the original costs .
EFkX Extension. For , choosing , and packets of size at most gives, by the same price and support arguments, . Hence, the algorithm achieves a complete -EFkX allocation. The proofs of both guarantees, including the perturbation analysis, are given in Appendix A.
4 Sparse Instances
For instances with relatively few chores, BRBI provides a density-dependent guarantee without requiring a price certificate or matching-based rounding.
Theorem 4.1. Algorithm 5 runs in polynomial time and returns a complete -EFkX allocation, where
In particular, it achieves exact EFkX when , and a factor of at most when . For , this gives exact EFX when .
Algorithm 5 Balanced Reservation and Block Insertion (BRBI)
Input: Cost functions and integer
Output: A complete allocation
1: if then 2: return any complete allocation with for all 3: end if 4: Choose balanced integers with and for all 5: 6: for do 7: Let be the cheapest chores in according to 8: 9: end for 10: Partition into base bundles of size 11: Assign the base bundles bijectively to agents 12: for do 13: Let 14: if then 15: 16: else 17: 18: end if 19: end for 20: return
BRBI uses reverse-order reservation and forward-order insertion to control the cost of added chores. Its construction and proof are given in Appendix B. When both algorithms are applicable, we can choose the better guarantee between and .
5 Conclusion
We present polynomial-time algorithms for approximate EFX and EFkX allocations of indivisible chores under nonnegative rational additive costs. Our main algorithm achieves a -EFX guarantee and extends to a -EFkX guarantee, with the leading constant asymptotically tight. For instances with , BRBI achieves exact EFkX, while for , it guarantees a factor of at most . We also establish an EFX existence lower bound of 11/10 under additive costs.
References
[1] Haris Aziz, Bo Li, Hervé Moulin, and Xiaowei Wu. "Algorithmic Fair Allocation of Indivisible Items: A Survey and New Questions". In: ACM SIGecom Exchanges 20.1 (2022), pp. 24–40.
[2] Yusuke Kobayashi, Ryoga Mahara, and Souta Sakamoto. "EFX Allocations for Indivisible Chores: Matching-Based Approach". In: Theoretical Computer Science 1026 (2025), p. 115010.
[3] Wentao He and Biaoshuai Tao. EFX for Additive Chores: Nonexistence, Pareto Incompatibility, and Bi-Valued Existence. 2026. arXiv: 2606.08872 [cs.GT].
[4] Jugal Garg, Aniket Murhekar, and John Qin. "Constant-Factor EFX Exists for Chores". In: Proceedings of the 57th Annual Symposium on Theory of Computing. 2025, pp. 1580–1589.
[5] Jugal Garg and Aniket Murhekar. "Existence of 2-EFX Allocations of Chores". In: Proceedings of the AAAI Conference on Artificial Intelligence 40.20 (2026), pp. 16922–16929.
[6] Shengwei Zhou and Xiaowei Wu. “Approximately EFX Allocations for Indivisible Chores”. In: Artificial Intelligence 326 (2024), p. 104037.
[7] David B. Shmoys and Éva Tardos. “An Approximation Algorithm for the Generalized Assignment Problem”. In: Mathematical Programming 62 (1993), pp. 461–474.
[8] Haris Aziz, Jeremy Lindsay, Angus Ritossa, and Mashbat Suzuki. “Fair Allocation of Two Types of Chores”. In: Proceedings of the 22nd International Conference on Autonomous Agents and Multiagent Systems. 2023, pp. 143–151.
[9] Biaoshuai Tao, Xiaowei Wu, Ziqi Yu, and Shengwei Zhou. “On the Existence of EFX (and Pareto-Optimal) Allocations for Binary Chores”. In: Theoretical Computer Science 1042 (2025), p. 115248.
[10] Xinkai Zhang. EFX Allocations for Three Agents and Seven or Eight Chores. 2026. arXiv:2609.10585 [cs.GT].
[11] Mahyar Afshinmehr, Matin Ansaripour, Alireza Danaei, and Kurt Mehlhorn. Approximate EFX and Exact tEFX Allocations for Indivisible Chores: Improved Algorithms. 2024. arXiv:2410.18655 [cs.GT].
[12] Vasilis Christoforidis. A Note on EFX Inapproximability for Chores. May 20, 2026. arXiv:2605.21448.
[13] Zehan Lin, Xiaowei Wu, and Shengwei Zhou. “Approximately EFX and fPO Allocations for Bivalued Chores”. In: Proceedings of the 34th International Joint Conference on Artificial Intelligence. 2025, pp. 3952–3960.
[14] Umang Bhaskar, A. R. Sricharan, and Rohit Vaish. “On Approximate Envy-Freeness for Indivisible Chores and Mixed Resources”. In: Approximation, Randomization, and Combinatorial Optimization: Algorithms and Techniques. Vol. 207. Leibniz International Proceedings in Informatics. 2021, 1:1–1:23.
[15] Jugal Garg, Aniket Murhekar, and John Qin. “Fair and Efficient Allocations of Chores under Bivalued Preferences”. In: Proceedings of the 36th Conference on Artificial Intelligence. 2022, pp. 5043–5050.
[16] Ryoga Mahara. “Existence of Fair and Efficient Allocation of Indivisible Chores”. In: Proceedings of the 2026 Annual Symposium on Discrete Algorithms. 2026, pp. 6742–6766.
[17] Shant Boodaghians, Bhaskar Ray Chaudhury, and Ruta Mehta. “Polynomial Time Algorithms to Find an Approximate Competitive Equilibrium for Chores”. In: Proceedings of the 2022 Annual Symposium on Discrete Algorithms. 2022, pp. 2285–2302.
[18] Hannaneh Akrami, Rojin Rezvan, and Masoud Seddighin. “An EF2X Allocation Protocol for Restricted Additive Valuations”. In: Proceedings of the 31st International Joint Conference on Artificial Intelligence. 2022, pp. 17–23.
[19] Arash Ashuri, Vasilis Gkatzelis, and Alkmini Sgouritsa. “EF2X Exists for Four Agents”. In: Proceedings of the AAAI Conference on Artificial Intelligence 39.13 (2025), pp. 13555–13563.
[20] Siddharth Barman, Vishnu V. Narayan, and Paritosh Verma. "Fair Chore Division under Binary Supermodular Costs". In: Proceedings of the 22nd International Conference on Autonomous Agents and Multiagent Systems. 2023, pp. 2863–2865.
A Main-Algorithm Proofs
This appendix proves the price-certificate, rounding, and reallocation results used in Section 3.
Proof of Lemma 3.1. The total capacity leaving the source is , so every source edge is saturated. Thus and . Sink capacities give . Since total income equals , subtracting the upper bounds for the other agents yields the stated lower bound.
For every , so . On every positive-flow edge,
The universal lower bound follows from the definition of .
Proof of Lemma 3.2. The capacity of the reachable cut is , so no middle edge of capacity can cross the cut. Hence all eligible recipients of chores in belong to , and
This proves (4) and shows . Every chore has at least one eligible recipient, so .
For , all minimizers of the old weighted cost belong to , whereas agents outside have weighted cost strictly greater than . Increasing the weights in therefore gives ; all other base prices are nondecreasing.
Proof of Theorem 3.3. Let and define
We use the convention . The capped vector obtained from the water-level calculation maximizes the first term. The objective is concave; derivatives at uncapped coordinates equal , while derivatives at capped coordinates are no smaller, so every feasible first-order change is nonpositive.
After a failed update, insert the previous feasible vector into the new maximization problem. By Lemma 3.2,
The old and new capped prices need not be equal; here we use only the feasibility of the old vector.
Let . Using , , and the entropy bound gives . Initially , and the uniform vector is feasible.
Hence
The total increase is at most . Dividing by the progress made in each update yields (5). Since , the number of calls is
For bit complexity, after the -th update each weight has the form with , so its bit length is polynomially bounded. Base prices, water levels, and capacities are rational numbers of polynomial bit length. Each network has vertices and at most edges; after clearing denominators, an exact integer max-flow algorithm such as Edmonds-Karp applies. The returned prices, shares, and values also have polynomial bit length. The potential function is used only in the proof.
Proof of Theorem 3.4. Fix an agent with slots . Let be the fractional -load of slot , and let be the -size of its matched chore (zero for a dummy chore). Sorting implies
This follows because a chore reaching a later slot is no larger than any chore in an earlier full slot; comparing the next slot in the reverse direction gives the corresponding bound. Therefore,
and
Only the first slots can meet high-price fractional shares, proving (8).
The completed slots and chore shares form a fractional perfect matching, so Hall's condition holds and an integral perfect matching exists. Every real matched edge is supported by the certificate. Finally, , so the graph and matching have polynomial size.
Proof of Lemma 3.5. When , contains only low-price chores, so
If no packet is selected, then , and the lower bound follows from (9).
Now consider the case . The parameters satisfy
The packet-size and packet-price conditions follow from the definition. If , the first chores are all high-price chores. The bound on their number implies that all remaining chores are low-price chores. Thus,
If , we first show . If there are at most high-price chores, they all lie in , and the remaining chores satisfy , so (7) applies. If there are exactly high-price chores, the cheapest has price at most ; otherwise the two-packet case would apply. The low-price remainder has price at most , hence
This proves the one-packet budget. If , then , so , while . Finally, chores in remain with their rounded owners, so approximate MPB translates the price bounds into cost bounds.
Proof of Lemma 3.6. By Proposition 2.2(1), applied to , we have for every agent and every bundle . Fix an active agent and write . Every packet chosen later costs at least to . Each packet has price at least , so , and initially
Every current bundle always has price at least . This holds initially by assumption and remains true after an exchange, because a new bundle is either a pure packet or a composite bundle containing an earlier complete bundle. Therefore, for every observer ,
Unprocessed agents. An exchange never takes away the standard bundle of a future active agent. If is such a bundle, it contains one packet costing at least to agent . The barrier inequality (14) then implies , so no repair is needed. The second bundle is selected only when ; if belonged to a future active agent, then , a contradiction. Inductively, every active agent retains her standard bundle until her turn.
One-packet case. Let and . By (11) and (15), . A repair is triggered only if , since otherwise . After the exchange, agent 's total cost is at most ; every comparison bundle still costs at least , and the new pure packet costs . Its recipient holds at most chores, so the residual cost is zero.
Two-packet case. Let and . A violation again implies , because otherwise both packets would cost at most and the total cost would be at most .
If , let , so . After the single exchange,
The new pure packet costs , while every unchanged comparison bundle costs at least ; hence all comparison costs are at least . When , the argument remains valid with .
If , both packets are sent out, and the new bundle of agent satisfies
Both new pure packets cost more than , and all other comparison bundles already cost at least . Thus both branches complete the repair.
Processed agents. After repair, . If agent has one packet, then . If she has two packets and only one is exchanged, then . If both packets are exchanged, then . An agent who is not repaired retains (14). Later composite bundles contain an earlier complete bundle, and later pure packets cost at least to agent , so established comparisons persist. If an agent's own bundle is taken, she receives a pure packet and has zero residual cost. Agents with no packets remain fair by (10) and (15), or become exactly fair after receiving a pure packet.
Every update preserves a complete partition. Each active agent is repaired at most once, and there are at most packets; packet selection, cost comparisons, and fairness checks all take polynomial time.
Lemma A.1 (Approximation-factor budgets). The decomposition in Lemma 3.5 satisfies the hypotheses of Lemma 3.6 with
For , and for .
Proof of Lemma A.1. For , the zero-packet cost is at most . For the one-packet case, ; for the two-packet case, and imply .
For , and , so the three columns of Table 1 verify the required bounds. Expanding gives
For , the two expressions are bounded by 20t and 8t, respectively.
Proof of Theorem 1.1 and Corollary 1.2. The case is immediate. If , Theorem 4.1 gives exact EFkX. Otherwise, if , set . If some original cost is zero, perform row-wise integer scaling and set , . Row-wise scaling preserves all EFkX inequalities. The perturbed working costs are strictly positive, and the parameters satisfy , so MFCP and SSR apply. Taking , Lemma A.1 gives
The factor is strictly below . Lemma 3.6 therefore gives a -EFkX allocation for the working costs .
If all original costs are positive, then , and the guarantee already holds for the original costs. Otherwise, adding the same to every chore does not change the ordering within a row. Hence, for every bundle B,
Thus, for every ,
Since , we have . If , then is a nonnegative integer strictly below 1, and hence equals zero. If , the remaining multiplicative slack absorbs the additive perturbation. Consequently,
Since , dividing by transfers the guarantee to the original costs:
It remains to show that is polynomially bounded in the input size. Recall that denotes the total binary encoding length of the input cost matrix.
If all original costs are positive, then . Since every positive rational input cost has numerator and denominator of at most bits, we have . Consequently,
Otherwise, let . Each row-wise scaling factor is the least common multiple of the input denominators in row , and hence has polynomial bit length in . Consequently, every scaled integer cost , and hence , has polynomial bit length in .
Recall that . Since the scaled costs are nonnegative integers and at least one original cost is zero, we have . Therefore,
Since has polynomial bit length in , this logarithmic ratio is polynomially bounded in and . Thus, in both cases, .
By Theorem 3.3, the MFCP stage can be computed exactly in polynomial time. The sorted-slot rounding, packet decomposition, and reallocation procedures also run in polynomial time. The BRBI branch is polynomial as well. Therefore, Algorithm 1 runs in time polynomial in , and .
B BRBI Proof
This appendix proves the BRBI guarantee from Section 4. The routine's outline and guarantee are stated in the main text.
Lemma B.1 (Block insertion). Suppose every current bundle contains at least k chores, and let B be the bundle cheapest to agent i. A new block E contains r chores, each no more costly to i than any chore already assigned. Then
Proof. If , the cheapest chores can include all of , so the residual cost is at most . If , let . Since and every chore in costs at least , we have . After deleting the cheapest chores, the added residual cost is at most , so the total is at most .
Proof of Theorem 4.1. The claim is immediate when . Reverse-order reservation ensures that, when agent is processed in forward order, each chore in costs no more than any chore already assigned. Indeed, the assigned chores belong to base bundles or to blocks for , and all were still available when was reserved.
A second invariant is that every unprocessed agent always holds an unexpanded base bundle of size . Any swap affecting her gives her another unexpanded base bundle. Let be the cheapest bundle cost before inserting . By Lemma B.1, the residual cost of agent after insertion is at most .
The contents of each physical bundle only increase thereafter, so every final bundle costs agent at least . If agent later loses her expanded bundle, she receives a base bundle of size ; if it is swapped again, she again receives a pure base bundle, leaving zero residual cost. Thus every agent satisfies the claimed bound. Finally, . The implementation uses only selection, cost comparisons, and bundle swaps, all in polynomial time.
C Pipeline Tightness
Theorem C.1 (Tightness of the fixed pipeline). For every and integer , set . There exists a positive rational instance on which MFCP terminates in its first round and every output of legal maximum-flow, slot-tie-breaking, and perfect-matching choices satisfies
Thus the output ratio of this specified pipeline approaches as .
This appendix constructs the instance witnessing asymptotic tightness of the specified pipeline and gives a near-exact allocation for the same instance.
Take , , and . Partition the agents into two groups , each of size . Define
and
Each chore has a price parameter and a low-cost recipient set , and its cost is defined by
Table 2: Fixed-pipeline lower-bound instance (each agent has private chores).
| Chore type | Count | ||
|---|---|---|---|
| Private chores of group | owner | ||
| Public chores of group | |||
| Private chores of group | owner | ||
| Public chore of group | 1 |
Proposition C.2. The same instance admits a complete allocation with .
Proof of Theorem C.1. First, , so . For . For , and
Therefore and . In both cases, the capped price of a public chore is strictly larger than that of a private chore.
Let . The construction satisfies
With initial weights , the algorithm's base prices equal the parameters , and the water level is 1. Since , the eligible edges are exactly those with . Private chores are assigned entirely to their owners, and public chores are split evenly within their group, giving every agent capped income exactly 1. Thus the first maximum flow has value , and all eligible edges even satisfy exact MPB.
For any full flow, each private chore must be assigned entirely to its unique eligible recipient. The total public fractional share received by each agent in group is at most
Each agent in group receives public fractional share at most . Public shares appear first in the sorted order and hence occupy each agent's first slot. Any matching assigns at most one public chore to each agent. Thus some receives no public chore and ; the unique public chore in group is assigned to some , whose bundle price is .
We next show that the envy-repair stage leaves the allocation unchanged. If , all prices are at most , so no packets are formed. If , the total price of the highest-price chores in each of the four possible bundle types is at most
All these values are strictly below , and the -st chore is also priced below . Hence every agent is in the zero-packet case.
Since , the comparison ratio from v to u is
Let . As , , , , , and , so .
For a finite-parameter bound, use , , , , and to obtain
Let , then
Therefore, every legal output satisfies the stated lower bound.
Proof of Proposition C.2. Ignore the support restriction and sort all chores in nonincreasing order of , assigning each in turn to a currently cheapest bundle. For each nonempty final bundle , let be the last chore assigned to it. Since chores are processed in nonincreasing order of price, is a cheapest chore in . When is assigned, the price of is minimum among all current bundles. Since the prices of other bundles can only increase afterward, we have for every . Hence the allocation is price-EFX: . Since ,
D Ten-Chore Lower Bound
Theorem D.1 (EFX existence lower bound). There is a nonnegative additive-cost instance with four agents and ten chores whose optimal EFX approximation factor is .
D.1 Construction and Parameters
Let denote the real root greater than 1 of . The polynomial is strictly increasing on and has opposite signs at and . Thus, is uniquely determined and satisfies . Set . The defining equation gives
The parameter definitions and the above interval also imply
(18)
Table 3: Per-chore costs in the four-agent, ten-chore EFX lower-bound instance.
| agent | each A chore | |||||
|---|---|---|---|---|---|---|
| 1, 2 | 1 | 0 | p | |||
| 3, 4 | 1 | 0 | p |
The instance has four agents and ten chores:
Their per-chore costs are shown in Table 3.
Positive integer-cost check. Replacing 1, 0, p, , by 10000001, 1, 1025785, 7018082, 6269720, respectively, gives a strictly positive integer instance. Exact enumeration of the 128000 type-count allocations, covering all labelled allocations, gives optimal factor
This finite check is supplementary; the algebraic lower bound is proved below.
D.2 Excluding All Complete Allocations Below
Proof of Theorem D.1. Suppose, for a contradiction, that a complete -EFX allocation exists for some . Call the ordinary chores. For either agent type, their costs form the multiset
with total .
Bundles containing multiple A-chores. If a bundle contains three A-chores, or two A-chores and an ordinary chore, its residual cost is at least 2. At least two other bundles are then ordinary-only, and each must cost that same agent strictly more than . Thus the total cost of all ordinary chores to that agent exceeds , contradicting . Thus the only possible bundle containing multiple A-chores is the pure bundle .
By symmetry, suppose agent 1 holds . Her residual cost is 1, so at least two ordinary-only bundles must each cost agent 1 more than . An ordinary-only bundle containing at most one chore from costs agent 1 at most , even if it receives all -chores. Hence each of the two bundles contains at least two chores from . Since there are exactly four such chores, all of them go to these two bundles, and the single- bundle can contain only -chores.
The single-A bundle is held by the other type. One ordinary-only bundle is held by agent 2. If it also contains a B-chore, her residual cost is at least , while the single-A bundle costs her at most . By (17), this gives a ratio of at least , a contradiction. Thus agent 2 receives no B-chore. From the other type's perspective, agent 2's bundle costs at most . If the single-A holder receives any B-chore, her residual cost is at least 1, and
again contradicting . Therefore the single-A bundle is pure. All three B-chores must then go to the other ordinary-only bundle, which also contains a cheap C-chore. After deleting its cheapest chore, all three B-chores remain, giving residual cost at least , a contradiction with the pure single-A bundle.
The single-A bundle is held by the same type. Both ordinary-only bundles are now held by agents of the other type. Let contain two C-chores and contain one C-chore and . If has no B-chore, its cost to its holder is at most , whereas the residual cost of is at least , a contradiction. Thus contains a B-chore. If has no B-chore, its cost is at most , whereas the residual cost of is at least , again a contradiction. Hence both and contain a B-chore.
If the single-A bundle contains no B-chore, it is a pure singleton and contain all ordinary chores. Both bundles contain a cheap C-chore, so their residual costs sum to at least . But comparison with the pure singleton requires this sum to be at most , a contradiction. If the single-A bundle contains one B-chore, then each contain exactly one. The residual cost of is at least , while costs at most ; hence the ratio exceeds , again a contradiction.
Thus the three A-chores must be assigned to three distinct agents. Let be the unique bundle without an A-chore.
No -holder can value too cheaply. Suppose an agent holding an -chore has . If she also holds an ordinary chore, her residual cost is at least 1, contradicting comparison with . Hence she must hold the pure single-A bundle. Each of the other two -holders can then receive at most one ordinary chore. Indeed, if either receives at least two ordinary chores, deleting her cheapest chore leaves her -chore and at least one ordinary chore of cost at least , since at most one ordinary chore has zero cost to her. Her residual cost is therefore at least , again contradicting comparison with the pure singleton. Consequently, at least five of the seven ordinary chores must lie in . Among any five or more elements of , the residual cost after deleting the cheapest is at least
a contradiction. Therefore every -holder values at strictly more than . Since the three -holders include both types, both types value above this threshold.
The bundle without an -chore gives the final contradiction. The threshold forces to contain at least two chores from and at least two from . If , then contains a -chore and a -chore. After deleting the cheapest chore, the -chore of cost and of cost remain, so . At most two -chores remain outside , so one of the three -holders has no -chore and no . Her bundle costs agent 1 at most , giving a ratio of at least .
If , then contains at least two -chores and two -chores, so . At most one -chore and one remain outside , so one -bundle contains neither. At most one -chore remains outside , and this comparison bundle costs at most . Since and , the ratio is strictly greater than
Both cases contradict . Thus every complete allocation has EFX approximation factor at least
.
□
D.3 An Allocation Attaining the Lower Bound
Take
Agent 1's residual cost is , and her cheapest comparison bundle costs 1. Agent 2's residual cost is zero. Agent 3's residual cost is 1, and her cheapest comparison bundle costs 1. Agent 4's residual cost is , and her cheapest comparison bundle costs 1. Hence . Hence, the optimal EFX approximation factor of is .