<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Improving Envy Freeness up to Any Good Guarantees Through Rainbow Cycle Number</title></titleStmt>
			<publicationStmt>
				<publisher>Mathematics of Operations Research (MOR)</publisher>
				<date>11/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10572379</idno>
					<idno type="doi">10.1287/moor.2021.0252</idno>
					<title level='j'>Mathematics of Operations Research</title>
<idno>0364-765X</idno>
<biblScope unit="volume">49</biblScope>
<biblScope unit="issue">4</biblScope>					

					<author>Bhaskar Ray Chaudhury</author><author>Jugal Garg</author><author>Kurt Mehlhorn</author><author>Ruta Mehta</author><author>Pranabendu Misra</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[<p>We study the problem of fairly allocating a set of indivisible goods among n agents with additive valuations. Envy freeness up to any good (EFX) is arguably the most compelling fairness notion in this context. However, the existence of an EFX allocation has not been settled and is one of the most important problems in fair division. Toward resolving this question, many impressive results show the existence of its relaxations. In particular, it is known that 0.618-EFX allocations exist and that EFX allocation exists if we do not allocate at most (n-1) goods. Reducing the number of unallocated goods has emerged as a systematic way to tackle the main question. For example, follow-up works on three- and four-agents cases, respectively, allocated two more unallocated goods through an involved procedure. In this paper, we study the general case and achieve sublinear numbers of unallocated goods. Through a new approach, we show that for every [Formula: see text], there always exists a [Formula: see text]-EFX allocation with sublinear number of unallocated goods and high Nash welfare. For this, we reduce the EFX problem to a novel problem in extremal graph theory. We define the notion of rainbow cycle number[Formula: see text] in directed graphs. For all [Formula: see text] is the largest k such that there exists a k-partite graph [Formula: see text], in which each part has at most d vertices (i.e., [Formula: see text] for all [Formula: see text]); for any two parts V<sub>i</sub>and V<sub>j</sub>, each vertex in V<sub>i</sub>has an incoming edge from some vertex in V<sub>j</sub>and vice versa; and there exists no cycle in G that contains at most one vertex from each part. We show that any upper bound on [Formula: see text] directly translates to a sublinear bound on the number of unallocated goods. We establish a polynomial upper bound on [Formula: see text], yielding our main result. Furthermore, our approach is constructive, which also gives a polynomial-time algorithm for finding such an allocation.</p> <p>Funding: J. Garg was supported by the Directorate for Computer and Information Science and Engineering [Grant CCF-1942321]. R. Mehta was supported by the Directorate for Computer and Information Science and Engineering [Grant CCF-1750436].</p>]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Fair division of resources is a fundamental problem in many disciplines, including computer science, economics, and social choice theory. The objective is to distribute resources among agents in a fair (no agent is significantly unhappy with her allocation) and efficient (there is no other fair allocation that can achieve better total welfare) manner. Mentions of such problems date back to the Bible and ancient Greek mythology. Today, the issue of fair division arises in division of labor, inheritance, computing resources, divorce settlements, partnership dissolutions, splitting rent among tenants, splitting taxi fare among passengers, dividing household tasks, air traffic management, frequency allocation, and so on. In the internet age, the existence of several centralized platforms and more computational power has triggered substantial interest from the economics and computer science community to find computationally tractable protocols to allocate resources fairly; see Spliddit (<ref type="url">www.  spliddit.org</ref>) and Fair Outcomes (<ref type="url">www.fairoutcomes.com</ref>) for more details on fair division protocols used in real-life scenarios.</p><p>Theorem 1. For all &#949; &#8712; (0, 1=2], we can determine a partial allocation X and a set of unallocated goods P in polynomial time such that &#8226; X is (1 &#65533; &#949;)-EFX and &#8226; | P| &#8712; O((n=&#949;) 4=5 ).</p><p>We remark that reducing the number of unallocated goods could be quite challenging. Indeed, a corollary on the bounded-charity result in Chaudhury et al. <ref type="bibr">[20]</ref> already establishes that there exists a partial EFX allocation with at most two goods unallocated when there are three agents. However, removing the last two goods to obtain an EFX allocation for three agents turns out to be a highly nontrivial task, and the proof by Chaudhury et al. <ref type="bibr">[19]</ref> requires careful and cumbersome case analysis. Furthermore, in the appendix, we show that the technique in Chaudhury et al. <ref type="bibr">[19]</ref> does not extend to four agents with additive valuations for finding a (1 &#65533; &#949;)-EFX allocation.</p><p>In this paper, we develop a novel method that reduces the problem of determining good relaxations of EFX allocations to a combinatorial problem in graph theory. We call it the rainbow cycle number of an integer, defined as follows.</p><p>Definition 1. For any positive integer d, the rainbow cycle number or R(d) is the largest k such that there exists a directed k-partite graph G &#65533; (&#8746; i&#8712; <ref type="bibr">[k]</ref> V i , E) such that 1. |V i | &#8804; d for all i &#8712; [k]; 2. for any two distinct parts V i and V j in G, every vertex in V i has an incoming edge from a vertex in V j ; and 3. there exists no cycle in G that intersects each part at most once.</p><p>Let us deduce that R(1) &#65533; 1. It is clear that G can be a single vertex and satisfy all the conditions in Definition 1; thus, R(1) &#8805; 1. However, R(1) cannot be larger than one as otherwise, we have two parts V 1 and V 2 in a graph G, where there is exactly one vertex each in V 1 and V 2 . So, let V 1 &#65533; {a 1 } and V 2 &#65533; {a 2 }. By condition (2) in Definition 1, we must have an edge from a 1 to a 2 and an edge from a 2 to a 1 . This gives a two-cycle a 1 &#8594; a 2 &#8594; a 1 . However, this cycle contains exactly one vertex from each V 1 and V 2 , which contradicts condition (3) in Definition 1.</p><p>Similarly, using a more involved argument, we can also determine that R(2) &#65533; 2. However, it is not at all clear what values R(d) takes or if it is finite for all integers d. A key technical result of this paper is a polynomial (in d) upper bound on R(d).</p><p>Theorem 2. For all d &#8805; 1, we have R(d) &#8804; d 4 + d. Furthermore, let G be a k-partite digraph with k &gt; d 4 + d parts of cardinality at most d each such that for every vertex v and any part W not containing v, there is an edge from W to v. Then, there exists a cycle in G visiting each part at most once, and it can be found in time polynomial in k.</p><p>Observe that the definition of the rainbow cycle number (R(&#8226;)) is independent of the agents, goods, and valuation functions. In the second key result of this paper, we establish a direct relation between the rainbow cycle number and the existence of better EFX relaxations. Finding a good upper bound on the rainbow cycle number can get us weaker relaxations of EFX allocations (we can asymptotically improve the number of unallocated goods). Formally, we have Theorem 3. Theorem 3. Let &#950;(n=&#949;) be the largest integer d such that d &#8226; R(d) &#8804; n=&#949; for &#949; &#8712; (0, 1=2]. Then, there is a (1 &#65533; &#949;)-EFX allocation X and a set of unallocated goods P such that |P| &#8804; 4n=(&#949; &#8226; &#950;(2n=&#949;)).</p><p>Theorems 2 and 3 imply Theorem 1. We remark that, although we give a polynomial upper bound on R(d), we believe that there is further room for improvement. As an illustration, we briefly show that R(2) &#8804; 2, which is significantly better than our upper bound for d &#65533; 2 obtained from Theorem 2. We prove this by contradiction. Let us assume otherwise, and let V 1 , V 2 , and V 3 be any three parts of G. We first look into the edges of the induced bipartite graph G[V 1 &#8746; V 2 ]. Without loss of generality, let us assume that vertex b 1 in V 2 has an incoming edge from vertex a 1 in V 1 . By condition (2) in Definition 1, a 1 has an incoming edge from some vertex in V 2 . However, this vertex cannot be b 1 as this will violate condition (3) in Definition 1. This implies that there must be another vertex in V 2 , say b 2 that has an edge to a 1 . Again, by a similar argument, b 2 cannot have an incoming edge from a 1 and therefore, has an incoming edge from another vertex in V 1 , say that a 2 and a 2 have the incoming edge from b 1 and not b 2 (because there can be no other vertices in V 2 ). Thus, the induced bipartite graph G[V 1 &#8746; V 2 ] is a four cycle as shown in Figure <ref type="figure">1</ref>.</p><p>Note that the induced bipartite graph</p><p>. Thus, so far we have the following edges in <ref type="figure">2</ref>).</p><p>We now look at the edges between the parts V 1 and</p><p>, it must also be a four cycle, and hence, in</p><p>there is an edge either from a 1 to c 1 or from c 1 to a 1 . If there is an edge from a 1 to c 1 , then we have a three-cycle a 1 &#8594; c 1 &#8594; b 2 &#8594; a 1 , which visits each part of G at most once, and thus, this is a contradiction. Similarly, if there is an edge from c 1 to a 1 , then also we have a three-cycle a 1 &#8594; b 1 &#8594; c 1 &#8594; a 1 , which visits each part of G at most once, and thus, this is also a contradiction.</p><p>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>We suspect that R(d) &#8712; O(d). We believe that finding better upper bounds on R(d) is a natural combinatorial question, and better upper bounds to R(d) imply the existence of better relaxations of EFX allocations. Therefore, investigating better upper bounds on the rainbow cycle number is of interest in its own right, and we leave this as an interesting open problem.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3.">Finding (12&#171;)-EFX Allocations with High Nash Welfare</head><p>Let us recall that efficiency is also an important and desirable property of the allocations in fair division. The efficiency of an allocation is a measure of the overall welfare the allocation achieves. This is important as an envy-free allocation could be otherwise unsatisfactory; consider a simple instance with two agents 1 and 2 and two goods g 1 and g 2 . Let v 1 (g 1 ) &#65533; v 2 (g 2 ) &#65533; 1 and v 1 (g 2 ) &#65533; v 2 (g 1 ) &#65533; 0. Note that X 1 &#8592; {g 2 } and X 2 &#8592; {g 1 } are an EFX allocation as each bundle is a singleton, and following the removal of a single good results in an empty bundle, which is unenvied. However, there is clearly a better EFX allocation, where the individual and the total welfare are better, namely</p><p>Nash welfare of an allocation X defined as the geometric mean of the valuations of the agents, (</p><p>, is a popular measure of economic efficiency. 1 In fact, when agents have additive valuations, then the allocation with the highest Nash welfare is also EF1 (another popular fairness notion weaker than EFX). Unfortunately, maximizing Nash welfare is Approximable hard. However, there have been several approximation algorithms (Anari et al.</p><p>[7], Barman et al. <ref type="bibr">[10]</ref>, Cole and Gkatzelis <ref type="bibr">[22]</ref>) that give a constant factor approximation. The best approximation ratio is e 1=e &#8776; 1:445, given by Barman et al. <ref type="bibr">[10]</ref>.</p><p>Similar to the algorithm in Chaudhury et al. <ref type="bibr">[20]</ref>, we show that with minor modifications to our main algorithm, we can determine an allocation that satisfies the conditions in Theorem 1 and simultaneously achieves a 2e 1=e &#8776; 2:88 approximation of the Nash welfare (i.e., in polynomial time, we can find efficient (1 &#65533; &#949;)-EFX allocation with a sublinear number of unallocated goods).</p><p>Theorem 4. For all &#949; &#8712; (0, 1=2], we can determine a partial (1 &#65533; &#949;)-EFX allocation X and a set of unallocated goods P in polynomial time such that |P | &#8712; O((n=&#949;) 4=5 ) and NW(X) &#8805; (1=2:88) &#8226; NW(X * ), where X * is the allocation with the highest Nash welfare.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.4.">Further Related Work</head><p>Because the fair division literature is too vast, we restrict here to previous work that appears most relevant and refer the reader to recent surveys <ref type="bibr">(Amanatidis et al. [6]</ref>, Walsh <ref type="bibr">[42]</ref>).</p><p>Fair division has received significant attention since the seminal work of Steinhaus <ref type="bibr">[41]</ref> in the 1940s. Other than envy freeness, another fundamental fairness notion is that of proportionality. Recall that, in an envy-free allocation,</p><p>every agent values her own bundle at least as much as she values the bundle of any other agent. However, in a proportional allocation, each agent gets a bundle that is worth 1=n times her valuation on the entire set of goods. Because envy freeness and proportionality cannot always be guaranteed while dividing indivisible goods, various relaxations of the same have been studied. Alongside EFX, another popular relaxation of envy freeness is envy freeness up to one good (EF1), where no agent envies another agent following the removal of some good from the other agent's bundle. Although the existence of an EFX allocation is open, EF1 allocations are known to exist for any number of agents, even when agents have weakly monotone valuation functions (Lipton et al. <ref type="bibr">[34]</ref>). Although EF1 and EFX are fairness notions that relax envy freeness, the most popular notion of fairness that relaxes proportionality for indivisible items is maximin share (MMS), which was introduced by Budish <ref type="bibr">[16]</ref>. Although MMS allocations do not always exist (Kurokawa et al. <ref type="bibr">[32]</ref>), there has been extensive work to come up with approximate MMS allocations <ref type="bibr">(Amanatidis et al. [4]</ref>, <ref type="bibr">Barman and Krishnamurthy [9]</ref>, Bouveret and Lema&#238;tre <ref type="bibr">[14]</ref>, Budish <ref type="bibr">[16]</ref>, Garg and Taki <ref type="bibr">[29]</ref>, Garg et al. <ref type="bibr">[30]</ref>, Ghodsi et al. <ref type="bibr">[31]</ref>, Kurokawa et al. <ref type="bibr">[32]</ref>). Some works assume ordinal ranking over the goods as opposed to cardinal values (e.g., <ref type="bibr">Aziz et al. [8]</ref>, Brams et al. <ref type="bibr">[15]</ref>).</p><p>Alongside fairness, the efficiency of an allocation is also a desirable property. Two common measures of efficiency are that of Pareto optimality and Nash welfare. Caragiannis et al. <ref type="bibr">[18]</ref> showed that any allocation that has the maximum Nash welfare is guaranteed to be Pareto optimal (efficient) and EF1 (fair). Barman et al. <ref type="bibr">[10]</ref> give a pseudopolynomial algorithm to find an allocation that is both EF1 and Pareto optimal. Other works explore relaxations of EFX with high Nash welfare (Caragiannis et al. <ref type="bibr">[17]</ref>, Chaudhury et al. <ref type="bibr">[20]</ref>).</p><p>A one-page abstract of our work appeared in Chaudhury et al. <ref type="bibr">[21]</ref>.</p><p>The rest of the paper is organized as follows. In Section 2, we briefly highlight our main techniques used to prove our main results (Theorems 1-3). Then, in Section 3, we outline the basic concepts, notations, and techniques from existing literature on EFX allocations that will be useful to prove our main results. In Sections 4 and 5, we give the proofs of Theorem 3 and Theorem 2, respectively. In Section 6, we show how a minor modification of our main algorithm helps us achieve our main result (Theorem 1) with high Nash welfare (efficiency guarantees). Finally, in the appendix, we show why the technique from Chaudhury et al. <ref type="bibr">[19]</ref> does not extend to a setting with four agents with additive valuations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Our Techniques</head><p>In this section, we give a brief overview of our key ideas and techniques. We first sketch the key idea that relates the number of unallocated goods to the function R(d) (Theorem 3), and then, we briefly show that R(d) is finite.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">Relation Between the Number of Unallocated Goods and the Rainbow Cycle Number</head><p>A very crucial concept that is often used while studying relaxations of envy freeness in discrete fair division is the envy graph of an allocation. Given an allocation X &#65533; &#9001;X 1 , X 2 , : : : , X n &#9002;, the envy graph E X has vertices corresponding to the agents, and there is an edge from agent i to agent j in E X if agent i envies agent j (v i (X i ) &lt; v i (X j )). Without loss of generality, one assumes that the envy graph of an allocation is acyclic. If there is a cycle, then one can shift the bundles along the cycle, thereby giving every agent in the cycle a strictly better bundle, and the other agents retain their previous bundle. Such a procedure reduces the number of edges in the envy graph, and one can continue this until E X is cycle free.</p><p>Most of the algorithms that have been used to prove the existence of relaxations of EFX allocations (Chaudhury et al. <ref type="bibr">[19]</ref>, Chaudhury et al. <ref type="bibr">[20]</ref>, Plaut and Roughgarden <ref type="bibr">[39]</ref>) maintain a relaxed EFX allocation 2 X on the set of allocated goods, and as long as the envy graph E X and the set of unallocated goods satisfy some "properties," they determine another relaxed EFX allocation X &#8242; , in which &#966;(X &#8242; ) &#8805; &#966;(X) + &#948; for some &#948; &#8805; 1, where &#966; is an integral upper-bounded function. In that case, we say that the relaxed EFX allocation X &#8242; dominates the relaxed EFX allocation X. Because &#966; is integral and upper bounded, such a procedure will finally converge to a relaxed EFX allocation where the envy graph E X and the unallocated goods will not satisfy the said properties, and this will be the final allocation of the algorithms.</p><p>We now highlight another crucial concept used in these algorithms. The envy graph E X does not provide any information on an agent's valuations of the bundles formed by adding unallocated goods to the current bundles of the allocation. This information is crucial when we want to create another dominating relaxed EFX allocation by allocating some of the unallocated goods and unallocating some of the already allocated goods. The algorithms in Chaudhury et al. <ref type="bibr">[19]</ref> and Chaudhury et al. <ref type="bibr">[20]</ref> make use of this information through other concepts. For instance, Chaudhury et al. <ref type="bibr">[19]</ref> and Chaudhury et al. <ref type="bibr">[20]</ref> define champions 3 and champion graphs. Given an allocation</p><p>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>X and an unallocated good g, we say that an agent i is a champion for agent j w.r.t. g if there is a set S &#8838; X j &#8746; {g} such that v i (X i ) &lt; (1 &#65533; &#949;) &#8226; v i (S) and no agent (including i and j) envies S up to a factor of (1 &#65533; &#949;), following the removal of a single good (i.e., for all &#8467; &#8712; [n], we have 4 A champion graph w.r.t. an unallocated good g has vertices corresponding to the agents (similar to the envy graph), and there is an edge from agent i to agent j if agent i champions agent j w.r.t. g. Depending on the configuration of the envy graph and the champion graphs (one for each unallocated good), the current</p><p>However, when the number of agents is large, there are several different possible configurations of the champion graphs and the envy graph, and it is very hard and tedious to come up with better update rules. In this paper, we introduce the notion of a group champion graph, which is significantly more insightful and well structured than the champion graphs.</p><p>Given a (1 &#65533; &#949;)-EFX allocation X and a set of unallocated goods M &#8242; , we define the group champion graph. To this end, for each agent a &#8712; [n], we assign a unique source s(a) in E X such that a is reachable from s(a) in E X (if there are multiple sources from which a is reachable in E X , then pick one source arbitrarily). The group champion graph of M &#8242; is a |M &#8242; | -partite graph G &#65533; (&#8746; g&#8712;M &#8242; V g , E), in which each part V g contains a copy of the assigned sources of all the agents who find g "valuable." An agent a finds g valuable if v a ({g}) &gt; &#949; &#8226; v a (X a ). There is an edge from vertex s(a) in V g to s(a &#8242; ) in V h if and only if a champions s(a &#8242; ) w.r.t. g (see Figure <ref type="figure">3</ref> for an illustration). At a high level, the group champion graph encodes the most relevant information from all the champion graphs. We make this point more explicit by briefly explaining how group champion graphs help us prove Theorem 3.</p><p>We first observe that if there is an unallocated good g and an agent i such that the other agents do not envy (X i &#8746; {g}) \ g &#8242; up to a factor of (1 &#65533; &#949;) for all g &#8242; &#8712; X i &#8746; {g}, then we allocate g to i. Thus, we assume that for each unallocated good g and each agent i, there is an agent j that envies (X i &#8746; {g}) \ g &#8242; up to a factor of (1 &#65533; &#949;) for some g &#8242; &#8712; X i &#8746; {g}. In particular, this implies that every unallocated good is valuable to some agent because if there is a good g that is not valuable to any agent (i.e., v i ({g}</p><p>), then we can simply allocate g to a source s in E X as no agent will envy the bundle X s &#8746; {g} up to a factor of (1 &#65533; &#949;);</p><p>. Now, we classify the set of unallocated goods into two categories depending on how many agents find them valuable. We fix an integer d &lt; n and define "high-demand goods" and "low-demand goods." A high-demand good is valuable to more than d agents, and a low-demand good is valuable to at most d agents. We show in Section 4 that if the number of high-demand goods is more than 2n=(&#949; &#8226; d), then we can determine a dominating (1 &#65533; &#949;)-EFX allocation from the existing (1 &#65533; &#949;)-EFX allocation. Thus, we may assume that the number of high-demand goods is at most 2n=(&#949;d). We now bound the number of low-demand goods. Let M &#8242;&#8242; be the set of low-demand goods. We construct the group champion graph G &#65533; (&#8746; g&#8712;M &#8242;&#8242; V g , E) of M &#8242;&#8242; , in which part V g contains the assigned sources of the agents who find g valuable. Note that for all g &#8712; M &#8242;&#8242; , g is not valuable to more than d agents. Thus, |V g | &#8804; d for all g &#8712; M &#8242;&#8242; . Now, consider any two parts V g and V h in G. By our assumption, for all a &#8712; V h , there is an agent who envies (X a &#8746; {g}) \ g &#8242; up to a factor of (1 &#65533; &#949;) for some good g &#8242; &#8712; X a &#8746; {g}, implying that for each a in V h , there are agents who champion a w.r.t. g. We prove in Section 4 that because a is a source in E X , the agents who champion a w.r.t. g must find g valuable. Therefore, for all a &#8712; V h , there is a source s(a &#8242; ) &#8712; V g , Notes. We have an instance with six agents &#8746; i&#8712;[4] a i and &#8746; i&#8712;[2] b i and two unallocated goods, namely g a and g b . The agents &#8746; i&#8712;[4] a i find g a valuable, and the agents &#8746; i&#8712;[2] b i find g b valuable. The envy graph E X of the instance is shown in the left panel. E X shows that s(a 2 ) &#65533; a 1 , s(a 4 ) &#65533; a 3 , and s(b 2 ) &#65533; b 1 . Also, we have that agent a 2 champions all the agents with respect to (w.r.t.) g a and that b 2 champions all the agents w.r.t. g b . The group champion graph (right panel) has two parts: V ga corresponding to g a and V g b corresponding to g b . V ga contains the sources of all the agents who find g a valuable, namely a 1 and a 3 . Similarly, V g b contains b 1 . There is an edge from a 1 to b 1 as a 2 (which is reachable from a 1 in E X ) champions b 1 w.r.t. g a . Similarly, there is an edge from b 1 to a 1 and</p><p>where a &#8242; champions a w.r.t. g. Thus, every vertex in V h has an incoming edge from a vertex in V g . In Section 4, we further show that whenever G has a cycle that visits each part at most once, then we can determine a (1 &#65533; &#949;)-EFX allocation that dominates X. Therefore, we can assume that G has no cycle that visits each part at most once. Because G is an |M &#8242;&#8242; | -partite graph that satisfies the conditions in Definition 1, we have that the number of low-demand goods is</p><p>. By choosing the appropriate value for d, we arrive at the statement of Theorem 3.</p><p>We now elaborate that R(d) is indeed upper bounded, which then establishes the existence of (1 &#65533; &#949;)-EFX allocations with a sublinear number of unallocated goods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">Upper Bounds on the Rainbow Cycle Number</head><p>We briefly show that for any</p><p>have the same configuration if and only if for each directed edge from vertex (i, a) to (j, b) (and equivalently, from</p><p>there is an edge from (i &#8242; , a) to (j &#8242; , b) (and equivalently, from</p><p>and vice versa. We first show that if there are 4d parts in G, say without loss of generality (w.l.o.g.) V 1 , V 2 , : : : , V 4d , such that the induced directed bipartite graph G[V i &#8746; V j ] has the same configuration for all 1 &#8804; i &lt; j &#8804; 4d, then there exists a cycle in G that visits each part at most once.</p><p>Consider the parts V 1 and V 2 and the induced directed bipartite graph</p><p>Because every vertex in one part has an incoming edge from a vertex in the other part,</p><p>Clearly, C visits each part of G at most once. Therefore, there cannot be 4d parts in G such that the induced directed bipartite graph G[V i &#8746; V j ] has the same configuration for all 1 &#8804; i &lt; j &#8804; 4d.</p><p>We now rephrase the question about an upper bound on R(d). Let D be the set of all configurations of a directed bipartite graph, where the number of vertices in each part is at most d and every vertex has an incoming edge. We treat D as a set of colors and note that |D | &#8712; 2 O(d 2 ) . Now, consider a complete graph K n with vertex set [n], where the vertex &#8467; &#8712; [n] corresponds to part V n in G. For all 1 &#8804; i &lt; j &#8804; n, we color/label the edge (i, j) in K n with a color from D. The color on the edge (i, j) corresponds to the configuration of the directed bipartite graph</p><p>Clearly, R(d) must be strictly smaller than the largest n such that every coloring of the edges of K n with colors from D contains a monochromatic clique of size 4d. This value of n corresponds to the (multicolor) Ramsey number (Diestel <ref type="bibr">[26]</ref>) R(n 1 , n 2 , : : :</p><p>This number is finite, and the current best-known upper bounds on it are exponential in |D | and d (Conlon and Ferber <ref type="bibr">[23]</ref>, Diestel <ref type="bibr">[26]</ref>, Erd&#337;s and Szekeres <ref type="bibr">[27]</ref>, Lefmann <ref type="bibr">[33]</ref>). Therefore, R(d) is also bounded. However, this upper bound is very large and only provides a weak version of Theorem 1. This necessitates the study of finding "good" upper bounds on R(d): in particular, upper bounds that are polynomial in d. We address this in Section 5 by showing that R(d) &#8712; O(d 4 ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Preliminaries and Tools</head><p>A fair division instance is given by the three tuple &#9001;[n], M, V&#9002;, where [n] is the set of agents, M is the set of indivisible goods, and V &#65533; {v 1 (), v 2 (), : : : , v n ()}, where each v i : 2 M &#8594; R &#8805;0 denotes the valuation function of agent i. We assume that agents have additive valuations (i.e., for all i &#8712; [n], we have v i (S) &#65533; P g&#8712;S v i ({g}) for all S &#8838; M). For the ease of notation, we write v i (g) instead of v i ({g}) and similarly, v i (S &#8746; g) for v i (S &#8746; {g}). We assume that v i (g) can be accessed in constant time for any i and g. For a fixed 0 &lt; &#603; &lt; 1 and an allocation X &#65533; (X 1 , : : : , X n ), we say that an agent i</p><p>&#8226; strongly envies a set S of goods if it heavily envies a proper subset of S; and</p><p>&#8226; is a most envious agent for a set S of goods if there exists a subset Z &#8838; S such that i heavily envies Z and no agent strongly envies Z. The pair (i, Z) is called a most-envious-agent-witness pair for S. We emphasize that the most envious agent of the set S is not necessarily the agent with the highest envy for S, but it is the agent who envies a subset of S that no other agent strongly envies.</p><p>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>An agent envies (heavily envies, strongly envies) an agent j if it has these feelings for the set X j . Clearly, strong envy implies heavy envy implies envy. An allocation X &#8242; &#949;-strongly Pareto dominates an allocation X or equivalently,</p><p>and for some agent j &#8712; [n], we have</p><p>. At a high level, our algorithm is similar to previous algorithms used to prove the existence of relaxations of EFX allocations (Chaudhury et al. <ref type="bibr">[19]</ref>, Chaudhury et al. <ref type="bibr">[20]</ref>, Plaut and Roughgarden <ref type="bibr">[39]</ref>). Our algorithm always maintains a (1 &#65533; &#949;)-EFX allocation on the set of allocated goods, and as long as the current allocation and the set of unallocated goods P satisfy "some properties," it determines another (1 &#65533; &#949;)-EFX allocation that &#949;-strongly Pareto dominates the previous (1 &#65533; &#949;)-EFX allocation. Because the valuation of an agent for the entire good set is bounded, this procedure will eventually converge to a (1 &#65533; &#949;)-EFX allocation, where the current allocation and the set of unallocated goods do not satisfy these properties. The bulk of the effort goes into determining the right properties under which one can come up with update rules that transform one (1 &#65533; &#949;)-EFX allocation into a "better" (1 &#65533; &#949;)-EFX allocation. We briefly recollect the update rules used in Chaudhury et al. <ref type="bibr">[20]</ref> and Lipton et al. <ref type="bibr">[34]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Envy Cycle Elimination (Lipton et al. [34])</head><p>The envy graph E X of a (1 &#65533; &#949;)-EFX allocation X has the agents as its vertex set, and there is an edge from vertex i to vertex j in E X if agent i envies agent j (i.e., v i (X i ) &lt; v i (X j )). The paper by Lipton et al. <ref type="bibr">[34]</ref> shows that whenever E X has a cycle, then one can determine another (1 &#65533; &#949;)-EFX allocation X &#8242; in which no agent has a worse bundle and E X &#8242; is acyclic. Formally, we have Lemma 1.</p><p>Lemma 1 (Lipton et al. <ref type="bibr">[34]</ref>). Consider a (1 &#65533; &#949;)-EFX allocation X. If there is a cycle in E X , then in polynomial time, we can determine a</p><p>, and E X &#8242; is acyclic. 5</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Update Rules in Chaudhury et al. [20]</head><p>We modify the update rules in Chaudhury et al. <ref type="bibr">[20]</ref> slightly, as we are dealing with (1 &#65533; &#949;)-EFX allocations and not EFX allocations. These rules are more involved and make essential use of the concept of a most envious agent.</p><p>Lemma 2. Consider an allocation X and a set S &#8838; M. If there is an agent who heavily envies the bundle S, then we can determine a most-envious-agent-witness pair (t, Z) for S in O(n &#8226; | S| 2 ) time. If there is an agent who strongly envies S, then t strongly envies S.</p><p>Proof. Let i be an agent who heavily envies S. We construct a sequence (t &#8467; , Z &#8467; ) as follows; initially, we set t 1 to i and Z 1 to S. Assume that (t &#8467;&#65533;1 , Z &#8467;&#65533;1 ) is defined. If no agent (including t &#8467;&#65533;1 ) strongly envies Z &#8467;&#65533;1 , then we stop. Otherwise, let i &#8242; be an agent such that</p><p>. We set t &#8467; to i &#8242; and Z &#8467; to Z &#8467;&#65533;1 \ {g} and continue. We will eventually stop as with every next pair in the sequence, the size of the set Z &#8467; decreases by one. Say we stop at &#8467; * . Then, we have an agent t &#8467; * that heavily envies the subset Z &#8467; * of S. Moreover, no agent strongly envies Z &#8467; * . Thus, (t &#8467; * , Z &#8467; * ) is a most-envious-agent-witness pair.</p><p>If there is an agent who strongly envies S, then &#8467; &#8805; 1, and hence, t &#8467; * heavily envies a proper subset of S. Thus, t &#8467; * strongly envies S.</p><p>It is clear that we can determine the pair in O(n &#8226; |S| 2 ) time; the maximum length of the sequence constructed is | S| + 1 as the size of the set Z &#8467; &#65533; | S| + 1 &#65533; &#8467;. We need time O(n |S|) to determine v i (S) for all i and can update any such value in time O(1) after the removal of an element. For each value of &#8467;, it takes O(n</p><p>For an allocation X and a set S of goods that is heavily envied by some agent, let (t, Z) be the pair returned by the procedure in Lemma 2. Now, for notational convenience only, we introduce a slightly different definition of champions. We call t the champion of S and Z the corresponding witness. We now state the update rules.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Update Rule U 1 (Chaudhury et al. [20])</head><p>The first rule is the simplest. It is applicable whenever we can allocate an unallocated good to an unenvied agent (a source in E X ) without creating any strong envy. In this case, we simply allocate this good to the corresponding source. This creates another (1 &#65533; &#949;)-EFX allocation where no agent gets a worse bundle and the number of unallocated goods decreases.</p><p>Lemma 3 (U 1 (Chaudhury et al. <ref type="bibr">[20]</ref>)). Consider a (1 &#65533; &#949;)-EFX allocation X. If there is a source s in E X and an unallocated good g such that no agent strongly envies X s &#8746; g, then X &#8242; &#65533; &#9001;X 1 , X 2 , : : : , X s &#8746; g, : : :</p><p>Note that there can be at most m consecutive applications of this rule as the number of unallocated goods decreases by one every time we apply this update rule. The remaining rules are applicable whenever there are either "valuable" goods unallocated or if "too many" goods are unallocated. We state the second update rule. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4.">Update Rule U 2 (Chaudhury et al. [20])</head><p>This update rule is applicable if there is an agent i &#8712; [n] who heavily envies the set of unallocated goods P. In this case, let t be the champion of P and Z be the corresponding witness. In X &#8242; , one assigns Z to t and changes the pool to X t &#8746; (P \ Z). The resulting allocation X &#8242; is EFX and &#949;-strongly Pareto dominates X. Lemma 4. (U 2 (Chaudhury et al. <ref type="bibr">[20]</ref>)). Consider a (1 &#65533; &#949;)-EFX allocation X, and let P be the set of unallocated goods. If there is an agent i &#8712; [n] that heavily envies P, then in polynomial time, we can determine a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X.</p><p>The third update rule is a refinement of envy-cycle elimination.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.5.">Update Rule U 3 (Chaudhury et al. [20])</head><p>This rule is applicable whenever the number of unallocated goods is at least the number of agents. Chaudhury et al. <ref type="bibr">[20]</ref>) shows that when the number of unallocated goods is larger than the number of agents and when rule U 1 is no longer applicable, then in polynomial time, we can find a set of sources s 1 , s 2 , : : : , s &#8467; in E X ; a set of unallocated goods g 1 , g 2 , : : : , g &#8467; ; and a set of agents t 1 , t 2 , : : : , t &#8467; such that each t i is reachable from s i in E X , the paths from s i to t i for all i &#8712; [&#8467;] are disjoint, and t i is the champion of X s i+1 &#8746; g i+1 (indices are modulo &#8467;). Then, one essentially proceeds as in cycle elimination. Let Z i+1 &#8838; X s i+1 &#8746; g i+1 be the witness corresponding to t i . For each I, one assigns Z i+1 to t i , and to each agent on the path from s i to t i except for t i , one assigns the bundle owned by the successor on the path. The resulting allocation X &#8242; is EFX and &#949;-strongly Pareto dominates X.</p><p>Lemma 5 (U 3 (Chaudhury et al. <ref type="bibr">[20]</ref>)). Consider a (1 &#65533; &#949;)-EFX allocation X. If there exists a set of sources s 1 , s 2 , : : : s &#8467; in E X ; a set of unallocated goods g 1 , g 2 , : : : , g &#8467; ; and a set of agents t 1 , t 2 , : : : , t &#8467; such that each t i is reachable from s i in E X , the paths from s i to t i for all i &#8712; [&#8467;] are disjoint, and t i is the champion of X s i+1 &#8746; g i+1 (indices are modulo &#8467;), then in polynomial time, we can determine a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Relating the Number of Unallocated Goods to the Rainbow Cycle Number</head><p>In this section, we give the proof of Theorem 3 (i.e., we show how any upper bound on R(d) allows us to obtain a (1 &#65533; &#949;)-EFX with sublinear many goods unallocated). More precisely, we show that given a (1 &#65533; &#949;)-EFX allocation X, if E X is acyclic, the update rules U 1 and U 2 are not applicable, and the number of unallocated goods is larger than 4n=(&#949; &#8226; &#950;(2n=&#949;)), then rule U 3 is applicable. Therefore, for most of this section, we proceed under the assumption that (*) E X is acyclic and the update rules U 1 (Lemma 3) and U 2 (Lemma 4) are not applicable:</p><p>We start with some definitions. We first make an observation about the agents who could potentially strongly envy X s &#8746; g, where s is a source in E X and g is an unallocated good.</p><p>Observation 1. Consider an unallocated good g and any source s in E X . If agent i heavily envies X s &#8746; g, then g is valuable to agent i.</p><p>Note that under assumption (*) for each unallocated good g and each source s in the envy graph, there is an agent who strongly envies X s &#8746; g (because the conditions of the update rule U 1 in Lemma 3 are not satisfied). Thus, each unallocated good is valuable to some agent. Now, we make a classification of the unallocated goods based on the number of agents who find them valuable. To be precise, given an allocation X, we classify the unallocated goods into two categories: high-demand goods H X and low-demand goods L X . A good g belongs to H X if it is valuable to at least d + 1 agents and to L X if it is valuable to at most d agents. We will choose the exact value of d later (right now, just think of it as any integer less than n). Observe that the set of unallocated goods P &#65533; H X &#8746; L X . To prove our claim, it suffices to show that when |H</p><p>the rule U 3 is applicable. To this end, we first make a simple observation about | H X |. Observation 2. Under assumption (*), we have | H X | &lt; 2n=(&#949; &#8226; d). Proof. For each good g &#8712; H X , let &#951; g be the number of agents who find g valuable. By definition of H X , we have that &#951; g &gt; d, and hence, P g &#951; g &gt; |H X |d. We next upper bound P g &#951; g by n &#8226; (2=&#949;) by showing that at most 2=&#949; unallocated goods are valuable to any agent. Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>Consider any agent i. By assumption (*) rule, U 2 is not applicable, and hence, the value of the unallocated goods to i is at most 1=(1 &#65533; &#949;)v i (X i ). This is at most 2v i (X i ) because &#949; &#8804; 1=2. Any valuable good has a value at least &#949;v i (X i ) for i. Thus, the number of unallocated goods valuable to i is at most 2=&#949;. w</p><p>We next bound |L X |. In particular, we show that |L X | &#8804; R(d). To this end, we introduce the notion of group champion graph G.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Group Champion Graph</head><p>Recall that we are operating under assumption (*), and hence, E X is acyclic. Given E X and the sources in E X , we fix an arbitrary total order &#8911; among the sources. To each agent a, we assign a source s(a) such that a is reachable from s(a) in the envy graph E X (note that a can coincide with s(a)). If a is reachable from multiple sources, we pick s(a) to be the source with the highest rank in the order &#8911; . However, once picked, s(a) is fixed and remains unique throughout our algorithm and its analysis. Let k :&#65533; |L X | . For each g &#8712; L X , let Q g be the set of all agents who find g valuable. By definition of L X , we have |Q g | &#8804; d for all g &#8712; L X . We now define a k-partite graph G &#65533; (&#8746; g&#8712;L X V g , E), in which the part V g corresponding to g consists of copies of the sources assigned to the agents in Q g : formally, V g &#65533; {(g, s(a)) | a &#8712; Q g }. For any goods g and h and agents a &#8712; Q g and b &#8712; Q h , there is an edge from (g, s(a)) in V g to (h, s(b)) in V h if and only if a is the champion of X s(b) &#8746; g. We now make a claim about the set of edges between V g and V h in G for any g, h &#8712; L X . Lemma 6. Under assumption (*), consider any g, h &#8712; L X . Then, each vertex in V h has an incoming edge from a vertex in V g .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proof. Consider any vertex (h, s(b))</head><p>&#8712; V h . By assumption (*), there is an agent who strongly envies the bundle X s(b) &#8746; g. Otherwise, rule U 1 would be applicable. By Observation 1, all agents who strongly envy X s(b) &#8746; g consider g valuable and hence, belong to Q g . Let a be the champion of X s(b) &#8746; g. By Lemma 2, a strongly envies X s(b) &#8746; g and hence, belongs to Q g . Thus, there is an edge from (g, s(a)) in V g to (h, s(b)) in V h (by the construction of G). w Now, we claim that the existence of a cycle that visits each part of G at most once would imply the existence of a (1 &#65533; &#949;)-EFX allocation that &#949;-strongly Pareto dominates the existing (1 &#65533; &#949;)-EFX allocation.</p><p>Lemma 7. Given a cycle C in G that contains at most one vertex from each V g , for all g &#8712; L X , we can determine a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X in polynomial time.</p><p>Proof. Let C &#65533; (g i+1 , s i ) &#8594; (g i+2 , s i+1 ) &#8594; &#8943; &#8594; (g j+1 , s j ) &#8594; (g i+1 , s i ) be a cycle in G that visits each part at most once. It will become clear why we index the g's starting at i + 1. Consider the sequence s i , s i+1 , : : : , s j . If all the sources in this sequence are not distinct, there exists a contiguous subsequence s i &#8242; , s i &#8242; +1 , : : : , s j &#8242; where all the sources are distinct and s j &#8242; +1 &#65533; s i &#8242; with i &#8804; i &#8242; &lt; j &#8242; &#8804; j (index j + 1 is to be interpreted as i).</p><p>We now work with the sequence s i &#8242; , s i &#8242; +1 , : : : , s j &#8242; where all the sources are distinct and s j &#8242; +1 &#65533; s i &#8242; . For all &#8467; &#8712; [i &#8242; + 1, j &#8242; + 1], the existence of the edge (g &#8467; , s &#8467;&#65533;1 ) &#8594; (g &#8467;+1 , s &#8467; ) implies the existence of an agent t &#8467;&#65533;1 such that t &#8467;&#65533;1 is the champion of X s &#8467; &#8746; g &#8467; and s(t &#8467;&#65533;1 ) &#65533; s &#8467;&#65533;1 (i.e., t &#8467;&#65533;1 is reachable from s &#8467;&#65533;1 in E X ). Furthermore, note that the paths from s &#8467;&#65533;1 to t &#8467;&#65533;1 for all &#8467; &#8712; [i &#8242; + 1, j &#8242; + 1] are disjoint. Assume otherwise, and let there be an intersection between paths from s a to t a and from s b to t b and w.l.o.g. s a &#8911; s b . Note that because the paths intersect, both t a and t b are reachable from s b , and s a &#8911; s b , we have s(t a ) &#8800; s a , which is a contradiction. Because the sources s i &#8242; , s i &#8242; +1 , : : : , s j &#8242; are distinct, the agents a i &#8242; , a i &#8242; +1 , : : : , a j &#8242; are also distinct (as each agent has a unique source assigned). Therefore, we have distinct sources s i &#8242; , : : : , s j &#8242; in E X ; distinct goods g j &#8242; +1 , g i &#8242; +1 , : : : , g j &#8242; ; and distinct agents t i &#8242; , : : : t j &#8242; that satisfy the conditions under which the update rule U 3 (Lemma 5) is applicable. By applying U 3 , we can get a</p><p>We clarify a boundary case of this analysis. Note that in principle, the length of the contiguous subsequence could be also one (i.e., i &#8242; &#65533; j &#8242; ). In this case, it means that there is an agent t i &#8242; , reachable from s i &#8242; in E X , who is the champion of X s i &#8242; &#8746; g i &#8242; +1 (i.e., the most envious agent of X s i &#8242; &#8746; g i &#8242; +1 is reachable from s i , and thus, we apply rule U 3 and get a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X). w With Lemma 7, we are now ready to give an upper bound on | L X |. Observe that |L X | equals the number of parts in G. Now, the question is how many parts can G have such that it does not admit a cycle that visits each part at most once. This is where we upper bound |L X | with the rainbow cycle number.</p><p>where k is the number of parts in G. Note that each part of G corresponds to the sources assigned to the agents who find a particular good in L X valuable (Q g for some g &#8712; L X ). By definition of L X , there are at most d agents who find a good in L X valuable. Thus, each part has at most d vertices. Again, by Lemma 6, between any two parts V g and V h of G, each vertex in V h has an incoming edge from a vertex in V g . Therefore, by Definition 1, we have that if k &gt; R(d), then there exists a cycle C in G that visits each part at most once. Once we have C, by Lemma 7, we can determine a</p><p>, Lemma 8 only gives the existence of a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X. However, to determine X &#8242; in polynomial time, one needs to find a cycle C in G that visits each part at most once when |L X | &gt; R(d) in polynomial time. Let us remark that this is a nontrivial problem in general, reminiscent of the well-known K-PATH and K-CYCLE problems, which are nondeterministic polynomial-time complete (Cygan et al. <ref type="bibr">[24]</ref>). Here, the input is a (di-)graph G and an integer k, and the objective is to determine if there is a path (cycle) on at least k-distinct vertices of the graph. These problems can be solved in 2 O(k) &#8226; poly(n) time using techniques based on color coding, hash functions, and splitters (Alon et al. [2], Cygan et al. <ref type="bibr">[24]</ref>, Naor et al. <ref type="bibr">[38]</ref>). In particular, we can reduce K-PATH to the following problem in polynomial time. Find a k-path in a colorful graph on n vertices, whose vertices have been colored with O(poly(k) &#8226; log n) colors, such that every vertex of the k-path has a distinct color. However, for our purposes, the construction of the cycle C in G is a part of the proof of Theorem 6 (described in Section 5); we show that in polynomial time, one can find a cycle in a (d 4 + d)-partite digraph, in which each part has at most d vertices and for any two parts V and V &#8242; in the digraph, every vertex in V &#8242; has an incoming edge from some vertex in V and vice versa. This implies that if |L X | &gt; d 4 + d, then in polynomial time, we can determine a cycle C in G that visits each part at most once and then determine a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X by applying U 3 . This also implies that R(d) &#8804; d 4 + d. Therefore, we have Lemma 9.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Putting it Together</head><p>We give the existence proof and indicate the appropriate changes required for the polynomial-time algorithm. We start with an empty allocation, which is trivially a (1 &#65533; &#949;)-EFX. Then, the algorithm iteratively maintains a (1 &#65533; &#949;)-EFX allocation X and a pool of unallocated goods. In each iteration, the algorithm first makes E X acyclic in polynomial time by Lemma 1. Thereafter, the algorithm checks whether any one of the update rules U 1 and U 2 is applicable. If U 1 is applicable, then it determines a (1 &#65533; &#949;)-EFX allocation X &#8242; , where v i (X &#8242; i ) &#8805; v i (X i ) for all i &#8712; [n] and the number of unallocated goods reduces. If U 2 is applicable, then it determines a (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X. If neither U 1 nor U 2 is applicable, then it determines the sets H X and L X . By Lemma 2, we have</p><p>then it returns the allocation X. Otherwise, it determines a cycle that visits each part of G at most once and then determines (1 &#65533; &#949;)-EFX allocation X &#8242; &gt; PD(&#949;) X by applying update rule U 3 , as in Lemma 8. If |L X | &gt; d 4 + d, the cycle can be determined in polynomial time. Therefore, when the algorithm terminates, we have that</p><p>We now state the explicit value of d first for the existence proof. We choose d as the largest integer such that</p><p>Therefore, the number of unallocated goods is at most 4n=(&#949;</p><p>For the algorithmic result, we choose d as the smallest integer such that 2n=(&#949; &#8226; d) &#8804; 2d 4 . Then, d &#65533; &#8968;(n=&#949;) 1=5 &#8969;, and the number of unallocated goods is at most 4&#8968;(n=&#949;</p><p>It only remains to show that the algorithm will terminate. We prove a polynomial bound on the number of iterations. The bound applies to the existence and the algorithmic version. To this end, note that in each iteration, after removing cycles from E X , our algorithm determines a new (1 &#65533; &#949;)-EFX allocation X &#8242; through one of the following procedures:</p><p>&#8226; applying U 1 ,</p><p>&#8226; applying U 2 , or &#8226; determining a cycle C that visits each part in G at most once and then applying U 3 . Note that the initial envy-cycle elimination and subsequent application of all of the procedures ensure that v i (X &#8242; i ) &#8805; v i (X i ) for all i &#8712; [n] (Lemmas 1 and 3-5). Thus, throughout the algorithm, the valuation of an agent never decreases. Note that there cannot be more than m consecutive applications of U 1 , as the number of unallocated goods decreases with each application of U 1 . Every time we apply U 2 or U 3 , we ensure that X &#8242; &gt; PD(&#949;) X, implying that the valuation of some agent improves by a factor of at least (1 + &#949;). Because each agent's valuation is bounded by W &#65533; max i&#8712; <ref type="bibr">[n]</ref> v i (M) and the valuation of an agent never decreases throughout the algorithm, we can have at most poly(n, m, log W, 1=&#949;) many iterations that involve applications of U 2 and U 3 . Therefore, the total number of iterations of our algorithm is m &#8226; (iterations involving application of U 2 or U 3 ), which is also poly(n, m, log W, 1=&#949;).</p><p>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>Notice that in the algorithmic case, each of the iterations can also be implemented in polynomial time; U 1 and U 2 can be implemented in polynomial time (Lemmas 3 and 4). When |L X | &#8805; 2d 4 &#8805; d 4 + d, then in polynomial time, we can determine the cycle C and apply U 3 (Lemma 9). We can now state the main result of this section.</p><p>Theorem 5. There exists a (1 &#65533; &#949;)-EFX allocation X and a set of unallocated goods P such that | P| &#8804; 4n=(&#949; &#8226; &#950;(2n=&#949;)). In polynomial time, we can find a (1 &#65533; &#949;)-EFX allocation and a set P of unallocated goods such that |P | &#8712; O((n=&#949;) 4=5 ).</p><p>Note that any upper bound on the rainbow cycle number will imply an upper bound on the number of unallocated goods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Bounds on the Rainbow Cycle Number</head><p>In this section, we give the proof of Theorem 2. We briefly recall the setup. There is a k-partite digraph G &#65533; (&#8746; i&#8712;[k] V i , E G ) such that each part has at most d vertices. For every pair of distinct parts V i and V j , every vertex in V j has an incoming edge from some vertex in V i . There is no cycle in G that visits each part at most once. Our goal is to establish an upper bound on k.</p><p>We now introduce some helpful notations and concepts. For each i &#8712; [k], we represent the vertices in the part V i as (i, vertex id) (i.e., V i &#65533; {(i, 1), (i, 2), : : : We prove Theorem 2 by contradiction. To be precise, we show that if k &gt; d 4 + d, then there exists a cycle in G that visits every part at most once. Moreover, this cycle can be found in time polynomial in k.</p><p>We construct the cycle in two steps. We first show the existence of a part V l such that there is a directed cycle that visits only the parts V l , V 1 , V 2 , &#8230; , V d and moreover, each of the parts V 1 , V 2 , &#8230; , V d at most once. In the second step, we replace the vertices in V l in this cycle by vertices in distinct parts.</p><p>For each ordered pair (i, j)</p><p>we define a d 2 -dimensional vector u i, j, &#8467; as follows; for all x &#8712; [d] and y &#8712; [d], we set u i, j, &#8467; [&#963; d (x, y)] &#65533; 1 if and only if there exists a path (i, x) &#8594; (&#8467;, z) &#8594; (j, y) in G for some (&#8467;, z) &#8712; V &#8467; (i.e., if there exists a path from vertex (i, x) in V i to vertex (j, y) in V j through some vertex in V &#8467; ). Otherwise, we set</p><p>we construct the sets B i, j and L i, j as follows. For each (i, j) taken in the increasing order of &#963; d (i, j), define L i, j &#65533; L and B i, j as a representative vector set of {u i, j, &#8467; |&#8467; &#8712; L i, j } of size at most d 2 . A set B i, j of this size exists because our vectors have dimension d 2 . Then, we set L &#65533; L \ {&#8467; |u i, j, &#8467; &#8712; B i, j }. At most, d 2 elements are removed from L in each iteration.</p><p>For clarity, we write L f to denote the set L at the end of the construction. Observe that |L f | &#8805; 1. This holds because we start with a set of size larger than d 4 and remove at most d 2 elements in each of the d 2 iterations.</p><p>Proof. Let us assume without loss of generality that &#963; d (i, j) &lt; &#963; d (i &#8242; , j &#8242; ). Consider any &#8467; such that u i, j, &#8467; &#8712; B i, j . Then, &#8467; is removed from L at the end of the iteration for the pair (i, j) and hence, does not belong to L at the beginning of the iteration for the pair (i &#8242; , j &#8242; ). Consequently,</p><p>At the end of the construction, we arbitrarily pick a l &#8712; L f (this is possible as L f &#8800; &#8709;). Now, we make a small observation about the vector u i, j, l for all i, j &#8712; [d].</p><p>Observation 5. For all i, j &#8712; [d], if u i, j, l [q] &#65533; 1 for some q &#8712; [d 2 ], then there exists a vector u i, j, l &#8242; &#8712; B i, j such that u i, j, l &#8242; [q] &#65533; 1.</p><p>Proof. Observe that L f &#8838; L i, j . Therefore, l &#8712; L i, j . By definition, B i, j is a representative vector set of {u i, j, &#8467; | &#8467; &#8712; L i, j }. Therefore, by the definition of representative set, there exists a vector u i, j, &#8467; &#8242; &#8712; B i, j such that u i, j, &#8467; &#8242; [q] &#65533; 1. w</p><p>We are now ready for the construction of a cycle that visits each part at most once. We first show that there exists a cycle C in G that visits only the parts V l , V 1 , &#8230; , V d and each of the parts V 1 , &#8230; , V d at most once (i.e., the only part it may visit more than once is V l ). See Figure <ref type="figure">4</ref> for an illustration.</p><p>Let ( l, w d ) be an arbitrary vertex in V l . We construct a path</p><p>by starting at ( l, w d ) and tracing backward. We start in ( l, w d ). Assume that we already traced back to ( l, w i ) with i &#65533; d initially. By the construction of G, there must be an edge from some vertex (i, v i ) in V i to ( l, w i ) in V l , and there must be an edge from some vertex ( l, w i&#65533;1 ) in V l to (i, v i ) in V i . Thus, there is the path ( l, w i&#65533;1 ) &#8594; (i, v i ) &#8594; ( l, w i ) in G. We keep continuing this procedure until we reach ( l, w 0 ).</p><p>Because the part V l can have at most d vertices, by the pigeonhole principle, there must be i and j with 0 &#8804; i &lt; j &#8804; d such that w i &#65533; w j . Let C be the subpath from ( l, w i ) to ( l, w j ): that is,</p><p>Observe that C visits all the parts of G except V l at most once. We now show that by using "bypass" parts, we can make the cycle simple. For clarity, we rewrite C as</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">Making the Cycle Simple</head><p>For all q &#8712; [i + 1, j], consider the subpath (q, v q ) &#8594; ( l, w q ) &#8594; (q + 1, v q+1 ) of C (index j + 1 is to be interpreted as i + 1). The existence of such a subpath in G implies that u q, q+1, l [&#963; d (v q , v q+1 )] &#65533; 1. By Observation 5, we know that there is a vector u q, q+1, &#8467; q &#8712; B q, q+1 such that u q, q+1, &#8467; q [&#963; d (v q , v q+1 )] &#65533; 1. This Notes. The cycle in the figure visits the parts V 1 , V 2 , and V 3 exactly once and the part Vl three times. It is given by ( l, w</p><p>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p><p>implies that there exists a part V &#8467; q and a vertex (&#8467; , y q ) in part V &#8467; q such that there is a subpath (q, v q ) &#8594; (&#8467; q , y q ) &#8594; (q + 1, v q+1 ):</p><p>By Observation 4, we have that &#8467; q &#8800; &#8467; q &#8242; for all q &#8800; q &#8242; . Therefore, we have a simple cycle C &#8242; in G that visits each part in G at most once; namely,</p><p>See Figure <ref type="figure">5</ref> for an illustration of this entire procedure.</p><p>Therefore, if k &gt; d 4 + d, then there exists a cycle in G that visits each part at most once. Moreover, this cycle can be found in time polynomial in k. With this, we arrive at the main result of this section. Notes. We take the instance in Figure <ref type="figure">4</ref>, where there exists a cycle C that visits every part other than Vl at most once. The edges of the cycle C are light in color. The figure shows how to obtain a cycle C &#8242; that visits every part at most once from C. The edges of C &#8242; are dark in color. For all i &#8712; [3], we replace the subpath in C of the form An improved upper bound on R(d) would imply a better bound on the number of unallocated goods. However, we show that an exponential improvement (e.g., R(d) &#8712; poly(log(d))) is not possible by showing a linear lower bound (i.e., R(d) &#8805; d)). However, this still leaves room for polynomial improvement, and we suspect that R(d) &#8712; O(d). This would imply the existence of a (1 &#65533; &#949;)-EFX allocation with O( ffi ffi ffi ffi ffi ffi ffi ffi n=&#949; p ) many goods unallocated. For a polynomial-time algorithm, the construction of a cycle as in Theorem 6 would have to be polynomial time. However, we remark that this is an initiation study for determining (1 &#65533; &#949;)-EFX allocations with a sublinear number of unallocated goods, and we use concepts like the group champion graph that are natural extensions of the champion graph. We believe that this still leaves room for developing more sophisticated concepts and techniques that may reduce the number of unallocated goods to o( ffi ffi ffi ffi ffi ffi ffi ffi n=&#949; p ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">Lower Bound on R(d)</head><p>We show that R(d) &#8805; d. We construct a d-partite graph G &#65533; (&#8746; i&#8712;[d] V i , E) such that each part V i has d vertices; for all pairs of parts V i and V j , every vertex in V j has an incoming edge from a vertex in V i and vice versa; and there exists no cycle that visits each part at most once. We now define the edges in G. Let V i &#65533; {(i, 0), (i, 1), : : : , (i, d &#65533; 1)}. Consider any i and j such that i &lt; j. For each 0 &#8804; &#8467; &#8804; d &#65533; 1, we have an edge from (i, &#8467;) in V i to (j, &#8467;) in V j , and there is an edge from (j, &#8467;) in V j to (i, (&#8467; + 1) mod d) in V i (see Figure <ref type="figure">6</ref> for an illustration). One can easily verify that for all parts V i and V j , every vertex in part V j has an incoming edge from part V i and vice versa. It suffices to show that G admits no cycle that visits each part at most once. Lemma 10. There exists no cycle in G that visits each part at most once.</p><p>Proof. We prove by contradiction. Assume that there is a cycle C &#65533; (i 1 , &#8467; 1 ) &#8594; (i 2 , &#8467; 2 ) &#8594; &#8943; &#8594; (i r , &#8467; r ) &#8594; (i 1 , &#8467; 1 ) that visits each part at most once (i.e., i x &#8800; i y for all x, y &#8712; [r]). From here on, all the indices are modulo r. Note that by the construction of the edges of G, for all q &#8712; [r], we have &#8467; q+1 &#65533; &#8467; q if i q &lt; i q+1 and &#8467; q+1 &#65533; (&#8467; q + 1) mod d if i q &gt; i q+1 . Let # 1 &#65533; |{q &#8712; [r] |i q &gt; i q+1 } | (recall that r + 1 is one). The existence of the cycle C in G implies that &#8467; 1 &#65533; (&#8467; 1 + # 1 ) mod d.</p><p>Because i x &#8800; i y for all x, y &#8712; [r] and there exists the cycle C in G, there are indices q &#8242; and q &#8242;&#8242; such that i q &#8242; &gt; i q &#8242; +1 and i q &#8242;&#8242; &lt; i q &#8242;&#8242; +1 , further implying that 1 &#8804; # 1 &#8804; r &#65533; 1. Because G has d parts, we have r &#8804; d, implying that 1 &#8804; # 1 &#8804; d &#65533; 1. However, this implies that (&#8467; 1 + # 1 ) mod d &#8800; &#8467; 1 , which is a contradiction. w</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Finding Efficient (12&#171;)-EFX Allocations with a Sublinear Number of Unallocated Goods</head><p>We note that like the algorithms in Chaudhury et al. <ref type="bibr">[20]</ref> and Plaut and Roughgarden <ref type="bibr">[39]</ref>, our algorithm is flexible with the initialization (i.e., starting with any initial (1 &#65533; &#949;)-EFX allocation X, it can determine a final (1 &#65533; &#949;)-EFX allocation Y with at most O((n=&#949;) 4=5 ) many goods unallocated and v i (Y i ) &#8805; v i (X i ) for all i &#8712; [n]). This is a consequence of the fact that the valuation of an agent never decreases throughout our algorithm. Therefore, our algorithm maintains the welfare of the initial allocation. Thus, if we choose the initial (1 &#65533; &#949;)-EFX allocation carefully, we can also guarantee high Nash welfare for our final (1 &#65533; &#949;)-EFX allocation with sublinear many goods unallocated. To this end, we use an important result from Caragiannis et al. <ref type="bibr">[17]</ref> about determining partial EFX allocations with high Nash welfare in polynomial time.</p><p>Theorem 7 (Caragiannis et al. <ref type="bibr">[17]</ref>). In polynomial time, we can determine a partial EFX allocation X such that NW(X) &#8805; 1=(2:88) &#8226; NW(X * ), where X * is the Nash welfare-maximizing allocation. In fact, the result in Caragiannis et al. <ref type="bibr">[17]</ref> shows the existence of partial EFX allocations that achieve a 1/2 approximation of the Nash welfare. However, in polynomial time, one can only find a partial EFX allocation with a 1=2:88 approximation of the Nash welfare.</p><p>Let X be the partial EFX allocation that achieves a 2.88 approximation of the Nash welfare. We run our algorithm starting with X as the initial allocation. The final (1 &#65533; &#949;)-EFX allocation with sublinear many unallocated goods is also a 2.88 approximation of the Nash welfare as the valuations of the agents in the final allocation are at least their valuations in X. Therefore, we have the following theorem. Theorem 8. In polynomial time, we can determine a (1 &#65533; &#949;)-EFX allocation X with O((n=&#949;) 4=5 ) goods unallocated such that NW(X) &#8805; 1=(2:88) &#8226; NW(X * ), where X * is the Nash welfare-maximizing allocation. Furthermore, using the existence of partial EFX allocations with 1/2 approximation to Nash welfare (Caragiannis et al. <ref type="bibr">[17]</ref>), there exists a (1 &#65533; &#949;)-EFX allocation X with O((n=&#949;) 4=5 ) goods unallocated such that NW(X) &#8805; 1=2 &#8226; NW(X * ).</p><p>Table A.1. An instance where showing that the technique in Chaudhury et al. [19] cannot be used to determine (1 &#65533; &#949;)-EFX allocations with four agents. g 1 g 2 g 3 g 4 g 5 g 6 g 7 g 8 g 9 a 0 0 0 0 0 0 6 4 0 b 16 4 24 4 0 34 31 0 2 c 10 0 18 8 20 0 29 0 6 d 0 0 0 0 18 20 19 0 4</p><p>Notes. In particular, given a (1 &#65533; &#949;)-EFX allocation X and the unallocated good g 9 , there is no complete (1 &#65533; &#949;)-EFX allocation where the valuation of agent a does not strictly decrease (i.e., in any complete (1 &#65533; &#949;)-EFX allocations Y, we have v a (Y a ) &lt; v a (X a )).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Chaudhury et al.: Improving EFX Guarantees Through Rainbow Cycle Number</head></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_0"><p>Downloaded from informs.org by [2620:0:e00:4037::12f] on 18 February 2025, at 20:18 . For personal use only, all rights reserved.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS Downloaded from informs.org by [2620:0:e00:4037::12f] on 18 February 2025, at 20:18 . For personal use only, all rights reserved.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_2"><p>Mathematics of Operations Research, 2024, vol. 49, no. 4, pp. 2323-2340, &#169; 2023 INFORMS</p></note>
		</body>
		</text>
</TEI>
