22email: allenyzj@stu.pku.edu.cn, {ll3530, christian.kroer}@columbia.edu
Greedy-Based Online Fair Allocation with Adversarial Input: Enabling Best-of-Many-Worlds Guarantees
Abstract
We study an online allocation problem with sequentially arriving items and adversarially chosen agent values, with the goal of balancing fairness and efficiency. Our goal is to study the performance of algorithms that achieve strong guarantees under other input models such as stochastic inputs, in order to achieve robust guarantees against a variety of inputs. To that end, we study the PACE (Pacing According to Current Estimated utility) algorithm, an existing algorithm designed for stochastic input. We show that in the equal-budgets case, PACE is equivalent to the integral greedy algorithm. We go on to show that with natural restrictions on the adversarial input model, both integral greedy allocation and PACE have asymptotically bounded multiplicative envy as well as competitive ratio for Nash welfare, with the multiplicative factors either constant or with optimal order dependence on the number of agents. This completes a “best-of-many-worlds” guarantee for PACE, since past work showed that PACE achieves guarantees for stationary and stochastic-but-non-stationary input models.
Keywords:
online fair allocation envy analysis Nash Welfare optimization.1 Introduction
We study online fair allocation, where items arrive sequentially in rounds, and we need to distribute them among a set of agents with heterogeneous preferences, with the goal of achieving both fairness and efficiency properties. In each round, we observe each agent’s value for the item and make an irrevocable allocation. Frequently in the literature on this problem, the items are assumed to be divisible, and agents’ utilities are linear and additive. We also consider linear and additive utilities, but indivisible items.
Fair allocation problem in the offline setting has been well-studied. A classical objective to optimize is the Nash welfare (NW), defined as the geometric mean of the agents’ utilities. Maximizing Nash welfare provides a balance between efficiency and fairness due to the multiplicative nature of the objective. For divisible items, an offline optimal allocation can be computed via solving the Eisenberg-Gale (EG) convex program (Eisenberg and Gale, 1959). The solution enjoys both envy-freeness and proportionality, which are important measures of fairness. For indivisible items, finding an allocation that maximizes NW is an APX-hard problem even in the offline setting (Moulin, 2004; Lee, 2017), though constant-factor approximation algorithms are known (Cole and Gkatzelis, 2018; Cole et al., 2017; McGlaughlin and Garg, 2020).
In the online setting, Gao et al. (2021) provides a simple allocation algorithm called PACE (Pace According to Current Estimated utility), which generates asymptotically fair and efficient allocations when items are drawn in an i.i.d. manner. PACE gives each agent a per-round budget of faux currency, and simulates a first-price auction in each round. The fair allocation is achieved by having each agent shade their bid with a pacing multiplier, which is a projection of their current estimated inverse bang-per-buck to a fixed interval. Liao et al. (2022) extend these results to non-stationary inputs, where the distribution of items may change over time. They show that in this case, PACE still achieves asymptotic fairness and efficiency guarantees, up to linear error terms from the amount of non-stationarity.
Yet in many real-world scenarios, we cannot expect items to be drawn in a stochastic manner, even if from non-stationary distributions. This motivates the investigation of algorithms with competitive ratio guarantee for adversarial settings. To fit arbitrary inputs, including extreme ones, some algorithms adopt “conservative” designs for fairness, such as allocating half of each item purely equally (Banerjee et al., 2022). Although this helps to provide worst-case guarantees, it damages the efficiency in the average case, which may not be acceptable in some practical applications. Moreover, this conservative allocation requires each item to be divisible, or at least for random allocation to be acceptable.
This motivates us to move in another direction: Instead of developing algorithms to fit extreme adversarial inputs, we seek to find worst-case guarantees for existing algorithms that are designed for stochastic inputs. In particular, we focus on the performance of the algorithm PACE (Gao et al., 2021; Liao et al., 2022), and explore the question:
How does PACE perform under adversarial input? |
Our first contribution is to show that, in the case where all agents have the same weight (or budget in market equilibrium terminology), PACE is equivalent to the integral greedy algorithm, assuming no projection of the pacing multiplier. Due to this equivalence, we start by studying the integral greedy allocation method. Our results for that method are of independent interest, as it is a natural allocation method.
Although both integral greedy allocation and PACE have infinite envy and competitive ratio when inputs are completely arbitrary, we notice that such pessimistic results only occur under extreme inputs where the ratio between the largest and smallest non-zero values for an agent differ by an exponential factor. We show that, once we rule out such extreme instances by introducing mild assumptions (such as a constant ratio between nonzero values observed by an agent) both algorithms converge with approximate envy-freeness and bounded competitive ratio as increases to infinity. The upper bounds are either constant, or in near-optimal order of , see Table 1. Combined with existing results under stationary (Gao et al., 2021) and non-stationary (Liao et al., 2022) input models, this establishes a “best-of-many-worlds” guarantee for PACE: it is the first online algorithm that simultaneously guarantees asymptotic fairness and efficiency guarantees under stochastic, stochastic but nonstationary, and adversarial inputs. As such, we believe our results show that PACE is a natural and robust algorithm for online fair allocation in real-world settings, since it achieves strong guarantees under many different utility models, and is thus likely to perform well on a variety of real-world inputs.
Algorithm | Assumptions | Measure | Upper-Bound () | Theorem |
Integral Greedy | Assumption 3.1 | multiplicative envy | Theorem 3.1 | |
competitive ratio w.r.t. NW | Theorem 3.3 | |||
seed utility | utility ratio with seeds | Theorem 3.5 | ||
PACE | Assumption 4.1 | multiplicative envy | Theorem 4.1 | |
Assumption 4.1 | competitive ratio w.r.t. NW | Theorem 4.2 |
∗ The lower bound for online algorithms is at least when .
1.1 Related Work
In this subsection, we review previous works that are most closely related to ours. An extensive review of other related works is provided in Appendix 0.A.
The PACE Algorithm
Online Fair Division
For maximizing Nash welfare in the online setting, the competitive ratio with respect to the offline optimal allocation is trivially and , when the input is completely adversarial (Banerjee et al., 2022). These pessimistic results under arbitrary input motivate the introduction of assumptions. Azar et al. (2016) adopted an assumption that we also make: that the minimum nonzero valuation of each agent is at least times the largest. However, their analysis does not remove the dependence on in their upper bound of the competitive ratio , meaning that the ratio is unbounded in the online setting with a fixed number of agents and an unbounded horizon. Banerjee et al. (2022) assumes extra prior knowledge of the monopolistic utility of each agent, and gives an and -competitive algorithm; their algorithm involves allocating half of each item uniformly across agents; since we are interested in algorithms with asymptotic convergence guarantees on non-adversarial inputs, such an approach cannot be used. Huang et al. (2022) assumes the input to be -balanced or -impartial, where and characterize the desired properties of the input; their competitive ratio upper bounds are logarithmic in the parameter and . However, the parameters still implicitly depend on the horizon length .
The above works on online NW maximization consider greedy-style algorithms as we do. In contrast to them, our work focuses on an asymptotic bound that does not depend on as . Moreover, while their algorithms can only deal with divisible items, our paper adopts integral allocation, and show that integral decision is enough for the convergence of multiplicative envy and competitive ratio w.r.t. the optimal continuous allocation, given our assumptions.
Online Allocation with Resource Constraints
We also briefly discuss how this paper differs from existing works in online resource allocation, where a sequence of requests arrive over time, with each request consisting of a reward and cost function, and at each time step the algorithm must select a decision with the goal of maximizing the sum of rewards while satisfying long-term cost constraints on each resource. In that setting, strong best-of-many-worlds guarantees are known (Balseiro et al., 2023; Celli et al., 2022; Castiglioni et al., 2022). In online resource allocation, the optimization objective is separable across timesteps, e.g., in the form of (Balseiro et al., 2023). Time-separability is crucial for the regret bounds in these works, as it enables translating dual regret to primal regret through weak duality. However, in online fair allocation with the Nash welfare objective, time-separability no longer holds, since we take the logarithm of the utility over time. Therefore, our results cannot be derived with similar techniques to those papers. Indeed, the types of competitive-ratio guarantees achieved e.g. by Balseiro et al. (2023) are impossible in the online fair allocation setting, where hard input sequences are known (Banerjee et al., 2022; Gao et al., 2021).
2 Setup
2.1 Online Fair Allocation
Consider a problem instance with agents and items. For and , let be agent ’s value for a unit of item . The input of our problem is a sequence of agent valuations . We assume that for each item at least one agent values it, i.e. there exists an agent such that . Each agent has a non-negative weight , which can also be interpreted as a budget of faux currency in a Fisher market (Varian, 1974). An allocation distributes each item to an agent, where is the amount of item that is allocated to agent gets item . We assume each item has a unit supply. An allocation is feasible if for each . An allocation is integral if . For a feasible, integral allocation , let be the set of items allocated to agent .
We assume additive, linear utility for all agents. That is to say, , where is the utility agent derives from the first items. For a subset of items , agent ’s total value on the bundle is denoted as . Agent ’s monopolistic utility is defined as his total value for all items
We focus on the online setting where items arrive sequentially, while the set of agents is fixed. An online allocation algorithm is one that makes an irrevocable choice to distribute the item in each round based only on the information of past rounds. Concretely, it maps the history to a decision such that .
In this paper, we are interested in envy and Nash welfare (NW) as measures of fairness. The multiplicative envy of agent to agent is defined as the ratio between the utility that agent would get from the allocation of agent to the utility of their own allocation , adjusted by their respective budget. As a criterion for fairness, it measures the extent to which an agent prefers someone else’s bundle to his own.
Notice that when the allocation is integral, the above definition becomes .
The Nash welfare of an allocation is defined as the weighted geometric mean of all agents’ utilities:
Maximizing the geometric mean is a well-studied proxy for balancing fairness and efficiency in fair allocation problems. It is also equivalent to maximizing the objective of the Eisenberg-Gale convex program in a Fisher market. For a Nash welfare maximizing allocation , let be the utility of agent . Notice that the optimal allocation might not be unique. In this paper, we measure the performance in terms of Nash welfare maximization based on the competitive ratio of our allocation, which is defined as the supremum of the ratio between the online allocation and an optimal offline NW-maximizing allocation, over the space of all possible inputs.
While we allow the input sequence to be adversarial, we restrict our attention to a subset of adversarial input sequences, where we use to denote the space of valid length input sequences. Concrete assumptions on will be specified in Section 3 and Section 4 before analyzing specific algorithms.
We consider the asymptotic worst-case envy and competitive ratio (w.r.t. Nash welfare) over all possible inputs when . Concretely, we will investigate
In our analysis, we will show that with proper assumptions, both measures converge with an asymptotic upper bound which is independent of . Our upper bounds will be either constant or with a near-optimal order dependence on .
We emphasize that both measures adopted in this paper, multiplicative envy, and competitive ratio, are defined as ratios, not differences. This is mainly because of the scale invariant property of fair division, which is an important and desirable property for allocation algorithms: if an agent’s values for all items are multiplied by a constant factor, the resulting allocation stays the same. The algorithms that we are interested in, together with NW-maximizing allocations, are all scale invariant. Hence, it is more useful to consider multiplicative performance measures, which are also invariant to valuation scaling.
2.2 Algorithms
We introduce the two major algorithms that we study in this paper: the PACE (Pace According to Current Estimated Utility) algorithm (Gao et al., 2021; Liao et al., 2022), and the integral greedy algorithm. Moreover, we will discuss the “greedy-based” nature of PACE by showing its equivalence to the integral greedy algorithm under certain conditions.
Pseudocode for PACE is shown in Algorithm 1. In each round , the agent utilities are revealed. Each agent then places a bid for the item, which is equal to their value for the item multiplied by the current pacing multiplier . The whole item is allocated to the highest bidder, preferring the bidder with the smallest index when a tie occurs. Each agent then observes their realized utility at this round, and updates their current estimated utility. The pacing multiplier is updated to be the weight divided by the estimated utility, then projected to an interval .
2.2.1 Performance Under Stochastic Input
As shown by Gao et al. (2021), PACE is an instantiation of stochastic unregularized dual averaging (Xiao, 2009) applied to the dual of the underlying allocation program where the supplies are given by the density of each item. With i.i.d. input, PACE converges to the equilibrium of a potentially infinite-dimensional Fisher market (Gao and Kroer, 2023), which is also closely related to the game-theoretic solution concept of pacing equilibrium (Conitzer et al., 2022). The agent utilities under PACE converge to those associated with the offline NW-maximizing allocation in the mean-square sense.
Theorem 2.1.
(Theorem 4. in Gao et al. (2021)) Let be agent ’s time-averaged utility under the Nash-welfare-maximizing allocation with supplies given by some underlying distribution. When the values in different rounds are i.i.d. chosen from the same distribution, it holds that
(1) |
where is a constant independent of .
Liao et al. (2022) generalizes Theorem 2.1 to non-stationary inputs, which have a stochastic component yet change over time. Particularly, they consider three types of inputs: independent yet adversarially corrupted input, ergodic input, and periodic input, and show that for all three cases is still preserved, up to errors due to non-stationarity.
In the stationary and non-stationary cases, mean-square convergence of time-averaged utility implies an asymptotic competitive ratio of w.r.t Nash welfare. For both cases, Gao et al. (2021); Liao et al. (2022) also provide a theoretical guarantee that PACE is asymptotically envy-free (again up to a non-stationarity error in the non-stationary case). In this paper, we provide bounds on PACE’s performance with adversarial inputs with assumptions. Combined with the results from Gao et al. (2021); Liao et al. (2022), this is the first “best-of-many-worlds” guarantee for online fair allocation under stationary, non-stationary, and adversarial inputs.
While we make an attempt to take an algorithm for stochastic inputs and show its performance on adversarial input, the other direction seems to be difficult. It is hard for some algorithms that are designed for adversarial inputs to achieve optimality in stochastic scenarios, due to “conservative” routines that they adopt to deal with extremely bad inputs. For instance, Banerjee et al. (2022) divides half of the resources equally, which can be undesirable with stochastic input, see Example 1
Example 1.
Consider an online scenario with agents and types of items . Agent ’s value for a unit of type- item if , and otherwise. In each round, the item type is drawn i.i.d. from a uniform distribution. In this scenario,
-
•
The equilibrium of the underlying Fisher market allocates all type- items to agent . PACE converges to this equilibrium.
-
•
The proposed algorithm proposed by (Banerjee et al., 2022) allocates at most fraction of type- item to agent , which is clearly not optimal.
2.2.2 Greedy Interpretation of PACE.
In the standard configuration of online fair allocation, where agents have equal weight , we now show that PACE, when the projection of multipliers is disregarded, can be interpreted as greedily maximizing Nash welfare with integral decisions.
To show this, the following optimization program (2) maximizes NW up to round greedily, given the history of previous rounds. Its decision is integral.
(2) | ||||
s.t. | ||||
The above program allocates the item to the agent that gives the maximum increment to the objective. This is equivalent to the following decision rule:
When agent weights are equal, is the agent that maximizes ; this coincides exactly with the decision of PACE with no projections.
This interpretation motivates us to first consider the behavior of a greedy algorithm (without projecting the multiplier), and then study PACE based on the insights derived for integral greedy. We focus on weight-adapted integral greedy algorithm, or simply integral greedy algorithm, as shown in Algorithm 2.
Algorithm 2 is equivalent to greedily maximizing the NW objective with integral decisions when agent weights are equal. However, with unequal weights the equivalence breaks down, so does its equivalence between PACE. For this consideration, in the following discussions, we assume equal weights , which is a standard setting in the Nash welfare maximization and online fair allocation literature. We will also remark on part of our results that can be generalized to unequal weights. Note that the PACE algorithm itself extends to unequal weights, and the stationary and nonstationary results extend as well.
With equal weight assumption, PACE can be regarded as greedy-based decision using as estimated utility. is a projected utility, where and are reinterpreted projection bounds:
3 Analysis of the Integral Greedy Algorithm
This section is devoted to show that integral greedy algorithm achieves convergence of multiplicative envy and competitive ratio, under reasonable assumptions. The missing proofs in this section are deferred to Appendix 0.B.
3.1 Assumptions on the Input
We begin with introducing the assumptions on the input space, as well as the necessity of doing so. We focus on input space , which is parametrized by and defined as follows:
For each integer , is the set of inputs which satisfy the following requirements:
-
•
The monopolistic utility of each agent is infinite:
-
•
For each and , .
The first requirement helps to avoid allocating nothing to some agent, since the decision is integral. We further require the number of nonzero valuations of each agent is not upper-bounded by a constant, so it is meaningful to consider the asymptotic sense in . For the second requirement, we note that it is equivalent to assuming a constant bound on the ratio of the minimum nonzero item value and the maximum:
This equivalence is due to the scale-invariant property of integral greedy allocation, as well as the NW maximizing allocation.
If we do not include any extra assumptions on the input space, the worst-case envy and the competitive ratio is infinite, which makes the analysis of the integral greedy algorithm trivial and uninteresting.
Lemma 1.
When the values are arbitrarily chosen from , it holds that
-
1.
(Banerjee et al., 2022) Any online allocation algorithm has competitive ratio with respective to NW.
-
2.
The integral greedy algorithm has worst-case multiplicative envy.
even when the first requirement in Section 3.1 is satisfied.
Proof.
We construct a sequence of instances where . Given horizon length , fix agent ’s valuation to in all rounds. For agent , we set for some . In the integral greedy allocation, agent receives only one item and has total utility . This proves the lower bound of multiplicative envy. ∎
The above hard instance features exponential growth in agent ’s valuation. Hard instances with similar spirit for the continuous problem have previously been given by Banerjee et al. (2022). The vulnerability of allocation algorithms under such instances can be explained by their non-anticipating nature: it does not know the future, so it fails to recognize that agent ’s valuation up to current rounds is only a negligible fraction of the entire horizon. More generally, it is difficult for online algorithms to distinguish agents that are hard to satisfy in the future, with those who are easily satisfied.
However, we note that such adversarial instances are arguably not “natural.” For allocation problem in a real-world market, items are usually similar in nature, e.g., they are all food or ad slots. It is unlikely for an agent to have exponentially diverging nonzero values on these items. By requiring the ratio of minimal and maximal nonzero value to be bounded by , section 3.1 rules out extreme cases where values from a single agent diverge drastically. In the rest of this section, we will show that once the above assumptions are introduced, both multiplicative envy and competitive ratio of the greedy algorithm are independent of asymptotically, i.e., converge to a constant (which depends only on and ).
3.2 Envy Analysis for Greedy
In this subsection we analyze the worst-case envy of agents in integral greedy allocation. We observe that, the envy between any pair of agents can be reduced to the case by the following lemma, which characterized an “induction” structure of the integral greedy allocation.
Lemma 2 (Inductive structure of greedy allocation.).
For any -agent instance and agent subset , define a new instance obtained by transforming as:
-
•
Remove all agents that are not in (by setting their values to on all items).
-
•
Remove all items that are not in (by setting all agents’ value to on them).
Then, the resulting allocation is the same when the integral greedy algorithm is run on and .
We show that the multiplicative envy of the integral greedy algorithm is upper bounded by plus a logarithmic term in , which also generalizes to unequal weights.
Theorem 3.1 (Upper Bound for Multiplicative Envy).
Even with unequal agent weights, for inputs satisfying Assumption 3.1 and any ,
Proof Sketch.
Due to Lemma 2 and symmetry, it suffices to consider in -agent inputs. In the proof sketch, we assume for simplicity. We transform the input by:
-
1.
Set agent ’s valuation for all items in to .
-
2.
Move all items in to the beginning of the input sequence, and all items in to the end of the input sequence (preserving order).
One can show that the agent’s utilities under the budget-adapted greedy algorithm are invariant to this transformation. Therefore, it suffices to consider only the transformed inputs, where agent receives his entire share only in beginning rounds.
To find the worst-case envy for transformed inputs, a question from an adversarial point of view will be: given , how can we design a value sequence for the coming rounds, such that agent ’s total valuation on items over rounds is maximized, while ensuring that nothing is allocated to agent ? This can be characterized by an optimization program:
(3) | |||||
s.t. | |||||
Notice that in (3) we re-index the rounds by starting with index at round . We call (3) a canonical optimization program for multiplicative envy maximization, parametrized by . We observe that can be upper bounded by , defined as
We can then give an upper-bound of the objective of the canonical optimization program (3),
(4) |
Each increment is small when . One can show that the right hand side of (4) converges to a definite integral asymptotically as :
The convergence rate on the order of is then achieved by more carefully calculating the above upper bound.
The analysis of the canonical optimization program (3) also gives an upper bound on the number of items that agent “envies of” agent , concretely, items in with nonzero value from agent . Lemma 3 will be useful in Section 4.
Lemma 3.
Let be the set of items on which agent has non-zero value. When agents have equal weights, for and any ,
Next, we complement Theorem 3.1 with a lower bound showing that the bound on envy is tight for the integral greedy allocation.
Theorem 3.2 (Lower Bound for Multiplicative Envy).
For input , we have for any ,
3.3 Nash Welfare Analysis for Greedy
We give an upper bound on the asymptotic competitive ratio w.r.t. Nash welfare for the integral greedy algorithm.
Theorem 3.3 (Upper Bound for Competitive Ratio).
For input space and any given there exists a constant (independent of and ), such that
For , the above holds with .
Proof Sketch
Assume without loss of generality that . The main idea of the proof is to show that is bounded by asymptotically. Suppose this is not true, we show that will include large proportion of (), which will lead to contradiction with the optimality of .
Although Azar et al. (2016) gives an algorithm, we show that factor is inevitable if one aims to remove the dependence on . Hence, integral greedy algorithm is near-optimal in terms of .
Theorem 3.4 (Lower Bound for Competitive Ratio).
Even in the case , for any feasible, deterministic online algorithm we have
Proof Sketch.
We sketch the construction of an adaptive adversary, who attempts to make low-utility agents hard to satisfy in the future. Divide the horizon into phases, each with length , satisfying The adversary maintains a set of “active agents”, initially containing all agents. In each round, only currently active agents see nonzero values. At the end of each phase, the agent in the active set who has lowest utility is eliminated. This results in a competitive ratio of , see the detailed proof in Section 0.B.8.
3.4 Nash Welfare Analysis without Section 3.1
As an extension for our analysis on the integral greedy algorithm, we show how it can be adapted when Section 3.1 does not hold. Despite the lower bound, we show that, when each agent begins with a seed utility , the competitive ratio of integral greedy algorithm is of order . The performance is measured w.r.t. to the ratio of seeded welfare.
The seeded integral greedy algorithm is identical to Algorithm 2, except that all agents are given an initial seed utility , which is taken into account when deciding the winning agent:
(5) |
The full pseudocode for the seeded algorithm is presented in Algorithm 3.
(6) |
For the seeded algorithm, we study the criterion which is also defined w.r.t. the seeded utility:
where the supremum runs over all feasible hindsight allocations, with resulting utility Notice that by the AM-GM inequality, is also competitive w.r.t. the geometric mean. However, due to the presence of the seed utility , it is not directly comparable to the criterion .
Theorem 3.5 (Upper Bound of for Seeded Integral Greedy).
Run the seeded integral greedy algorithm with seed utility . For any input satisfying ,
(7) |
The ratio is of order , similar to the result given by Azar et al. (2016). Unlike our previous results, here the ratio is unbounded as since we are considering a broader range of inputs beyond Section 3.1. Also, there is a trade-off in choosing seed utility . Although a larger brings a better bound in (7), it is less able to tell us how the algorithm compares to the offline optimal, since as grows large.
4 Analysis of PACE
We continue to analyzing the performance of PACE. Missing proofs in this section can be found in Appendix 0.C.
4.1 Assumptions on the Input
To analyze PACE in the adversarial setting, it is necessary to adopt more assumptions than for the integral greedy algorithm. This is because PACE projects the average utility up to round to in its decision, or equivalently, projects the total utility in round to . In the stationary and non-stationary setting of Liao et al. (2022), the expected utility of each agent grows uniformly with time; in that case the projection helps PACE achieve theoretical guarantees on its performance. However, in the adversarial setting, the input may vary drastically over time, which makes the projection operation more problematic. In the worst case, adversarial input might cause extreme behavior of the projection, such as not allocating any item to a certain agent.
In their most generic form, our assumptions require that each agent achieves infinite utility as and bounded non-zero valuation ratios; see Assumption 4.1. Notice that unbounded utility is necessary if we hope to derive meaningful convergence guarantees for worst-case envy and Nash welfare. {assumption} For each integer , is the set of inputs which satisfy:
-
•
The utility of each agent under PACE is infinite when the projection bounds are set to be .
-
•
For each and , .
Since section 4.1 is potentially hard to verify, we next identify sufficient conditions under which PACE guarantees infinite utility for each agent. {assumption} For integer , and , is the set of inputs which satisfy:
-
•
For each , , that is, the monopolistic utility of each agent under PACE is .
-
•
For each and , .
Assumption 4.1 strengthens Assumption 3.1 by requiring the monopolistic utility of each agent to be linear in . Intuitively, this matches the linear projection bounds on utility. We will show in Lemma 6 that, with appropriate initialization of the projection bounds, Assumption 4.1 with any leads to infinite agent utilities, and thus implies Assumption 4.1 for some and .
Conversely, if an agent’s inputs have agent monopolistic utility, the following example shows that problems may occur, see Example 2.
Example 2.
Cases with for in an -agent case (). For any , there exists a sufficiently large such that . We can construct an instance where agents and have value zero for the first items and value for the remaining items. One can check that both utilities never reach , and thus always. Under lexicographical tie-breaking, agent will receive all items. Agent will receive nothing at all.
We remark that in order to initialize and , PACE requires knowing a lower bound on . In contrast, the integral greedy algorithm does not require such knowledge. A minimal requirement is to set :
Example 3.
Case with : Consider an input where every agent has value in each round. The projection is then activated in every round for every agent, and the algorithm allocates all items to the first agent.
4.2 Envy Analysis for PACE
Next we show that the PACE algorithm, as long as it is appropriately initialized and section 4.1 holds, achieves multiplicative envy bound asymptotically. Our proof is performed by reducing the adversarial envy-maximizing problem in PACE to the canonical program (3) by showing that PACE with our assumptions lead to a weakly harder problem than (3) for the adversary.
Theorem 4.1 (Upper Bound of Multiplicative Envy for PACE).
Proof.
Due to symmetry, we only focus on the envy of agent . Similar to the proof of Theorem 3.1, we first transform the input into , such that the allocation of PACE is preserved. Notice that in this proof we use a different transformation, since the problem cannot be reduced to pairwise 2-agent cases. It is no longer obvious that the transformation preserves the PACE allocation; we will prove this later. The transformation is as follows:
-
1.
For agent , set agent ’s value to for all items that are not allocated to .
-
2.
Move all items on which agent has value to the end of the input sequence.
-
3.
Move all items in to the beginning of the input sequence.
Allocation for items in Step 2. is clearly preserved under PACE and does not affect the envy of agent 1, so we can assume such items do not exist without loss of generality.
Denote For item in the original input , let be the round it appears in . We define The proof is divided into three parts.
For the first part, Lemma 4 shows that in the first rounds in , the transformation preserves the PACE allocation.
Lemma 4.
If , then for agent ,
Also, all items in the first rounds of has the same allocation result as .
For the second part, we show that in the first rounds, the problem of maximizing envy under PACE can be relaxed into a canonical program defined as (3). Lemma 5 gives upper bounds on multiplicative envy in the first rounds, as well as the number of rounds within for agent to have non-zero values.
Lemma 5.
For any agent , let be the set of items that belongs to in the original sequence , and are permuted to the first position in the transformed sequence. Then it holds that
For the final part, we show that the length of the transformed sequence cannot exceed . Let be the asymptotic upper bound of given in Lemma 5. It is straightforward to show with some simple algebra that . Notice that is an asymptotic upper bound on the number of non-empty items (an empty item is one that is evaluated zero by all buyers) within rounds in the transformed sequence. Therefore, implies that the transformed sequence has to end within rounds. Thus is an upper bound of both the original and transformed sequence, whose allocation results are guaranteed to be the same by Lemma 4. The upper bound for envy in Lemma 5 is then a valid upper bound for the original sequence.
4.3 Nash Welfare Analysis for PACE
Next we focus on establishing a worst-case guarantee for the asymptotic competitive ratio of Nash Welfare for PACE under Assumption 4.1. To begin with, we show that Assumption 4.1 implies infinite agent utilities with appropriate initialization.
Lemma 6.
For any input (defined in section 4.1), if
then there exists a constant (which depends on ), such that for each , PACE satisfies Furthermore, as .
The proof of Lemma 6 is also by a reduction from the canonical problem (3). We remark that Lemma 6 yields more than infinite agent utilities: it also tells us that the utilities are linear in . Moreover, from we know that PACE computes an asymptotic approximate proportional allocation, which helps to derive a bounded competitive ratio w.r.t. Nash welfare. The bound can be furthermore refined using the envy results.
Theorem 4.2 (Upper Bound of Competitive Ratio for PACE).
Theorem 4.2 gives an upper bound depends only on parameters and , which are both independent of . We remark that the constant might not be tight.
We also remark that in both Theorem 4.1 and Theorem 4.2 is at most the order of , which is aligned with the stationary and non-stationary setting (projecting utilities to an bound is unreasonable since there are agents). However with adversarial input decreases as , which means that PACE requires a wider projection interval when its input becomes potentially more extreme.
5 Conclusion
We proved horizon-independent bounds for envy and Nash welfare for the integral greedy algorithm and PACE under adversarial inputs with mild assumptions. Our results complete the first best-of-many-worlds result for online fair allocation, since PACE thus achieves guarantees under stochastic (Gao et al., 2021), stochastic but nonstationary (Liao et al., 2022), and adversarial inputs. Moreover, our results on integral greedy are of independent interest, as they characterize assumptions needed to achieve guarantees for that algorithm.
It remains open whether the constant in Theorem 4.2 can be improved. A more general open question is to explore more best-of-many-worlds online fair allocation algorithms, with potentially different performance measures and assumptions.
References
- Anari et al. [2017] Nima Anari, Shayan Oveis Gharan, Amin Saberi, and Mohit Singh. Nash social welfare, matrix permanent, and stable polynomials. In 8th Innovations in Theoretical Computer Science Conference (ITCS 2017). Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2017.
- Anari et al. [2018] Nima Anari, Tung Mai, Shayan Oveis Gharan, and Vijay V Vazirani. Nash social welfare for indivisible items under separable, piecewise-linear concave utilities. In Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2274–2290. SIAM, 2018.
- Azar et al. [2016] Yossi Azar, Niv Buchbinder, and Kamal Jain. How to allocate goods in an online market? Algorithmica, 74(2):589–601, 2016.
- Bach and Levy [2019] Francis Bach and Kfir Y Levy. A universal algorithm for variational inequalities adaptive to smoothness and noise. In Conference on learning theory, pages 164–194. PMLR, 2019.
- Balseiro et al. [2023] Santiago R Balseiro, Haihao Lu, and Vahab Mirrokni. The best of many worlds: Dual mirror descent for online allocation problems. Operations Research, 71(1):101–119, 2023.
- Banerjee et al. [2022] 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.
- Barman et al. [2018] Siddharth Barman, Sanath Kumar Krishnamurthy, and Rohit Vaish. Finding fair and efficient allocations. In Proceedings of the 2018 ACM Conference on Economics and Computation, pages 557–574, 2018.
- Barman et al. [2020] Siddharth Barman, Umang Bhaskar, Anand Krishna, and Ranjani G Sundaram. Tight approximation algorithms for p-mean welfare under subadditive valuations. arXiv preprint arXiv:2005.07370, 2020.
- Benade et al. [2018] Gerdus Benade, Aleksandr M Kazachkov, Ariel D Procaccia, and Christos-Alexandros Psomas. How to make envy vanish over time. In Proceedings of the 2018 ACM Conference on Economics and Computation, pages 593–610, 2018.
- Bogomolnaia et al. [2022] Anna Bogomolnaia, Hervé Moulin, and Fedor Sandomirskiy. On the fair division of a random object. Management Science, 68(2):1174–1194, 2022.
- Caragiannis et al. [2019] 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 (TEAC), 7(3):1–32, 2019.
- Castiglioni et al. [2022] Matteo Castiglioni, Andrea Celli, and Christian Kroer. Online learning under budget and ROI constraints and applications to bidding in non-truthful auctions. arXiv preprint arXiv:2302.01203, 2022.
- Celli et al. [2022] Andrea Celli, Matteo Castiglioni, and Christian Kroer. Best of many worlds guarantees for online learning with knapsacks. arXiv preprint arXiv:2202.13710, 2022.
- Chaudhury et al. [2021] Bhaskar R Chaudhury, Jugal Garg, and Ruta Mehta. Fair and efficient allocations under subadditive valuations. In Proceedings of the AAAI Conference on Artificial Intelligence, 2021.
- Cole and Gkatzelis [2018] Richard Cole and Vasilis Gkatzelis. Approximating the nash social welfare with indivisible items. SIAM Journal on Computing, 47(3):1211–1236, 2018.
- Cole et al. [2017] Richard Cole, Nikhil Devanur, Vasilis Gkatzelis, Kamal Jain, Tung Mai, Vijay V Vazirani, and Sadra Yazdanbod. Convex program duality, fisher markets, and nash social welfare. In Proceedings of the 2017 ACM Conference on Economics and Computation, pages 459–460, 2017.
- Conitzer et al. [2022] Vincent Conitzer, Christian Kroer, Debmalya Panigrahi, Okke Schrijvers, Nicolas E Stier-Moses, Eric Sodomka, and Christopher A Wilkens. Pacing equilibrium in first price auction markets. Management Science, 68(12):8515–8535, 2022.
- Eisenberg and Gale [1959] Edmund Eisenberg and David Gale. Consensus of subjective probabilities: The pari-mutuel method. The Annals of Mathematical Statistics, 30(1):165–168, 1959.
- Gao and Kroer [2023] Yuan Gao and Christian Kroer. Infinite-dimensional fisher markets and tractable fair division. Operations Research, 71(2):688–707, 2023.
- Gao et al. [2021] Yuan Gao, Alex Peysakhovich, and Christian Kroer. Online market equilibrium with application to fair division. Advances in Neural Information Processing Systems, 34:27305–27318, 2021.
- Garg et al. [2018] Jugal Garg, Martin Hoefer, and Kurt Mehlhorn. Approximating the nash social welfare with budget-additive valuations. In Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, pages 2326–2340. SIAM, 2018.
- Garg et al. [2020] Jugal Garg, Pooja Kulkarni, and Rucha Kulkarni. Approximating nash social welfare under submodular valuations through (un) matchings. In Proceedings of the fourteenth annual ACM-SIAM symposium on discrete algorithms, pages 2673–2687. SIAM, 2020.
- He et al. [2019] Jiafan He, Ariel D Procaccia, CA Psomas, and David Zeng. Achieving a fairer future by changing the past. IJCAI’19, 2019.
- Huang et al. [2022] Zhiyi Huang, Minming Li, Xinkai Shu, and Tianze Wei. Online nash welfare maximization without predictions. arXiv preprint arXiv:2211.03077, 2022.
- Kaneko and Nakamura [1979] Mamoru Kaneko and Kenjiro Nakamura. The nash social welfare function. Econometrica: Journal of the Econometric Society, pages 423–435, 1979.
- Lee [2017] Euiwoong Lee. Apx-hardness of maximizing nash social welfare with indivisible items. Information Processing Letters, 122:17–20, 2017.
- Li and Vondrák [2022] Wenzheng Li and Jan Vondrák. A constant-factor approximation algorithm for nash social welfare with submodular valuations. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 25–36. IEEE, 2022.
- Liao et al. [2022] Luofeng Liao, Yuan Gao, and Christian Kroer. Nonstationary dual averaging and online fair allocation. Advances in Neural Information Processing Systems, 35:37159–37172, 2022.
- McGlaughlin and Garg [2020] Peter McGlaughlin and Jugal Garg. Improving nash social welfare approximations. Journal of Artificial Intelligence Research, 68:225–245, 2020.
- Moulin [2004] Hervé Moulin. Fair division and collective welfare. MIT press, 2004.
- Nash Jr [1950] John F Nash Jr. The bargaining problem. Econometrica: Journal of the econometric society, pages 155–162, 1950.
- Varian [1974] Hal R Varian. Equity, envy, and efficiency. Journal of Economic Theory, 9(1):63–91, 1974.
- Xiao [2009] Lin Xiao. Dual averaging method for regularized stochastic learning and online optimization. Advances in Neural Information Processing Systems, 22, 2009.
- Zeng and Psomas [2020] David Zeng and Alexandros Psomas. Fairness-efficiency tradeoffs in dynamic fair division. In Proceedings of the 21st ACM Conference on Economics and Computation, pages 911–912, 2020.
Appendix 0.A Additional Related Work
Offline Nash Welfare Approximation
To explore PACE’s behavior under adversarial inputs, we focus on the approximation of the EG objective, which is equivalent to maximizing Nash welfare. Nash welfare was introduced by Nash Jr [1950], and is one of the ideal proxies for balancing fairness and efficiency in allocation problems [Kaneko and Nakamura, 1979]. Maximizing Nash welfare is well-studied in the offline settings. For divisible items, it is equivalent to the Eisenberg-Gale convex program [Eisenberg and Gale, 1959]. For indivisible items, computing a Nash-welfare-maximizing allocation is APX-hard Lee [2017] for additive utilities. Cole and Gkatzelis [2018] gave the first approximation algorithm, with competitive ratio. Anari et al. [2017] applied matrix permanent and stable polynomials to get an -approximation. Cole et al. [2017] improved the ratio to . The state-of-the-art algorithm, given subsequently by Barman et al. [2018], has a ratio of . More general utility classes have been considered beyond additive ones. Garg et al. [2018] achieved a ratio under budget-additive values. Anari et al. [2018] considered separable, piecewise-linear and concave valuations and gave an -competitive algorithm. For submodular utilities, Garg et al. [2020] achieved an -approximation, which was recently improved to a constant ratio [Li and Vondrák, 2022]. For more generalized forms of submodular utilities, an ratio was reached by Barman et al. [2020] and Chaudhury et al. [2021] independently.
Online Allocation with Envy Guarantees
Besides Nash welfare maximization, our analysis on multiplicative envy is also related to the line of works focused on achieving (possibly approximate) envy-freeness in the online setting. Bogomolnaia et al. [2022] assume stochastic input and enforce envy-freeness as a soft constraint, while maximizing social welfare. He et al. [2019] further allow reallocating previous items, and show that reallocation is enough to achieve envy-freeness up to an item. Benade et al. [2018] considers envy minimization in the stochastic, indivisible setting, and show that allocating each item to each agent uniformly at random is near-optimal up to logarithmic factors. Zeng and Psomas [2020] considers the indivisible setting with non-adaptive adversary, showing that nontrivial approximation of envy-freeness and Pareto-optimality is hard to achieve simultaneously. In contrast to the above works, we focus on multiplicative envy instead of additive envy. While it is shown by Caragiannis et al. [2019] that Nash welfare maximizing allocation has approximate envy-freeness, our analysis on multiplicative envy is independent of other fairness measures. Finally note that the PACE algorithm, while focused on the stronger guarantee of asymptotically maximizing Nash welfare in the stochastic setting, actually achieves asymptotic envy-freeness as well, since it converges to the equilibrium allocation of the underlying Fisher market.
Appendix 0.B Missing Proofs in Section 3
0.B.1 Proof of Theorem 3.1
According to Lemma 2, it suffices to bound the envy of all –agent instances. We will show that for any input ,
(8) |
Consider the following transformation operation from instance into :
-
1.
Set agent ’s valuation for all items in to .
-
2.
Move all items in to the beginning of the input sequence, and all items in to the end of the input sequence (in arbitrary order).
We claim that the allocation result under the budget-adapted greedy allocation algorithm is invariant to this transformation. Clearly, all items in will still be allocated to agent , since we’ve set agent ’s valuation on them to zero. For item , let be the round it appears in . One can check
where the first inequality is due to , and the second inequality is because and .
Therefore, it suffices to consider only the transformed sequences, i.e., ones with agent getting every item in the first rounds, and then nothing thereafter. To find the transformed sequence of maximum envy, we next note that we can increase agent ’s valuation on the items occurring after round as much as possible, while ensuring that none of them are allocated to agent by the algorithm, while weakly increasing envy. This is equivalent to the following optimization problem, with the multiplicative envy of agent upper bounded by its objective:
s.t. | |||
Notice the constraint that all items after round are allocated to agent . Together with the range for values, this gives an upper bound of on each round:
The multiplicative envy can then be further upper bounded by
(9) |
where is the number of rounds in the above optimization problem with . Since we should not allocate anything to agent after round , we have .
Next, we show that the right hand side of (9) can be approximated with an integration. We have
where (a) is because is non–increasing, (b) is because the right–side derivative of is upper bounded by , and (c) is because . Combined with 9 we have
(10) |
We then deal with using the relation . This is true because we allow no “null” items in a –round instance. From we know . Hence,
This finishes our proof.
0.B.2 Proof of Lemma 3
For the same reason as Theorem 3.1, it suffices to consider in -agent instances, with all inputs transformed as described in the proof of Theorem 3.1. is the short for , and also the parameter for the canonical optimization problem.
Consider the two phases in the horizon each with length and . We upper bound them respectively:
-
1.
Rounds with . Since the increment of is at least whenever agent receives an item, there are at most rounds in this phase.
-
2.
Rounds with . Assume this phase begins at round . By the analysis of the canonical optimization problem (3), agent ’s envy in this phase can be upper bounded asymptotically.
Since is at least in each round,
Combining the bounds for and proves Lemma 3.
0.B.3 Proof of Theorem 3.2
We prove Theorem 3.2 by constructing a hard –agent instance that reaches envy asymptotically. The construction follows the spirit of the hard instances described in the proof of Theorem 3.1, where agent receives items in the beginning rounds, but nothing afterwards.
We construct a hard instance for . For unequal weights the construction is similar. For , consider an instance with phases. In each phase, the same item appears for many rounds. The agent’s valuations on these items are described in Table 2.
Phase | Length | Valuation 1 | Valuation 2 | (after the phase) | (after the phase) |
A1 | |||||
A2 | |||||
B1 | |||||
B2 | |||||
… | … | … | … | … | … |
B | |||||
C1 | |||||
C2 | |||||
… | … | … | … | … | … |
C |
One can check that the boundary condition holds at the end of each phase, and all items after phase A1 is allocated to agent . Agent ’s monopolistic utility is
As , we consider , we have
Out of his monopolistic utility, agent only gets utility . This gives multiplicative envy asymptotically.
0.B.4 Proof of Theorem 3.3,
Without loss of generality, we assume . Our main proof strategy is to show that for any input instance , we have for ,
(11) |
For , define as the set of items on which at least one agent in has nonzero valuation,
Consider agent where . Notice that the integral greedy algorithm guarantees that the number of items in which are allocated to agent is strictly upper bounded by . If not, then the last such item should have been allocated to some agent since , which is a contradiction. Therefore, we get an upper bound on the amount of items that buyer receives in :
Define the item set . Then,
(12) |
Intuitively, it is possible that in an offline optimal allocation, all items in should be completely shared among the first agents, i.e., nothing in is allocated to agent . To verify this, simply consider a case where is negligibly small compared with . Further, it is also possible that the all items in are given to agent in an optimal allocation, for example, in the case where buyer have zero valuation on these items. This will lead to .
However, we will show that can not be any larger by contradiction. Suppose . By inequality (12), at least one item in is partly allocated to agent in . This means that an item that belongs to agent in the integral greedy allocation should be re-allocated to agent in the offline optimal allocation, even with a large . This is impossible for an optimal allocation, since allocating this item to agent strictly increases the geometric mean.
Therefore,
Combining this with the fact that the optimal offline allocation has for all , this proves (11).
0.B.5 Proof of Theorem 3.3,
Without loss of generality, we assume the integral greedy algorithm gives us . To prove Theorem 3.3, it suffices to show that for any there exists a constant such that for all and any input instance in ,
(13) |
We introduce two lemmas to prove (13). Lemma 7 shows that for a set of item which belongs to agent in the greedy algorithm, there is an upper bound on the increment of welfare if one transfers to other agents. It is a generalization of the envy result. The proof of 7 is similar to 3.1, and is deferred to Section 0.B.6.
Lemma 7.
For , let be a set of items that are allocated to agent by the integral greedy algorithm, such that as . Let be a set of agents not including , and . Then for any ,
where
The next lemma guarantees that asymptotically, the utility of any single agent in the offline optimal allocation can be at most times as large as the utility of the “wealthiest” agent in the integral greedy allocation. is a positive constant which does not depend on and . The proof of Lemma 8 can be found in Section 0.B.7.
Lemma 8.
For any given input and , there exists a constant such that for any ,
After introducing the two auxiliary lemmas, we return to the proof of Theorem 3.3.
For , define as the set of items on which at least one agent in has nonzero valuation.
For agent , we consider , which is the set of items in that are allocated to agent .
In the proof sketch, we give the intuition that, it is possible that the optimal allocation gives all items in to agent the first agents, which might cause a large ratio of . To bound the ratio, we first apply Lemma 7 to bound the maximum welfare of the first agents on item set . For ,
(14) |
Then, consider the input , which is defined as setting agent ’s value to on every item in . Because agent are given strictly more items in , both the integral greedy algorithms should have non-decreasing agent utilities when is large enough. (The amount of decrease should be negligible in ).
(15) | |||
Consider the integral greedy allocation after transforming from to . By equation (14), the total utility increase of the agents is asymptotically upper bounded by . Then the utility of the “wealthiest” agent after the transformation should be upper bounded by
(16) |
If (16) does not hold, this will contradict the the non-decreasing property in (15).
0.B.6 Proof of Lemma 7
The proof of 7 follows the same pattern as the proof of Theorem 3.1. First, transform the input while preserving the result of integral greedy algorithm. Then, use an optimization program to characterize that gives maximum value to the left-hand side of 7.
Thanks to Lemma 2, we do not need to consider agents that are not in , thus assume without loss of generality that , and .
For any given input , we transform it into without changing the result of integral greedy allocation:
-
1.
For each and each item in , set all agents’ value to except agent .
-
2.
Put all items in to the end of the sequence.
Therefore, it suffices to only consider sequences that only allocate items to agent after other agents have received all items in the beginning rounds.
s.t. | |||
An upper bound of is given by . The rest of the analysis is identical to the analysis of the canonical optimization program (3) in Theorem 3.1.
0.B.7 Proof of Lemma 8
For simplicity of notation, in this proof we denote .
Consider modifying the integral greedy allocation into an optimal one: for each , some items that belong to in the integral greedy allocation might be partly re-allocated to in the optimal allocation, and vice versa. To characterize this procedure of modification, we define the following variables:
-
•
is agent ’s value on the items that belong to him in the integral greedy allocation, but not in the optimal allocation.
-
•
as agent ’s value on the items that belong to agent in the integral greedy allocation, but now belong to agent in the optimal allocation. Specifically, we let .
From the above definition,
(17) |
Divide all variables in (17) by to get and . Then (17) becomes
(18) |
All above variables should be non-negative. Applying Lemma 7, we get further constraints on :
(19) | ||||
(20) |
In the above conditions we use to explicitly indicate that the asymptotic notation is on . are constants.
Notice that so far we have not yet used the condition that is an optimal allocation. We use a necessary condition (not sufficient) to characterize optimality:
(21) |
Condition (21) holds because when in an optimal allocation, agent must have no envy towards agent . If not, then allocating any envied item to agent will strictly increase the geometric mean, since all non-negative values are in .
Next, we show that , for any . If has a constant upper bound, this is obviously true. Next, we show that if as goes to infinity, where as , we can derive for any positive . Notice that the asymptotic notion is on when we refer to .
Consider a directed graph with as its vertex set, and the set of edges is defined as:
Define as the set of all vertices such that the distance from to is , i.e., the shortest directed path from to has length . . We denote .
For , there exists a path where . By condition (21), the existence of edge implies . Thus . This gives a lower bound on the sum of where :
(22) |
Next, we show inductively that For , this is true because as , by condition (19),
For , suppose is true for . Consider again the sum of all where , as ,
(23) |
where (a) is because for if , (b) is a direct application of condition 20, and (c) is by the induction hypothesis.
0.B.8 Proof of Theorem 3.4
Consider dividing the horizon of length into different phases, with length , satisfying
For the first phase (i.e. for ), for all . Because there are items and buyers, for any online integral algorithm there exists a buyer whose utility after phase 1 satisfies .
Recursively, for each phase , we set for all :
and let be a buyer whose utility after round satisfies .
Notice that the optimal offline allocation will allocate everything in phase to buyer . We have and
This leads to a ratio at least .
0.B.9 Proof of Theorem 3.5
Define , , and . In this proof, we study the general case with . We will prove that
(26) |
The proof is divided into two major steps.
0.B.9.1 Step 1. Ratio bounded by prices.
We first introduce notations for quantities that appear during the run of Algorithm 3.
Let be the price of item , and . Then Algorithm 3 Equation 5 can be written as . Also let be the utility of agent from item according to the allocation of the seeded integral greedy algorithm. Let be the cumulative utilities for and and .
We begin with the following claim.
Claim.
For any feasible hindsight allocation and its resulting utilities ,
(27) |
Notice that . Then,
By the definition of , it holds for all agent ,
Applying the supply feasibility constraint,
Next, use integrality of Algorithm 3 and rewrite the sum of prices as the sum of running ratios:
0.B.9.2 Step 2. Introducing a basic inequality.
Lemma 9 (Bach and Levy [2019]).
For nonnegative numbers and any , it holds
Appendix 0.C Missing Proofs in Section 4
0.C.1 Proof of Lemma 4
By the definition of and the bound on one can check:
If , then
Now we show that the PACE allocation is preserved for the first items in the transformed sequence. For an original item and corresponding item in in (), we check the two cases:
-
1.
When , we have
Hence .
-
2.
When , by Lemma 4,
Because we have set all agents’ valuations to except agent and , in both cases the item is indeed allocated to agent , which is the same as the original input .
0.C.2 Proof of Lemma 5
In this proof, we let be the per-round utility gain of agent in the beginning rounds.
To identify the sequence that gives maximum envy of agent on agent ’s bundle , we use the same technique as the proof of Theorem 3.1. The problem of maximizing agent ’s envy is equivalent to the following program:
(28) | ||||
s.t. | ||||
are positions where we put the items of .
Recall the technique we have used when proving Theorem 3.1, where we introduced the function such that is an upper bound of when . When the horizon is infinitely long, each choice of makes up only a small step, and the envy is upper–bounded by the integral in the asymptotic sense.
There is a major difference when it comes to PACE. In the integral greedy algorithm, the upper bound of is clearly given by once we know that . However, in PACE, knowing only is not sufficient to bound on . The bound may also depend on , the position of the item.
Thanks to Lemma 4 and the fact that , we can simplify the above equation and remove the dependence on .
(29) |
The upper bound (29) is identical to the constraint in a canonical optimization program of an envy maximizer parametrized by , defined as (3) in the proof of Theorem 3.1. Hence, both asymptotic upper bounds for envy and in the canonical optimization program still hold.
0.C.3 Proof of Lemma 6
To prove Lemma 6, we show that for any given , by choosing where , we have for any ,
We show this by contradiction. Assume there exists such that . Let be the set of items which agent has non-zero value. Consider item , the last item in . To construct a contradiction, we show that implies an upper bound on each , and thus (with a union bound). This might contradict the lower bound .
Consider an adversarial setting where the adversary attempts to maximize , subject to the assumptions on the input and the allocation rule of PACE. Suppose where . We relax the constraint on the adversary as follows:
-
1.
For , the adversary subject to constraint
We relax this into
(30) -
2.
Notice that and by assumption. Then we can further relax (30) into
(31) -
3.
The constraint on is minimum:
(32)
The relaxed adversarial setting consists of constraint (31), (32) and the value domain requirement . The value it concerns are where .
Recall the definition of the canonical optimization program for an envy-maximizer in (3). We notice that the above relaxed constraint is identical to a canonical optimization program parametrized by . By Lemma 3, the length of the value sequence in the relaxed setting is asymptotically bounded,
(33) |
Since (33) is an upper bound for the relaxed setting, it must also hold for the true adversarial setting. We then know that
where the last step is by the definition of .
However, this is impossible, since implies . By contradiction we must have for sufficiently large .
0.C.4 Proof of Theorem 4.2
Since , by Lemma 6,
We can then apply the envy bound in Theorem 4.1 to to get that for all ,
Summing over all and using , we have
Applying the condition ,
On the other hand, by the AM-GM inequality, the optimal value of Nash Welfare can be bounded as follows:
Following from the above two inequalities,
This proves Theorem 4.2.