{"id":"f7b24bf6-928b-43fa-bf85-114ff62db4db","arxiv_id":"2609.14975","paper_version":1,"verdict":"ACCEPT","confidence":"HIGH","novelty_score":7.0,"correctness_risk":"low","formal_verification":"none","parameter_count":0,"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)².","lead":"This paper identifies the exact threshold at which sparsity governs the optimal online discrepancy of random binary vectors. For vectors with d nonzero entries, the minimal possible maximum imbalance is Θ(max{√d, log log n}), revealing a phase transition when d is about (log log n)².","discovery_kind":"first_principles","skeptic_critique":{"model":"deepseek/deepseek-v4-flash","headline":"No significant objection identified.","rationale":"The stress-test found no significant flaw. The proofs are carefully written, the assumptions are clear, and the analysis is self-contained. The potential management and the recursion for exceptional rows are correctly argued. The upper bound holds with probability 1 - o(1) as required. Therefore the reader's verdict of ACCEPT with HIGH confidence is justified.","tokens_in":21791,"tokens_out":4550,"duration_ms":42834,"concrete_test":"Verify the algebraic derivation of the finite-difference bounds in Lemma 3.3 for the potential function F, particularly the switch at b, and check that the constant a can be chosen large enough to satisfy all inequalities simultaneously.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The paper's central claim is supported by rigorous proofs for both lower and upper bounds. The lower bound uses a clever spread argument that exploits the binary (0/1) nature of the vectors, which is part of the problem definition. The upper bound employs a potential function and a careful analysis of exceptional rows, with all estimates verified. The recursion for levels above the threshold is sound. The extension to all sparsities uses prior work. No internal inconsistency or missing step was found.","agreement_with_reader":"agree"},"referee_report":{"model":"deepseek/deepseek-v4-flash","summary":"The paper studies the online prefix discrepancy for independent uniformly random d‑sparse binary vectors in {0,1}^n with T = Θ(n) columns. The main result (Theorem 1.1) is that the optimal discrepancy is Θ(max{√d, log log n}) uniformly for 2 ≤ d ≤ n/2. The lower bound is proved by a novel “spread” construction that exploits the binary (0/1) nature of the entries and yields an Ω(log log n) obstruction when d ≤ (log log n)^2; for larger d the Ω(√d) bound follows from known offline results. The upper bound is achieved by an efficient online algorithm that combines potential minimization for moderate rows with a greedy override for exceptional rows, together with a prior worst‑case bound for larger sparsities. The proofs are detailed and rigorous, with careful probabilistic estimates (Chebyshev, Freedman’s inequality) and a clean recursion for levels of exceptional rows.","tokens_in":21958,"tokens_out":4052,"duration_ms":39809,"significance":"If the result holds—and the evidence strongly supports it—this paper identifies a sharp phase transition in the online Beck–Fiala problem under random inputs. For d = o((log log n)^2) the optimal discrepancy is Θ(log log n) and thus independent of the sparsity, whereas for larger d it is Θ(√d), matching the offline order. This establishes a genuine gap between online and offline discrepancy in the sparse average‑case setting, answering a natural question that had been open. The algorithmic ideas (superimposing potential‑driven and greedy decisions, the sampling estimate of Lemma 3.4) are likely to be useful in other online balancing problems.","major_comments":[{"comment":"The upper bound for d > n^{1/5} relies entirely on Theorem 4.1 (a worst‑case result from the authors’ preprint [4]). The statement of Theorem 1.1 would be more complete if it noted that the full range 2 ≤ d ≤ n/2 is covered by combining the present algorithm with that separate result, or if a brief self‑contained argument for large d were given. As it stands, a reader might wonder whether the probability bound in Theorem 4.1 is indeed o(1) for all d up to n/2; a short verification (which is possible) would improve clarity.","section":"§4, proof of Theorem 1.1"}],"minor_comments":[{"comment":"The notation “(logn) eu−1” is ambiguous; it should read “(log n)^{e^{u-1}}” or “(log n)^{\\exp(u-1)}”. Please rewrite for clarity.","section":"Equation (4)"},{"comment":"The phrase “We write F_t for the σ–field generated by R_1,…,R_t and the random seed” is fine; but the random seed is never explicitly introduced. Consider stating that an online algorithm may use an independent random seed.","section":"§1.3, line after (3)"},{"comment":"In the bound for E(Y_v Y_w), the term (n-2s choose d-2) appears twice; it might be helpful to spell out the counting argument in a single formula rather than splitting it. The current derivation is correct but a little terse.","section":"§2, proof of Lemma 2.3"},{"comment":"The constant a is said to be a “sufficiently large absolute constant” but is only determined later in Proposition 3.8 (where it is chosen after fixing K). It would be helpful to state immediately that a will be chosen in terms of K.","section":"§3.1, definition of ρ in (9)"},{"comment":"The heuristic ratio “∆Q_R/∆L_R ≳ √m/δ” is informative but the notation m used here is later repurposed for block length in the lower bound. This is not a conflict, but a small remark might avoid confusion.","section":"§3.2, overview paragraph starting with “We first consider rows with absolute discrepancy s ≤ b”"},{"comment":"The reference [4] is an arXiv preprint from 2026; the paper should explicitly state that it uses a result that is not yet peer‑reviewed, or at least note its status.","section":"§4, citation [4]"},{"comment":"The acknowledgment that ChatGPT Pro 5.5 made two substantive contributions is unusual for a mathematics paper; while not a flaw, it may be better to keep such details in a separate section or remove them to conform to journal style. The journal’s policy should be consulted.","section":"AI acknowledgment"}],"recommendation":"minor_revision"},"author_rebuttal":null,"desk_editor":{"model":"deepseek/deepseek-v4-flash","letter":"Dear colleague,\n\nThis paper settles a question that had been open in a precise form: for i.i.d. uniform d-sparse binary vectors in n dimensions, the optimal online prefix discrepancy is exactly Θ(max{√d, log log n}). The real news is the threshold at d=(log log n)^2. Below it, discrepancy is governed by log log n and sparsity is irrelevant; above it, the online bound matches the offline order. That is a clean and genuinely new result.\n\nCredit where due. The lower bound via spreads is well adapted to binary supports: isolated intersections force outward moves regardless of the sign chosen, and the doubly exponential bookkeeping gives a robust many-rows lower bound. The upper bound is a serious algorithmic construction, combining a potential method for moderate rows with a greedy override for exceptional rows. Lemma 3.4, the sampling estimate, is the technical heart and looks correct, and the finite-difference estimates are detailed enough to check. I did not find fitted parameters, hidden circularity, or invented objects. The paper is self-contained except for one point made below.\n\nSoft spots. The full-range statement for d up to n/2 leans on the companion paper [4] for d > n^{1/5}, so Theorem 1.1 as stated is only as solid as that external bound. This is explicit, but a referee should verify that dependency. The lower bound is terminal rather than prefix, while the upper bound controls prefixes; the authors are transparent about this asymmetry. The proof is long, and the recursion in Lemma 3.11 and the threshold Θ in (11) deserve careful checking, but I saw no sign of a load-bearing error. The AI-use disclosure is unusual but transparent and does not affect the mathematics.\n\nWho this is for: discrepancy theorists, online algorithms people, and anyone working on average-case Beck–Fiala. It deserves a serious referee. My own verdict would be accept after the dependence on [4] is checked; the core result and proof quality are well above desk-reject level.","headline":"This resolves the online random Beck–Fiala threshold exactly, with a genuinely new lower-bound construction and a careful potential-based algorithm; the main caveat is the explicit reliance on a companion paper for the largest sparsities.","tokens_in":22592,"tokens_out":2352,"duration_ms":23757},"pith_extraction":{"msc":[],"pacs":[],"model":"deepseek/deepseek-v4-flash","headline":"This paper identifies the exact threshold at which sparsity governs the online discrepancy of random Beck–Fiala vectors, showing the optimal prefix discrepancy is Θ(max{√d, log log n}) for i.i.d. d‑sparse binary vectors.","keywords":["online vector balancing","Beck–Fiala conjecture","discrepancy theory","sparse random matrices","phase transition","prefix discrepancy","online algorithm","potential function"],"falsifier":"Construct a sequence of independent d‑sparse binary vectors where the entries are allowed to be either +1 or −1 with equal probability (signed sparse vectors), and test whether an online algorithm can achieve discrepancy o(log log n) for d ≤ (log log n)^2. If such an algorithm exists, the paper’s lower bound would fail because its key obstruction relies on the entries being all 1.","tokens_in":23432,"feed_emoji":"📊","tokens_out":2313,"duration_ms":23777,"temperature":0.7,"pith_summary":"The paper studies the online vector balancing problem for independent uniformly random d‑sparse binary vectors in {0,1}^n. It proves that the optimal online prefix discrepancy—the maximum over time of the ℓ∞ norm of the signed sum—is Θ(max{√d, log log n}) when the number of vectors T = Θ(n). This uncovers a phase transition: when d ≤ (log log n)^2 the discrepancy is Θ(log log n) and essentially independent of sparsity, while for larger d it matches the offline Θ(√d) bound. The lower bound introduces a new geometric obstruction (a ‘spread’ of rows) that forces discrepancy growth even in the average case, and the upper bound is achieved by an efficient online algorithm that combines potential minimization with greedy handling of exceptional rows.","feed_headline":"Online sparse balancing hits log‑log threshold","feed_subtitle":"The optimal discrepancy for random d‑sparse vectors is Θ(max{√d, log log n}), with a clean phase transition at d ≈ (log log n)².","key_machinery":"The central object for the lower bound is a ‘spread’: two disjoint large sets of rows whose running discrepancies are respectively ℓ ≤ 0 ≤ r. A block of fresh columns creates many ‘isolated intersections’—columns whose support contains exactly one row from each spread set and no other intersection in the block—forcing one of the two discrepancy values to increase by one. Iterating this over O(log log n) stages yields a Ω(log log n) lower bound. For the upper bound, the algorithm uses a two‑scale potential: an inverse‑square potential for moderate rows and an exponential (hyperbolic‑cosine) potential for rows near the threshold, combined with a greedy override for rows that become ‘exceptional’. The analysis bounds the number of exceptional rows via a recursion that decays doubly exponentially.","core_discovery":"The optimal online prefix discrepancy for a sequence of independent uniformly random d‑sparse binary vectors (the average‑case online Beck–Fiala problem) is Θ(max{√d, log log n}) uniformly for 2 ≤ d ≤ n/2 and T = Θ(n). This identifies a sharp threshold at d ≈ (log log n)^2: below this scale the discrepancy is driven by a log‑log factor and is independent of d up to constants; above it the discrepancy is Θ(√d), matching the offline setting.","pith_inferences":["The doubly exponential decay of exceptional rows in the upper bound suggests that similar potential‑method analyses could be adapted to other ultra‑sparse online balancing problems, e.g., with non‑uniform sparsity or structured random supports.","The log‑log threshold might be interpreted as a consequence of the coupon‑collector effect: when d is small, many rows are never sampled, and large discrepancy accumulates on a few rows; when d is larger, the law of large numbers takes over and the offline bound becomes attainable.","A natural testable extension is to check whether the same threshold appears for the expected discrepancy (rather than high‑probability) or for other ℓp norms.","The lower‑bound construction uses only o(n) columns, implying that even a short initial segment of the input already forces a Ω(log log n) discrepancy, which may be relevant for applications with small time horizons."],"forward_implications":["If the paper is correct, the average‑case online Beck–Fiala problem is fully resolved for all sparsities up to n/2, with a clean phase transition at d ≈ (log log n)^2.","For d ≤ (log log n)^2, the optimal online discrepancy is Θ(log log n), showing that in this regime the discrepancy is essentially determined by the number of rows, not the sparsity d.","The upper bound is achieved by an efficient (polynomial‑time) algorithm, so the result is not just existential.","The lower bound holds for any prescribed horizon T ≥ n, not only for the square case T = n.","The result establishes an asymptotic gap between online and offline discrepancy in the sparse random Beck–Fiala model, contradicting what the Beck–Fiala conjecture would suggest for the worst‑case online setting."],"supporting_citations":[{"why":"Provides the online Beck–Fiala upper bound O(√d) for large d (d ≥ log^{2+η} n), which the present paper uses to cover the regime d > n^{1/5}.","marker":"[4]"},{"why":"Gives the offline O(√d) algorithmic partial‑coloring bound for random low‑degree set systems, used in the offline comparison.","marker":"[7]"},{"why":"Delivers a spectral bound on hypergraph discrepancy that, combined with [7], yields the offline O(√d) bound for random d‑sparse binary matrices.","marker":"[16]"},{"why":"Establishes the offline Ω(√d) lower bound for random hypergraphs, which the paper uses to cover the large‑d regime in the lower bound.","marker":"[17]"},{"why":"Develops the potential‑minimization framework for online balancing of uniform Rademacher vectors, whose techniques the present paper adapts to the sparse binary setting.","marker":"[8]"}],"fun_headline_variants":["Online vector balancing threshold: max of √d and log log n","Random Beck–Fiala discrepancy splits at (log log n)²","Sparse online balancing: log‑log regime gives way to √d","Optimal online discrepancy found for random d‑sparse vectors","Where sparsity stops driving online balancing discrepancy"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The lower bound crucially assumes that the vectors have binary (0/1) entries, not signed entries, because the geometric obstruction of a spread relies on the fact that all nonzero entries are 1, forcing an outward move regardless of the sign chosen by the algorithm.","fun_headline_variants_meta":{"raw":{"variants":["Online vector balancing threshold: max of √d and log log n","Random Beck–Fiala discrepancy splits at (log log n)²","Sparse online balancing: log‑log regime gives way to √d","Optimal online discrepancy found for random d‑sparse vectors","Where sparsity stops driving online balancing discrepancy"]},"model":"deepseek/deepseek-v4-flash","effort":"low","cost_usd":0.000185,"raw_usage":{"cost":0.00018508,"is_byok":false,"cost_details":{"upstream_inference_cost":0.00018508,"upstream_inference_prompt_cost":0.00014532,"upstream_inference_completions_cost":3.976e-05},"total_tokens":1180,"prompt_tokens":1038,"completion_tokens":142,"prompt_tokens_details":{"audio_tokens":0,"video_tokens":0,"cached_tokens":0,"cache_write_tokens":0},"completion_tokens_details":{"audio_tokens":0,"image_tokens":0,"reasoning_tokens":69}},"tokens_in":1038,"tokens_out":142,"cost_source":"openrouter_usage","duration_ms":3136,"image_pages":[],"temperature":1.0,"reasoning_tokens":69,"transport_provider":"openrouter","cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-09-15T12:03:10.315611+00:00","model_set":{"reader":"deepseek/deepseek-v4-flash"},"pipeline_version":"pith-pipeline@v1.4.1-daily-deepseek-or-medium","input_kind":null,"input_chars":null,"input_total_chars":null,"passes_missing":null,"published_standing":null,"published_confidence":null,"objection_audit":null,"run_record":null,"basis":{"kind":"not_recorded","source":null,"chars_given":null,"chars_total":null},"receipt":null,"falsifier":"Construct a sequence of independent d‑sparse binary vectors where the entries are allowed to be either +1 or −1 with equal probability (signed sparse vectors), and test whether an online algorithm can achieve discrepancy o(log log n) for d ≤ (log log n)^2. If such an algorithm exists, the paper’s lower bound would fail because its key obstruction relies on the entries being all 1.","supporting_citations":[{"cited_title":"Online Beck--Fiala Down to Logarithmic Sparsity","cited_arxiv_id":"2607.14238","evidence_quote":"Provides the online Beck–Fiala upper bound O(√d) for large d (d ≥ log^{2+η} n), which the present paper uses to cover the regime d > n^{1/5}."},{"cited_title":"Bansal and R","cited_arxiv_id":null,"evidence_quote":"Gives the offline O(√d) algorithmic partial‑coloring bound for random low‑degree set systems, used in the offline comparison."},{"cited_title":"Potukuchi","cited_arxiv_id":null,"evidence_quote":"Delivers a spectral bound on hypergraph discrepancy that, combined with [7], yields the offline O(√d) bound for random d‑sparse binary matrices."},{"cited_title":"MacRury, T","cited_arxiv_id":null,"evidence_quote":"Establishes the offline Ω(√d) lower bound for random hypergraphs, which the paper uses to cover the large‑d regime in the lower bound."},{"cited_title":"Bansal and J","cited_arxiv_id":null,"evidence_quote":"Develops the potential‑minimization framework for online balancing of uniform Rademacher vectors, whose techniques the present paper adapts to the sparse binary setting."}],"lane_accuracy":{"status":"not yet measured","lane":{"model":"deepseek/deepseek-v4-flash","input_kind":null},"url":"https://pith.science/accuracy"},"review_version":1}