Optimal Online Discrepancy Minimization
Janardhan Kulkarni, Victor Reis, Thomas Rothvoss
Abstract
We prove that there exists an online algorithm that for any sequence of vectors v 1 , . . . , v T ∈ R n with v i 2 ≤ 1, arriving one at a time, decides random signs x 1 , . . . , x T ∈ -1, 1 so that for every t ≤ T , the prefix sum t i =1 x i v i is 10-subgaussian. This improves over the work of Alweiss, Liu and Sawhney who kept prefix sums O( log(nT ))-subgaussian, and gives a O( log T ) bound on the discrepancy max t ∈T t i =1 x i v i ∞ . 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 Ω( log T ) strategy for an oblivious adversary.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Streaming Attention Approximation via Discrepancy Theory cites Discrepancy minimization via a self-balancing walk
- Online Matrix Factorization, Online Private Query Release, and Online Discrepancy Minimization cites Discrepancy minimization via a self-balancing walk
- Online Discrepancy Minimization for Stochastic Arrivals cites Discrepancy minimization via a self-balancing walk
- Flow time scheduling and prefix Beck-Fiala cites Online Discrepancy Minimization for Stochastic Arrivals
- Flow time scheduling and prefix Beck-Fiala cites Discrepancy minimization via a self-balancing walk
- Streaming Covariate Balancing via Discrepancy-Based Feature Coresets cites Discrepancy minimization via a self-balancing walk
Cited by top-tier papers3
- Streaming Attention Approximation via Discrepancy TheoryEkaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh et al.NeurIPS 2025 · 10 citations
- Online Matrix Factorization, Online Private Query Release, and Online Discrepancy MinimizationAleksandar Nikolov, Haohua Tang, Jonathan UllmanSTOC 2026 · 1 citation
- Streaming Covariate Balancing via Discrepancy-Based Feature CoresetsYiXin Ren, Chenghou Jin, Yewei Xia, Zichuan Lin et al.ICML 2026
Builds on3
- Discrepancy minimization via a self-balancing walkRyan Alweiss, Yang P. Liu, Mehtaab SawhneySTOC 2021 · 17 citations
- Online Discrepancy Minimization for Stochastic ArrivalsNikhil Bansal, Haotian Jiang, Raghu Meka, Sahil Singla et al.SODA 2021 · 13 citations
- Flow time scheduling and prefix Beck-FialaNikhil Bansal, Lars Rohwedder, Ola SvenssonSTOC 2022 · 8 citations
Related papers
- Online vector balancing and geometric discrepancyNikhil Bansal, Haotian Jiang, Sahil Singla, Makrand SinhaSTOC 2020 · 2 citations
- Online Discrepancy with Recourse for Vectors and GraphsAnupam Gupta, Vijaykrishna Gurunathan, Ravishankar Krishnaswamy, Amit Kumar et al.SODA 2022 · 3 citations
- RETRACTED: Constructive ℓ2-Discrepancy Minimization with Additive DeviationsSODA 2026
- Online edge coloring via tree recurrences and correlation decayJanardhan Kulkarni, Yang P. Liu, Ashwin Sah, Mehtaab Sawhney et al.STOC 2022 · 7 citations
- Smoothed Analysis with Adaptive AdversariesNika Haghtalab, Tim Roughgarden, Abhishek ShettyFOCS 2021 · 4 citations
