Nonstationary Dual Averaging and Online Fair Allocation

Luofeng Liao, Yuan Gao, Christian Kroer

TL;DR

This paper proves that PACE, a simple and parameter-free online fair allocation algorithm, remains robust and efficient even when item arrivals are nonstationary (e.g., corrupted, periodic, or correlated over time). By establishing new convergence bounds for the general dual averaging optimization algorithm under nonstationarity, the authors show that PACE automatically adapts to changing environments without requiring any hyperparameter tuning.

What Problem Does This Paper Address?

In fair division, the goal is to allocate resources among agents with different preferences cleanly, fairly, and efficiently. In an online setting, items arrive sequentially (like internet ad slots, cloud computing jobs, or donations to a food bank), and the system must allocate them immediately and irrevocably.

A gold standard for fairness is the Competitive Equilibrium from Equal Incomes (CEEI), where agents receive equal virtual budgets to bid on items. The recently introduced PACE algorithm successfully approximates this equilibrium online, but prior guarantees assumed that items arrive in an independent and identically distributed (i.i.d.) fashion.

Because real-world data is rarely stationary—suffering from traffic spikes, weekly cycles, or sudden trends—assuming i.i.d. data is unrealistic. Conversely, assuming a fully adversarial environment yields overly pessimistic bounds. This paper addresses this gap by analyzing online fair allocation under realistic, nonstationary stochastic data streams.

Methods

The authors tackle the problem by first expanding the theory of Dual Averaging (DA), a popular stochastic optimization framework. They analyze a composite dual averaging algorithm under three nonstationary input models:

  1. Independent Input with Adversarial Corruption: Data points are independent but their distributions can be arbitrarily corrupted by a bounded average amount ($\delta$).
  2. Ergodic/Markov Input: Data points can be highly correlated with nearby time steps, but the correlation decays over time (measured by an $\iota$-step deviation).
  3. Block-Independent/Periodic Input: Data arrives in independent blocks of size $q$, allowing arbitrary correlations within each block (e.g., weekly cycles).

By proving that the last iterate of dual averaging converges in a mean-square sense under these nonstationary conditions, the authors map these results directly onto the PACE algorithm. PACE emulates first-price auctions where agents update their pacing multipliers over time based on their budgets and accumulated utilities.

Datasets

The authors evaluated PACE using a market instance generated from the MovieLens dataset (Harper and Konstan, 2016).

  • Structure: The dataset was transformed into a market consisting of $n = 100$ buyers and $m = 300$ items.
  • Simulated Environments: The authors generated four distinct item-arrival streams from this data to test their theoretical models: an i.i.d. baseline, a mildly corrupted stream, a Markov chain stream, and a periodic stream (with a period length of $\ell = 100$).

Key Insights and Ideas

  • Bypassing Time-Separability: Prior works analyzing nonstationary online allocation (often using Mirror Descent) relied heavily on the objective function being separable across time steps. The fair allocation objective (maximizing logarithmic utility over time) is not time-separable in its primal form. The authors show that a dual approach can succeed without this structural crutch by leveraging the strong convexity of the dual regularizer.
  • "Best of Many Worlds" Guarantee: PACE requires absolutely no knowledge of the underlying data distribution, nor does it require stepsize tuning. Yet, it automatically achieves optimal convergence rates in i.i.d. settings and degrades gracefully in proportion to the amount of nonstationarity in non-i.i.d. settings.
  • Last-Iterate Convergence: Instead of proving that the average of all past allocations is fair, the authors prove that the current pacing multipliers converge to the optimum, ensuring the algorithm performs well at the final time step.

Key Results

  • Mathematical Bounds: The mean-square error bounds for PACE cleanly decompose into the standard i.i.d. rate of $O(\log t / t)$ plus an explicit penalty term for nonstationarity (e.g., $+\delta$ for corruption, $+ \iota/t$ for ergodic mixing, or $+ q^2/t$ for periodic blocks).
  • Regret and Envy: Regret and envy scale sublinearly at a rate of $\tilde{O}(\sqrt{t} + \sqrt{\delta}\cdot t)$ for corrupted data and $\tilde{O}(\sqrt{qt})$ for periodic data. If the corruption is small ($O(\sqrt{t})$), the classical $\sqrt{t}$ regret rate is perfectly preserved.
  • Empirical Performance: In all nonstationary simulations, PACE's pacing multipliers and time-averaged utilities converged rapidly to their hindsight equilibrium values, vastly outperforming a standard "proportional-share" baseline algorithm.

Limitations and Future Work

  • Mainly Theoretical: As noted in the paper's checklist, the work is primarily theoretical. While it provides strong mathematical guarantees, deployment in complex, production-grade advertising or cloud systems might surface engineering edge cases not captured by the models.
  • Strategic Behavior: The analysis assumes that agents follow the pacing dynamics honestly. It does not explicitly account for game-theoretic or malicious strategic manipulations where agents might misreport valuations to game the nonstationary auction dynamics. Exploring incentive compatibility under nonstationarity remains an open avenue.

Summary updated

Abstract

We consider the problem of fairly allocating items to a set of individuals, when the items are arriving online. A central solution concept in fair allocation is competitive equilibrium: every individual is endowed with a budget of faux currency, and the resulting competitive equilibrium is used to allocate. For the online fair allocation context, the PACE algorithm of Gao et al. [2021] leverages the dual averaging algorithm to approximate competitive equilibria. The authors show that, when items arrive i.i.d, the algorithm asymptotically achieves the fairness and efficiency guarantees of the offline competitive equilibrium allocation. However, real-world data is typically not stationary. One could instead model the data as adversarial, but this is often too pessimistic in practice. Motivated by this consideration, we study an online fair allocation setting with nonstationary item arrivals. To address this setting, we first develop new online learning results for the dual averaging algorithm under nonstationary input models. We show that the dual averaging iterates converge in mean square to both the underlying optimal solution of the "true" stochastic optimization problem as well as the "hindsight" optimal solution of the finite-sum problem given by the sample path. Our results apply to several nonstationary input models: adversarial corruption, ergodic input, and block-independent (including periodic) input. Here, the bound on the mean square error depends on a nonstationarity measure of the input. We recover the classical bound when the input data is i.i.d. We then show that our dual averaging results imply that the PACE algorithm for online fair allocation simultaneously achieves "best of both worlds" guarantees against any of these input models. Finally, we conduct numerical experiments which show strong empirical performance against nonstationary inputs.
BibTeX
@inproceedings{liao2022nonstationary,
  author = {Luofeng Liao and Yuan Gao and Christian Kroer},
  title = {{Nonstationary Dual Averaging and Online Fair Allocation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=8bk68fodvD5},
}
Figure