{"arxiv_id":"2609.14975","title":"The threshold for online balancing of i.i.d. binary vectors","abstract":"Consider the task of online vector balancing for stochastic arrivals $X_1,\\ldots,{X_T}$, where the $X_i$ are independent uniformly random $d$--sparse binary vectors in $\\{0,1\\}^n$. This is a random analogue of the online Beck--Fiala problem. We show that uniformly for $2\\le d\\le n/2$ and $T = \\Theta(n)$, the optimal online prefix discrepancy $\\max\\limits_{t\\leq T}\\left\\|\\sum_{i=1}^t\\sigma_i X_i\\right\\|_\\infty$ is of order \\[\n  \\Theta\\big(\\max\\{\\sqrt d,\\log\\log n\\}\\big). \\] The upper bound is achieved by an efficient online algorithm. Thus, for $d\\le(\\log\\log n)^2$, the optimal discrepancy is $\\Theta(\\log\\log n)$ and is independent of the sparsity up to constant factors, whereas above this scale it is $\\Theta(\\sqrt d)$, matching the order of the offline discrepancy. This identifies the threshold at which sparsity begins to govern the online discrepancy of the random Beck--Fiala model.","primary_cat":"math.PR","cross_cats":["cs.DS","math.CO"],"submitted_at":"2026-09-14T03:28:41+00:00","latest_version":1,"source":"arxiv","source_label":"arXiv","source_url":null,"has_pdf":true,"has_source":false,"verdict":"ACCEPT","confidence":"HIGH","one_line_summary":"The optimal online prefix discrepancy of i.i.d. d‑sparse binary n-vectors is Θ(max{√d, log log n}), showing a sharp transition when d ≈ (log log n)².","novelty_score":7.0,"correctness_risk":"low","formal_verification":"none","upvotes":0,"downvotes":0,"pith_score":12.4737,"inbound_count":4,"_links":{"html":"https://pith.science/paper/2609.14975","verdict":"/api/v1/verdicts/2609.14975"}}