Consider the task of \textit{online} vector balancing for stochastic arrivals (Xi)i∈[T], where the time horizon satisfies T=Θ(n), and the Xi are i.i.d uniform d--sparse n--dimensional binary vectors, with 2≤d≤(loglogn)2/logloglogn. We show that for this range of parameters, every online algorithm incurs discrepancy at least Ω(loglogn), and there is an efficient algorithm which achieves a matching discrepancy bound of O(loglogn) w.h.p. This establishes an asymptotic gap, both existential and algorithmic, between the online and offline versions of the average--case Beck--Fiala problem. Strikingly, the optimal online discrepancy in the considered setting is order loglogn, independent of d and the norms of the vectors (Xi)i. Our assumptions on d are nearly optimal, as this independence ceases when d=ω((loglogn)2).
@article{arxiv.2509.02432,
title = {A threshold for online balancing of sparse i.i.d. vectors},
author = {Dylan J. Altschuler and Konstantin Tikhomirov},
journal= {arXiv preprint arXiv:2509.02432},
year = {2025}
}