arXiv:2610.20995cs.DSOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.20995

The Komlós Problem in Matrix-Multiplication Time

Emile Anand, Peter Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We give a randomized algorithm that, for an m×nm \times n matrix whose columns have Euclidean norm at most one, finds a signing with discrepancy below 99 in expected O~(Lin+nω)\widetilde{O}(L_{\mathrm{in}} + n^{\omega}) bit operations, where LinL_{\mathrm{in}} is the input encoding length and ω\omega is the exponent of matrix multiplication. The previous fastest algorithm with a constant discrepancy bound, due to Li [Li26], is deterministic and uses O(mn+nω+2log⁡3n)O(mn + n^{\omega+2} \log^3 n) arithmetic operations. We build on the spectral signing framework of Guo, Fang, and Lu [GFL26a] and of Li [Li26], which rounds a single fractional coloring while one spectral potential controls every row. Li's potential tracks a top eigenvalue, and the gap below that eigenvalue, which can be of order 1/n1/n, limits the length of every step. We replace it with a resolvent potential that is smooth without any gap condition, and we draw step signs at random, so that the potential only needs to be concave while progress is measured separately. Our key insight is to reuse a single subspace of directions throughout a batch of steps, thereby using only one spectral computation, so that the more expensive linear algebraic operations are paid for only polylogarithmically often at each scale. Within a batch, we sample directions from a Gaussian completion matrix whose inverse we maintain under rank-one row replacements [van21]. Finally, we use a finite-precision analysis to prove stability of the algorithm and attain the bit-complexity bound.

1 Introduction

The Komlós problem asks how well we can balance vectors in the Euclidean unit ball by assigning signs of ±1\pm1 [Spe87]. For a matrix A=[a1⋯an]∈Rm×n\mathbf{A} = [a_1 \cdots a_n] \in \mathbb{R}^{m \times n}, its signing discrepancy is

disc(A)=min⁡ε∈{−1,1}n∥Aε∥∞.(1.1)\mathrm{disc}(\mathbf{A})=\min_{\varepsilon\in\{-1,1\}^{n}}\|\mathbf{A}\varepsilon\|_{\infty}. \tag{1.1}

Given the promise that ∑i=1maij2≤1\sum_{i=1}^{m} a_{ij}^2 \leq 1 for all j∈[n]j \in [n], the Komlós problem asks whether an absolute constant bounds disc(A)\text{disc}(\mathbf{A}) independently of both dimensions. In the Beck–Fiala setting [BF81], each element of a universe belongs to at most tt sets, so dividing the incidence matrix by t\sqrt{t} normalizes its columns to Euclidean norm at most 1, and a constant Komlós bound gives an imbalance of O(t)O(\sqrt{t}) in every set. Vector balancing also has natural applications to rounding: the theorem of Lovász, Spencer, and Vesztergombi [LSV86] rounds any x∈[0,1]nx \in [0,1]^n to some y∈{0,1}ny \in \{0,1\}^n with ∥A(y−x)∥∞=O(1)\|\mathbf{A}(y - x)\|_{\infty} = O(1), so a bound on each column's Euclidean norm controls the error in every linear measurement, independently of the number of variables and measurements. Furthermore vector balancing has seen a number of applications in machine learning and statistics such as coresets for large datasets [LAK26], attention approximation [KSH +^{+}26], covariate balance in experimental design [HSSZ24], and distribution thinning [CGS +^{+}25] where balancing a set of vectors in two parts allows one to approximate the whole by some carefully chosen subset. The Komlós problem was a longstanding conjecture in discrepancy theory until it was recently resolved by Guo, Fang, and Lu [GFL26b]. In this work, we study the time needed to find a signing.

Algorithmic discrepancy theory offers several starting points. The earliest algorithms, due to Bansal [Ban10], used semidefinite programs to correlate the increments of a random walk and obtained algorithmic counterparts of entropy-method bounds. Lovett and Meka [LM15] replaced this optimization step by a walk in the subspace orthogonal to nearly tight constraints; their partial-coloring algorithm illustrates a principle that also guides our construction, namely to protect a small collection of constraints while the remaining dimensions make progress. For vector balancing, Banaszczyk's Gaussian-measure theorem [Ban98] gives discrepancy O(log⁡2n)O(\sqrt{\log 2n}) under normalized column norms. Dadush, Garg, Lovett, and Nikolov [DGLN19] connected that theorem to subgaussian distributions over signed sums, which the Gram–Schmidt walk [BDGL19] samples efficiently. Guo, Fang, and Lu [GFL26b] proved that the constant 32π3\sqrt{2\pi} suffices (see also the shorter proof of Karingula and Lovett [KL26], with constant 36), and introduced a polynomial-time spectral signing algorithm [GFL26a]. Li [Li26] developed this framework into a deterministic algorithm with discrepancy below 99 and arithmetic cost O(mn+nω+2log⁡3n)O(mn + n^{\omega+2} \log^3 n).

References (48)