Manuscript Offprint
arXiv:2610.34625Online Fair Division with Frequency Predictions
Abstract
We study online fair division of indivisible goods among agents with frequency predictions: before any good arrives, the algorithm learns the multiset of each agent's values for the goods, but neither the arrival order nor which values of different agents belong to the same good. Neoh et al. (ICML 2026) showed that such predictions allow every share-based guarantee that is achievable offline, and left open whether a positive approximation of envy-freeness up to one good (EF1) is possible. We show that deterministic online algorithms can guarantee -EF1 for three agents and -EF1 for four agents, whereas for five or more agents, no online algorithm can guarantee any positive approximation of EF1, even with goods and identical predictions. Together with the known result for two agents, a positive approximation of EF1 is therefore possible if and only if . We also rule out any positive approximation of EFX for three or more agents, even when the valuations take only two distinct positive values. Next, we use the meta-algorithm of Neoh et al. (ICML 2026) to compute an epistemic EFX (EEFX) allocation in polynomial time for any , and hence a -EF allocation for , whereas algorithms that fix a picking sequence in advance can guarantee a positive approximation of EF if and only if . Finally, for noisy predictions, we give algorithms that return EEFX allocations when the predictions are exact, and guarantee -EEFX under underestimates and, for , -EEFX under overestimates; the linear terms are the best possible, and larger overestimates rule out any positive approximation for such algorithms.
1 Introduction
Fair division, the problem of allocating scarce resources among interested agents in a fair manner, has been studied for decades in economics and mathematics, and has received substantial attention in computer science [Moulin, 2003, Amanatidis et al., 2023]. In many applications, the resources do not become available all at once, but arrive over time and must be allocated upon arrival. For example, a food bank must distribute donated food to charities as the donations come in [Aleksandrov et al., 2015], and an online platform must assign advertising slots to advertisers as users visit the platform [Mehta et al., 2007]. This has led to the study of online fair division, where indivisible goods arrive one at a time and each good must be allocated irrevocably when it arrives [Aleksandrov and Walsh, 2020]. As in most of the literature, we evaluate fairness on the final allocation, once all goods have been allocated.
In order to reason about fairness, we must define when an allocation is considered to be “fair”. A natural notion is envy-freeness, which requires every agent to like her own bundle at least as much as the bundle of any other agent. However, envy-freeness cannot always be satisfied: if a single valuable good is to be allocated between two agents, the agent who does not receive the good will envy the other agent. A widely studied relaxation is envy-freeness up to one good (EF1), which means that any envy that an agent may have toward another agent can be eliminated by removing some good in the latter agent’s bundle [Lipton et al., 2004, Budish, 2011]. In the offline setting, where all goods are known in advance, an EF1 allocation always exists and can be computed in polynomial time [Lipton et al., 2004, Caragiannis et al., 2019]. In contrast, without any information about future goods, no deterministic online algorithm can guarantee a positive approximation of EF1 [Neoh et al., 2026], and the same holds for proportionality up to any fixed number of goods, even when the number of goods is known in advance [Neoh and Teh, 2026].
In light of this, Neoh et al. [2026] investigated which information about future goods allows online algorithms to achieve fairness. In particular, they considered frequency predictions, where the algorithm knows in advance the multiset of values that each agent has for the goods, but neither the order in which the goods arrive nor which values of different agents belong to the same good. They showed that frequency predictions suffice for every guarantee based on shares, i.e., thresholds that depend only on an agent's values and the number of agents, as long as the guarantee can be achieved offline. For instance, an agent's maximin share [Budish, 2011] is the best value that she can secure by dividing the goods into n bundles and getting the worst bundle; with frequency predictions, a constant fraction of every agent's maximin share can be guaranteed for any number of agents [Akrami and Garg, 2024, Neoh et al., 2026]. Envy-based notions such as EF1 are more demanding, since an agent compares her bundle with the bundles of other agents, and these comparisons depend on how the values of different agents are aligned. For example, if two agents each value one good at 10 and another good at 1, the predictions do not reveal whether both agents value the same good at 10. Neoh et al. [2026] showed that EFX, which requires any envy that an agent has toward another agent to disappear as soon as any good in the latter agent's bundle is removed, can be guaranteed for two agents, but that no positive approximation of EFX is possible for three or more agents. They left the existence of EF1 allocations for three or more agents as a main open problem: while they conjectured that exact EF1 cannot be guaranteed, they asked whether a positive approximation of EF1 is possible.
In this paper, we answer the latter question for every number of agents. Perhaps surprisingly, the answer depends on the number of agents: a positive approximation of EF1 is possible for up to four agents, but not for five or more agents.
In Section 3, we investigate the meta-algorithm of Neoh et al. [2026], which computes an allocation of an offline instance in which all agents rank the goods in the same order, and implements the corresponding picking sequence online. They showed that each agent receives at least her value in the offline allocation. We strengthen this by showing that each good in her offline bundle can be matched to a different good in her online bundle that she values at least as much (Lemma 2.2). As a consequence, if the offline allocation is EFX, then the online allocation is epistemic EFX (EEFX) [Caragiannis et al., 2023], which means that for each agent, the goods outside her bundle can be partitioned into bundles so that she satisfies EFX toward each of them. Hence, an EEFX allocation can be computed online in polynomial time for any number of agents (Theorem 3.3), even though no positive approximation of EFX is possible for three or more agents [Neoh et al., 2026]. For , the same algorithm guarantees -EF( ), where EFk allows up to k goods to be removed from the envied agent's bundle; in particular, this gives 1/2-EF1 for three agents (Theorem 3.4). On the other hand, if the picking sequence is chosen from the predictions before any good arrives, the meta-algorithm can guarantee a positive approximation of EFk if and only if (Theorem 3.5). In particular, this approach cannot give a positive approximation of EF1 for four agents.
Next, in Section 4, we prove the impossibility for five or more agents (Theorem 4.1). Our construction uses only goods, the same predictions for all agents, and normalized valuations in which every good has positive value; since every allocation that gives each agent at most one good is EF1, the number of goods cannot be reduced. Moreover, every allocation in our construction is proportional up to one good, so the impossibility holds even though a natural share-based guarantee is satisfied. We also strengthen the impossibility result of Neoh et al. [2026] for EFX with three or more agents: no positive approximation is possible even when each agent values one good at a larger value and all other goods at the same smaller value, and even when the algorithm knows that the good of larger value is one of the last two goods (Theorem 4.2).
In Section 5, we return to four agents and design an algorithm that does not fix a picking sequence in advance (Theorem 5.3). The algorithm selects a few goods of large value as they arrive and allocates them so that, for any two agents i and j, at most one good in j's bundle is worth more to i than the most valuable selected good that i receives. Each of the remaining goods is allocated upon arrival using concave potential functions computed from the predictions. We do not know whether the factor is the best possible for four agents.
Finally, in Section 6, we consider noisy frequency predictions. Following Neoh et al. [2026], we assign an unused predicted value to each arriving good and run an algorithm for exact predictions on these values. We call an algorithm consistent if it returns an EEFX allocation whenever the predictions are exact. For underestimates, where each agent's true values are between her predicted values and times these values when both are sorted in nonincreasing order, we obtain a consistent algorithm that guarantees -EEFX. For overestimates, where the roles of the true and predicted values are reversed, we guarantee -EEFX for . In both cases, the linear term is the best possible for consistent algorithms (Theorem 6.1); hence, the loss from small errors does not depend on n for underestimates, but grows linearly with n for overestimates. Interestingly, while a positive approximation of EEFX is possible for underestimates of any size, overestimates by a factor of 3/2 already rule out any positive approximation for (Theorem 6.2). We also give additive guarantees for EFk in terms of the difference between the true and predicted values (Proposition 6.3).
1.2 Further Related Work
Online fair division. Neoh et al. [2026] introduced frequency predictions for online fair division and obtained share-based guarantees; their open problem on EF1 motivates our work. Without any information about the future, the best possible approximation of proportionality up to one good decreases with the number of goods [Neoh and Teh, 2026, Du and Sun, 2026]. Zhou et al. [2023] studied the setting in which the total value of each agent is known in advance, while Choo et al. [2026] considered predictions of the maximum values of the goods, and Neoh and Teh [2026] showed that such predictions allow a constant approximation of proportionality up to one good for any number of agents. Other work has considered restricted classes of valuations [Amanatidis et al., 2025, Wang and Wei, 2026], allowed changes to past allocation decisions [He et al., 2019, Huang and Teh, 2026] or a buffer that delays some of them [Amanatidis et al., 2026], imposed budget constraints [Cohen et al., 2026a], studied randomized algorithms against an oblivious adversary [Cohen et al., 2026b, Chen and Long, 2026], and bounded the envy in terms of the number of goods [Benadè et al., 2018, Halpern et al., 2025]. In house allocation, where each agent receives exactly one good, subsidies can be used to eliminate envy both offline [Choo et al., 2024b] and online [Teh et al., 2026]. Fairness over time has also been studied in temporal fair division, where the allocation should be fair after every round [Cookson et al., 2025, Elkind et al., 2025a, Choi et al., 2026] or the envy is accumulated over all rounds [Goldberg et al., 2026], as well as in repeated matching [Lim et al., 2026b], temporal slot assignment [Elkind et al., 2022], and temporal voting [Lackner, 2020, Bulteau et al., 2021, Elkind et al., 2024b, Zech et al., 2024, Elkind et al., 2025c,b, Phillips et al., 2026, Teh, 2026d,b, Hazon et al., 2026]; see Elkind et al. [2024c] and Teh [2024] for overviews. In our setting, goods are allocated irrevocably, and the fairness of the final allocation is evaluated against an adaptive adversary.
Offline fair division. In the offline setting, an EF1 allocation can be computed by envy-cycle elimination or by the round-robin algorithm [Lipton et al., 2004, Caragiannis et al., 2019]; for additive valuations, an allocation with maximum Nash welfare is moreover EF1 and Pareto optimal [Caragiannis et al., 2019], whereas these two properties are not always compatible for more general valuations [Teh, 2026e]. The maximum Nash welfare rule has also been characterized by the fairness guarantees that it provides [Suksompong, 2023, Yuen and Suksompong, 2023, Celine et al., 2026]. The reduction to instances in which all agents rank the goods in the same order was introduced by Bouveret and Lemaître [2016], and has since been used to approximate the maximin share [Barman and Krishnamurthy, 2020, Garg and Taki, 2021, Akrami and Garg, 2024]. While maximin share allocations do not always exist [Kurokawa et al., 2018], they do exist for a broad class of valuations that generalizes several domains with few distinct values [Teh, 2026c]. Whether EFX allocations always exist is a major open problem; they are known to exist for three agents [Chaudhury et al., 2024] and when there are at most three more goods than agents [Mahara, 2024], in which case their number [Neoh and Teh, 2025] and their welfare [Lim et al., 2026a] have also been studied. Caragiannis et al. [2023] introduced EEFX as a relaxation of EFX, and computed offline EEFX allocations by finding an EFX allocation of an ordered instance [Plaut and Roughgarden, 2020] and matching its goods to the original goods. We prove the corresponding matching property for the online meta-algorithm. The strong EEFX share argument of Akrami et al. [2026], together with the share-based result of Neoh et al. [2026], also implies that online EEFX is possible, but does not give a polynomial-time algorithm. Our construction computes both the allocation and the EEFX partitions in polynomial time. Our impossibility result for EFX also separates the online and offline settings: offline, when every value is one of two positive numbers, every allocation with maximum Nash welfare is EFX [Amanatidis et al., 2021], and an allocation that is both EFX and Pareto optimal can be computed in polynomial time [Garg and Murhekar, 2023]. Offline fair division with binary valuations is also well understood: a version of maximum (weighted) Nash welfare is group-strategyproof [Halpern et al., 2020, Suksompong and Teh, 2022, 2023], and is the only rule that satisfies EF1, strategyproofness, and a few other natural axioms [Brandl et al., 2026].
Frequency predictions and learning-augmented algorithms. Predictions of the frequencies of values or types, without the arrival order, have been studied for online knapsack [Im et al., 2021], online bin packing [Angelopoulos et al., 2023] and bin covering [Berg and Kamali, 2024], online bipartite matching [Choo et al., 2024a], and revenue management [Balseiro et al., 2026]. In our setting, each agent has her own predicted multiset, so the algorithm does not know which values of different agents belong to the same good; our impossibility results rely on this uncertainty. Similarly, in online fair division with budget constraints, separate predictions of the values and the sizes of the goods do not suffice for strong fairness guarantees [Cohen et al., 2026a]. More broadly, our work belongs to the literature on learning-augmented algorithms, which seeks guarantees that improve with the accuracy of the predictions [Purohit et al., 2018, Lykouris and Vassilvitskii, 2021, Mitzenmacher and Vassilvitskii, 2022]. Banerjee et al. [2022] studied online Nash welfare maximization for divisible goods given predictions of each agent's total value, and Banerjee et al. [2023] used such predictions for the online allocation of public goods. For indivisible goods, Melissourgos and Protopapas [2026] considered approximate EFX given a predicted value for each arrival position and a known bound on the error, and Teh et al. [2026] gave learning-augmented algorithms for online house allocation with subsidies. In contrast, our predictions do not reveal the arrival order, and we treat underestimates and overestimates separately; one-sided errors have also been considered for predictions of the maximum values of the goods [Neoh and Teh, 2026]. We also extend the additive error analysis of Neoh et al. [2026] to EFk. In a model where past allocation decisions may be changed as long as no affected agent is made worse off, Huang and Teh [2026] use predictions of each agent's values in nonincreasing order to carry over offline maximin share guarantees, with an additive loss bounded by the total difference between the sorted true and predicted values.
2 Preliminaries
We consider the model of Neoh et al. [2026]. Let be the set of agents, where and we use to denote for each positive integer , and let be the set of indivisible goods, indexed in order of arrival. Each agent has a nonnegative additive valuation , i.e., for every ; the valuations are normalized if for every agent . An allocation is an ordered partition of into bundles such that bundle is allocated to agent .
Online setting and frequency predictions. Before any good arrives, the algorithm learns, for each agent , the multiset of her values for the goods; we call it her frequency multiset and write its elements in nonincreasing order as . When good arrives, the algorithm observes its value for every agent and must allocate it to an agent irrevocably. The values of the goods are chosen by an adaptive adversary, who observes the previous allocation decisions but must respect the frequency multisets. An algorithm guarantees a fairness property if its final allocation satisfies the property against every such adversary; for randomized algorithms, we require this for every final allocation that can occur.
2.1 Fairness Notions
An allocation is said to be envy-free up to one good (EF1) if for all distinct agents with , there exists a good such that , and envy-free up to any good (EFX) if for all distinct agents and every good . We include goods of zero value in these comparisons.
More generally, for a positive integer and a bundle , let denote agent 's value for after removing her most valuable goods in , where if ; we write . For , an allocation is -EFk if for all distinct agents , and -EFX if for all distinct agents and every . In particular, 1-EF1 is equivalent to EF1. An algorithm guarantees a positive approximation of EFk if it guarantees -EFk for some that may depend on and , but not on or the valuations.
Definition 2.1 (Caragiannis et al., 2023). Let . A bundle is -EEFX for agent if there exists a partition of such that for every and every . An allocation is -EEFX if is -EEFX for agent for every . We write EEFX for 1-EEFX.
In other words, an agent's bundle is EEFX for her if she would satisfy EFX toward every other agent after a suitable redistribution of the goods that she does not receive. The partition may be different for each agent, and some of its parts may be empty. Whether a bundle is EEFX for an agent depends only on the bundle and her valuation, and not on how the remaining goods are allocated. For two agents, EEFX is equivalent to EFX.
Caragiannis et al. [2019] required the EFX comparison only for goods of positive value. Since all values in our impossibility results are positive, these results hold under either definition.
We also compare bundles via stochastic dominance [Barman et al., 2025, Definition 2]. For , , we write if for every , the number of goods in that agent values at least is at least the number of such goods in . Equivalently, , and for every , agent 's th largest value for a good in is at least her th largest value for a good in . In other words, the goods in can be matched to different goods in without decreasing their values to agent .
2.2 The Meta-Algorithm
We now describe the meta-algorithm of Neoh et al. [2026, Algorithm 2]. An instance is said to be an identical ordering (IDO) instance if all agents rank the goods in the same order. Given the frequency predictions, consider the IDO instance in which agent values each good at ; we denote this valuation by . A picking sequence [Kohler and Chandrasekaran, 1971, Bouveret and Lang, 2011] specifies that in turn , agent picks a most valuable remaining good. In the IDO instance, if ties are broken in favor of smaller indices, the good picked in turn is , so the picking sequence results in the allocation with . We refer to as agent 's IDO bundle.
The meta-algorithm implements a given picking sequence online as follows. When a good g arrives, it removes from the remaining predicted values of each agent i. Let s be the number of remaining turns. The algorithm simulates the remaining picking sequence on g together with s - 1 hypothetical goods, where each agent values the hypothetical goods at her remaining predicted values in nonincreasing order. In the simulation, each turn picks a most valuable remaining good, breaking ties in favor of g and then in favor of hypothetical goods with smaller indices. The algorithm allocates g to the agent whose turn picks g in the simulation, and deletes this turn from the picking sequence.
Neoh et al. [2026] showed that the final allocation satisfies and for every agent . We strengthen this guarantee as follows: each good in can be matched to a different good in that agent values at least as much, and conversely, the goods outside are worth no more to her than the goods outside in the IDO instance.
Lemma 2.2. Given any picking sequence, the meta-algorithm returns an allocation A such that the following hold for every agent i.
(i) There exists a bijection such that for every . In particular, and .
(ii) For every , agent 's th largest value for a good in is at most her th largest value under for a good in .
Intuitively, if the goods yet to arrive formed an IDO instance with the remaining predicted values, then a turn in position of the remaining picking sequence would give its agent her th largest remaining predicted value. We prove part (i) in Section A by showing that this value never decreases until the turn is deleted, and that the good allocated at that time is worth at least this value to the agent. Part (ii) follows from part (i), since agent i's true values and her values under form the same multiset.
3 Picking Sequences, EFk, and Three Agents
In this section, we investigate the guarantees that can be obtained via the meta-algorithm. We first establish two properties of EEFX, and then use them to show that the meta-algorithm yields EEFX for any number of agents and 1/2-EF1 for three agents. We also show that algorithms that fix a picking sequence in advance cannot guarantee a positive approximation of EFk when .
3.1 Two Properties of EEFX
Our first lemma shows that EEFX is preserved under stochastic dominance.
Lemma 3.1. Let be an agent and . If is EEFX for agent and , then is EEFX for agent . Moreover, if , then for every partition showing that is EEFX for agent , there is a partition with the same part sizes showing that is EEFX for agent .
Proof. Let be a partition of showing that is EEFX for agent . Since , for every , the set contains at most as many goods that agent values at least as does. Hence, if we list the goods in and in in nonincreasing order of their values to agent and match them in this order, we obtain an injection such that for every . For each , let ; these sets form a partition of . For every and every , since is injective and values are nonnegative, we have
where the last inequality holds because . Hence is EEFX for agent . If , then is a bijection, so for every .
Our second lemma shows that EEFX implies an approximation of when every agent receives at least one good.
Lemma 3.2. Let , and let be an allocation in which every bundle is nonempty. If is EEFX for agent , then for every agent . In particular, if is EEFX, then it is .
Proof. Fix an agent , and let be a partition of showing that is EEFX for agent . Since and every bundle is nonempty, some good lies outside , and the part containing this good is not contained in . Hence at most nonempty parts are contained in . Let consist of one good from each of these parts, so that . For every , the set is either empty or contained in for some , so its value to agent is at most . Therefore,
The assumption in Lemma 3.2 cannot be dropped, since for two agents, EEFX is equivalent to EFX, which does not imply envy-freeness. The assumption that every bundle is nonempty ensures that some good lies outside the two bundles being compared.
3.2 Guarantees of the Meta-Algorithm
For an IDO instance, an EFX allocation can be computed in polynomial time by envy-cycle elimination, allocating the goods in their common order [Lipton et al., 2004, Plaut and Roughgarden, 2020, Barman and Krishnamurthy, 2020]. When , we first give the goods to different agents, which results in an EFX allocation, and then continue with envy-cycle elimination; this preserves EFX and ensures that every agent receives at least one good. Our algorithm computes such an allocation of the IDO instance given by the predictions, breaking ties deterministically, and runs the meta-algorithm with the picking sequence given by for .
Theorem 3.3. For any number of agents, there exists a deterministic polynomial-time online algorithm that, given exact frequency predictions, returns an EEFX allocation. Moreover, if , then every bundle in this allocation is nonempty, and for every agent i, the partition showing that is EEFX for agent i can be chosen to have parts of sizes for .
Proof. If , we give the goods to different agents; the resulting allocation is EFX, and therefore EEFX. Suppose that , and let and be the allocations described above. Fix an agent . Since her true values are , there exists a bijection such that for every . Since is EFX in the IDO instance, the sets for form a partition of showing that is EEFX for agent . By Lemma 2.2(i), we have and . Hence, by Lemma 3.1, is EEFX for agent , and the corresponding partition can be chosen to have parts of sizes for . Finally, every bundle is nonempty, since for every .
Theorem 3.3 stands in contrast to EFX, for which no positive approximation can be guaranteed when [Neoh et al., 2026]. The difference is that Lemma 2.2 gives each agent a bundle at least as good as her IDO bundle, but says nothing about how the goods outside her bundle are divided among the other agents; EEFX, unlike EFX, does not depend on this division.
Combining Theorem 3.3 with Lemma 3.2 yields the following corollary.
Corollary 3.4. For any , there exists a deterministic polynomial-time online algorithm that, given exact frequency predictions, returns a -EF( ) allocation. In particular, 1/2-EF1 can be guaranteed for three agents.
Proof. If , the allocation in Theorem 3.3 is EEFX and every bundle is nonempty, so the claim follows from Lemma 3.2. If , giving the goods to different agents results in an EF1 allocation, which is also .
3.3 Limits of Fixed Picking Sequences
Theorems 3.3 and 3.4 give a positive approximation of EFk whenever . We now show that this is the best possible for algorithms that implement a picking sequence chosen in advance.
Theorem 3.5. Let and , and consider algorithms that choose a picking sequence based on the frequency predictions before any good arrives, possibly at random, and implement it using the meta-algorithm. Such an algorithm can guarantee a positive approximation of EFk if and only if . Moreover, for , the impossibility holds even with goods, identical predictions for all agents, and normalized valuations in which each agent values all goods at distinct positive values.
The positive direction follows from Theorem 3.3 for , since EEFX is equivalent to EFX for two agents, and from Theorem 3.4 for , since for every bundle whenever . For the impossibility, we force an agent to receive goods of small value until all of her turns have been deleted, and then give the next goods, which she values highly, to another agent. The proof is given in Section B. The number of goods in the impossibility cannot be reduced: if , a picking sequence that gives each agent at most turns results in an EFk allocation.
For four agents and k = 1, the impossibility in Theorem 3.5 holds already with five goods. Hence, a positive approximation of EF1 for four agents requires an algorithm that does not fix its picking sequence in advance. We present such an algorithm in Section 5.
4 Impossibility Results
In this section, we prove impossibility results that apply to all online algorithms given frequency predictions. We first show that no positive approximation of EF1 is possible for five or more agents, and then show that no positive approximation of EFX is possible for three or more agents, even when the valuations take only two distinct positive values.
Table 1: Values in Case 2 of the proof of Theorem 4.1, with the goods listed in order of arrival. Each of the goods has the value in the corresponding column; this column is absent when .
| Agent | |||||||
|---|---|---|---|---|---|---|---|
| 1 | K | 1 | |||||
| 2 | K | 1 | |||||
| K | 1 |
4.1 EF1 for Five or More Agents
Our construction for EF1 uses goods and gives all agents the same frequency multiset. After the first two goods have been allocated, the adversary chooses the values of all remaining goods. At a high level, if every agent receives a good, then exactly one agent receives two goods, and every other agent must value her own good at least times as much as the less valuable of these two goods. If the first two goods go to the same agent, the adversary makes the last good worth little to all other agents. Otherwise, the recipients of the first two goods each hold a good worth much less to her than her largest value; the adversary then makes each later good highly valuable to at least one of them, and the last good worth little to all other agents.
Theorem 4.1. For every and every , no online algorithm guarantees -EF1 for agents given exact frequency predictions. This holds even with goods, identical predictions for all agents, and normalized valuations in which every good has positive value.
Proof. Fix an online algorithm, and let . Every agent's frequency multiset consists of copies of together with the values , , and 1. We show that the final allocation contains distinct agents with and ; since , the allocation is then not -EF1.
Since all values are positive, if some bundle is empty, then some other bundle contains at least two goods, so , as desired. Hence, we may assume that every bundle is nonempty. As there are goods, exactly one agent receives two goods, and every other agent receives one good.
The first good has value to every agent; we relabel its recipient as agent 1. The second good has value to agent 1 and value to every other agent. The values of the remaining goods depend on the recipient of .
Case 1: is allocated to agent 1. Every agent values at and at 1, whereas agent 1 values these goods at her remaining predicted values in an arbitrary order. Since is the bundle with two goods, is the only good of some agent . Then and , as desired.
Case 2: is allocated to another agent. We relabel this agent as agent 2. The values of are given in Table 1; each row is consistent with the predictions.
Each of the goods is worth to at least one of agents 1 and 2, and is worth to both of them. This is where we use the assumption : the three goods allow agent 1's remaining small values and 1 and agent 2's remaining small value 1 to be placed on different goods.
Let be the agent who receives two goods. Suppose first that . Since agents 1 and 2 already hold and , respectively, is the only good of some agent . This agent values at 1 and every other good at least , so and , as desired.
Suppose now that . If , then and , so and . If , then and , so and . Finally, if , then the other good of agent is among , so by Table 1, some agent values both goods in at . Since agents 1 and 2 receive only and , respectively, we have and . In all cases, the desired agents exist.
To obtain normalized valuations, we divide all predicted and true values by from the start; this does not affect any of the comparisons. Finally, since the values of future goods depend only on the allocation decisions observed so far, the argument applies to every possible outcome of a randomized algorithm.
Comparison with share-based fairness. Every allocation of the instances in the proof of Theorem 4.1 is proportional up to one good [Conitzer et al., 2017], meaning that each agent can reach 1/n of her total value by adding at most one good from outside her bundle. Indeed, the total value of each agent is less than , and each agent either already has a good of value or can add one. This illustrates the difference between guarantees on an agent's own value and envy-based guarantees; the former, and in particular approximations of proportionality up to one good, have been the focus of much recent work on online fair division [Choo et al., 2026, Neoh and Teh, 2026, Cohen et al., 2026b, Du and Sun, 2026].
4.2 EFX with Two Positive Values
We now turn to EFX. Neoh et al. [2026, Section 5] showed that no positive approximation of EFX is possible for given frequency predictions. We strengthen their result to a restricted class of valuations, in which each agent values one good at a larger value and all other goods at the same smaller value; moreover, the good of larger value is one of the last two goods.
Theorem 4.2. For every and every , no online algorithm guarantees -EFX for n agents given exact frequency predictions. This holds even with identical predictions for all agents and normalized valuations that take only two positive values, and even if the algorithm knows in advance that every agent values each of the first goods at the smaller value and exactly one of the last two goods at the larger value.
We prove Theorem 4.2 in Section C. In our construction, each agent values one good at 1 and all other goods at a small value , and each of the first goods has value to every agent. Every agent who receives one of these goods then values at 1, and every other agent values at 1. If is allocated to an agent who received one of the first goods, then any other such agent has a small value for her own bundle, but values the bundle containing at least 1 after removing a good of value . The remaining cases are similar, except when and are allocated to two different agents who received none of the first goods. In this case, some agent receives many of the first goods, whereas the agent who receives values her bundle at only .
5 Four Agents: -EF1 Guarantee
We now present our algorithm for four agents. Let , so that ; we show that the algorithm guarantees 1/C-EF1. The algorithm selects and allocates a few goods of large value as they arrive so that, for any two agents i and j, at most one good in is worth more to agent i than the most valuable selected good that she receives. Each good that is not selected is allocated upon arrival using concave potential functions computed from the predictions.
If , giving the goods to different agents results in an EF1 allocation, so assume that . We first cap each agent's values at her second largest predicted value, i.e., we replace by both in the predictions and for the arriving goods. This does not change for any bundle , since only a good of largest value in can be affected and this good is removed when computing ; moreover, it can only decrease the value of an agent's own bundle. Hence, a guarantee for the capped values also holds for the original values. From now on, and refer to the capped values, so . For each agent , we associate each arriving good with an index such that , where goods of equal value are associated with increasing indices in order of arrival; we then call agent 's th occurrence. Thus, her first four occurrences correspond to her four largest capped values, with ties resolved by arrival order.
Lemma 5.1. There exists a deterministic online rule that selects some of the arriving goods and allocates each selected good upon its arrival, such that each agent receives one or two selected goods, including at least one of her first four occurrences. Moreover, let be the set of selected goods that agent receives, and let . Then, for all distinct agents and , at most one good in has value larger than to agent , regardless of how the goods that are not selected are allocated.
We prove Lemma 5.1 in Section D. The lemma allows us to also cap each agent's values at her fourth largest predicted value. Let for each good , extended additively, and for a bundle , let denote the value of under after removing a most valuable good under , where . We claim that and for all distinct agents . The second inequality holds because contains a selected good of value to agent . For the first inequality, remove from a good of largest value to agent ; this good also has the largest value under . By Lemma 5.1, each remaining good in has value at most to agent . If , no remaining good in has value larger than to agent . Otherwise, at most three goods have value larger than to agent , and one of them belongs to , so at most one remaining good in has value larger than , and this value is at most . This proves the claim. Consequently, for any , if , then .
Allocating the unselected goods. For each agent , let be the value of her current bundle under without a most valuable selected good, where the maximum is zero if is empty. This quantity never decreases: a good that is not selected increases it by its value under , and a selected good increases it by the smaller of its value under and the previous maximum. At the end, , since contains a good of value at least to agent . We compute from the predictions
where if . The sum starts from the eighth occurrence because we will remove at most seven selected goods. We will show that at the end; otherwise, the goods that are not selected and are allocated to the other three agents could not account for the value . If , we compare agent 's value for her bundle with her total value. If , we use the following potential functions.
Lemma 5.2. For every agent with , there exists a nondecreasing, concave, piecewise-linear function that depends only on the predictions, such that , for all , and for all .
We construct these functions in Section E. For an agent with , let . The algorithm applies the rule of Lemma 5.1 to each arriving good . If is selected, it allocates to the agent chosen by this rule and adds to her set of selected goods. Otherwise, it allocates to an agent maximizing , breaking ties in a fixed order. After either allocation, it updates the recipient's value of . Intuitively, since each is concave, the algorithm tends to favor agents whose bundles are currently worth little to them. Moreover, since the potentials are bounded, the other agents can collect only a limited amount of value according to agent i while her own value is small; once her own value is large, her total value yields the required bound.
Theorem 5.3. For four agents, there exists a deterministic polynomial-time online algorithm that, given exact frequency predictions, returns a -EF1 allocation.
We prove Theorem 5.3 in Section F, and outline the argument here. By the discussion above, it suffices to show that for all distinct agents with , where now denotes its final value. Consider a good . When arrives, the increase in agent 's potential is at least the increase in agent 's potential that would cause. Since never decreases, is concave, and agent 's potential is at most 1, Lemma 5.2 implies that if , then
Applying this bound to each of the other three agents gives , as mentioned above. If , then since contains at most two selected goods, we obtain
If , we show that is at most agent 's total value for the goods other than her first four occurrences, and the choice of ensures that this total value is at most .
The value is the smallest possible for the potential requirements in Lemma 5.2. When , we have , so summing the inequalities at , , gives
with equality at the chosen value of C. We do not know whether the factor is the best possible for four agents.
6 Learning-Augmented Guarantees under Noisy Frequency Predictions
We now consider noisy frequency predictions, as in Neoh et al. [2026, Section 5.1]. For each agent , the algorithm is given a multiset of predicted values, which we write in nonincreasing order as ; as before, denote her true values in nonincreasing order. In particular, the algorithm knows the number of goods, but not the total value of each agent. We say that an algorithm is consistent if it returns an EEFX allocation whenever the predictions are exact, i.e., for all and .
Following Neoh et al. [2026], we use an online instantiation rule, which assigns to each arriving good g an unused predicted value of each agent i. The resulting predicted valuation uses each predicted value of agent i exactly once. We run an algorithm for exact predictions on the predicted valuations, and allocate each good to the agent chosen by this algorithm. We first give multiplicative guarantees for EEFX, then show that larger overestimates rule out any positive approximation, and finally give additive guarantees for EFk.
6.1 Relative Prediction Error
We say that agent 's predictions are underestimates with error factor if for every , and overestimates with error factor if for every . If the total value of each agent were known and equal to her total predicted value, either condition would imply that the predictions are exact.
For underestimates, the instantiation rule assigns to an arriving good the largest unused predicted value that is at most its true value, or the smallest unused predicted value if no such value exists. For overestimates, it assigns the smallest unused predicted value that is at least the true value, or the largest unused predicted value if no such value exists. In both cases, ties are broken deterministically, and we run the algorithm of Theorem 3.3 on the predicted valuations. Note that neither rule uses the error factors.
Theorem 6.1. For any number of agents, the two instantiation rules above yield deterministic polynomial-time consistent algorithms with the following guarantees for every agent i, regardless of the predictions for the other agents.
(i) If agent i's predictions are underestimates with error factor , then is -EEFX for her.
(ii) If agent 's predictions are overestimates with error factor , then is -EEFX for her with . If , this also holds with .
On the other hand, for every , no consistent algorithm guarantees -EEFX for any when all agents' predictions are underestimates with error factor . Likewise, for every , no consistent algorithm guarantees -EEFX for any when all agents' predictions are overestimates with error factor . These impossibility results hold even with identical predictions and identical true valuations in which every good has positive value.
For fixed and , the guarantees in Theorem 6.1 are for underestimates and for overestimates, and the impossibility results show that the linear terms cannot be improved. For overestimates, this uses the second bound in part (ii). Hence, the best possible first-order loss is independent of for underestimates, but grows linearly with for overestimates. For underestimates, the linear term is also the best possible for .
We prove Theorem 6.1 in Section G. For underestimates, agent i values her bundle at least as much as its predicted value, and comparing the number of true and predicted values above each threshold shows that the true values of the goods outside her bundle exceed times their predicted values by at most times the predicted value of her bundle in total. For overestimates, her bundle may be worth less than its predicted value, and we use the EEFX partition for the predicted values to bound how much it can lose. For the impossibility results, consistency forces a particular allocation of all goods except the last one, and changing the value of the last good makes this allocation unfair.
For three agents, these algorithms also give each agent an EF1 approximation with half her EEFX factor in Theorem 6.1. Indeed, the proof of Lemma 3.2 gives for every whenever is -EEFX for agent and every bundle is nonempty. The algorithms ensure nonempty bundles when ; when , their allocations are EF1.
6.2 Impossibility under Larger Overestimates
While Theorem 6.1(i) gives a positive approximation of EEFX for underestimates with any error factor, we now show that this is not the case for overestimates, even if the algorithm knows the error factor.
Theorem 6.2. For two agents whose predictions are overestimates with a common error factor , a consistent online algorithm can guarantee a positive approximation of EEFX if and only if . For every , no consistent online algorithm guarantees a positive approximation of EEFX when all agents' predictions are overestimates with error factor 3/2. These impossibility results hold even with identical predictions and identical true valuations in which every good has positive value, and even if the algorithm knows .
For two agents and , Theorem 6.1(ii) gives the factor . We prove the impossibility results in Section G.6. In both constructions, consistency forces the algorithm to leave an agent without any good until the last good arrives, and the allowed error makes this good much less valuable than predicted. For , Theorem 6.1(ii) gives a positive approximation whenever , and determining the exact threshold is left open.
6.3 Additive Guarantees in Terms of Instantiation Error
Finally, we consider predictions that may both underestimate and overestimate the true values. As in Neoh et al. [2026, Section 5.1], a natural instantiation rule assigns to each arriving good a closest unused predicted value. For any instantiation rule, we define the instantiation error of agent i as . For the rule above, this error is zero when the predictions are exact, but may be larger than the minimum cost of matching agent i's true values to her predicted values. We give the following EFk guarantee.
Proposition 6.3. Let and , and consider an online algorithm that guarantees -EFk given exact frequency predictions. If this algorithm is run on the predicted valuations obtained by any instantiation rule, then the resulting allocation satisfies for all distinct agents .
Proof. Since each predicted value is used exactly once, the predicted valuations form an instance with exact predictions, so the allocation is -EFk with respect to the predicted valuations. Fix distinct agents , and let with be such that . Then
where the last inequality holds because and are disjoint and .
The same argument applies to each comparison in an EEFX partition. Hence, running the algorithm of Theorem 3.3 on the predicted valuations gives every agent a partition of the goods outside her bundle such that for every part and every . With the rule above, when the predictions are exact, so applying Proposition 6.3 to the algorithms of Theorems 3.4 and 5.3 recovers their guarantees.
For each agent, online instantiation is an instance of online minimum-cost matching on the line, where the predicted values are fixed servers and the true values arrive as requests [Kalyanasundaram and Pruhs, 1993]. Since Proposition 6.3 holds for any instantiation rule, any online matching algorithm can be used. For example, the deterministic algorithm of Raghvendra [2018] ensures that is at most times the minimum matching cost, whereas no online matching algorithm can guarantee a factor of [Peserico and Scquizzato, 2023].
7 Conclusion
In this paper, we have studied envy-based fairness in online fair division with frequency predictions. We showed that a positive approximation of EF1 is possible if and only if there are at most four agents, thereby answering the question of Neoh et al. [2026], and that no positive approximation of EFX is possible for three or more agents, even when the valuations take only two distinct positive values. On the positive side, the meta-algorithm of Neoh et al. [2026] yields EEFX for any number of agents; on the negative side, algorithms that fix a picking sequence in advance guarantee a positive approximation of
EFk only when . For noisy predictions, we obtained consistent algorithms whose first-order losses are the best possible. Overall, our results indicate that frequency predictions suffice for guarantees that depend only on an agent's own bundle, such as shares and EEFX, but not for EF1 when there are five or more agents.
Besides determining the best possible factor for four agents and the exact threshold for overestimates when , it would be interesting to study frequency predictions for agents with different entitlements [Chakraborty et al., 2021, Suksompong and Teh, 2022, 2023, Montanari et al., 2025, Teh, 2026f], for groups of agents [Kyropoulou et al., 2020, Scarlett et al., 2023], and for chores or mixed manna [Aziz et al., 2022, Elkind et al., 2024a, Teh, 2026a,f], which have also been studied in online and temporal settings [Wang and Wei, 2026, Amanatidis et al., 2026, Choi et al., 2026].
References
Hannaneh Akrami and Jugal Garg. Breaking the 3/4 barrier for approximate maximin share. In Proceedings of the 35th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 74–91, 2024.
Hannaneh Akrami, Uriel Feige, Ryoga Mahara, Kurt Mehlhorn, and Nidhi Rathi. The power of share-based notions in proving envy-based fairness guarantees. arXiv preprint arXiv:2602.11732, 2026. URL https://arxiv.org/abs/2602.11732.
Martin Aleksandrov and Toby Walsh. Online fair division: A survey. In Proceedings of the 34th AAAI Conference on Artificial Intelligence (AAAI), pages 13557–13562, 2020.
Martin Aleksandrov, Haris Aziz, Serge Gaspers, and Toby Walsh. Online fair division: Analysing a food bank problem. In Proceedings of the 24th International Joint Conference on Artificial Intelligence (IJCAI), pages 2540–2546, 2015.
Georgios Amanatidis, Georgios Birmpas, Aris Filos-Ratsikas, Alexandros Hollender, and Alexandros A. Voudouris. Maximum Nash welfare and other stories about EFX. Theoretical Computer Science, 863: 69–85, 2021.
Georgios Amanatidis, Haris Aziz, Georgios Birmpas, Aris Filos-Ratsikas, Bo Li, Hervé Moulin, Alexandros A. Voudouris, and Xiaowei Wu. Fair division of indivisible goods: Recent progress and open questions. Artificial Intelligence, 322:103965, 2023.
Georgios Amanatidis, Alexandros Lolos, Evangelos Markakis, and Victor Turmel. Online fair division for personalized 2-value instances. In Proceedings of the 18th International Symposium on Algorithmic Game Theory, volume 15953 of Lecture Notes in Computer Science, pages 209–227, 2025.
Georgios Amanatidis, Giulio Giaconi, Evangelos Markakis, and Nicos Protopapas. Online fair division meets reordering buffers. arXiv preprint arXiv:2607.01159, 2026.
Spyros Angelopoulos, Shahin Kamali, and Kimia Shadkami. Online bin packing with predictions. Journal of Artificial Intelligence Research, 78, 2023.
Haris Aziz, Ioannis Caragiannis, Ayumi Igarashi, and Toby Walsh. Fair allocation of indivisible goods and chores. Autonomous Agents and Multi-Agent Systems, 36(1):3, 2022. doi: 10.1007/s10458-021-09532-8.
Santiago R. Balseiro, Christian Kroer, and Rachitesh Kumar. Single-leg revenue management with advice. Operations Research, 74(1):243–259, 2026.
Siddhartha Banerjee, Vasilis Gkatzelis, Artur Gorokh, and Billy Jin. Online Nash social welfare maximization with predictions. In Proceedings of the 33rd Annual ACM-SIAM Symposium on Discrete Algorithms, pages 1–19, 2022.
Siddhartha Banerjee, Vasilis Gkatzelis, Safwan Hossain, Billy Jin, Evi Micha, and Nisarg Shah. Proportionally fair online allocation of public goods with predictions. In Proceedings of the 32nd International Joint Conference on Artificial Intelligence (IJCAI), pages 20–28, 2023. doi: 10.24963/ijcai.2023/3.
Siddharth Barman and Sanath Kumar Krishnamurthy. Approximation algorithms for maximin fair division. ACM Transactions on Economics and Computation, 8(1):1–28, 2020.
Siddharth Barman, Soroush Ebadian, Mohamad Latifian, and Nisarg Shah. Fair division with market values. In Proceedings of the 39th AAAI Conference on Artificial Intelligence (AAAI), pages 13589–13596, 2025.
Gerdus Benadè, Aleksandr M. Kazachkov, Ariel D. Procaccia, and Christos-Alexandros Psomas. How to make envy vanish over time. In Proceedings of the 19th ACM Conference on Economics and Computation (EC), pages 593–610, 2018. doi: 10.1145/3219166.3219179.
Magnus Berg and Shahin Kamali. Online bin covering with frequency predictions. In Proceedings of the 19th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT), volume 294 of LIPIcs, pages 10:1–10:17, 2024. doi: 10.4230/LIPIcs.SWAT.2024.10.
Sylvain Bouveret and Jérôme Lang. A general elicitation-free protocol for allocating indivisible goods. In Proceedings of the 22nd International Joint Conference on Artificial Intelligence (IJCAI), pages 73–78, 2011.
Sylvain Bouveret and Michel Lemaître. Characterizing conflicts in fair division of indivisible goods using a scale of criteria. Autonomous Agents and Multi-Agent Systems, 30(2):259–290, 2016.
Florian Brandl, Warut Suksompong, and Nicholas Teh. Fair division with binary valuations: Characterizations. In Proceedings of the 19th International Symposium on Algorithmic Game Theory (SAGT), Lecture Notes in Computer Science. Springer, 2026. Forthcoming. Full version available as arXiv:2607.10064.
Eric Budish. The combinatorial assignment problem: Approximate competitive equilibrium from equal incomes. Journal of Political Economy, 119(6):1061–1103, 2011.
Laurent Bulteau, Noam Hazon, Rutvik Page, Ariel Rosenfeld, and Nimrod Talmon. Justified representation for perpetual voting. IEEE Access, 9:96598–96612, 2021.
Ioannis Caragiannis, David Kurokawa, Hervé Moulin, Ariel D. Procaccia, Nisarg Shah, and Junxing Wang. The unreasonable fairness of maximum Nash welfare. ACM Transactions on Economics and Computation, 7(3):12:1–12:32, 2019.
Ioannis Caragiannis, Jugal Garg, Nidhi Rathi, Eklavya Sharma, and Giovanna Varricchio. New fairness concepts for allocating indivisible items. In Proceedings of the 32nd International Joint Conference on Artificial Intelligence (IJCAI), pages 2554–2562, 2023.
Karen Frilya Celine, Warut Suksompong, and Nicholas Teh. Characterizing maximum Nash welfare: Envy-freeness and proportionality. Economics Letters, 269, 2026.
Mithun Chakraborty, Ayumi Igarashi, Warut Suksompong, and Yair Zick. Weighted envy-freeness in indivisible item allocation. ACM Transactions on Economics and Computation, 9(3):18:1–18:39, 2021. doi: 10.1145/3457166.
Bhaskar Ray Chaudhury, Jugal Garg, and Kurt Mehlhorn. EFX exists for three agents. Journal of the ACM, 71(1):4:1–4:27, 2024. doi: 10.1145/3616009.
Tianqi Chen and Jingxiao Long. Randomized online fair division: High-probability and expected realized fairness. arXiv preprint arXiv:2609.23577, 2026.
Kui-Wang Choi, Minming Li, and Nicholas Teh. Temporal fair division of indivisible mixed manna: Tractable settings. arXiv preprint arXiv:2608.20033, 2026.
Davin Choo, Themistoklis Gouleakis, Chun Kai Ling, and Arnab Bhattacharyya. Online bipartite matching with imperfect advice. In Proceedings of the 41st International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 8762–8781, 2024a.
Davin Choo, Yan Hao Ling, Warut Suksompong, Nicholas Teh, and Jian Zhang. Envy-free house allocation with minimum subsidy. Operations Research Letters, 54:107103, 2024b. doi: 10.1016/j.orl.2024.107103.
Davin Choo, Winston Fu, Derek Khu, Tzeh Yuan Neoh, Tze-Yang Poon, and Nicholas Teh. Approximate proportionality in online fair division. In Proceedings of the 43rd International Conference on Machine Learning (ICML), 2026. Extended version available as arXiv:2508.03253.
Saar Cohen, Nicholas Teh, Paul W. Goldberg, and Michael J. Wooldridge. Online fair division with budget constraints. arXiv preprint arXiv:2607.23310, 2026a.
Saar Cohen, Nicholas Teh, and Michael Wooldridge. Online fair division against an oblivious adversary. arXiv preprint arXiv:2609.28333, 2026b.
Vincent Conitzer, Rupert Freeman, and Nisarg Shah. Fair public decision making. In Proceedings of the 18th ACM Conference on Economics and Computation (EC), pages 629–646, 2017.
Benjamin Cookson, Soroush Ebadian, and Nisarg Shah. Temporal fair division. In Proceedings of the 39th AAAI Conference on Artificial Intelligence (AAAI), pages 13727–13734, 2025. doi: 10.1609/aaai.v39i13.33500.
Yingjian Du and Ankang Sun. Online fair division: Pushing the frontier of approximate proportionality. arXiv preprint arXiv:2609.13650, 2026.
Edith Elkind, Sonja Kraiczy, and Nicholas Teh. Fairness in temporal slot assignment. In Proceedings of the 15th International Symposium on Algorithmic Game Theory (SAGT), Lecture Notes in Computer Science, pages 490–507. Springer, 2022. doi: 10.1007/978-3-031-15714-1_28.
Edith Elkind, Ayumi Igarashi, and Nicholas Teh. Fair division of chores with budget constraints. In Proceedings of the 17th International Symposium on Algorithmic Game Theory (SAGT), Lecture Notes in Computer Science, pages 55–71. Springer, 2024a.
Edith Elkind, Tzeh Yuan Neoh, and Nicholas Teh. Temporal elections: Welfare, strategyproofness, and proportionality. In Proceedings of the 27th European Conference on Artificial Intelligence (ECAI), pages 3292–3299, 2024b. doi: 10.3233/FAIA240877.
Edith Elkind, Svetlana Obraztsova, and Nicholas Teh. Temporal fairness in multiwinner voting. In Proceedings of the 38th AAAI Conference on Artificial Intelligence (AAAI), pages 22633–22640, 2024c. doi: 10.1609/aaai.v38i20.30273.
Edith Elkind, Alexander Lam, Mohamad Latifian, Tzeh Yuan Neoh, and Nicholas Teh. Temporal fair division of indivisible items. In Proceedings of the 24th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 676–685, 2025a.
Edith Elkind, Tzeh Yuan Neoh, and Nicholas Teh. Not in my backyard! Temporal voting over public chores. In Proceedings of the 34th International Joint Conference on Artificial Intelligence (IJCAI), pages 3814–3820, 2025b. doi: 10.24963/ijcai.2025/424.
Edith Elkind, Svetlana Obraztsova, Jannik Peters, and Nicholas Teh. Verifying proportionality in temporal voting. In Proceedings of the 39th AAAI Conference on Artificial Intelligence (AAAI), pages 13805–13813, 2025c. doi: 10.1609/aaai.v39i13.33509.
Jugal Garg and Aniket Murhekar. Computing fair and efficient allocations with few utility values. Theoretical Computer Science, 962:113932, 2023.
Jugal Garg and Setareh Taki. An improved approximation algorithm for maximin shares. Artificial Intelligence, 300:103547, 2021. doi: 10.1016/j.artint.2021.103547.
Paul W. Goldberg, Isaac Robinson, and Nicholas Teh. Minimizing cumulative envy in allocating a sequence of items. In Proceedings of the 19th International Symposium on Algorithmic Game Theory (SAGT), Lecture Notes in Computer Science. Springer, 2026. Full version available as arXiv:2610.09843.
Daniel Halpern, Ariel D. Procaccia, Alexandros Psomas, and Nisarg Shah. Fair division with binary valuations: One rule to rule them all. In Proceedings of the 16th Conference on Web and Internet Economics (WINE), volume 12495 of Lecture Notes in Computer Science, pages 370–383, 2020. doi:10.1007/978-3-030-64946-3_26.
Daniel Halpern, Alexandros Psomas, Paritosh Verma, and Daniel Xie. Online envy minimization and multicolor discrepancy: Equivalences and separations. In Proceedings of the 26th ACM Conference on Economics and Computation (EC), 2025. doi: 10.1145/3736252.3742517. Full version available as arXiv:2502.14624.
Noam Hazon, Leora Schmerler, and Nicholas Teh. Proportional representation in temporal voting with ranked preferences. arXiv preprint arXiv:2609.30555, 2026.
Jiafan He, Ariel D. Procaccia, Alexandros Psomas, and David Zeng. Achieving a fairer future by changing the past. In Proceedings of the 28th International Joint Conference on Artificial Intelligence (IJCAI), pages 343–349, 2019.
Yichen Huang and Nicholas Teh. Online fair division with upgrade recourse. arXiv preprint arXiv:2610.16943, 2026.
Sungjin Im, Ravi Kumar, Mahshid Montazer Qaem, and Manish Purohit. Online knapsack with frequency predictions. In Proceedings of the 35th International Conference on Neural Information Processing Systems (NeurIPS), pages 2733–2743, 2021.
Bala Kalyanasundaram and Kirk Pruhs. Online weighted matching. Journal of Algorithms, 14(3):478–488, 1993.
David A. Kohler and R. Chandrasekaran. A class of sequential games. Operations Research, 19(2):270–277, 1971. doi: 10.1287/opre.19.2.270.
David Kurokawa, Ariel D. Procaccia, and Junxing Wang. Fair enough: Guaranteeing approximate maximin shares. Journal of the ACM, 65(2):8:1–8:27, 2018. doi: 10.1145/3140756.
Maria Kyropoulou, Warut Suksompong, and Alexandros A. Voudouris. Almost envy-freeness in group resource allocation. Theoretical Computer Science, 841:110–123, 2020. doi: 10.1016/j.tcs.2020.07.008.
Martin Lackner. Perpetual voting: Fairness in long-term decision making. In Proceedings of the 34th AAAI Conference on Artificial Intelligence (AAAI), pages 2103–2110, 2020. doi: 10.1609/aaai.v34i02.5584.
Eugene Lim, Tzeh Yuan Neoh, and Nicholas Teh. The cost of EFX: Generalized-mean welfare and complexity dichotomies with few surplus items. arXiv preprint arXiv:2601.12849, 2026a.
Eugene Lim, Tzeh Yuan Neoh, and Nicholas Teh. Fairness in repeated matching: A maximin perspective. In Proceedings of the 40th AAAI Conference on Artificial Intelligence (AAAI), pages 17111–17119, 2026b. doi: 10.1609/aaai.v40i20.38760.
Richard J. Lipton, Evangelos Markakis, Elchanan Mossel, and Amin Saberi. On approximately fair allocations of indivisible goods. In Proceedings of the 5th ACM Conference on Electronic Commerce, pages 125–131, 2004.
Thodoris Lykouris and Sergei Vassilvitskii. Competitive caching with machine learned advice. Journal of the ACM, 68(4):24:1–24:25, 2021.
Ryoga Mahara. Extension of additive valuations to general valuations on the existence of EFX. Mathematics of Operations Research, 49(2):1263–1277, 2024. doi: 10.1287/moor.2022.0044.
Aranyak Mehta, Amin Saberi, Umesh Vazirani, and Vijay Vazirani. AdWords and generalized online matching. Journal of the ACM, 54(5):22, 2007.
Themistoklis Melissourgos and Nicos Protopapas. Online EFX allocations with predictions. In Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), 2026. Full version available as arXiv:2508.04779.
Michael Mitzenmacher and Sergei Vassilvitskii. Algorithms with predictions. Communications of the ACM, 65(7):33–35, 2022.
Luisa Montanari, Ulrike Schmidt-Kraepelin, Warut Suksompong, and Nicholas Teh. Weighted envy-freeness for submodular valuations. Social Choice and Welfare, 65(4):983–1016, 2025. doi: 10.1007/s00355-025-01599-6.
Hervé Moulin. Fair Division and Collective Welfare. MIT Press, 2003.
Tzeh Yuan Neoh and Nicholas Teh. Understanding EFX allocations: Counting and variants. In Proceedings of the 39th AAAI Conference on Artificial Intelligence (AAAI), pages 14036–14044, 2025. doi:10.1609/aaai.v39i13.33536.
Tzeh Yuan Neoh and Nicholas Teh. Closing gaps in online fair division. arXiv preprint arXiv:2609.05310, 2026.
Tzeh Yuan Neoh, Jannik Peters, and Nicholas Teh. Online fair division with additional information. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research. PMLR, 2026. URL https://arxiv.org/abs/2505.24503.
Enoch Peserico and Michele Scquizzato. Matching on the line admits no -competitive algorithm. ACM Transactions on Algorithms, 19(3):28:1–28:4, 2023. doi: 10.1145/3594873.
Bradley Phillips, Edith Elkind, Nicholas Teh, and Tomasz Wąs. Strengthening proportionality in temporal voting. In Proceedings of the 25th International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 3823–3832, 2026.
Benjamin Plaut and Tim Roughgarden. Almost envy-freeness with general valuations. SIAM Journal on Discrete Mathematics, 34(2):1039–1068, 2020.
Manish Purohit, Zoya Svitkina, and Ravi Kumar. Improving online algorithms via ML predictions. In Advances in Neural Information Processing Systems 31 (NeurIPS), pages 9684–9693, 2018.
Sharath Raghvendra. Optimal analysis of an online algorithm for the bipartite matching problem on a line. In Proceedings of the 34th International Symposium on Computational Geometry (SoCG), volume 99 of LIPIcs, pages 67:1–67:14, 2018.
Jonathan Scarlett, Nicholas Teh, and Yair Zick. For one and all: Individual and group fairness in the allocation of indivisible goods. In Proceedings of the 22nd International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 2466–2468, 2023.
Warut Suksompong. A characterization of maximum Nash welfare for indivisible goods. Economics Letters, 222:110956, 2023. doi: 10.1016/j.econlet.2022.110956.
Warut Suksompong and Nicholas Teh. On maximum weighted Nash welfare for binary valuations. Mathematical Social Sciences, 117:101–108, 2022. doi: 10.1016/j.mathsocsci.2022.03.004.
Warut Suksompong and Nicholas Teh. Weighted fair division with matroid-rank valuations: Monotonicity and strategyproofness. Mathematical Social Sciences, 126:48–59, 2023. doi: 10.1016/j.mathsocsci.2023.09.004.
Nicholas Teh. Distributive and temporal fairness in algorithmic collective decision-making. In Proceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems (AAMAS), pages 2779–2781, 2024.
Nicholas Teh. Computing fair and efficient indivisible chore allocations with bounded surplus. In Proceedings of the 19th International Symposium on Algorithmic Game Theory (SAGT), Lecture Notes in Computer Science. Springer, 2026a.
Nicholas Teh. Full justified representation in temporal voting: Efficient computation and verification. arXiv preprint arXiv:2609.35826, 2026b.
Nicholas Teh. Maximin share allocations beyond weakly lexicographic valuations. arXiv preprint arXiv:2610.00159, 2026c.
Nicholas Teh. The price of proportional representation in temporal voting. In Proceedings of the 35th International Joint Conference on Artificial Intelligence (IJCAI), 2026d. Full version available as arXiv:2605.11157.
Nicholas Teh. Fair division with strictly increasing valuations: A tight threshold for two-agent EF1 and PO. arXiv preprint arXiv:2607.23367, 2026e.
Nicholas Teh. Weighted fair division of indivisible mixed manna. arXiv preprint arXiv:2609.01580, 2026f.
Nicholas Teh, Saar Cohen, Karen Frilya Celine, Benjamin Yu, and Michael J. Wooldridge. Online house allocation with subsidy. arXiv preprint arXiv:2609.29691, 2026.
Yuanyuan Wang and Tianze Wei. Online fair allocations with binary valuations and beyond. In Proceedings of the 40th AAAI Conference on Artificial Intelligence (AAAI), pages 17267–17275, 2026.
Sheung Man Yuen and Warut Suksompong. Extending the characterization of maximum Nash welfare. Economics Letters, 224:111030, 2023. doi: 10.1016/j.econlet.2023.111030.
Valentin Zech, Niclas Boehmer, Edith Elkind, and Nicholas Teh. Multiwinner temporal voting with aversion to change. In Proceedings of the 27th European Conference on Artificial Intelligence (ECAI), pages 3236–3243, 2024. doi: 10.3233/FAIA240870.
Shengwei Zhou, Rufan Bai, and Xiaowei Wu. Multi-agent online scheduling: MMS allocations for indivisible items. In Proceedings of the 40th International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 42506–42516, 2023.
A Proof of Lemma 2.2
Proof of Lemma 2.2. We give each turn of the picking sequence its original position as a label, which it keeps when other turns are deleted. For a turn of agent i that is currently in position of the remaining sequence, we call agent i's th largest remaining predicted value the value associated with this turn. We show that the value associated with each turn never decreases until the turn is deleted, and that the good allocated when a turn is deleted is worth at least the value associated with it at that time.
Suppose that a good arrives and the remaining picking sequence has turns. For each agent , let be her remaining predicted values, including , and let be these values after removing . The simulation runs the remaining picking sequence on and hypothetical goods, where agent values the th hypothetical good at . Suppose that the turn in position picks .
Consider a turn in position , and let be its agent. Before is picked, the simulation picks the hypothetical goods in order of their indices, since every agent values them in this order and ties are broken in favor of smaller indices; hence, this turn picks the th hypothetical good. Since ties are broken in favor of , we have , and hence ; that is, the value associated with this turn does not change. Next, let be the agent of the turn in position . If , then since this turn picks rather than the th hypothetical good, we have , so at most of her remaining predicted values are larger than ; hence . If , then , since is her smallest remaining predicted value. Finally, a turn of agent in position moves to position , and its associated value changes from to .
Initially, the turn labeled is in position , and the value associated with it is , where is its agent. Mapping each good in to , where is the label of the turn deleted upon the arrival of this good, therefore gives a bijection with for every . This proves part (i).
For part (ii), fix an agent and a threshold . By part (i), the number of goods in that agent values at least is at least the number of goods in with value at least under . Since agent 's true values and her values under form the same multiset, the number of goods in that agent values at least is at most the number of goods in with value at least under . If agent 's th largest value for a good in were larger than her th largest value under for a good in , then taking to be the former value would give at least such goods in and at most in , a contradiction.
B Proof of Theorem 3.5
We prove the impossibility part of Theorem 3.5. In our construction, every agent has large values. We first use up all turns of one agent on goods of small value, and then give the goods that she values highly to another agent. The first step is possible because at least two agents have no turn among the first positions.
Proof. Fix , , and an algorithm of the stated form. Let and , and choose
Every agent’s frequency multiset consists of copies of and the values . We first describe the construction without normalization. Let be the picking sequence chosen by the algorithm, and let be the IDO bundles as in Section 2.2. If some is empty, then is empty by Lemma 2.2, and since , some other bundle contains at least goods; as all values are positive, the allocation is not -EFk. Hence, we may assume that every agent has at least one turn.
Since , at least two agents have no turn among the first positions. Among these agents, let be one with the fewest turns, and let . All turns of these agents lie among the last positions, so . Since , it follows that . Moreover, since , some agent has at least turns, and such an agent can be chosen to be different from . Indeed, otherwise, another agent with no turn among the first positions would have at most turns, contradicting the choice of .
Allocating the goods of small value. For , the good has value to agent and value to every other agent. We claim that all of these goods are allocated to agent . Suppose that this holds for , so only turns of agent have been deleted. Then her first remaining turn still comes after the first positions. Every other agent values at her unique smallest remaining predicted value, so in the simulation, every turn before agent 's first remaining turn picks a hypothetical good rather than , and these hypothetical goods are picked in order of their indices. When agent 's turn comes, at least hypothetical goods have been picked, so none of her hypothetical goods of value remains. Since has her largest remaining value among the values , she picks . This proves the claim, and all turns of agent are used.
Allocating the goods of large value. For , the good has value H to agents i and j, and value to every other agent; these values are available since . Agent i has no remaining turn. Every agent other than i and j again values the current good at her unique smallest remaining predicted value, so her turns before the first remaining turn of agent j pick hypothetical goods. Agent j picks the current good, since it has her largest value H and ties are broken in its favor. Since agent j has at least turns and received none of the first q goods, all of the goods are allocated to her.
The remaining goods have values given by each agent’s remaining predicted values in an arbitrary order. Agent i receives no further good, whereas contains goods that she values at H. Therefore,
and , so the allocation is not -EFk.
To make each agent’s values distinct, we replace the copies of by , and let have value to agents and . These are their largest remaining values, and all of them are at least , so the argument still applies. To obtain normalized valuations, we divide all predicted values by their sum from the start, consider the picking sequence that the algorithm chooses for these predictions, and divide all true values in the construction by the same sum; this does not affect the argument. Finally, if the algorithm chooses the picking sequence at random, we fix a sequence that is chosen with positive probability and use the instance constructed for it. Conditioned on this sequence, the final allocation is not -EFk, so the algorithm does not guarantee -EFk.
C Proof of Theorem 4.2
Proof of Theorem 4.2. Let be an integer, , and . Every agent's frequency multiset consists of one value 1 and copies of . Each of the first goods has value to every agent. Let be the set of agents who receive at least one of these goods. Every agent in values at 1 and at , while every agent outside values at and at 1. These values are consistent with the predictions.
If some bundle is empty, then since , some other bundle contains at least two goods; as all values are positive, the allocation is not -EFX. Hence, we may assume that every bundle is nonempty.
Case 1: is allocated to some agent . Only can be allocated to an agent outside , so as every bundle is nonempty, . Let . Agent receives no good that she values at 1, so . On the other hand, contains one of the first goods, and removing it from leaves a bundle containing , which agent values at 1. Since , the allocation is not -EFX.
Case 2: is allocated to some agent . If is also allocated to , let be any agent in . Then , whereas removing from leaves , which agent values at 1. If is allocated to some agent , then and , whereas removing one of the first goods from leaves a bundle containing , which agent values at 1. In both cases, the allocation is not -EFX.
Otherwise, is allocated to an agent outside other than , so . Since the first goods are goods allocated to the agents in , some agent receives at least of them. Agent has , while removing any good from leaves value at least to her. Since , the allocation is not -EFX.
To obtain normalized valuations, we divide all values by from the start, which does not affect the comparisons. Since the adversary depends only on the allocation of the first goods, the argument also applies to randomized algorithms.
D Proof of Lemma 5.1
We prove Lemma 5.1. Every good that the selection rule ignores is allocated upon arrival by the potential rule in Section 5. For each agent , her first four occurrences have ranks 3, 3, 2, 1, respectively, and all other goods have rank 0 for her; we write for the rank of good for agent . Let denote the largest rank of a selected good that agent has received, where if is empty. We will ensure that each agent receives at most two selected goods and ends with . We will also ensure that every good whose rank for some agent is larger than the final value of is selected, and that each agent other than receives at most one such good.
D.1 A Rule for Targets and Marked Goods
In this subsection, we consider two agents p and q, each of whom has two designated goods called her targets; an agent is satisfied once she receives one of her targets. In addition, at most two goods are marked; these goods must be selected and allocated to different agents. In the applications below, they are another agent's two most valuable occurrences, and giving them to different agents allows each to be removed in the corresponding EF1 comparison. The algorithm learns whether a good is a target or marked when the good arrives. Unless specified otherwise, ties are broken in favor of p over q.
Lemma D.1. Suppose that there may additionally be a third agent c, whose goods have labels in , such that either c has no selected good and her remaining goods of positive label have labels 1, 2, 2, or c already has one selected good of label 1 and her remaining goods of positive label have labels 2, 2. Then there exists an online rule that satisfies both p and q, allocates the marked goods to different agents, and gives each agent at most two selected goods, including any selected good that she already has. Moreover, if c is present, each selected good that she receives has a larger label than all of her previous selected goods, and her largest label is positive at the end; if this largest label is 1, then her two goods of label 2 are allocated to different agents in .
Proof. Let denote the largest label of a selected good that has received, where if she has none. If is absent, let and let all goods have label 0; the exceptions below then prevent any good from being given to . The rule selects every marked good, every target of an unsatisfied agent, and every good whose label is larger than , and ignores all other goods. For a selected good that is a target of an unsatisfied agent , we say that is eligible for unless (a) is marked and has received the other marked good, or (b) has label 2, , and has already received a good of label 2. If some unsatisfied agent is eligible for , the rule gives to such an agent. Otherwise, it gives to , with the following three exceptions.
(i) If x is the first marked good and its label is at most z, then x is given to p or q, preferring a satisfied agent.
(ii) If is the second marked good and the first one was given to , then is given to or , preferring a satisfied agent; if has label 2 and , the rule avoids an agent who has already received a good of label 2.
(iii) If is the second marked good, the first one was given to or , and the label of is at most , then is given to the other agent in .
Whenever (i) or (ii) gives a good to an unsatisfied agent, this agent receives priority in all later tie-breaking. A permitted recipient in (ii) exists, because at most one good of label 2 can have arrived before x.
We first show that both p and q are satisfied, ignoring for now the goods given by (iii); their labels do not change z. At most one of (i) and (ii) occurs. If neither of them gives a good to an unsatisfied agent, then each unsatisfied agent is always eligible for her targets and loses at most one target to the other agent, so she receives a target. Suppose that an exception gives a good to an unsatisfied agent r, and let s be the other agent. In case (i), both agents still have both of their targets, and only the second marked good can make r ineligible. In case (ii), no marked good arrives later, and an exclusion of type (b) is possible later only if x is the first good of label 2 and z < 2; then s is also unsatisfied, since otherwise she would have been a permitted and preferred recipient. Again, both targets of r remain, and at most one of them can make r ineligible. In every other case, r has a remaining target and cannot become ineligible later. In all cases, her priority ensures that she receives a target. Moreover, s never becomes ineligible while unsatisfied and loses at most one target to r, so she also receives a target.
Taking into account the goods given by (iii) does not affect this argument. Such a good is the second marked good, so it causes no later exclusion of type (a); its label is at most z, so it causes no exclusion of type (b); and it is not a target of its recipient if she is unsatisfied, since she would otherwise have been eligible for it. Moreover, it changes neither the priorities nor z.
Finally, the rule always allocates the marked goods to different agents, and while , it gives the goods of label 2 to different agents. If c initially has no selected good, she cannot lose all three of her goods of positive label, since before her first selected good, only the two targets given to p and q can take them. Every good given to c increases z, so she receives at most two selected goods. Each of p and q receives at most one target and at most one other marked good, and hence at most two selected goods.
D.2 The Initial Selections and the Rank-Three Case
The rule ignores every good that has rank 0 for all agents. Let be the first good that has rank at least 2 for some agent. If is the first good that has positive rank for some agent, the rule gives to an agent for whom has the largest rank. Otherwise, the rule gives the first good with positive rank for some agent to an agent for whom it has rank 1, and ignores all subsequent goods before , each of which has rank at most 1 for every agent. In the latter case, when arrives, the rule gives to an agent other than for whom has the largest rank among the agents other than , provided that this rank is at least 2, and gives to otherwise. In both cases, let be the recipient of . If exists and , let ; otherwise, let be any agent other than . We call the two remaining agents and .
Thus , and and have no selected good. Since is the only good so far that has rank at least 2 for some agent, each of and still has two remaining occurrences of rank at least 2, at least one of which has rank 3. If has no selected good, then at most one of her occurrences of positive rank has arrived, since whenever exists; hence, she still has at least three remaining occurrences of positive rank. Every good ignored so far has rank at most 1 for every agent.
Suppose that . We designate the two largest remaining occurrences of as her targets. For , we designate her three largest remaining occurrences of positive rank if she has no selected good, and all of her remaining occurrences of positive rank if . For each arriving good , the rule follows the first of the following instructions that applies, and ignores if none applies.
(i) If x is the first occurrence of rank 3 of q to arrive after g, give x to q.
(ii) If x is a target of p and p has not yet received a target, give x to p.
(iii) If and is a designated occurrence of with , give to .
(iv) If has received a target and , give to ; however, if , , and already contains a good whose rank for is larger than , give to instead.
(v) If and , give to if , , and ; otherwise, give to .
Agent receives an occurrence of rank 3 by (i). Agent loses at most one target to , so she receives a target by (ii), and . If initially has no selected good, she loses at most two designated occurrences before receiving one. The bounds of two selected goods for , , and follow directly from the instructions.
Once has two selected goods, at most one of her occurrences arriving after has rank larger than , except when and , in which case there may be two. In the former case, receives at most this one additional good. In the latter case, by (iv) and (v), receives an additional good only if the other occurrence of rank larger than is already in or in . Hence, receives at most one additional good, and she cannot receive another occurrence of rank larger than in addition to her own occurrence of rank 3.
If ends with , then one of her occurrences of rank 3 is , and at most one arrives afterwards; by (ii) and (iv), the latter is not given to . For , since targets have priority, at most one occurrence of rank larger than is added to each of and before receives her second selected good. Afterwards, the second part of (iv) prevents from receiving a second such occurrence, the preceding paragraph shows the same for , and (v) gives such an occurrence to only if and .
Finally, every occurrence of rank larger than the final maximum rank of its agent is selected. This is immediate for f and q, whose final maximum rank is 3. For p, such an occurrence has rank 3; if it arrives before she receives a target, it is one of her targets, so it is selected by (ii) or (iv) unless an earlier instruction applies. For c, such an occurrence that arrives after g has rank at least 2 and is therefore designated, so it is selected by (iii) or (v) unless an earlier instruction applies. This proves all required properties.
D.3 The Rank-Two Case
Suppose that . Since has rank at most 2 for each of , , and , each of them still has both of her occurrences of rank 3. We use the occurrences of rank 3 of and as their targets.
Agent has no selected good, or . If has no selected good, her three largest remaining ranks are 1, 3, 3 or 2, 3, 3; we give the corresponding occurrences labels 1, 2, 2, respectively, and give all of her other goods label 0. If and , then already has a selected good of rank 1, which we give label 1, and her remaining occurrences of positive rank have rank 3, which we give label 2. We apply the rule of Lemma D.1 with the two occurrences of rank 3 of as marked goods, and give no further selected good. The lemma gives and an occurrence of rank 3, and allocates the two occurrences of rank 3 of to different agents. If does not end with , then her two remaining occurrences of rank 3 are given to different agents in , and the only earlier good that may have larger rank for her is , which is given to . All required properties follow.
It remains to consider the case where and . Then and each have one selected good.
Agent and . The remaining occurrences of positive rank of have ranks 2 and 3. When a good arrives that is a target of an unsatisfied agent in , the rule gives to such an agent, with the restriction that while , an agent who has received an occurrence of rank 3 of cannot receive another one. Otherwise, the rule follows the first of the following instructions that applies, and ignores if none applies.
(i) If and , give to .
(ii) If , , and , give to .
(iii) If , give to or , respecting the same restriction for occurrences of rank 3 of and preferring a satisfied agent. If the recipient is unsatisfied, she receives priority afterwards.
Instruction (iii) applies at most once, namely to the remaining occurrence of rank 3 of c after she has received her occurrence of rank 2. If both p and q are unsatisfied at that time, they still have both of their targets; the recipient can be excluded by the restriction at most once, so her priority ensures that she receives a target. If the other agent is satisfied, she can have been passed over only because the current good is the second occurrence of rank 3 of f, so no further exclusion can occur. The other agent in is never excluded while unsatisfied and loses at most one target. Hence, both p and q receive an occurrence of rank 3 and at most two selected goods.
While , the two occurrences of rank 3 of are selected and given to different agents: the restriction and (iii) ensure this for and , and receives only one additional good. For , every occurrence of rank larger than is selected, and by (ii), receives no such occurrence other than . If ends with , then her remaining occurrences of ranks 2 and 3 were given to different agents in ; if ends with , then her remaining occurrence of rank 3 is not given to . The bounds on the number of selected goods and the required properties follow immediately.
Agent and . Let be the remaining occurrence of rank 2 of . Before arrives, the rule gives each arriving good that has rank 3 for some agent whose current maximum rank is less than 3 to such an agent, with priority order , and ignores all other goods. When arrives, the rule proceeds as follows.
(i) If or y is a target of an unsatisfied agent, the rule continues with the same priority rule. Both p and q then receive an occurrence of rank 3. If necessary, so does c: one of the targets given to p and is , so only one occurrence of rank 3 of can be given to or . If ends with , her two occurrences of rank 3 are given to different agents, since every other agent receives at most one further selected good.
(ii) Otherwise, if , the rule gives y to c and continues with the rule of Lemma D.1 for p and q, with the two occurrences of rank 3 of c as marked goods.
(iii) Otherwise, the rule gives y to f and continues with the rule of Lemma D.1 for p, q, and c, where the selected good of c has label 1 and her occurrences of rank 3 have label 2. If is still 2, the two occurrences of rank 3 of f are marked; otherwise, no good is marked.
In (ii) and (iii), we may regard the rule of Lemma D.1 as having been applied since was allocated. Indeed, since when arrives, and in (iii) also , every good selected after and before was given to an unsatisfied agent in as one of her targets, except for the occurrence of rank 3 selected for in (ii). Such an agent had no selected good and was therefore eligible, so the rule of Lemma D.1 would have made the same decision. Every other good that arrived after and before , as well as itself, is neither marked nor a target of an unsatisfied agent and has label 0, so this rule would have ignored it; giving such a good to or does not affect the guarantees of Lemma D.1.
By Lemma D.1, every agent receives at most two selected goods, and the required occurrences of larger rank are given to different agents. In (iii), if ends with , her occurrences of larger rank are , which is given to , and her two occurrences of rank 3, which are given to different agents in ; otherwise, ends with . Every occurrence of rank larger than the final maximum rank of its agent is selected.
Returning to values. In every case, each agent receives one or two selected goods and ends with , so she receives one of her first four occurrences. Every good ignored before has rank at most 1 for every agent, and every good ignored afterwards has rank at most the final value of for every agent . Since the two largest values of each agent are equal after the first capping step, every good of value larger than to agent has rank larger than for her. These goods are selected and given to different agents other than . Hence, for every agent , at most one good in has value larger than to agent , regardless of how the goods that are not selected are allocated. This proves Lemma 5.1.
E Proof of Lemma 5.2
We prove Lemma 5.2. Let be an agent with , and define the nonincreasing step function on as follows. For , let
and for every integer and every with , let
Let for . This function is nondecreasing, concave, and piecewise linear, with . If , its increase over is . Otherwise, write , where is an integer and . For , the convexity of the reciprocal function gives
This proves the required lower bound on the increase.
To show that , we normalize , omit the subscript , and write and . Let
Since , we have , so the interval consists of , the intervals for , and a final interval of length on which the slope is . Hence, the total increase is
We show that S is decreasing in x. Away from its breakpoints,
The trapezoid bound for the convex function yields
For fixed , the function is increasing on : its derivative is , since and . Its value at is less than . Hence, writing , we obtain
The final inequality follows from the inequality of arithmetic and geometric means and ; indeed, using , we have and . Since is continuous at its breakpoints, it follows that
This proves Lemma 5.2. The construction uses intervals of constant slope, because . Computing each potential increase by summing over these intervals takes time, giving an -time implementation of the four-agent algorithm.
F Proof of Theorem 5.3
Proof of Theorem 5.3. By the discussion before Lemma 5.2 in Section 5, it suffices to show that for all distinct agents . Fix such agents, and let denote its final value. If , then and the claim is immediate, so assume that .
Unselected goods. Consider a good . When arrives, the increase in agent 's potential is at least the increase in agent 's potential that would cause. Since never decreases and is concave, the latter increase is at least , evaluated at the final value of . As agent 's potential never decreases and is at most 1, summing over these goods gives
Since , concavity implies that each term is at least . By Lemma 5.2, if , then
We refer to this as the bound on unselected goods; it holds for every agent .
A lower bound on . Remove from the selected goods of the other three agents and one good in among agent 's first four occurrences. At most seven goods are removed, and agent 's seven largest values under are those of her first seven occurrences, so the remaining goods have total value at least under . These goods consist of agent 's remaining goods, whose value under is , and the unselected goods of the other three agents. If , then and , so applying the bound on unselected goods to each of the other three agents yields
a contradiction. Hence .
The case . Since , removing one selected good from leaves at most one selected good, whose value under is at most . By the bound on unselected goods and , we obtain
The case . Let be agent 's total value for the goods other than her first four occurrences. Since for every , we have
If contains none of agent 's first four occurrences, then . Otherwise, remove one such occurrence from , and remove from a good in among her first four occurrences. The remaining goods of and contain at most two of agent 's first four occurrences, so . Since , this gives .
In both cases, , as desired.
G Omitted Proofs in Section 6
We prove Theorems 6.1 and 6.2. Both instantiation rules in Section 6.1 and the algorithm of Theorem 3.3 are deterministic and run in polynomial time. Since every predicted value is used exactly once, the algorithm of Theorem 3.3 returns an allocation that is EEFX with respect to the predicted valuations, regardless of the accuracy of the predictions. When the predictions are exact, the true value of each arriving good is among the unused predicted values, so both rules assign to each good its true value;
hence, both algorithms are consistent. Moreover, for every agent , there exists a partition of with for every such that, writing ,
For agent i, we use this partition to prove the claimed guarantees for the true values. This also shows that the guarantee for agent i does not depend on the predictions for the other agents.
G.1 Proof of Theorem 6.1(i)
Proof of Theorem 6.1(i). Fix an agent whose predictions are underestimates with error factor . We first show that for every good . Initially, matching agent 's true values to her predicted values in nonincreasing order gives a matching in which every predicted value is at most the true value matched to it. Suppose that such a matching exists between the true values of the goods that have not been allocated and the unused predicted values when a good arrives, and let be the predicted value matched to . The rule assigns to the largest unused predicted value that is at most , so . If and are different occurrences, let be the true value matched to ; replacing the pairs and by and preserves the property, since . Removing the pair of yields the desired matching for the next arrival. Hence, for every , and in particular .
Let be the bijection from to itself that maps the goods, in nonincreasing order of their true values, to the goods in nonincreasing order of their predicted values. Writing , we show that
For a finite list y of nonnegative numbers, let be the number of entries of y larger than t. For two lists y and z of the same length, both in nonincreasing order, we have
since for every , the number of indices with is equal to . Since the predictions are underestimates with error factor , for every , the number of goods with true value larger than is at most the number of goods with . Hence, for every , the number of goods in with true value larger than exceeds the number of goods with by at most the amount by which the number of goods with exceeds the number of goods in with true value larger than . Applying the identity to both sides, the left-hand side of the desired inequality is at most , where and list the values and for , respectively, in nonincreasing order. Since for every , each is at least the th largest predicted value of a good in , so this sum is at most , as claimed.
For each , let , so that . For every ,
Hence, is -EEFX for agent .
G.2 Proof of Theorem 6.1(ii): General Bound
We prove the first bound in Theorem 6.1(ii).
Proof. Fix an agent whose predictions are overestimates with error factor . The exchange argument in Section G.1, with the inequalities reversed, shows that for every good : if the arriving value is matched to , the rule assigns the smallest unused predicted value that is at least , and if is matched to , then and . Moreover, in nonincreasing order, each true value of agent is at least times the corresponding predicted value; we refer to these inequalities as the sorted lower bounds.
Let . If , then every part with at least two goods consists of goods with predicted value zero, and hence true value zero, so all comparisons hold exactly. Assume therefore that . We increase the true value of every good outside to its predicted value. This preserves the sorted lower bounds and can only make the desired comparisons harder. Every good outside with predicted value larger than forms a part by itself. We temporarily remove these goods from both sorted lists. Since the true and predicted values of the goods in are at most , the removed goods are the largest entries of both lists, so the sorted lower bounds remain valid.
Let be the number of nonempty parts that remain. If , every part contains at most one good, and the comparisons hold. Otherwise, let be the total value of the remaining goods outside , and let be the smallest of these values. Each remaining part has value at most plus its smallest value; one of these smallest values is , and each of the others is at most . Hence . Summing the sorted lower bounds over the remaining lists gives , and therefore
If every good in has predicted value less than , then these goods occupy the last positions in both lists, and the sorted lower bounds give , which implies the claimed bound. Otherwise, the number of predicted values at least exceeds the number of remaining goods outside , so by the sorted lower bounds, some good in has true value at least . Thus , and
where the second inequality holds because if is smaller than the right-hand side, then the second term in the maximum is at least the right-hand side. Since , we obtain
If the last factor is nonpositive, the claim holds trivially. Otherwise, every remaining part has value at most V after removing any good, which gives the required comparisons. Restoring the removed parts, each of which consists of a single good, and decreasing the values of the goods outside back to their true values preserve these comparisons.
G.3 Proof of Theorem 6.1(ii): Refined Bound for Three or More Agents
We prove the second bound in Theorem 6.1(ii). Compared with the first bound, we additionally consider the largest predicted value h of a good in . If h is small, the parts have smaller total value. If h is large, this good keeps most of its value, and we treat separately the parts consisting of two goods of large value.
Proof. Let , and consider the algorithm and the agent with error factor in Section G.2. By the case handled there, we may assume that , and we may also assume that the claimed factor is positive. We scale agent 's values so that , and let and . As before, we increase the true value of each good outside to its predicted value and use the sorted lower bounds. Throughout the proof, we consider all parts , including empty parts and parts that become empty after goods are temporarily removed.
We first remove the goods outside with value larger than 1. Each such good forms a part by itself and is among the largest entries of both lists. Each remaining part has value at most 1 plus its smallest value, which is at most 1, so the remaining goods outside have total value at most . Summing the sorted lower bounds gives
Let be the largest predicted value of a good in , and let be the true value of this good. The other goods in have total predicted value , and their true values are at most their predicted values. Hence, . In each of the following cases, we start again from the original lists with the increased values outside .
Suppose first that . We remove all goods outside with value larger than ; since all values of goods in are at most , these goods are the largest entries in both lists. Each remaining part has value at most . Indeed, if a good was removed from the part, the remaining value is at most 1; otherwise, the value of the part is at most 1 plus its smallest value, which is at most . Hence, the total value of the remaining goods outside is at most , and summing the sorted lower bounds gives
where the last inequality uses . Since removing any good from any part leaves value at most 1, the required comparisons hold.
Now suppose that . We remove the goods outside with value larger than , as well as those with value strictly between and . The sorted lower bounds remain valid. Indeed, the goods in the first group are the largest entries of both lists. For the second group, every good in other than the one of largest predicted value has predicted and true values at most , while the latter good has predicted value and true value . Hence, each removed good in the second group has the same position in both lists, after breaking ties consistently, and removing entries in the same positions from both lists preserves the sorted lower bounds for the remaining entries.
Every remaining good outside has value at most or at least . If a part contains two goods of the latter kind, then the part consists of exactly these two goods, since otherwise removing a third good, even one of value zero, would leave value larger than 1; we call such a part a pair. A pair has value at most . Every other part has remaining value at most . Indeed, a part from which a good was removed has remaining value at most 1; a part containing a good of value at most has value at most ; and a part with a single good has value at most .
If at least one part is not a pair, then since the number of pairs is between 0 and n - 2 and the resulting bound is linear in this number, the total value of the remaining goods outside satisfies
where the second inequality uses and . Summing the sorted lower bounds now gives
which suffices for all parts.
It remains to consider the case in which every part is a pair. Then there are exactly goods outside , none of which was removed. Let be their values, each of which is larger than , and let . If , then , whereas removing either good from a pair leaves value at most , so the comparisons hold exactly. Otherwise, let be the number of values larger than d, so that . The other goods in have predicted and true values at most , while . Hence, the list of predicted values begins with , and the list of true values begins with , , with ties ordered arbitrarily. The sorted lower bounds give for and , so
Since removing either good from a pair leaves value at most , the factor for agent is at least , where the last inequality follows from Bernoulli's inequality.
In every case, the partition gives the required comparisons for the increased values, and decreasing the values of the goods outside back to their true values preserves them.
G.4 Proof of Theorem 6.1: Lower Bound for Underestimates
We prove the impossibility result for underestimates in Theorem 6.1.
Proof. Let and , and suppose for contradiction that some consistent algorithm guarantees -EEFX for some whenever all agents' predictions are underestimates with error factor . Choose a positive integer large enough that satisfies and , and let . Every agent's predicted multiset consists of copies of , the values 1 and , and copies of . The goods arrive with common values: first goods of value , then one good of value 1, and then goods of value . If the predictions were exact, the last good would have common value .
Consider an EEFX allocation of the instance with this exact continuation. We claim that the goods of value or 1 are allocated to different agents, and that the remaining agent receives all other goods. Consider an agent who receives none of these goods. Her bundle has value at most . In any partition showing that her bundle is EEFX for her, each of the goods of value forms a part by itself. If she does not receive all of the remaining goods, then the last part contains the good of value 1 and another good of positive value, while her bundle has value less than 1; removing the latter good contradicts EEFX. Hence, she receives all goods of value or . Since there can be only one such agent, the claim follows.
Let be the agent who receives the good of value 1, and let be the agent who receives the goods of value . By consistency, all goods of value are allocated to before the last good arrives. Now let the last good have common value instead of . The true values other than are in nonincreasing order, and each of them is between the corresponding predicted value among and times this value, so the predictions are underestimates with error factor .
Consider an agent in who does not receive the last good. Her bundle has value at most 1, and , so in any partition showing that her bundle is -EEFX for her, each of the goods of value forms a part by itself, and the last part contains all other goods outside her bundle. If this agent is , her value is , while the last part contains the goods of values 1 and , so her factor is at most . If this agent is , her value is 1, while the last part contains the good of value and all goods of value , so removing a good of value leaves value , and her factor is at most . Since , we have , so . In both cases, the factor is less than , a contradiction.
G.5 Proof of Theorem 6.1: Lower Bound for Overestimates
We prove the impossibility result for overestimates in Theorem 6.1.
Proof. Let . Every agent's predicted multiset is ; since , all of these values are larger than 1/2. The goods arrive with common values: first goods of values , and then one last good. If the predictions were exact, the last good would have common value 1.
Consider an EEFX allocation of the instance with this exact continuation. Every agent receives at least one good: otherwise, an agent with an empty bundle has goods of positive value outside her bundle, so any partition of these goods into parts has a part with at least two goods, and removing one of them leaves positive value. Since there are goods, some agent receives exactly one good. Suppose that this good has value less than 1. In any partition showing that her bundle is EEFX for her, the good of value 1 forms a part by itself, since otherwise removing another good from its part would leave value at least 1. If , no part remains for the other good outside her bundle. If , the remaining goods outside her bundle lie in at most parts, so some part contains at least three goods, and removing one of them leaves value larger than 1. Both cases contradict EEFX. Hence, any agent who receives exactly one good receives the good of value 1, so exactly one agent receives one good and every other agent receives two goods. In particular, the agent who receives the last good has no good before it arrives. By consistency, the algorithm must leave some agent without any good after the first goods have been allocated.
Now let the last good have common value instead. The true values are then exactly the predicted values divided by , so the predictions are overestimates with error factor . By the argument above for empty bundles, the agent without any good must receive the last good for the allocation to be -EEFX for any . Her value is then , and the goods outside her bundle have values . For any partition of these goods into parts, some part has value at least after removing some good from it. Indeed, if the part containing the largest good contains another good, we remove the latter good. Otherwise, , the remaining goods lie in parts, and some part contains at least three goods, so removing one of them leaves value larger than 1. Hence, the bundle of agent is not -EEFX for her for any .
G.6 Proof of Theorem 6.2
We prove Theorem 6.2 using instances with identical predictions and identical true valuations in which every good has positive value. In each instance, consistency forces an agent to receive no good before the last arrival, and we then make the last good much less valuable than predicted.
Proof of Theorem 6.2. For two agents and , Theorem 6.1(ii) gives the positive factor . Since EEFX is equivalent to EFX for two agents, it remains to show that no consistent algorithm guarantees a positive approximation of EFX when the predictions are overestimates with error factor 2; this also covers every larger error factor.
Suppose for contradiction that some consistent algorithm guarantees -EFX for some , and let be an integer such that . Both agents' predicted multisets are , and the first goods arrive with common values , in this order. If the predictions were exact, the last good would have common value , which is larger than the total value of the first goods. If both agents received a good before the last arrival, then the agent who receives the last good would also have an earlier good of positive value; removing this earlier good would leave her bundle with value at least , which is larger than the value of the other agent's bundle. Hence, consistency forces the algorithm to allocate all of the first goods to one agent.
Now let the last good have common value 1/2 instead. The true values are then exactly half of the predicted values, so the predictions are overestimates with error factor 2. The agent without any good must receive the last good for the allocation to be -EFX. Her bundle then has value 1/2, whereas removing the good of value 1 from the other agent's bundle leaves value . Hence, her factor is at most , a contradiction.
Three or more agents. Fix , and suppose for contradiction that some consistent algorithm guarantees -EEFX for some when all agents' predictions are overestimates with error factor 3/2. Let , and let be an integer such that . Let and , so that the values in sum to . We identify these distinct values with goods. No two disjoint nonempty subsets of have the same sum. Indeed, otherwise, multiplying the equality of their sums by would yield a nonzero polynomial with coefficients in having as a root; since its leading coefficient is 1 or , this contradicts the rational root theorem.
Let J > 3. Every agent’s predicted multiset consists of n - 3 copies of J, the value 1, and the values in Q. The goods arrive with common values: first the goods of value J, then the goods of Q, and finally one last good. If the predictions were exact, the last good would have common value 1. We show that in every EEFX allocation of this exact continuation, the goods of value J are allocated to different agents, and the good of value 1 forms the bundle of another agent.
We first show that there do not exist three disjoint bundles contained in such that, for each of them, the goods of outside the bundle can be partitioned into two parts toward which the bundle satisfies EFX; some goods of may belong to none of the three bundles. An empty bundle cannot satisfy this condition, since there are goods of positive value to be partitioned into two parts. Suppose that one of the bundles has value at least 1. At most one of the other two bundles contains the good of value ; let be one that does not, and let be its value. Since , we have . Hence, the good of value 1 must form a part by itself in the partition for , so the other part is , whose smallest value is . Thus , i.e., . Together with the bundle of value at least 1, this exceeds the total value of , a contradiction. Consequently, all three bundles have value less than 1.
At least two of the three bundles do not contain the good of value , and by the same argument, each of them has value at least . Hence, the third bundle and the goods of outside the three bundles have total value at most . Since the third bundle is nonempty and is the smallest value in , it consists of the good of value alone. Its partition must then consist of the parts and , and the smallest value in the latter part is . The EFX condition would therefore require . However, for ,
a contradiction. Thus, three such bundles do not exist.
Now consider an EEFX allocation of the exact continuation. An agent with no good of value J has a bundle of value at most , so in any partition showing that her bundle is EEFX for her, each good of value J forms a part by itself, and the goods of outside her bundle lie in the two remaining parts. If the goods of value J had fewer than recipients, then at least four agents would have no good of value J, and at least three of them would not have the good of value 1 either; their bundles would be three disjoint bundles contained in Q satisfying the condition ruled out above. Hence, the goods of value J have different recipients, and exactly three agents have no good of value J. The good of value 1 must be allocated to one of these three agents, since otherwise their bundles would again be three disjoint bundles contained in Q satisfying this condition.
Let and be the bundles of the other two agents with no good of value , let and be their values, and let be the total value of the goods in , so that . Suppose that . If , then , so in any partition showing that is EEFX for its recipient, all goods of value and the good of value 1 form parts by themselves, and the remaining part is . Since is nonempty with total value , the smallest value in is at most , so
a contradiction. By symmetry, both x and y are less than 1, and the same reasoning gives
Let be the smallest value in . Adding the two inequalities yields
so equality holds throughout. Since all values are positive, implies that consists of a single good, and the two inequalities then imply . If , then and are empty and consists of a single good, contradicting . Otherwise, and are disjoint nonempty subsets of with the same sum, a contradiction. Hence .
It follows that all goods of Q are allocated to these two agents, so each good of value J and the good of value 1 forms the bundle of a different agent. In particular, consistency forces the algorithm to leave some agent without any good before the last good arrives. Now let the last good have common value instead of 1. The goods of value J are unchanged, and the true values of the other goods are exactly the predicted values divided by q. Hence, the predictions are overestimates with error factor 3/2. (For n = 3, there are no goods of value J, and every true value is 2/3 of the corresponding predicted value.)
The agent without any good before the last arrival must receive the last good for the allocation to be -EEFX, since otherwise there are more than goods of positive value outside her bundle, so some part of any partition contains at least two of them. Her bundle then has value . Since , in any partition showing that her bundle is -EEFX for her, each good of value forms a part by itself, and the goods of lie in the two remaining parts. Two of the three largest goods of lie in the same part, and removing the larger of them leaves value at least . Hence, her factor is at most , a contradiction.
In both constructions, the exact and inaccurate continuations have the same number of goods and the same predictions, and the restrictions on the allocation of the first goods follow from consistency for every sequence of allocation decisions. Consequently, the arguments also apply to randomized algorithms. ☐