English

Optimal Online Discrepancy Minimization

Data Structures and Algorithms 2023-08-04 v1

Abstract

We prove that there exists an online algorithm that for any sequence of vectors v1,,vTRnv_1,\ldots,v_T \in \mathbb{R}^n with vi21\|v_i\|_2 \leq 1, arriving one at a time, decides random signs x1,,xT{1,1}x_1,\ldots,x_T \in \{ -1,1\} so that for every tTt \le T, the prefix sum i=1txivi\sum_{i=1}^t x_iv_i is 1010-subgaussian. This improves over the work of Alweiss, Liu and Sawhney who kept prefix sums O(log(nT))O(\sqrt{\log (nT)})-subgaussian, and gives a O(logT)O(\sqrt{\log T}) bound on the discrepancy maxtTi=1txivi\max_{t \in T} \|\sum_{i=1}^t x_i v_i\|_\infty. Our proof combines a generalization of Banaszczyk's prefix balancing result to trees with a cloning argument to find distributions rather than single colorings. We also show a matching Ω(logT)\Omega(\sqrt{\log T}) strategy for an oblivious adversary.

Keywords

Cite

@article{arxiv.2308.01406,
  title  = {Optimal Online Discrepancy Minimization},
  author = {Janardhan Kulkarni and Victor Reis and Thomas Rothvoss},
  journal= {arXiv preprint arXiv:2308.01406},
  year   = {2023}
}

Comments

22 pages

R2 v1 2026-06-28T11:46:48.841Z