Lune

STOC2020Top-tier venue

Online vector balancing and geometric discrepancy

Nikhil Bansal, Haotian Jiang, Sahil Singla, Makrand Sinha

Abstract

We consider an online vector balancing question where TT vectors, chosen from an arbitrary distribution over [−1,1]n[-1,1]^n, arrive one-by-one and must be immediately given a ±\pm sign. The goal is to keep the discrepancy small as possible. A concrete example is the online interval discrepancy problem where T points are sampled uniformly in [0,1], and the goal is to immediately color them ±\pm such that every sub-interval remains nearly balanced. As random coloring incurs Ω(T1/2)Ω(T^{1/2}) discrepancy, while the offline bounds are Θ(nlog⁡(T/n))Θ(\sqrt{n \log (T/n)}) for vector balancing and 11 for interval balancing, a natural question is whether one can (nearly) match the offline bounds in the online setting for these problems. One must utilize the stochasticity as in the worst-case scenario it is known that discrepancy is Ω(T1/2)Ω(T^{1/2}) for any online algorithm. Bansal and Spencer recently show an O(nlog⁡T)O(\sqrt{n}\log T) bound when each coordinate is independent. When there are dependencies among the coordinates, the problem becomes much more challenging, as evidenced by a recent work of Jiang, Kulkarni, and Singla that gives a non-trivial O(T1/log⁡log⁡T)O(T^{1/\log\log T}) bound for online interval discrepancy. Although this beats random coloring, it is still far from the offline bound. In this work, we introduce a new framework for online vector balancing when the input distribution has dependencies across coordinates. This lets us obtain a poly(n,log⁡T)poly(n, \log T) bound for online vector balancing under arbitrary input distributions, and a poly(log⁡T)poly(\log T) bound for online interval discrepancy. Our framework is powerful enough to capture other well-studied geometric discrepancy problems; e.g., a poly(log⁡d(T))poly(\log^d (T)) bound for the online dd-dimensional Tusnády's problem. A key new technical ingredient is an anti-concentration inequality for sums of pairwise uncorrelated random variables.

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.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Streaming Attention Approximation via Discrepancy Theory cites Discrepancy minimization via a self-balancing walk
  • Online Discrepancy Minimization for Stochastic Arrivals cites Discrepancy minimization via a self-balancing walk
  • GraB: Finding Provably Better Data Permutations than Random Reshuffling cites Online Discrepancy Minimization for Stochastic Arrivals
  • GraB: Finding Provably Better Data Permutations than Random Reshuffling cites Discrepancy minimization via a self-balancing walk
  • Algorithms and Barriers in the Symmetric Binary Perceptron Model cites Online Discrepancy Minimization for Stochastic Arrivals
  • Algorithms and Barriers in the Symmetric Binary Perceptron Model cites Discrepancy minimization via a self-balancing walk
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Algorithms and Barriers in the Symmetric Binary Perceptron ModelDavid Gamarnik, Eren C. Kizildag, Will Perkins, Changji XuFOCS 2022 · 26 citations
  2. GraB: Finding Provably Better Data Permutations than Random ReshufflingYucheng Lu, Wentao Guo, Christopher De SaNeurIPS 2022 · 23 citations
  3. Discrepancy minimization via a self-balancing walkRyan Alweiss, Yang P. Liu, Mehtaab SawhneySTOC 2021 · 17 citations
  4. Online Discrepancy Minimization for Stochastic ArrivalsNikhil Bansal, Haotian Jiang, Raghu Meka, Sahil Singla et al.SODA 2021 · 13 citations
  5. Streaming Attention Approximation via Discrepancy TheoryEkaterina Kochetkova, Kshiteej Sheth, Insu Han, Amir Zandieh et al.NeurIPS 2025 · 10 citations

Related papers

  1. Optimal Online Discrepancy MinimizationJanardhan Kulkarni, Victor Reis, Thomas RothvossSTOC 2024 · 3 citations
  2. Online Discrepancy with Recourse for Vectors and GraphsAnupam Gupta, Vijaykrishna Gurunathan, Ravishankar Krishnaswamy, Amit Kumar et al.SODA 2022 · 3 citations
  3. Smoothed Analysis with Adaptive AdversariesNika Haghtalab, Tim Roughgarden, Abhishek ShettyFOCS 2021 · 4 citations
  4. Flow time scheduling and prefix Beck-FialaNikhil Bansal, Lars Rohwedder, Ola SvenssonSTOC 2022 · 8 citations
  5. Beating Meet-in-the-Middle for Subset Balancing ProblemsTim Randolph, Karol WegrzyckiSTOC 2026 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines