English

Online Envy Minimization and Multicolor Discrepancy: Equivalences and Separations

Computer Science and Game Theory 2025-05-22 v2 Data Structures and Algorithms

Abstract

We consider the fundamental problem of allocating TT indivisible items that arrive over time to nn agents with additive preferences, with the goal of minimizing envy. This problem is tightly connected to online multicolor discrepancy: vectors v1,,vTRdv_1, \dots, v_T \in \mathbb{R}^d with vi21\| v_i \|_2 \leq 1 arrive over time and must be, immediately and irrevocably, assigned to one of nn colors to minimize maxi,j[n]vSivvSjv\max_{i,j \in [n]} \| \sum_{v \in S_i} v - \sum_{v \in S_j} v \|_{\infty} at each step, where SS_\ell is the set of vectors that are assigned color \ell. The special case of n=2n = 2 is called online vector balancing. Any bound for multicolor discrepancy implies the same bound for envy minimization. Against an adaptive adversary, both problems have the same optimal bound, Θ(T)\Theta(\sqrt{T}), but whether this holds for weaker adversaries is unknown. Against an oblivious adversary, Alweiss et al. give a O(logT)O(\log T) bound, with high probability, for multicolor discrepancy. Kulkarni et al. improve this to O(logT)O(\sqrt{\log T}) for vector balancing and give a matching lower bound. Whether a O(logT)O(\sqrt{\log T}) bound holds for multicolor discrepancy remains open. These results imply the best-known upper bounds for envy minimization (for an oblivious adversary) for nn and two agents, respectively; whether better bounds exist is open. In this paper, we resolve all aforementioned open problems. We prove that online envy minimization and multicolor discrepancy are equivalent against an oblivious adversary: we give a O(logT)O(\sqrt{\log T}) upper bound for multicolor discrepancy, and a Ω(logT)\Omega(\sqrt{\log T}) lower bound for envy minimization. For a weaker, i.i.d. adversary, we prove a separation: For online vector balancing, we give a Ω(logTloglogT)\Omega\left(\sqrt{\frac{\log T}{\log \log T}}\right) lower bound, while for envy minimization, we give an algorithm that guarantees a constant upper bound.

Keywords

Cite

@article{arxiv.2502.14624,
  title  = {Online Envy Minimization and Multicolor Discrepancy: Equivalences and Separations},
  author = {Daniel Halpern and Alexandros Psomas and Paritosh Verma and Daniel Xie},
  journal= {arXiv preprint arXiv:2502.14624},
  year   = {2025}
}
R2 v1 2026-06-28T21:51:27.538Z