Manuscript Offprint
arXiv:2609.10960MMS Allocation for Chores with Online Agent Arrivals
Abstract
We study the fair allocation of m indivisible chores to n agents with subadditive cost functions arriving online in an arbitrary order. Upon an agent's arrival, we are informed of her cost function and must irrevocably assign her a set of chores. We focus on the Maximin Share (MMS) fairness notion and aim to compute an allocation in which all items are assigned, and no agent incurs a cost more than times her MMS.
Without any prior information about the instance (other than and ), we design an algorithm with a competitive ratio of for any constant , where denotes the number of cost function types. Our bound matches the best known offline approximation guarantees for MMS under subadditive costs and is nearly optimal with respect to all three parameters: we show that even for binary additive cost functions, no online algorithm can achieve a competitive ratio of .
We then consider the setting in which the cost function types are known in advance (though the realized types of arriving agents are not). For additive cost functions, we provide an algorithm with a competitive ratio of , and show that constant-competitive algorithms do not exist for general , even for the binary additive setting. For binary additive functions when , we propose a 3-competitive algorithm and establish a lower bound of 2.
1 Introduction
Fair allocation studies how to allocate a set M of m indivisible items among a group N of n agents with heterogeneous preferences. Depending on these preferences, items may be viewed either as desirable goods (e.g., resources) or undesirable chores (e.g., tasks). The primary objective in this area is to compute allocations that satisfy well-defined notions of fairness. In this work, we focus on the fair allocation of chores, where each agent evaluates bundles via a non-negative cost function. Our main fairness concept is the maximin share (MMS). Originally introduced by Budish [Bud11] for goods, this notion extends naturally to chores, where the MMS value of an agent is the minimum cost she can guarantee herself by partitioning all chores into n bundles and then receiving the worst bundle (i.e., the bundle with the highest cost). An allocation is said to be -MMS, for some approximation ratio , if every agent receives a bundle whose cost is at most times her MMS value.
Prior work on chore allocation has mostly focused on the offline setting, where the entire set of agents and items is known in advance. However, many real-world applications are inherently dynamic, with information revealed sequentially. This motivates the study of fair allocation in online settings. For example, Zhou et al. [ZBW23] studied MMS approximations in a model where agents are offline, but items arrive sequentially and must be allocated irrevocably upon arrival. They showed that no online algorithm can achieve a competitive ratio better than 2 without prior information. Song et al. [STWZ26] later strengthened this lower bound to and provided an -approximation algorithm in the k-valued setting, where the cost function of each agent has at most k different values.
Motivated by disaster relief scenarios, where supplies (like food or medical resources) must be distributed promptly as requests arrive, Kulkarni et al. [KMS25] studied a complementary model in which items are given offline, and agents arrive sequentially. They focused on the allocation of goods and proved that no positive-MMS guarantee is achievable without prior information, even for two agents. To overcome this limitation, they considered the (known) k-type setting, where the algorithm is given a set of k valuation functions, and each arriving agent reveals her type upon arrival. They designed a -MMS competitive algorithm and complemented it with a lower bound of .
In this work, we investigate the analogous online setting for chores, which naturally arises in dynamic task assignment problems. Consider the following illustrative example.
Task Assignment to Volunteers. Consider a campus volunteer event in which an organizer must recruit a fixed number of volunteers to complete a predefined set of tasks. Volunteers arrive sequentially; upon arrival, the organizer learns each volunteer's skills and preferences and must irrevocably assign a subset of tasks. The organizer's goal is to complete all tasks while ensuring that no volunteer feels unfairly treated.
In this setting, the organizer knows the total number of volunteers in advance but learns each agent's cost function only upon arrival, and the assignments of tasks are irrevocable. This motivates the online model that we formally define next.
Chore Allocation to Online Agents. In this model, a set of m items is given offline, while n agents arrive online sequentially; the value of n is known to the algorithm. Upon the arrival of an agent , the algorithm learns her cost function and must irrevocably assign a subset of unallocated items to her. The goal is to compute a full allocation (in which all items are allocated) that minimizes the MMS approximation ratio.
In this work, we assume that agents have subadditive cost functions and focus only on deterministic online algorithms. In contrast to the case of goods, for chore allocation, any online algorithm trivially achieves a competitive ratio of at most n, since every allocation is n-MMS. This raises the natural question of whether strictly better competitive ratios can be obtained. Unfortunately, as we show next, this is not possible in general.
Hardness of the Problem. Consider, for example, the case of two agents. Suppose the first agent has a unit cost for each of the m chores. Unless the algorithm assigns more than m - 2 chores to the first agent, there exists an instance in which the second agent has cost 1 on two of the remaining chores and cost 0 on the other items, for which the allocation is not better than 2-MMS. On the other hand, if more than m - 2 chores are assigned to the first agent, then her MMS approximation ratio approaches 2 as . This hard instance naturally extends to n agents. In particular, consider binary cost functions with a nested structure: each arriving agent has cost 1 on all currently unallocated chores and cost 0 on all previously allocated ones. For sufficiently large m, this construction implies that no online algorithm can achieve a competitive ratio strictly better than n.
The above hardness result shows that beating the competitive ratio of n is impossible in general. However, the construction relies on instances with a very large number of chores (e.g., exponential in n) and entirely heterogeneous agent cost functions, which may be unrealistic in practice. For example, in the above task assignment example, the number of tasks is typically bounded, and the volunteers naturally fall into a small number of types based on their skills or preferences. These observations motivate the following question.
Can we obtain competitive ratios strictly better than n when the number of chores is bounded, or when agents belong to a small number of types?
Furthermore, following prior work [KMS25] on online fair allocation with type information, we investigate whether additional knowledge about cost functions can lead to improved guarantees. In particular, we ask:
Can we design algorithms with improved (e.g., polylogarithmic or constant) competitive ratios when the types of cost functions are known?
In this work, we answer both questions in the affirmative.
Result 1 (Theorem 3.1). For the allocation of chores to online agents with subadditive cost functions, if the agents belong to k unknown types, there exists an algorithm that guarantees an competitive ratio for any constant .
Our algorithm is near-optimal in two respects. First, its competitive ratio matches the best known offline approximation ratio for MMS under subadditive cost functions due to Li et al. [LWZ23], who also proved a nearly matching lower bound of . We further adapt their analysis to establish a lower bound of when the agents belong to k types. Second, we prove a nearly matching lower bound of for all deterministic online algorithms, even for binary additive instances.
Our algorithm is based on the simple idea of asking each online agent to take sufficiently many items so that all items are eventually allocated. Moreover, by using the same MMS partition for agents of the same type and assigning different bundles to different agents, we can guarantee that all items are allocated when sufficiently many agents of that type arrive. The main challenge is to achieve an competitive ratio when the number k of agent types is unknown. For example, when the first agent arrives, we can allocate to it only bundles from her MMS partition; otherwise, in the case where all remaining agents have the same type as agent 1 (i.e., ), the resulting approximation ratio would be . To overcome this difficulty, we maintain an estimate of the number of agent types and use it to dynamically adjust the number of bundles that each online agent i takes from her MMS partition. With a carefully designed choice of , we show that all items are allocated while the MMS approximation ratio remains bounded.
We next turn to the known-types setting studied in previous work, where the algorithm is given a set of cost functions (which are the types) but learns the type of an online agent only upon her arrival. We investigate whether strictly better competitive ratios can be achieved in this setting. Unfortunately, as discussed above, the hardness of approximation in the offline setting [LWZ23] leaves very little room for improvement under subadditive cost functions. We therefore focus on additive and binary additive cost functions. We emphasize that, in the known-types setting, not all agent types are guaranteed to appear. This distinction is particularly important in the binary setting, since otherwise the problem becomes trivial: we could simply wait and assign each item to an arriving agent with , thereby reducing the problem to allocating only those items for which every type incurs cost 1, which is a trivial problem. Consequently, our model allows . Our next two results show that the MMS guarantee can be improved substantially in the known-types setting.
Result 2 (Theorem 4.7). For the allocation of chores to online agents with additive cost functions, if the agents belong to k known types, there exists an algorithm that guarantees an competitive ratio.
This result demonstrates that logarithmic competitive ratios are achievable in the known-types setting and establishes a sharp separation between additive and subadditive cost functions.
Our main algorithmic idea is to reduce the online allocation problem to computing an offline partition of items that is fair for all types. Specifically, we seek a partition of the items into n bundles such that the partition is -MMS with respect to every cost function type. We refer to such a partition as an -approximate universal partition. Clearly, if an -approximate universal partition can be computed, then assigning each arriving agent an arbitrary unallocated bundle from the partition yields an -MMS allocation. Complementing this positive result, we provide a hard instance showing that the best achievable approximation factor for universal partitions with k cost functions is .
Although binary additive costs have a simple structure, all of our hardness results already hold for binary instances. We therefore study this setting to identify the core difficulty behind the general additive problem. Unfortunately, a direct consequence of the hardness result for the uninformed setting implies that no online algorithm can guarantee an competitive ratio in the known-types binary additive setting. In particular, constant-competitive algorithms do not exist for general . We therefore focus on the regime and develop a 3-competitive algorithm.
Result 3 (Theorem 5.8). There exists a 3-competitive algorithm for the allocation of chores to online agents with binary additive cost functions, provided that the agents belong to k known types and .
Unlike a universal partition, our binary algorithm chooses each bundle after the current type is revealed. It controls the cost for the receiving agent while keeping the remaining chores safe for every type. We call this a universal residual. We first show that a certain randomized allocation process achieves a bounded MMS approximation ratio with positive probability, and then derandomize the process via an appropriately designed potential function. However, there is a crucial difference: rather than requiring, as universal partitions do, that every bundle has small cost under every cost function type, we relax this condition. Specifically, we compute the bundles on-the-fly as agents arrive, and we require only that the allocated bundle has a small cost for the receiving agent, while the remaining set of items maintains a small cost for all types. We refer to this property as maintaining a universal residual. In the binary additive setting, this can be achieved by assigning a random bundle of fixed size determined by the arriving agent's cost function. We prove that such random allocations preserve the universal residual property with positive probability. Consequently, by defining a suitable potential function over the residual set of items, we obtain a polynomial-time derandomization of the process. Complementing this positive result, we show that exact MMS allocations remain unattainable even in this restricted regime: no deterministic algorithm can guarantee better than a 2-MMS allocation even when .
1.2 Technical Overview
We provide an overview of the main techniques used in the known-types setting.
Universal partitions. Although all possible cost-function types are known in advance, the type of each arriving agent is revealed only upon arrival. Thus, an allocation decision made for the current agent may leave an unfavorable set of chores for future agents. Our first approach avoids this online uncertainty by constructing, before any agent arrives, a partition that is approximately MMS for every possible type. We call such a partition a universal partition. Once it is computed, each arriving agent can simply receive an arbitrary unused bundle, regardless of her type or the arrival order. We give two constructions. The first assigns every item independently and uniformly to one of the n bundles. Since the desired cost bound must hold for every type and every bundle, there are kn constraints to control. A potential-function analysis gives an guarantee, and the random process can be derandomized by conditional expectation. To remove the dependence on n, we instead construct the bundles one at a time. In each round, we select a bundle whose cost is small for every type while ensuring that the remaining chores still have sufficiently small total cost for every type. Thus, each round only needs to control the k types rather than all kn type-bundle pairs. A two-sided potential function guarantees that such a suitable bundle exists and can be found deterministically, which gives an approximation.
Universal residuals. For binary additive costs, we can further exploit the type revealed by the current agent. Unlike a universal partition, we no longer require the current bundle to have small cost for every possible type. It only needs to have small cost for the receiving agent. At the same time, we keep the remaining chores sufficiently small under every type, so that future agents can still be served fairly. We call this property a universal residual. Concretely, when an agent arrives, we first allocate all remaining chores that have zero cost for her. From the remaining costly chores, we select a fixed-size subset for her. The size is chosen so that her cost is at most three times her MMS. We define a potential function that measures whether the residual set may become too large for any type. A uniformly random choice of the fixed-size subset does not increase this potential in expectation. We then derandomize this choice by conditional expectation, which ensures that the universal residual is maintained in every round and gives a deterministic 3-competitive algorithm when .
1.3 Related Work
Given the vast literature on fair allocation, we focus on the results most closely related to our work. For a more comprehensive overview, we refer readers to the surveys by Aleksandrov and Walsh [AW20] and Amanatidis et al. [AAB 23].
Online Fair Allocation for Chores. Most prior work in this domain focuses on the item-arrival model. Without prior information, Zhou et al. [ZBW23] showed that no deterministic algorithm can do better than 2-MMS, though knowing the total cost in advance enables a -MMS guarantee. Subsequent works further established impossibility results in the absence of prior information [STWZ26, SS25]. Neoh and Teh [NT26] further extended these impossibility results to randomized algorithms against adaptive adversaries, showing that no -MMS guarantee is possible for any . Song et al. [STWZ26] designed an online algorithm that achieves a -MMS approximation, where the cost functions of agents are -valued, and is the ratio between the maximum cost and the minimum cost. Wang and Wei [WW26] studied binary additive costs and showed that exact MMS allocations can be guaranteed online. For the more general personalized bivalued setting, where costs are in with , they established a 5/3-MMS guarantee for two agents. This positive result was extended to an arbitrary number of agents with a -MMS approximation by Song et al. [STWZ26].
Online Fair Allocation for Goods. The goods setting has been studied under both item-and agent-arrival models. Closest to our work is that of Kulkarni et al. [KMS25], who studied MMS allocations for online arriving agents. They studied the (known) k-type setting and established a 1/k lower bound and a upper bound for MMS approximations under the adversarial arrival setting. En et al. [EFLM26] also investigated online resource allocation under the agent-arrival model. Instead of allocating items to agents, their model allocates online agents to offline facilities to maximize the total utility. For the item arrival model, existing work also investigated vanishing envy over time [BKPP18], and fairness and efficiency trade-offs under random distributions [ZP20]. Additionally, a growing line of literature focuses on online allocation with predictions or prior knowledge regarding future items [BGGJ22, NPT25, CT26]. From a machine learning perspective, Procaccia et al. [PSZ24] and Yamada et al. [YKAI24] examined online fair allocation with indivisible items through bandit learning frameworks. Moreover, a separate line of literature on divisible resources focused on maintaining fairness during sequential agent arrivals with minimal allocation updates [KPS14, FPV17, VPF22, LLL18].
Offline Approximate MMS for Chores. For offline chore allocation, exact MMS allocations exist for two agents but need not exist for [FST21, ARSW17]. For additive cost functions, the MMS approximations have been extensively studied under both cardinal and ordinal preferences [ARSW17, ALW24, FH23, BK20, HL21]. The best known cardinal approximation ratio is 13/11 [HS23], and a lower bound of 44/43 is known even for three agents [FST21]. In ordinal models, the known guarantees are weaker, improving from [ARSW17] to 5/3 [ALW24] and then to 8/5 [FH23]. For submodular chore allocation, Li et al. [LWZ23] established an lower bound and designed an algorithm that computes an -MMS allocation for subadditive cost functions.
2 Preliminaries
For every positive integer , let . We study the allocation of a set of indivisible chores to a set of agents who arrive online. When agent arrives, her cost function is revealed, and the algorithm must irrevocably assign her a bundle of unallocated chores. The resulting allocation is an ordered -partition of . For convenience we write for cost function and item . Unless stated otherwise, we assume that all cost functions satisfy and are monotone. For agents sharing the same cost function, we say that they belong to the same type.
In this paper, we study different classes of cost functions.
Definition 2.1 (Subadditive). A cost function is subadditive if
Definition 2.2 (Additive). A cost function is additive if
Definition 2.3 (Binary Additive). An additive cost function is binary if for every item , we have .
In this work, we focus on the fairness notion of (approximate) maximin share, which we formally define as follows.
Definition 2.4 (Maximin Share). Given a set of chores M and n agents, the maximin share (MMS) value of agent i is defined as
where denotes the set of all n-partitions of M.
We use to denote when is clear from the context. We call an -partition of an MMS partition of agent if holds for all . Note that there might be multiple MMS partitions for a given cost function. However, we can fix one of them arbitrarily, and therefore, in this paper, we assume that there exists a unique MMS partition for every given cost function. This is crucial when multiple agents share the same cost function.
Definition 2.5 ( -MMS). An allocation is said to satisfy -approximate maximin share guarantee for some if for every agent , we have . In particular, when , is an MMS allocation.
By convention of online algorithm analysis, we say that an algorithm is -competitive if it computes an -MMS allocation for any online instance. In the remainder of this paper, we use log to denote the natural logarithm (with base e).
3 Unknown Subadditive Cost Functions
In this section, we study the fully uninformed setting, where the online algorithm knows only n and m. We assume that agents have subadditive cost functions. Let k denote the number of types among the online agents. Note that the online algorithm does not know k in advance. We present an algorithm that guarantees an -MMS allocation for any constant . Moreover, we establish nearly matching lower bounds on the MMS guarantee achievable, showing that our algorithm is nearly optimal.
3.1 The Online Algorithm
We first present the algorithm and prove an upper bound of on its competitive ratio. Since every allocation is trivially n-MMS, we focus on the bounds that depend on k and m. At a high level, the algorithm asks each online agent to take a sufficiently large number of items so that only a limited number remain when the last agent arrives. Furthermore, we exploit the k-type structure by assigning different bundles in the MMS partition (recall that we fix a unique MMS partition for each cost function) to agents of the same type. Consequently, when sufficiently many agents of a given type appear, we can ensure that all items are eventually allocated. For example, when all agents belong to a single type (i.e., ), we can compute an MMS partition and assign a distinct bundle to each agent, thereby obtaining an exact MMS allocation. However, since the value of k is unknown in advance, the algorithm must proceed adaptively: it updates its estimate on k based on the types observed so far and requires agents to take more bundles as additional types are discovered.
Motivated by these ideas, our algorithm (Algorithm 1) operates as follows.
For each agent , let denote the number of distinct cost functions observed up to and including agent . The algorithm then asks agent to take bundles from the MMS partition of , where the selected bundles are those containing the largest numbers of currently unallocated items. The value of is determined as a function of . Specifically, we fix a small constant , define , and define function
Let and .
Algorithm 1: -MMS allocations for subadditive costs
Input: A set of items, the number of online agents , and a fixed constant
1 Let be the set of remaining items.
2 for each online agent , where do
3 Compute the MMS partition with respect to ;
4 Let be the number of arrived types so far;
5 ;
6 Relabel the bundles of so that ;
7 Let be union of the bundles with most unallocated items;
8 Update the set of remaining items: ;
Output: Allocation
We prove the following main result of this section.
Theorem 3.1. For any constant , Algorithm 1 returns an -MMS allocation for subadditive cost functions.
It is straightforward to establish the approximation ratio of the allocation by the monotonicity and subadditivity of the cost functions. Consider an arbitrary agent i. We have
Since the computation of an MMS partition is NP-hard in general, if computational complexity matters, we can compute an -approximation of the MMS partition in polynomial time. It can be verified that this does not affect the asymptotic competitive ratio of our algorithms.
Therefore, the approximation ratio of MMS is , where is the total number of agent types. It remains to show that all items are allocated.
We first establish a technical lemma, which (intuitively speaking) states that the function values of f are sufficiently large to ensure a full allocation.
Lemma 3.2. The function f is nondecreasing and satisfies
Proof. The function f is nondecreasing by definition. Furthermore, we have
For , we have . The integral test gives
Combining the two inequalities yields the lemma.
Using the property of f, we show that all items are allocated.
Lemma 3.3. All items are allocated when Algorithm 1 terminates.
Proof. Suppose, for contradiction, that some items are left unallocated after all agents have arrived. This implies that every agent takes exactly non-empty bundles when she arrives. Recall that and is non-decreasing in . Therefore, is non-decreasing and upper bounded by . Furthermore, since some items are unallocated after all agents have arrived, we must have for all . We let be the first agent for which . If no such agent exists, we let . By definition, we have for all agents ; and for all agents . We first show that .
Fix an arbitrary type and let be the set of agents of type that arrive before , and let be the agent who arrives first. Note that all agents in share the same cost function, and we use the same MMS partition whenever any of these agents arrives. By the design of the algorithm, the total number of bundles taken by agents in is at least . Since not all items are allocated, we have , which implies that . Therefore, the total number of agents that arrived before is less than
where the first inequality follows since all take different values, and the second inequality follows from Lemma 3.2. Therefore, we have .
Consequently, we have for all . Recall that when agent arrives, among the bundles in the MMS partition, the algorithm assigns agent the bundles with the most unallocated items. In Algorithm 1, we use to denote the set of unallocated items at the beginning of round (when agent arrives). Therefore we have
which implies that
which contradicts the assumption that some items are left unallocated (i.e., ).
Improved Ratio for Known . As discussed, one difficulty of the problem is that we do not know the number of types and our algorithm must dynamically update based on . If the total number of types is known to the algorithm upfront, then we can simply fix for all agents, and still ensure that all items are allocated. The resulting allocation can be shown to be -MMS (see Appendix A).
3.2 Lower Bound on MMS Guarantee
In the following, we present several lower bounds for the problem. The first follows directly from the offline approximation of MMS under subadditive cost functions, while the second applies to online algorithms for binary additive functions.
As mentioned in the introduction, our online algorithm achieves a competitive ratio that matches the best known offline approximation ratio for MMS under subadditive cost functions, namely , due to Li et al. [LWZ23]. They also established a lower bound of
showing that this approximation ratio is essentially optimal up to a log log m factor. Adapting their hard-instance construction, we further present (in Appendix B) an instance with n agents whose cost functions belong to k monotone submodular types, such that every allocation is -MMS. This implies that our online competitive ratio is also nearly optimal with respect to the parameter k.
We next establish lower bounds on the competitive ratio of deterministic online algorithms, which largely match the upper bounds obtained in our analysis.
Theorem 3.4. No online algorithm can achieve a competitive ratio of , even for binary additive costs.
Proof. We prove the following three statements, the combination of which yields the theorem:
• No online algorithm is -competitive for any constant ;
• No online algorithm is -competitive;
• No online algorithm is -competitive.
We first present a general framework for constructing hard instances that rules out the existence of -competitive algorithms. All instances in our construction are binary additive: each agent is associated with an approval set , where for every and otherwise. Moreover, the approval sets are defined according to a nested structure.
Nested Structure. Consider agents arriving in the order . Let denote the set of unallocated items when agent arrives, with , and let . The adversary defines the approval set of agent as . Thus, agent has cost 1 for every remaining item and cost 0 for every item allocated before her arrival. It follows that .
Lower Bounds in and . We first use this construction to derive lower bounds as functions of and . Suppose that an algorithm is -competitive. Then, for every agent , we have , which implies
Iterating this recurrence yields
To rule out the existence of an -competitive algorithm, it suffices to construct an instance for which , since then agent has but has .
• If , then one can verify that for , we have .
• If , then one can verify that for , we have .
Lower Bound in . To establish the lower bound for instances with a bounded number of agent types, we use a similar construction, but agents of the same type arrive consecutively. Suppose, for contradiction, that there exists a deterministic algorithm that guarantees an -MMS allocation, where is the (unknown) number of agent types. Let denote the competitive ratio achieved by the algorithm when the number of agent types is . By the definition of big- notation, there exist constants and such that, for all , . The first type of agents has approval set . We let agents of this type arrive. Since at the moment all agents belong to one type, the algorithm cannot allocate more than items to any agent. Therefore, the number of remaining items after these agents arrive is at least
Next, we define the approval set of the second type to be the set of remaining items and let agents of this type arrive. By the same argument, the number of remaining items after these agents have been allocated is at least . Continuing in this manner, after introducing types, the number of remaining items is at least . We terminate the construction once the total number of arrived agents reaches . By choosing sufficiently large, we can ensure that at least items remain when the process terminates.
It therefore remains to show that there exists some such that , or equivalently, . This condition is guaranteed whenever the infinite series diverges. Since for all , we have
Hence, there exists a finite for which . Using this value of in the above construction yields a hard instance, which shows that no deterministic algorithm can guarantee an competitive ratio.
For sufficiently large , we may assume that is an integer for every . Similarly, for sufficiently large , we may assume that is an integer.
4 Known Additive Cost Function Types
In this section, we study the known-types setting, where the algorithm is given a collection of cost functions , each corresponding to a distinct agent type. Each agent reveals her type only upon arrival. We do not assume that every type appears at least once, and it is possible that . As discussed in the previous section, the offline inapproximability result leaves very little room for improving the competitive ratio for subadditive costs. Therefore, in this section we focus on additive cost functions. We use to denote the MMS value of the cost function . We normalize the cost functions so that for all . This further implies and for every item and every .
4.1 From Online Allocation to Offline Universal Partitions
In this subsection, we reduce the design of competitive online algorithms to the offline problem of computing approximate universal partitions.
Definition 4.1 ( -MMS Universal Partition). Given cost functions , an n-partition of M is called an -MMS universal partition if
The following lemma shows that the existence of an -MMS universal partition immediately yields an -competitive online allocation.
Lemma 4.2. Given an -MMS universal partition, assigning a distinct bundle to each arriving agent yields an -competitive online algorithm.
Proof. Let be an -MMS universal partition, and we allocate bundle to the ith arriving agent. Although the type of agent is unknown before arrival, the defining property of the universal partition ensures that every bundle has cost at most under every cost function type . Consequently, the allocation is -MMS.
Therefore, it suffices to focus on computing an offline universal partition of the items, without explicitly considering the online allocation process.
In the remainder of this section, we present two algorithms that compute -MMS and -MMS universal partitions, respectively. We then construct a binary additive instance for which every universal partition has an approximation ratio of .
4.2 An -MMS Universal Partition
Our first algorithm for computing the universal partition is based on a simple balls-into-bins paradigm and its standard probabilistic analysis. Consider the process in which each of the m items is assigned independently and uniformly at random to one of the bundles. Using the fact that , together with appropriate concentration inequalities, one can show that, with high probability, every bundle has cost at most . Consequently, the existence of such a universal partition follows rather directly from the probabilistic argument.
To obtain a deterministic polynomial-time algorithm for computing such a partition, however, a more careful approach is required. In particular, we define a suitable potential function and assign the items sequentially so as to maintain a bounded potential throughout the process.
The main result of this section is summarized below.
Lemma 4.3. Given k cost functions, we can compute an -MMS universal partition in polynomial time deterministically.
Proof. We first show that randomly allocating the items to n bundles yields the desired universal partition with positive probability. To establish the existence of such a partition under random allocation, we define the parameter
and assume that (otherwise, k and n are both constants, and the lemma holds trivially since all partitions are n-MMS). Our goal is to find a partition such that each bundle of the partition has a cost of at most B for every type. Given a partition of M, we define its potential as
Note that if there exists a bundle and a type such that , then we have
Therefore, we conclude that a partition P is a B-MMS universal partition if .
We now bound the expectation of this potential for the random partition. For any item and bundle , we use to denote the indicator of the event that is assigned to . Note that for every fixed , the indicators are independent random variables and satisfy . For any type , since is additive, we have . Therefore,
Taking expectation and using the independence of the indicators, we get
Recall that we have and . Therefore, we derive
where the first inequality holds by , and the second inequality uses for all . By linearity of expectation, we have
where the second inequality holds by . This establishes the existence of a B-MMS universal partition. We now show how to compute such a partition deterministically in polynomial time by derandomizing the random allocation process via conditional expectations.
Fix an arbitrary ordering of the items. We allocate the items to bundles one at a time while maintaining an upper bound of 1 on the conditional expectation of the potential. Specifically, given a partial allocation , let denote the conditional expectation of the potential of given that for every . The expectation is taken over the random assignment of the remaining unallocated items, each of which is assigned independently and uniformly at random to a bundle. By the analysis above, we have
Moreover, when X is a complete allocation, we have
Our goal is to maintain the invariant that throughout the allocation process. Since the invariant holds initially when no items have been allocated, maintaining it until the end guarantees that the resulting complete allocation is a B-MMS universal partition.
Suppose that the current partial allocation is , and let be the next unallocated item. For each bundle , define as the conditional expectation of given and the additional condition that is assigned to , i.e.,
Since is assigned uniformly at random to one of the bundles in , we have
Therefore, there exists some such that . We assign to such a bundle , thereby preserving the invariant, and continue until all items have been allocated.
It remains to show that, given any (partial) allocation , the conditional expectation can be computed in polynomial time. By the definition of the potential function, it suffices to compute for every type and bundle . Using the same argument as above, we obtain
This expression is clearly computable in polynomial time. Summing these quantities over all types t and all bundles yields the conditional expectation of the potential function. ☐
4.3 -MMS Universal Partition
Next, we present an alternative algorithm for computing an -MMS universal partition. Unlike the algorithm from the previous section, its approximation guarantee is independent of n, and therefore improves upon the previous result when . As before, we begin by describing a randomized process that produces the desired partition with positive probability, and then show how to derandomize it using a potential-function-based argument. At a high level, the limitation of the previous randomized approach is that it constructs all n bundles simultaneously. As a result, the analysis incurs a factor, since it (implicitly) requires a union bound over all n bundles and all k cost functions. To remove the dependence on n, we instead adopt a progressive procedure that constructs the bundles sequentially, one at a time. The key idea is that, at each step, it suffices to show that both the newly constructed bundle and the set of remaining unallocated items have bounded cost under each of the k cost functions with positive probability. Consequently, the analysis only requires a union bound over the k cost functions, thereby eliminating the dependence on the number of bundles n from the approximation guarantee. As a warm-up, we first present a simple algorithm for computing a -MMS universal partition.
Fix an arbitrary ordering of the items and add them to an initially empty bundle until , or until no items remain. Recall that for every type , and that for every type and item . Therefore, for the resulting bundle, we have for every , implying that is -MMS for all types. We then remove from consideration and repeat the same procedure on the remaining items to construct the next bundle, continuing until bundles have been produced. Since , the process must terminate within rounds. Hence, the resulting partition is a -MMS universal partition. Our improved algorithm follows the same high-level principle, but is significantly more careful in selecting the items allocated to each bundle .
In the remainder of this section, we assume that ; otherwise, the above -MMS universal partition already yields an -MMS guarantee. The algorithm proceeds in rounds, with one bundle constructed in each round. Let denote the bundles constructed before round , and let be the set of remaining items.
We maintain the following invariant throughout the execution of the algorithm.
Invariant 4.4. At the beginning of round i, for all types , we have
Clearly, the invariant holds at the beginning of round 1, as holds for all types . To maintain the invariant, it remains to show that if the invariant holds at the beginning of round , then it also holds at the end of the round.
Lemma 4.5. Suppose Invariant 4.4 holds at the beginning of round i. Then we can find a set satisfying and for every . Moreover, such a set can be found deterministically in polynomial time.
Proof. If , then by Invariant 4.4, choosing yields the lemma. Therefore, we assume that . We construct by the following random sampling process: for each item in , we include it in independently with probability . We prove that with positive probability, for all we have and .
We first identify a group of critical types, which is defined as
For a type , we have . Therefore for any , the set of remaining items satisfies Invariant 4.4. For a type , if we can ensure that , the set also satisfies Invariant 4.4. Therefore, it suffices to show that with positive probability, we have for all and for all .
We define the potential of S as
Therefore, implies
Next, we show that , which shows the existence of the desired . We have
We first bound the term . By a similar argument as in Section 4.2, we have
where the last inequality follows by and .
Next, fix a critical type (which satisfies ). Since , we have . By the same argument as above, we derive
where the last inequality uses . Therefore, we have
By a similar argument as used in Section 4.2, we can derandomize the above process by maintaining a bounded conditional expectation on , and thus compute the set deterministically in polynomial time. We defer the details to Appendix C.
By Lemma 4.5, if Invariant 4.4 holds when round begins, then by setting , we can ensure that Invariant 4.4 holds when round ends. Notice that for , Invariant 4.4 implies that , and it suffices to set . Therefore, when the algorithm terminates, all items are allocated, and we obtain a -MMS universal partition.
Lemma 4.6. Given k cost functions, we can compute an -MMS universal partition in polynomial time deterministically.
Together with Lemma 4.2 and Lemma 4.3, we have our second main result.
Theorem 4.7. Given k known types of additive cost functions, there is a deterministic polynomial-time online algorithm with a competitive ratio of
4.4 Lower Bound for Universal Partitions
In this subsection, we establish a lower bound for approximate universal partitions. We show that even for binary additive cost functions, there are instances for which every universal partition must incur an approximation ratio of .
Theorem 4.8. There exists an instance with k binary additive cost functions such that every universal partition has an approximation ratio of .
Proof. Fix any integer . We show that there exists an instance with agents, items, and binary additive cost functions such that, for every partition of , there exists a cost function and a bundle satisfying . Our construction ensures that for all , which implies that every universal partition has an approximation ratio of at least .
We construct binary additive cost functions . Let denote the approval set of , that is, if and otherwise. Let the size of every approval set be . This implies that for every .
Claim 4.9. There exist size-n sets such that for every size-q subset , there exists with .
Proof. Consider the following random construction. For each , choose independently and uniformly at random from all size-n subsets of .
Fix a size-q subset and some . Over the randomness of , we have
where the last inequality uses and .
Therefore, the probability that Q is not contained in any of is at most
where the last inequality follows from the fact that for every .
Since there are at most
choices for , a union bound implies that the probability that some size- subset is not contained in any of is at most
Hence, with positive probability, every size-q subset of M is contained in at least one of the sets . This proves the existence of the desired collection of sets.
Now consider an arbitrary partition of . Since , at least one bundle must contain at least items. Choose an arbitrary size- subset . By Claim 4.9, there exists some such that . Consequently, .
Since , the approximation ratio with respect to agent is at least . Therefore, every universal partition has an approximation ratio of at least .
We remark that this lower bound applies only to universal partitions and does not directly imply a lower bound for general online algorithms.
5 Known Binary Additive Cost Function Types
In this section, we turn our attention to binary additive costs, where each agent 's preference is completely determined by her approval set . That is, for every and otherwise. The algorithm is given a collection of binary cost function types, not all of which are necessarily realized, and may be larger than . Since there are possible subsets of items, the number of distinct binary types is bounded by . Consequently, the known-types setting with is equivalent to the unknown-types setting. As a direct consequence of Theorem 3.4 (no online algorithm is -competitive), no deterministic online algorithm can achieve an -MMS guarantee for binary additive costs when is unrestricted We therefore focus on the regime and seek constant-competitive algorithms.
The binary structure allows the online algorithm to reason primarily about bundle sizes rather than their costs. Consider the following natural approach. Suppose the goal is to compute an -MMS allocation for some constant . Upon arrival, the algorithm learns the approval set of agent . Since every item in incurs zero cost to agent , the algorithm can first allocate all currently unallocated items in to agent . Among the remaining unallocated items in , it then allocates a bundle of size . The key question is how to choose this bundle. A natural option is to select a random bundle of size . Intuitively, for a sufficiently large constant , one might expect all items to be allocated by the end with high probability. However, since the allocation events are highly dependent, it is difficult to characterize the intricate interactions of the events across different rounds. Moreover, the previous hardness results show that a constant competitive ratio cannot be achieved without exploiting the knowledge of the cost function types.
Motivated by these observations, we extend the idea of approximate universal partitions to the binary setting, while constructing bundles on-the-fly as agents arrive. The main advantage is that we can relax the requirements in the definition of an approximate universal partition. Specifically, when agent i arrives, we compute a bundle and only require that be appropriately bounded; we do not need to control the cost of under other cost function types. To ensure that the allocation is “safe” for future agents, however, we maintain the invariant that the set of remaining items has bounded cost under every cost function type. We refer to this property as maintaining a Universal Residual.
As in the previous sections, we first show that there exists a randomized process that maintains the universal residual with positive probability in every round, and then derandomize this process in polynomial time. As a result, we obtain a 3-competitive algorithm (Theorem 5.8) whenever . To complement this positive result, we also prove that no algorithm can achieve an approximation ratio better than 2 even when k is a constant (Theorem 5.9).
5.1 The Algorithm and the Invariant
We focus on the setting where and propose a 3-competitive algorithm. Let be the known cost function types, where each function has approval set . Without loss of generality, we assume that and for all ; otherwise, we can remove from the collection of types, and if an agent of type arrives, the algorithm can terminate immediately by allocating all items to this agent. For ease of notation, we write in the remaining sections. For any two integers and , we use to denote the binomial coefficient, with the standard convention that whenever .
Following the previous discussion, we present our algorithm. In round i, when agent i arrives, we compute a bundle and allocate it to agent i. Let be the set of unallocated items at the beginning of round i, with . We maintain the following invariant.
Note that binary additive costs are a subclass of additive costs, this lower bound also applies to general additive costs. This is the best known lower bound for general online algorithms with known additive types.
Invariant 5.1 (Universal Residual). At the beginning of round i, for every type , we have
In particular, the above invariant implies that when agent n arrives, the total cost of the unallocated items under her cost function is at most , and hence we can safely allocate all remaining items to agent n. Therefore, it suffices to show that the invariant can be maintained while ensuring that each online agent i receives a bundle of cost at most 3 times her MMS. We introduce the following potential function and relate the maintenance of the invariant to upper bounding this potential. For a set R of unallocated items and r remaining agents, define
Lemma 5.2. If , then for every type , we have .
Proof. Fix an arbitrary . The term corresponding to in is
If , this term is at least 1. This would imply , contradicting the assumption. Hence .
By the above lemma, to maintain Invariant 5.1, it suffices to ensure that holds for all . To prove this, we show that if holds for some , then by choosing an appropriate set of items to allocate to agent , we also have ; see Algorithm 2 for the details.
Algorithm 2: 3-MMS allocations for binary additive costs
Input: A set of items, the number of online agents , cost functions with approval sets
1 ;
2 for each online agent , where do
3 if then
4 Let and ;
5 else
6 Let be the type of agent , and ;
7 Find a set with and ;
8 // Existence follows by Lemma 5.6
9 Let and ;
Output: Allocation
We first show that . Note that .
Lemma 5.3. We have .
Proof. Fix any type . Since , we have . Then
where the first inequality follows from the following claim, whose proof is given in Appendix D.
Claim 5.4. For all , we have .
Therefore, the contribution of type t to is at most
where the first inequality follows from the fact that , together with the following claim, whose proof is also deferred to Appendix D, applied with ; the second inequality follows since .
Claim 5.5. For every integer , we have
Since there are at most types in total, summing these potentials over all types yields the lemma.
Note that this is the only place where the condition is required. Therefore, our result also holds under the slightly weaker assumption that .
Given that Invariant 5.1 holds at the beginning of round i, the bundle allocated to agent i has cost
where the last equality uses the fact that is an integer. Therefore, it remains to show the existence and computation of a set satisfying , as this implies and thus maintains the invariant.
5.2 The Existence and Computation of Set S
In this subsection, we establish the key technical step by showing how to find a feasible set in round . As in the previous sections, we first prove the existence of such a set via a random sampling argument (Lemma 5.6), and then show that the sampling process can be derandomized in deterministic polynomial time (Lemma 5.7).
Lemma 5.6. Consider any , and let be the type of agent . Let . There exists a set such that
Proof. If , then choosing trivially satisfies the lemma. Hence, we assume that . Choose uniformly at random from all subsets of of size . Then the next residual set has deterministic size
It therefore remains to show that , which immediately implies the existence of the desired set . Recall that for all and ,
Fix a type and . We first upper bound .
Notice that, since , every subset of is also a subset of . Therefore, to count subsets of of a given size, it suffices to analyze the probability that a fixed subset of that size survives the sampling process, namely, that .
For any fixed subset with , we have if . Otherwise,
Therefore, we have
Consequently, we have
which establishes the existence of the desired set S.
Applying the method of upper bounding the conditional expectations, as in the previous sections, we can derandomize the above sampling procedure and compute the desired set S deterministically in polynomial time. The proof of the following lemma is deferred to Appendix D.
Lemma 5.7. For any , the set described in Lemma 5.6 can be computed in deterministic polynomial time.
Combining the above analysis yields the following theorem.
Theorem 5.8. For k known binary additive cost function types with , there exists a deterministic polynomial-time online algorithm that returns a 3-MMS allocation.
When there are more known types, the initial potential contains more terms, making it harder to keep their sum below one. Increasing the sampling coefficient above 3/2 means allocating more costly items in each round. This reduces the survival weights in the potential, but also raises the current agent's cost bound. Thus, handling more types in this way may require a larger competitive ratio. To obtain such a guarantee, the coefficient must be chosen so that the initial potential remains below one and the residual bound is preserved in every round.
5.3 Lower Bound for Bounded k
We complement our positive results with a lower bound, showing that even when , no deterministic online algorithm can guarantee a competitive ratio strictly smaller than 2.
Theorem 5.9. No deterministic online algorithm can achieve a competitive ratio strictly smaller than 2 for known binary additive cost instances, even when .
Proof. We construct an instance with , where is divisible by 3 and . Note that can be chosen arbitrarily large. Partition the items into six disjoint groups , each of size . We define known binary types. The first type, denoted by , has cost 1 for every item; thus its approval set is , and . For every subset of size 3, define a type whose approval set is . Since , we have for every such type.
Fix any deterministic online algorithm, and suppose it guarantees -MMS for some . The adversary first reveals one agent of type . Since , this agent can receive at most three items; otherwise, her cost would be at least . Hence, the allocated bundle intersects at most three of the six groups.
Let be the set of groups intersected by . Then , so there exists a subset with . The adversary now makes all remaining agents have type . Since no item in has been allocated to the first agent and , all items in must be allocated among the remaining agents. By the pigeonhole principle, some such agent receives at least two items from , incurring cost at least 2. This violates the -MMS guarantee because and .
Together, Theorems 5.8 and 5.9 show that, for known binary additive costs in the small-k regime, the optimal deterministic approximation ratio lies between 2 and 3.
We further show in Appendix E that exact MMS allocations can be guaranteed when k = 2, while a 3/2 lower bound holds for k = 7. We leave open the question of characterizing the values of k for which exact MMS allocations, or more generally constant-factor approximations, are possible.
6 Conclusion and Open Problems
We initiated the study of MMS allocations for chores in the online agent-arrival model. In the fully uninformed setting with subadditive cost functions, we presented an algorithm with a competitive ratio of for any constant , which is near-optimal. For the known-types setting, we showed that polylogarithmic and constant competitive ratios are achievable in the additive and binary additive settings, respectively.
Several gaps in the competitive ratios remain open, particularly in the known-types setting. For example, our results suggest that the optimal competitive ratio for the binary setting grows with k. However, the threshold value of k for which constant-competitive or even 1-competitive algorithms exist is still unclear. Furthermore, it remains unknown whether the idea of maintaining a universal residual can be extended to the general additive setting to obtain a constant competitive ratio when . Finally, it would be interesting to investigate whether randomized algorithms can achieve strictly better competitive ratios for the problem, either in expectation or with high probability.
Declaration of AI Use
The main algorithmic framework was developed entirely by the authors. The authors acknowledge the use of GPT-5.6 Sol to assist in exploring parts of the proofs. The manuscript was written by the authors, with ChatGPT and Codex used for language editing and literature searches. All arguments were independently verified by the authors, who take full responsibility for the manuscript.
References
[AAB 23] 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. Artif. Intell., 322:103965, 2023.
[ALW24] Haris Aziz, Bo Li, and Xiaowei Wu. Approximate and strategyproof maximin share allocation of chores with ordinal preferences. Math. Program., 203(1):319–345, 2024.
[ARSW17] Haris Aziz, Gerhard Rauchecker, Guido Schryen, and Toby Walsh. Algorithms for max-min share fair allocation of indivisible chores. In AAAI, pages 335–341. AAAI Press, 2017.
[AW20] Martin Aleksandrov and Toby Walsh. Online fair division: A survey. In AAAI, pages 13557–13562. AAAI Press, 2020.
[BGGJ22] Siddhartha Banerjee, Vasilis Gkatzelis, Artur Gorokh, and Billy Jin. Online nash social welfare maximization with predictions. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1–19. SIAM, 2022.
[BK20] Siddharth Barman and Sanath Kumar Krishnamurthy. Approximation algorithms for maximin fair division. ACM Trans. Economics and Comput., 8(1):5:1–5:28, 2020.
[BKPP18] 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 2018), 2018.
[Bud11] Eric Budish. The combinatorial assignment problem: Approximate competitive equilibrium from equal incomes. Journal of Political Economy, 119(6):1061–1103, 2011.
[CT26] Tianqi Chen and Zhiyi Tan. Competitive analysis for online fair division under multiple fairness notions, 2026.
[EFLM26] Christopher En, Yuri Faenza, Andrea Lodi, and Gonzalo Muñoz. Fair online resource allocation. In EC, 2026.
[FH23] Uriel Feige and Xin Huang. On picking sequences for chores. In EC, pages 626–655. ACM, 2023.
[FPV17] Eric Friedman, Christos-Alexandros Psomas, and Shai Vardi. Controlled dynamic fair division. In Proceedings of the 18th ACM Conference on Economics and Computation (EC 2017), 2017.
[FST21] Uriel Feige, Ariel Sapir, and Laliv Tauber. A tight negative example for MMS fair allocations. In WINE, volume 13112 of Lecture Notes in Computer Science, pages 355–372. Springer, 2021.
[HL21] Xin Huang and Pinyan Lu. An algorithmic framework for approximating maximin share allocation of chores. In EC, pages 630–631. ACM, 2021.
[HS23] Xin Huang and Erel Segal-Halevi. A reduction from chores allocation to job scheduling. In EC, page 908. ACM, 2023.
[KMS25] Pooja Kulkarni, Ruta Mehta, and Parnian Shahkar. Online fair division: Towards ex-post constant MMS guarantees. In EC, page 638. ACM, 2025.
[KPS14] Ian Kash, Ariel D. Procaccia, and Nisarg Shah. No agent left behind: Dynamic fair division of multiple resources. Journal of Artificial Intelligence Research, 51:579–603, 2014.
[LLL18] Bo Li, Wenyang Li, and Yingkai Li. Dynamic fair division problem with general valuations. In Proceedings of the 27th International Joint Conference on Artificial Intelligence (IJCAI 2018), 2018.
[LWZ23] Bo Li, Fangxiao Wang, and Yu Zhou. Fair allocation of indivisible chores: Beyond additive costs. In NeurIPS, 2023.
[NPT25] Tzeh Yuan Neoh, Jannik Peters, and Nicholas Teh. Online fair division with additional information. CoRR, abs/2505.24503, 2025.
[NT26] Tzeh Yuan Neoh and Nicholas Teh. Closing gaps in online fair division, 2026.
[PSZ24] Ariel D. Procaccia, Ben Schiffer, and Shirley Zhang. Honor among bandits: No-regret learning for online fair division. In NeurIPS, 2024.
[SS25] Masoud Seddighin and Saeed Seddighin. Lower bound for online MMS assignment of indivisible chores. CoRR, abs/2507.12984, 2025.
[STWZ26] Jiaxin Song, Biaoshuai Tao, Wenqian Wang, and Yuhao Zhang. Online MMS allocation for chores. In EC, 2026.
[VPF22] Shai Vardi, Alexandros Psomas, and Eric Friedman. Dynamic fair resource division. Mathematics of Operations Research, 47(2):945–968, 2022.
[WW26] Yuanyuan Wang and Tianze Wei. Online fair allocations with binary valuations and beyond. In AAAI, pages 17267–17275. AAAI Press, 2026.
[YKAI24] Hakuei Yamada, Junpei Komiyama, Kenshi Abe, and Atsushi Iwasaki. Learning fair division from bandit feedback. In AISTATS, volume 238 of Proceedings of Machine Learning Research, pages 3106–3114. PMLR, 2024.
[ZBW23] Shengwei Zhou, Rufan Bai, and Xiaowei Wu. Multi-agent online scheduling: MMS allocations for indivisible items. In ICML, volume 202 of Proceedings of Machine Learning Research, pages 42506–42516. PMLR, 2023.
[ZP20] David Zeng and Alexandros Psomas. Fairness-efficiency tradeoffs in dynamic fair division. In EC, pages 911–912. ACM, 2020.
A Upper Bounds for Known Number of Types
In this appendix, we turn to the setting where the algorithm knows the exact value of upfront. We show that the competitive ratio can be improved to .
As mentioned in Section 3.1, we simply fix for all agents. Equivalently, since , we have . In what follows, we prove that all items are allocated.
Algorithm 3: -MMS Algorithm for Known Number of Types
Input: A set of items, the number of online agents , and the number of types
1 Let be the set of remaining items, ;
2 for each online agent , where do
3 Compute the MMS partition with respect to ;
4 Relabel the bundles of so that ;
5 Let be union of the bundles with most unallocated items;
6 Update the set of remaining items: ;
Output: Allocation
Lemma A.1. With known , Algorithm 3 outputs a -MMS allocation.
Proof. We first prove the cost guarantee. Similar to the analysis in Section 3.1, we consider an arbitrary agent and have
Thus every agent receives a cost at most . It remains to show that no item is left unallocated. We consider the following cases according to the value of .
-
If , then the first agent will take all items, which means all items are allocated.
-
If , we follow the analysis in Section 3.1 and have
which implies that
Thus, all items are allocated.
- If , we prove that all items are allocated via a pigeonhole argument. Since there are agents distributed among distinct types, by the pigeonhole principle, at least one type appears at least times. For this type , Algorithm 3 allocates distinct bundles from the MMS partition with respect to . Thus, no item is left unallocated.
Hence, Algorithm 3 outputs a -MMS allocation.
B Lower Bounds for Known Subadditive Types
In this appendix, we provide an offline lower bound for known subadditive type-cost functions. The - and -dependent terms follow from the offline lower bound of Li et al. [LWZ23]. We therefore focus on the -dependent term for .
Lemma B.1. For every , there is an instance of chore allocation with n agents and k subadditive cost types such that every complete allocation has MMS approximation ratio .
Proof. We first describe our instance. Let and . There are items in the instance, and each item is represented by a vector , where . For each , we define the cost function as
Here, counts the number of distinct values that appear in the -th coordinate among the items in . It is easy to verify that this cost function is subadditive. We use to denote the number of agents of type . Since , there exist positive integers with and for all . We fix such integers .
We show that is upper bounded by 2 for every in this instance. For any type , the items in can be partitioned into subsets according to their -th coordinate; all items in a subset share the same value of this coordinate. Since , these subsets can be grouped into bundles, each containing at most two subsets. For any type , every such bundle has a cost of at most 2, therefore we have
In the following, we prove that an -MMS allocation is impossible by showing that, for any allocation, there is at least one agent who receives a bundle with cost at least . Suppose, toward a contradiction, that every agent of type receives a bundle of cost at most (the cost must be an integer). For any type , the bundles assigned to all type- agents contain items with at most distinct values in the -th coordinate. Since , for each coordinate dimension , there is at least one available coordinate that is completely untouched by the bundles assigned to type- agents. By combining these missing coordinates, it follows that the item must remain unallocated, which leads to a contradiction. Therefore, some agent incurs a cost of at least , implying that the MMS approximation ratio of the allocation is at least .
Applying the offline lower bound by Lemma B.1 and the results of Li et al. [LWZ23], we get the following result.
Corollary B.2. In the online chores allocation with agent arrivals, if the agents belong to k types and the cost functions are known subadditive functions, no algorithm can achieve a competitive ratio of
C Derandomization for -MMS Universal Partition
In this appendix, we present the derandomization for the -MMS universal partition.
Lemma C.1. The randomized extraction step in Lemma 4.5 can be implemented deterministically in polynomial time.
Proof. Suppose Invariant 4.4 holds at the beginning of round i. We now show how to compute a set S deterministically in polynomial time such that the invariant holds at the beginning of round .
Fix an arbitrary ordering of the remaining items. We determine whether each item is assigned to sequentially while maintaining an upper bound of 1 on the conditional expectation of the potential. In particular, let denote the conditional expectation of the potential given that the items in have been fixed to be included in and the items in have been fixed to be excluded from . The expectation is taken over the random assignment of the remaining undetermined items in . For every item , it is assigned to with probability and not assigned to with probability . As shown in Section 4.3, we have
Moreover, when , we have
In the following, we maintain an invariant that throughout the assignment process. Since the initial state satisfies the invariant, its preservation across round guarantees the resulting set is what we need.
Suppose that the items in have already been fixed to be included in and the items in have been fixed to be excluded from , and let be the next undecided item. We define as the conditional expectation of given and is assigned to :
Similarly, we define as the conditional expectation of given and is not assigned to :
Since e is assigned to S with probability p, we have
Either or is at most , and therefore less than 1. If , we assign to ; otherwise, we do not assign to . Thus, the invariant is preserved, and we continue the assignment until .
It remains to show that, given any two sets and , the conditional expectation can be computed in polynomial time. From the definition of the potential function, it suffices to compute for every type and for every critical type . For , we have
For , we have
Both expressions are clearly computable in polynomial time, which completes the proof. ☐
D Omitted Proofs from Section 5
In this appendix, we prove the technical statements used in Section 5.1.
Claim D.1. For all , .
Proof. It is enough to show that for every , . Let . It suffices to show that
for . The derivative of the left-hand side is , which is nonnegative on this interval. Since the left-hand side is zero at , the inequality follows. Multiplying the inequalities for gives
Claim D.2. For every integer ,
Proof. The sum is 0 for . Assume and write
For ,
Using and for , we get
The function has maximum on . Hence
Thus, the tail is dominated by a geometric series with ratio 3/4. For ,
It follows that
It remains to check the finite range . For this range, it is enough to verify that . This is a finite check over the fifteen values , and direct evaluation verifies that in each case. Equivalently, for every . This proves the claim.
Lemma D.3. For any , the set described in Lemma 5.6 can be computed deterministically in polynomial time.
Proof. Before we present the derandomization, we recall some notions in Lemma 5.6. Fix a round . Let be the type of the arriving agent, let be the set of remaining items, and let be the set of remaining items that have cost 1 for the arriving agent. Lemma 5.6 states that randomly selecting items from yields a desired set with positive probability.
We now describe an equivalent sequential formulation of the same random process. Fix an arbitrary ordering of the items in and process them one by one. We maintain two disjoint sets (items already committed to ) and (items already committed to be excluded from ). Initially . When the next item is considered, let be the set of remaining undecided items and let be the number of items still required to reach the target size . The item is then placed into (i.e., added to ) with probability and excluded from (i.e., added to ) with probability .
First, we show that this sequential procedure is well-defined. That is, the probability is always at most 1. When the sequential procedure starts, since , we have . Thus, the probability is well-defined for the first item. Then we suppose that for some item (not the first item), the probability exceeds 1 for the first time. Since after deciding an item, either and both decrease by 1 or only decreases by 1, we must have . This implies that in the previous round, all items in have been assigned to with probability 1. So the sequential procedure ends in the previous round, which leads to a contradiction. Thus, this random procedure is well-defined.
We next show that the sequential procedure is equivalent to selecting a uniformly random s-subset of by coupling it to a random permutation. Consider a uniformly random permutation of items in , and let be the set consisting of the first items in this permutation. Clearly, is a uniformly random s-subset of . Now reveal the items' positions one by one in this order. Suppose we have revealed items, and items in have already been revealed and committed to , leaving additional items still required. Among the unrevealed items, exactly occupy positions in the first of the permutation. Hence, the next revealed item belongs to with conditional probability , which is precisely the sequential rule described above. Therefore, the sequential procedure generates the same distribution as selecting a uniformly random s-subset.
In what follows, we show how to derandomize this sequential procedure to get the set S deterministically. Given two disjoint sets F and U, we define the conditional expectation of the potential in Lemma 5.6 as
where the expectation is taken over the random set , which is a superset of and may contain more items from . Initially, , by Lemma 5.6, we have
When , there is no randomness on S, and we have
In the following, we maintain the invariant that
throughout the sequential procedure. Since the initial state satisfies the invariant, its preservation across round i guarantees the resulting set S is what we desire.
Suppose that the items in have already been fixed to be included in and the items in have been fixed to be excluded from , and let be the next undecided item. We define as the conditional expectation of given and is assigned to :
Similarly, we define as the corresponding expectation when e is not assigned to S:
Since is assigned to with probability in , we have
Therefore, at least one of and is at most , and hence at most . If , we assign to ; otherwise, we do not assign to . Thus, the invariant is preserved, and we continue the assignment until .
It remains to show that can be computed in polynomial time for any possible sets and . Fix sets , a type , and a level . Let . By the definition of , for this fixed pair , the only random part of the corresponding term is . Therefore, it is enough to compute , where the expectation is over , conditioned on and .
Since the items in are excluded from , every size- subset of can be classified by the number of its items that come from . With a slight abuse of notation, we suppose there are exactly items of a size- subset that come from . Thus, for this size- subset, the remaining items must come from . There are
ways to choose these items.
The items chosen from always belong to . The items chosen from belong to only if none of them is selected into . Since we can regard the remaining random selection as uniformly picking a size- subset of , this probability is .
Therefore, we have
For this fixed pair , the other factor in the term of is fixed, so the whole term can be computed. Thus, after precomputing all binomial coefficients for , each value of can be computed in polynomial time.
Finally, the fixing process makes at most decisions, and each decision requires computing at most two values of . Therefore, the desired set can be computed deterministically in polynomial time.
E The Existence of Exact MMS for Binary Costs
In this appendix, we study exact MMS allocations when the agents belong to a constant number of known binary additive types. We first show that exact MMS allocations can be computed when k = 2. We then show that when k = 7, no deterministic online algorithm can guarantee an approximation ratio strictly smaller than 3/2.
The case k = 1 is immediate. We therefore begin with the case k = 2.
Lemma E.1. For k = 2, there exists a deterministic online algorithm that computes an exact MMS allocation for binary additive costs.
Proof. Let the two known types have approval sets , where an item has cost 1 for type if and only if it belongs to . For each , let . Recall that denotes the set of unallocated items at the beginning of round , let be the number of remaining agents, including agent .
We maintain the invariant that, at the beginning of every round i,
The invariant holds initially because and for each type .
Fix a round . By symmetry, suppose that the arriving agent has type 1. The algorithm first allocates all items in to the current agent. These items have zero cost for her. Among the items that are still unallocated, define
Thus, is exactly the set of remaining items that are costly for type 1. We further define to be the minimum number of additional type-1 costly items that must be removed in this round in order to maintain the invariant for type 1. Equivalently,
Since the invariant holds at the beginning of the round, we have
and hence .
The algorithm first chooses a set with . The items in are costly for both types, so allocating them helps maintain the invariant for both type 1 and type 2. If , then the items in already remove enough type-1 costly items. Otherwise, . Since , this implies that . The algorithm then additionally chooses items from . This is possible because , and hence .
Therefore, the number of costly items allocated to the current agent is . Thus, her cost is at most her MMS. We next verify the invariant for type 1. The algorithm removes exactly items from . Therefore,
where the last inequality follows from the definition of .
For type 2, every item in was allocated to the current agent at zero cost. The only type 2 costly items that may still be unallocated are therefore the items in . Thus, .
To show that the invariant for type 2 is also maintained, we define
By definition, . We next show that . The invariant at the beginning of the round implies that . Therefore, we have
which implies
It follows that
Therefore, the invariant is maintained for both types.
By induction, the invariant holds at the beginning of every round, and every nonfinal agent receives a bundle whose cost is at most her MMS. In the final round, we have . The invariant gives , where is the type of the last agent. Thus, allocating all remaining items to the last agent incurs a cost of at most . Therefore, the algorithm computes an exact MMS allocation for .
We next show that exact MMS allocations cannot always be guaranteed when k = 7.
Lemma E.2. No deterministic algorithm can achieve an approximation ratio strictly better than 3/2, even when k = 7.
Proof. Consider an instance with agents, agent types, and items. Let the set of items be partitioned into four disjoint groups, , and , each containing exactly 4 items. Next, we define the 7 agent types.
Let for all denote the set of agent types that incur a cost of 1 for items in . Let , , , and . In other words, type agents have cost 1 on items in if and only if . It can be verified that , and for all . We show that no deterministic algorithm can achieve an approximation ratio strictly below 3/2 for this instance.
Suppose the adversary first reveals an agent of type 1. To maintain a ratio strictly below 3/2, the algorithm can allocate at most two items to this agent. Let and be the sets from which the two items are chosen, where it is possible that . By the design of the instance, there exists an agent type such that . Let the remaining 7 agents be of type . Since there are 8 items with cost 1 for these agents, by the pigeonhole principle, at least one agent must receive at least two items, thereby incurring a cost of 2. Consequently, this example rules out any deterministic guarantee strictly below 3/2.