betaFeedback

WorksComputer Science

Online Algorithms Cannot Find Isolated Perceptron Solutions

Abstract

The binary perceptron problem asks for a length-nn sign vector in the intersection of ⌊αn⌋\lfloor αn\rfloor-many independent random Gaussian half-spaces. A striking feature of this model is strong freezing: at every constraint density α>0α> 0, all but a vanishing fraction of solutions are isolated – Ω(n)Ω(n)-far from all others, in Hamming distance. Such solutions are believed to be algorithmically inaccessible. Nevertheless, efficient algorithms find solutions at some constraint densities αα. One possible resolution of this apparent contradiction is that the solution space also contains rare well-connected structures, and that algorithms succeed by locating them. Gong, Huang, Li and Sellke (FOCS 2026) proved this for stable algorithms, by showing that such algorithms cannot locate isolated solutions with probability more than ≈0.84\approx 0.84. In this work, we study online algorithms, which receive the columns of the constraint matrix one by one and sign each irrevocably upon arrival. This is a widely used class of algorithms in discrepancy minimization, and it includes the algorithm of Jo and Lee (2026), which has one of the best provable guarantees for the binary perceptron. We prove that at any constraint density, any online algorithm outputs an isolated solution with probability o(1)o(1). Our proof is based on the observation that the signs an online algorithm has already fixed can be completed to at most one isolated solution, so a successful algorithm must choose the unique correct sign for each of the last few columns. Using the exchangeability of these columns, we show that such an algorithm must match a suffix-parallel baseline, which signs each of them as if it were the next column to arrive. We then use an anti-concentration argument to show that such a baseline rarely produces a unique completion.

Contents

  • Introduction

    • The binary perceptron problem

    • Main result

    • Related work

    • Roadmap

  • Preliminaries

    • Notation

    • Definitions

  • Main result and technical overview

    • High-level proof strategy

    • Successful algorithms must match a suffix-parallel baseline

    • No suffix-parallel baseline can give a unique solution

    • Putting it all together

  • Main proofs

    • Successful algorithms must match a suffix-parallel baseline

    • No suffix-parallel baseline can give a unique solution

    • General perceptrons

  • Additional proofs

    • Auxiliary probability facts

    • Lemmas for upper bounds on uniqueness

    • Reduction to deterministic algorithms

Introduction

Random constraint satisfaction problems are a central testing ground for average-case complexity. For many such problems, efficient algorithms are only known to find solutions in a restricted parameter range, even though solutions exist with high probability over a wider range. A major goal of theoretical computer science is to understand the source of these statistical-to-computational gaps. A recurring theme has been the suggestion that the relative position of solutions — in other words, the geometry of the solution space — might guide the success of efficient algorithms [2, 40]. In this paper we study the binary perceptron problem, a random constraint satisfaction problem whose solution space has a particularly striking geometry.

In the binary perceptron problem, we seek a point of the hypercube {±1}n\{\pm1\}^{n} that lies in the intersection of mm random half-spaces. The model goes back to the study of neural networks with binary weights [76, 33, 42, 61], and it remains a fundamental model for understanding learning with discrete weights [18]. In theoretical computer science, it is closely related to discrepancy minimization [80, 12, 66]. In fact, its symmetric version is exactly the problem of finding a low-discrepancy signing of a random matrix [7]. The model also has close connections to statistical physics [41, 57, 52], probability theory [87, 36, 73, 56], high-dimensional geometry [64, 85, 86], and, more recently, lattice problems and cryptography [88, 20]. The perceptron has also become a testing ground for questions about algorithms and computational hardness [5, 45, 68, 43, 55, 58].

The binary perceptron problem

Given an m×nm \times n matrix GG with i.i.d. standard Gaussian entries, the binary perceptron problem asks for a sign vector σ∈{±1}n\sigma\in\{\pm1\}^{n} such that Gσ≥κnG\sigma\ge\kappa\sqrt{n} entrywise (see Definition 2.1). This is a constraint satisfaction problem with mm constraints: one linear inequality for each row of GG. A vector σ\sigma satisfying all constraints is called a solution. The fixed parameter κ∈R\kappa\in\mathbb{R} is called the margin.1 We are interested in the proportional regime m=⌊αn⌋m = \lfloor\alpha n \rfloor, where the constraint density α>0\alpha> 0 (the ratio of the number of constraints to the dimension) is fixed as n→∞n \to\infty.

The first natural question about the binary perceptron is for which α\alpha do solutions exist. In the late 1980s, physicists including Krauth and Mézard [61] conjectured, based on the non-rigorous replica method, that the binary perceptron has a sharp satisfiability phase transition at a specific constraint density αsat(κ)\alpha_{\mathrm{sat}}(\kappa).2 At κ=0\kappa= 0, this conjecture was later confirmed by a long line of work (see, e.g., [36, 56], and § 1.3 for more).

Other natural questions are algorithmic: at which constraint densities can a solution be found efficiently, and what kind of solutions do efficient algorithms find? For many random constraint satisfaction problems, the answer is closely tied to the geometry of the solution space [62, 2, 40]. As such, we now turn to the geometry of the perceptron, which differs sharply from that of most other random models.

In most random constraint satisfaction problems, such as random kk-SAT or the coloring of random graphs, the solutions start to shatter into many well-separated clusters3 only above some positive constraint density [8, 62, 2, 70] (see Figure 1). Surprisingly, the set of solutions of the binary perceptron is conjectured to shatter at every positive constraint density, and in the most extreme way: almost every solution is isolated, forming a cluster by itself, with no other solution within linear Hamming distance of it [61, 57, 52]. This property — known as strong freezing — was first proved for the symmetric binary perceptron [75, 3], and later for a general class of perceptron models [48]. In particular, it holds for the binary perceptron at every margin κ\kappa and every constraint density α>0\alpha> 0.

Phase diagram of a random constraint satisfaction problem

Figure 1. Phase diagram of a random constraint satisfaction problem such as random kk-SAT. Black dots are solutions.

At first glance, the presence of strong freezing at every constraint density suggests that perceptron solutions should always be hard to find, since there is no apparent way for an algorithm to make partial progress towards a solution with no other solution nearby [92]. Indeed, in many random problems, the onset of shattering is believed to coincide with the failure of efficient algorithms [62, 2, 91]. Nevertheless, there are some positive constraint densities at which efficient algorithms provably do find perceptron solutions [64, 5, 68, 58]. For example, at κ=0\kappa= 0, the online algorithm of Jo and Lee [58], which signs the columns of GG one at a time, finds a solution with high probability for every α<0.327\alpha< 0.327.

To address this seemingly contradictory phenomenon, [25, 21] proposed the following picture (based on non-rigorous methods from statistical physics). Although almost all solutions are isolated, an exponentially-small fraction of them may belong to well-connected clusters with large diameter, and efficient algorithms may succeed by finding these rare clusters (see Figure 2). To make this picture rigorous, one needs two facts. First, such rare clusters exist. This is by now well supported: Abbe, Li and Sly [5] proved that at small constraint densities the set of solutions contains a rare, well-connected cluster of nearly maximal diameter, and further evidence for such clusters comes from [55, 22, 13, 14, 15, 84]. Second, the isolated solutions themselves are hard to find. This second point was raised by El Alaoui and Gamarnik [37] as an open problem in their work on the hardness of sampling, and was implicit in the strong freezing picture of Perkins and Xu [75]. This question is the subject of our work.

Diagram showing isolated solutions and a rare well-connected cluster

Figure 2. Almost all solutions are isolated (red), with no other solution within Hamming distance δn\delta_n (dashed). An exponentially small fraction of the solutions form a well-connected cluster (blue) of very large diameter, and efficient algorithms are believed to find solutions in such clusters. Two solutions are joined by an edge if their Hamming distance is one.

Main result

Theorem 1.1 addresses the second of the two facts needed for the picture of [25, 21], namely that isolated solutions are hard (for online algorithms) to find. Combined with strong freezing, it shows that online algorithms can only find atypical solutions. The same holds for the symmetric binary perceptron, where online discrepancy minimization algorithms [28, 59] find solutions at positive constraint densities and strong freezing is also known [75, 3].

Theorem 1.1 (Informal version of Theorems 3.1 and 3.2). *At every constraint density and every margin, every online algorithm finds an isolated solution of the binary perceptron with probability o(1)o(1). The same

holds for the symmetric binary perceptron and for many other perceptron models.

Online algorithms are those which receive the columns of GG one at a time and must choose the sign of each column irrevocably when it arrives (see Definition 2.3).4 This is a natural class of algorithms for the perceptron problem; it includes the algorithm of [58], which has the best provable5 guarantee at zero margin. Online algorithms are also widely used in discrepancy minimization, where the vectors arrive one at a time and each must be signed on arrival so that the signed sum stays small [28, 26, 4, 65].

The first hardness result for finding isolated solutions is due to Gong, Huang, Li and Sellke [43]. They showed that a stable algorithm, whose output changes only slightly when the input is slightly resampled, finds a linearly isolated solution with probability at most roughly 0.84233. Since the bound of [43] is a constant, it does not rule out, for example, a stable algorithm that finds an isolated solution with probability 0.8 — see § 1.3 for further discussion. Moreover, it is not clear whether the online algorithm of [58] is stable in the sense of [43], so their results do not tell us whether this algorithm can find isolated solutions.

In contrast with the constant bound of [43], the success probability in Theorem 1.1 vanishes as n→∞n \to\infty, so our result rules out online algorithms that find isolated solutions with any constant probability. We highlight three further features of our result. First, it applies to a much weaker notion of isolation: in fact, it suffices that no other solution lies within Hamming distance log⁡4+ε(n)\log^{4+\varepsilon}(n) of the output for any ε>0\varepsilon> 0, instead of linear distance (see Theorem 3.1). Second, our argument is robust to the form of the constraints: it extends to the symmetric binary perceptron and to many other perceptron models (Theorem 3.2). Third, our proof technique is quite different from that of [43] and from the many hardness results for online algorithms that are based on the overlap gap property. We give an overview of the argument in § 3.

Related work

Satisfiability threshold. Using the non-rigorous replica method, Krauth and Mézard [61] conjectured an explicit value for the satisfiability threshold αsat(κ)\alpha_{\mathrm{sat}}(\kappa), for instance αsat(0)≈0.833\alpha_{\mathrm{sat}}(0) \approx0.833. Unlike the spherical perceptron [ST03, Sto13], the binary perceptron is nonconvex, and this conjecture remained open for decades. At κ=0\kappa= 0, Ding and Sun [36] proved that solutions exist below this value, and Huang [56] proved that there are none above it, both assuming numerical conditions that were later verified [71, 79]. Other results on the threshold and the number of solutions include [64, 85, 86, 87, 27, 90, 73, 9].

Algorithms. Several efficient algorithms provably find solutions at positive constraint densities, including a multistage majority algorithm [64] and an algorithm based on discrepancy theory [68]. Jo and Lee [58] determined the exact threshold αon(κ)\alpha_{\mathrm{on}}(\kappa) for online algorithms, with 0.327<αon(0)<0.3670.327 < \alpha_{\mathrm{on}}(0) < 0.367, still well below αsat(0)\alpha_{\mathrm{sat}}(0). Huang, Sellke and Sun [55] characterized the performance of Lipschitz algorithms for a broad class of perceptron models. Message-passing heuristics have also been studied extensively [29, 17, 11, 16].

Overlap gap property. The most widely used approach to show algorithmic hardness for random search problems is the overlap gap property (OGP), introduced by Gamarnik and Sudan [50] (see [40] for a survey). The OGP says that the overlaps between near-optimal solutions avoid an intermediate range, which rules out stable algorithms, since their outputs change gradually as the input is resampled [32, 44]. Variants involving many solutions give sharp hardness results for independent sets [78, 89], random kk-SAT [24] and perceptron models [45, 68, 55]. OGP-based arguments also rule out sequential and online algorithms [51, 46, 47]. Related results include [53, 54, 60, 34 DKM25, 23, 49, 20]. However, an OGP does not necessarily imply algorithmic hardness [67].

An OGP for isolated solutions also seems difficult to establish. Conditioning on isolation creates complicated dependencies between the constraints, and since there are exponentially many isolated solutions, a first moment argument would need sharp large deviation estimates.

Hardness of finding isolated perceptron solutions. The constant in the bound of Gong, Huang, Li and Sellke [43] appears to be intrinsic to their approach. It comes from balancing a lower bound derived from Pitt’s correlation inequality [74] against a trivial upper bound, so the argument cannot be pushed to an o(1)o(1) bound simply by optimizing its parameters. One might also hope to boost a stable algorithm that succeeds with constant probability (for instance by running it several times) into an algorithm that finds an isolated solution with probability close to 1. We do not expect this to work. Even if one of several runs finds an isolated solution, there is not an obvious efficient way to tell which one succeeded, since checking that a solution is isolated requires ruling out all other solutions in a Hamming ball of linear radius.

Symmetric binary perceptron. For the symmetric model, the satisfiability threshold was established in [7, 75, 3], strong freezing was proved in [75, 3], and El Alaoui and Gamarnik [37] proved that stable algorithms cannot approximately sample its solutions.

Further results on its solution space and its algorithmic hardness include [6, 81, 21, 45, 46, 88].

Discrepancy minimization. The perceptron has many connections to discrepancy minimization, which, given vectors v1,…,vn∈Rmv_1,\ldots,v_n \in\mathbb{R}^m, asks for signs σ∈{±1}n\sigma\in\{\pm1\}^n that make every coordinate of ∑tσtvt\sum_t \sigma_t v_t small (see [69] for background). The symmetric binary perceptron is the average-case version of this problem, with the columns of GG as the vectors vtv_t. Therefore algorithms for discrepancy minimization give algorithms for the symmetric binary perceptron, which find its solutions when the margin is large (see, e.g., [12, 66, 77, 38]). Discrepancy minimization algorithms can also find solutions of the binary perceptron [68].

Online discrepancy. In the online version of discrepancy minimization, the vectors arrive one at a time. Fiedler, Jackson, Lacker and Niles-Weed [39] identified the optimal online value for Gaussian vectors in the proportional regime, and Jo and Lee [59] showed that it is a universal sharp threshold, which gives the exact online threshold for the symmetric binary perceptron (see also [28, 26, 10, 4, 65, 1]). Applied to the columns of GG, all of these vector balancing algorithms are online algorithms in the sense of Definition 2.3, so our results apply to them. Similar questions arise for matrix discrepancy, where the vectors are replaced by random symmetric matrices and the goal is to make the operator norm of the signed sum small. There, too, there is a gap between the existence of solutions and the success of stable and online algorithms [60], see also [KOWZ26].

Roadmap

§ 2 collects notation and definitions. In § 3 we state our main results and give a technical overview of our proofs, including the proof of Theorem 3.1 in § 3.4. In § 4 we give the complete proofs enabling our main results, including the proof of Theorem 3.2 in § 4.3. The rest of our technical results (additional probabilistic facts, technical lemmas, and a reduction to deterministic algorithms) are in Appendix § 7.

Preliminaries

Notation

We denote by N(0,Im)\mathcal{N}(0, I_m) the standard Gaussian distribution on Rm\mathbb{R}^m, that is, the distribution of a vector with i.i.d. N(0,1)\mathcal{N}(0,1) entries. We write Gm,n\mathcal{G}^{m,n} for the distribution of an m×nm \times n matrix with i.i.d. N(0,1)\mathcal{N}(0,1) entries, so the columns of G∼Gm,nG \sim\mathcal{G}^{m,n} are i.i.d. with distribution N(0,Im)\mathcal{N}(0,I_m). For any string xx, we let xix_i denote the ithi^{\text{th}} entry of xx and x1:ix_{1:i} denote the first ii entries of xx. We let ∥\| denote string or column-vector concatenation. For any random variable XX, its subgaussian norm is ∥X∥ψ2:=inf⁡{c>0:E[exp⁡(X2c2)]≤2}\|X\|_{\psi_2} := \inf\left\{c > 0 : \mathbb{E}\left[\exp\left(\frac{X^2}{c^2}\right)\right] \le2\right\}. For any u∈Rmu \in\mathbb{R}^m, the upper orthant Ou⊆Rm\mathcal{O}_u \subseteq\mathbb{R}^m is Ou:={x∈Rm:xi≥ui ∀j∈[m]}\mathcal{O}_u := \{x \in\mathbb{R}^m : x_i \ge u_i\ \forall j \in[m]\}. We denote by EcE^c the complement of any event EE. We say that an event holds with high probability if its probability tends to 1 as n→∞n \to\infty. For measurability, we always work with the Borel σ\sigma-algebra, which on a finite set such as {±1}n\{\pm1\}^n is the discrete σ\sigma-algebra. This ensures that the output of an online algorithm is a random variable, so that its success probability is well defined.

Definitions

Definition 2.1 (Binary perceptron). An instance of the binary perceptron problem is an m×nm \times n matrix G∼Gm,nG \sim\mathcal{G}^{m,n} together with a margin κ∈R\kappa\in\mathbb{R}. The set of solutions to the instance (G,κ)(G,\kappa) is

S(G,κ)=⋂j=1m{σ∈{±1}n:⟨Gj,σ⟩≥κn},(1)\mathcal{S}(G,\kappa)=\bigcap_{j=1}^{m}\left\{\sigma\in\{\pm1\}^{n}:\langle G_j,\sigma\rangle\geq\kappa\sqrt{n}\right\}, \tag*{(1)}

where {Gj}j∈[m]\{G_j\}_{j\in[m]} are the rows of GG. More generally, for a set K⊆RK\subseteq\mathbb{R}, the corresponding set of solutions is

S(G,K)=⋂j=1m{σ∈{±1}n:⟨Gj,σ⟩/n∈K},(2)\mathcal{S}(G,K)=\bigcap_{j=1}^{m}\left\{\sigma\in\{\pm1\}^{n}:\langle G_j,\sigma\rangle/\sqrt{n}\in K\right\}, \tag*{(2)}

so that S(G,κ)=S(G,[κ,∞))\mathcal{S}(G,\kappa)=\mathcal{S}(G,[\kappa,\infty)), and K=[−κ,κ]K=[-\kappa,\kappa] gives the symmetric binary perceptron (SBP).

Definition 2.2 (Isolated solutions). The Hamming distance between σ,τ∈{±1}n\sigma,\tau\in\{\pm1\}^{n} is d(σ,τ)=∣{i∈[n]:σi≠τi}∣d(\sigma,\tau)=|\{i\in[n]:\sigma_i\ne\tau_i\}|, and the Hamming ball of radius rr around σ\sigma is denoted by Br(σ)={τ∈{±1}n:d(σ,τ)≤r}B_r(\sigma)=\{\tau\in\{\pm1\}^{n}:d(\sigma,\tau)\leq r\}. For any h=h(n)h=h(n), a solution σ∈S(G,κ)\sigma\in\mathcal{S}(G,\kappa) is hh-isolated if

S(G,κ)∩Bh(σ)={σ}.(3)\mathcal{S}(G,\kappa)\cap B_h(\sigma)=\{\sigma\}. \tag*{(3)}

We let Sh(G,κ)\mathcal{S}^{h}(G,\kappa) denote the set of hh-isolated solutions. We define the set Sh(G,K)\mathcal{S}^{h}(G,K) of hh-isolated solutions of S(G,K)\mathcal{S}(G,K) in the same way.

Definition 2.3 (Online algorithms). An online algorithm Alg⁡\operatorname{Alg} takes as input a matrix GG with columns g1,…,gn∈Rmg_1,\ldots,g_n\in\mathbb{R}^{m} and a real number κ∈R\kappa\in\mathbb{R}. It outputs a string σ∈{±1}n\sigma\in\{\pm1\}^{n}, where for each t∈[n]t\in[n], σt\sigma_t is computed by the (perhaps randomized) measurable algorithm SubAlg⁡t\operatorname{SubAlg}_t as

σt←SubAlg⁡t(gt;g1∥⋯∥gt−1,σ1⋯σt−1,κ).(4)\sigma_t\leftarrow\operatorname{SubAlg}_t\left(g_t;g_1\mathbin\Vert\cdots\mathbin\Vert g_{t-1},\sigma_1\cdots\sigma_{t-1},\kappa\right). \tag*{(4)}

Let ONLINE denote the class of all such algorithms. See Figure 3 for an illustration. Let ONLINEK\mathrm{ONLINE}_K be the class of online algorithms defined as above, except that they receive a set K⊆RK\subseteq\mathbb{R} instead of κ\kappa.

An online algorithm at step $t$

Figure 3. An online algorithm at step tt. The columns of GG arrive one at a time, and each sign is chosen irrevocably when its column arrives. When gtg_t arrives, the signs σ1,…,σt−1\sigma_1,\ldots,\sigma_{t-1} are already fixed, and SubAlg⁡t\operatorname{SubAlg}_t chooses σt\sigma_t using gtg_t, the earlier columns and signs, and the margin κ\kappa. The later columns gt+1,…,gng_{t+1},\ldots,g_n have not yet been revealed.

Definition 2.4 (Well-separated). A set K⊆RK\subseteq\mathbb{R} is well-separated if it is a union of intervals (each of which may be open, closed, half-open, or a single point) such that any two intervals are at distance at least Δ\Delta, for some Δ>0\Delta>0.

Main result and technical overview

Theorem 3.1 (Binary perceptron). Fix α∈(0,∞)\alpha\in(0,\infty), κ∈R\kappa\in\mathbb{R}, and let m=⌊αn⌋m=\lfloor\alpha n\rfloor. Let h=ω(log⁡4n)h=\omega(\log^{4}n). Then for any Alg⁡∈ONLINE\operatorname{Alg}\in\mathrm{ONLINE},

P(Alg⁡(G,κ)∈Sh(G,κ))<o(1),(5)\mathbb{P}\left(\operatorname{Alg}(G,\kappa)\in\mathcal{S}^{h}(G,\kappa)\right)<o(1), \tag*{(5)}

where the probability is over G∼Gm,nG\sim\mathcal{G}^{m,n} (a matrix with i.i.d. standard Gaussian entries) and the internal randomness of Alg⁡\operatorname{Alg}.

Theorem 3.2 (General perceptrons). Fix α∈(0,∞)\alpha\in(0,\infty), a well-separated set K⊆RK \subseteq\mathbb{R}, and let m=⌊αn⌋m = \lfloor\alpha n \rfloor. Let h=ω(log⁡4n)h = \omega(\log^4 n). Then for any Alg∈ONLINEK\mathrm{Alg} \in\mathrm{ONLINE}_K,

P(Alg(G,K)∈Sh(G,K))<o(1),(6)\mathbb{P}\left(\mathrm{Alg}(G,K) \in\mathcal{S}^{h}(G,K)\right) < o(1), \tag*{(6)}

where the probability is over G∼Gm,nG \sim\mathcal{G}^{m,n} and the internal randomness of Alg\mathrm{Alg}.

Taking K=[κ,∞)K = [\kappa,\infty) recovers Theorem 3.1, and taking K=[−κ,κ]K = [-\kappa,\kappa] gives the SBP. The intervals forming KK may be arbitrarily short, and there may be infinitely many of them, as in the square wave perceptron [19] where KK is periodic, i.e., K=⋃k∈Z[2k,2k+1]K = \bigcup_{k\in\mathbb{Z}}[2k,2k+1]. The theorem is only meaningful when isolated solutions exist. For example, if K=RK = \mathbb{R}, then every σ∈{±1}n\sigma\in\{\pm1\}^{n} is a solution, so there are no hh-isolated solutions and the statement holds trivially.

High-level proof strategy

Our goal is to prove that every online algorithm successfully finds an isolated binary perceptron solution with probability at most o(1)o(1). Recall that any online algorithm Alg\mathrm{Alg} uses a collection of algorithms SubAlg1,…,SubAlgn\mathrm{SubAlg}_1,\ldots,\mathrm{SubAlg}_n to iteratively compute the output. An averaging argument (Lemma A.6) means it suffices to assume that these algorithms are deterministic. Note, however, that each SubAlgt\mathrm{SubAlg}_t can compute a distinct function — Alg\mathrm{Alg} can “learn” from its history to make decisions, so the choice of sign at step tt may be a function not only of the ttht^{\mathrm{th}} column, but also of all the prior t−1t-1 steps.

Our first key idea is to consider a seemingly sub-optimal algorithmic strategy: at a certain point, fix the last few sub-algorithms to compute the same function ϕ:Rm→{±1}\phi: \mathbb{R}^{m} \to\{\pm1\}. Intuitively, such an algorithm essentially stops learning while there are still several steps remaining. We show any online algorithm that successfully outputs an isolated solution must in fact behave this way.6 Indeed, we show that for any successful online algorithm Alg, there exists some integer rr and function ϕ\phi such that (with high probability) the last rr signs of the output of Alg are computed by ϕ\phi. Since the output of a successful algorithm will be a perceptron solution, there will exist some θ∈Rm\theta\in\mathbb{R}^{m} (based on the threshold κn\kappa\sqrt{n}) such that ϕ\phi will pick out signs zi=ϕ(Yi)z_i=\phi(Y_i) that satisfy

Sϕ:=1r∑i=1rziYi≥θ.(7)S_{\phi} := \frac{1}{\sqrt{r}}\sum_{i=1}^{r}z_iY_i \ge\theta. \tag*{(7)}

Our second key observation is that for small enough rr, isolation forces zz to be the unique string in {±1}r\{\pm1\}^{r} that satisfies Equation (7), which implies that SϕS_{\phi} must lie in a narrow mm-dimensional “shell” with high probability. A quantitative version of the central limit theorem implies that a Gaussian random variable ZZ must also fall within the shell, which can only occur with probability o(1)o(1) due to an anti-concentration property of Gaussian random variables. Therefore Alg can only succeed with probability o(1)o(1).

Successful algorithms must match a suffix-parallel baseline

For any deterministic online algorithm Alg, we consider the algorithm Alg⁡(r)\operatorname{Alg}^{(r)} that behaves identically to Alg up through step n−rn-r. After this point, Alg⁡(r)\operatorname{Alg}^{(r)} will sign each of the last rr “suffix” columns as if they appeared in parallel at step n−r+1n-r+1 (see Figure 4).

Suffix-parallel baseline Alg^(r)

Figure 4. The suffix-parallel baseline Alg(r)^{(r)} signs each suffix column YiY_i with the sign that Alg would choose were YiY_i to appear immediately after the prefix G′∈Rm×(n−r)G' \in\mathbb{R}^{m \times(n-r)}. Lemma 4.1 determines an rr for which any successful Alg matches its baseline Alg(r)^{(r)}.

Definition 3.3 (Suffix-parallel baseline). Fix any deterministic Alg ∈ONLINE\in\mathrm{ONLINE} and integer 0≤r<n0 \le r < n. The rr-suffix-parallel baseline for Alg is the algorithm Alg⁡(r)∈ONLINE\operatorname{Alg}^{(r)} \in\mathrm{ONLINE} defined by

SubAlg⁡t(r):=SubAlg⁡t∀t∈[n−r](8)\operatorname{SubAlg}^{(r)}_t := \operatorname{SubAlg}_t \qquad\forall t \in[n-r] \tag*{(8)}
SubAlg⁡t(r)(Y;⋅,⋅,⋅):=SubAlg⁡n−r+1(Y;G′,σ′,κ)∀t∈(n−r,n],(9)\operatorname{SubAlg}^{(r)}_t(Y;\cdot,\cdot,\cdot) := \operatorname{SubAlg}_{n-r+1}(Y;G',\sigma',\kappa) \qquad\forall t \in(n-r,n], \tag*{(9)}

where G′∈Rm×(n−r)G' \in\mathbb{R}^{m\times(n-r)} is the first n−rn-r columns of the input matrix to Alg, σ′∈{±1}n−r\sigma' \in\{\pm1\}^{n-r} is the first n−rn-r signs of the solution committed to by Alg after processing G′G', and κ\kappa is the input margin to Alg.

Our argument holds that any successful online algorithm must “stop learning” and instead match some rr-suffix-parallel baseline.

Lemma 3.4 (Informal version of Lemma 4.1). For any deterministic Alg ∈ONLINE\in\mathrm{ONLINE} and κ∈R\kappa\in\mathbb{R}, there exists some r<hr<h such that the following holds. With high probability over G∼Gm,nG\sim\mathcal{G}^{m,n}, if Alg successfully outputs an hh-isolated solution to GG, then Alg⁡(G,κ)=Alg⁡(r)(G,κ)\operatorname{Alg}(G,\kappa)=\operatorname{Alg}^{(r)}(G,\kappa).

To prove Lemma 4.1, we consider any r<hr<h and sample G∼Gm,nG\sim\mathcal{G}^{m,n}. Let σ′∈{±1}n−r\sigma'\in\{\pm1\}^{n-r} be the solution prefix committed to by Alg after it processed the prefix columns G′⊂GG'\subset G. Since r<hr<h, there can be at most one z∈{±1}rz\in\{\pm1\}^{r} such that σ′∥z\sigma'\mathbin\Vert z is an isolated solution to GG. Conditioning on the success of Alg implies that a unique such zz must exist, and for each suffix column YiY_i we have SubAlg⁡n−r+i(Yi)=zi\operatorname{SubAlg}_{n-r+i}(Y_i)=z_i.

It then suffices to show that the suffix-parallel baseline outputs σ′∥z\sigma'\mathbin\Vert z. In particular, we need to show that SubAlg⁡n−r+i(r)(Yi)=SubAlg⁡n−r+1(Yi)=zi\operatorname{SubAlg}^{(r)}_{n-r+i}(Y_i)=\operatorname{SubAlg}_{n-r+1}(Y_i)=z_i for each YiY_i.7 The crucial insight is that any successful Alg should choose the correct sign for YiY_i regardless of where YiY_i appears in the suffix, since the distribution of GG is preserved when we exchange any two suffix columns. In particular, Alg should choose the correct sign when YiY_i appears immediately after G′G', which is exactly what is meant by SubAlg⁡n−r+1(Yi)=zi\operatorname{SubAlg}_{n-r+1}(Y_i)=z_i. We use this exchangeability observation to give an upper bound on the probability of the event {Alg⁡(G,κ) is successful}∩{Alg⁡(G,κ)≠Alg⁡(r)(G,κ)}\{\operatorname{Alg}(G,\kappa)\text{ is successful}\}\cap\{\operatorname{Alg}(G,\kappa)\ne\operatorname{Alg}^{(r)}(G,\kappa)\}, for any r<hr<h within an asymptotically-growing interval. We then use an averaging argument to (implicitly) show the existence of some rr where this probability is o(1)o(1).

No suffix-parallel baseline can give a unique solution

As we sketched above, for any input matrix GG, when r<hr<h, the suffix of the output of a successful Alg must be some z∈{±1}rz\in\{\pm1\}^{r} that uniquely completes the solution prefix σ′\sigma' to create an isolated solution of GG. Moreover, Lemma 4.1 implies that, except on an event of probability o(1)o(1), there exists a function ϕr:=SubAlg⁡n−r+1\phi_r:=\operatorname{SubAlg}_{n-r+1} such that ϕr(Yi)=zi\phi_r(Y_i)=z_i for all i∈[r]i\in[r]. In other words, ϕr\phi_r produces the unique string z∈{±1}rz\in\{\pm1\}^{r} such that

1r∑i=1rziYi≥κn1m−G′σ′r.(10)\frac{1}{\sqrt{r}}\sum_{i=1}^{r}z_iY_i\ge\frac{\kappa\sqrt{n}1_m-G'\sigma'}{\sqrt{r}}. \tag*{(10)}

Note that ϕr\phi_r is (implicitly) a function of Alg and the prefix columns G′G', but is independent of the suffix columns Y1,…,YrY_1,\ldots,Y_r. In § 4.2 we prove that no function ϕ\phi can produce a z∈{±1}rz\in\{\pm1\}^{r} that uniquely satisfies Equation (10), except with probability o(1)o(1) over Y1,…,YrY_1,\ldots,Y_r.

Definition 3.5 (Uniqueness event). For any m,r∈Nm,r\in\mathbb{N}, let ϕ:Rm→{±1}\phi:\mathbb{R}^{m}\to\{\pm1\} be any measurable function and sample Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r\sim\mathcal{N}(0,I_m) independently. For any θ∈Rm\theta\in\mathbb{R}^{m}, define Uϕ,θU_{\phi,\theta} as the event that the vector z∈{±1}rz\in\{\pm1\}^{r} given by zi=ϕ(Yi)z_i=\phi(Y_i) is the unique element of {±1}r\{\pm1\}^{r} such that

1r∑i=1rziYi≥θ.(11)\frac{1}{\sqrt{r}}\sum_{i=1}^{r}z_iY_i\ge\theta. \tag*{(11)}

Lemma 4.2 states that for any ϕ:Rm→{±1}\phi:\mathbb{R}^{m}\to\{\pm1\} and any θ∈Rm\theta\in\mathbb{R}^{m}, we have

P(Uϕ,θ)≤O(1m+(log⁡m)3/2log⁡r+(log⁡m)2r+log⁡mr),(12)\mathbb{P}\left(U_{\phi,\theta}\right)\le O\left(\frac{1}{m}+\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}+\frac{\log m}{\sqrt{r}}\right), \tag*{(12)}

with the probability taken over Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r \sim\mathcal{N}(0,I_m) independently. We will ultimately apply Lemma 4.2 with m>ω(1)m > \omega(1) and r>ω(log⁡4m)r > \omega(\log^4 m), which will imply that the probability in Equation (12) is o(1)o(1).

For any function ϕ\phi, we denote its score Sϕ∈RmS_\phi\in\mathbb{R}^m on the suffix columns Y1,…,YrY_1,\ldots,Y_r by

Sϕ:=1r∑i=1rϕ(Yi)Yi.(13)S_\phi:= \frac{1}{\sqrt{r}}\sum_{i=1}^{r}\phi(Y_i)Y_i. \tag*{(13)}

The uniqueness constraint of Uϕ,θU_{\phi,\theta} implies that with high probability, SϕS_\phi will lie in a narrow “shell” in Rm\mathbb{R}^m (see Figure 5a or Lemma A.3). Since SϕS_\phi is a (scaled) sum of independent, identically distributed random variables, we can use the Berry-Esseen theorem (Theorem A.1) to instead analyze a Gaussian random variable ZZ with the same variance as SϕS_\phi. We then finish the proof by appealing to an anti-concentration property of Gaussian random variables (see Figure 5b or Theorem A.2), showing that ZZ will fall into such a narrow shell with probability at most o(1)o(1). For the last two steps, the key technical piece is to show that the variance of SϕS_\phi is bounded above and below by positive constants, which follows because ϕ\phi is bounded and independent of Y1,…,YrY_1,\ldots,Y_r (Lemma A.5).

Helpful figures for the proof of Lemma 4.2

Figure 5. Helpful figures for the proof of Lemma 4.2. The Berry-Esseen theorem states that the probability of SϕS_\phi lying in the width-δ\delta shell is close to the probability that a Gaussian ZZ with the same covariance lies in the shell. Nazarov’s inequality says that the probability that any such ZZ lies in the shell is at most δσ(2log⁡m+2)\frac{\delta}{\sigma}\left(\sqrt{2\log m}+2\right), where σ2>0\sigma^2>0 is a lower bound on each Var⁡(Zj)\operatorname{Var}(Z_j).

In more detail, the proof of Lemma 4.2 is composed of three conceptual moves, each associated with one of the three terms in the upper bound of Equation (12). Our first move is to show that Uϕ,θU_{\phi,\theta} implies that SϕS_\phi lies within a small shell of width δ=Θ((log⁡m)/r)\delta= \Theta(\sqrt{(\log m)/r}), except on an event Emc\mathcal{E}_m^c that occurs with probability O(1/m)O(1/m). In particular, SϕS_\phi will lie in the difference of two upper orthants in Rm\mathbb{R}^m, i.e.,

Uϕ,θ∩Em⊆{Sϕ∈Oθ∖Oθ+δ1m}.(14)U_{\phi,\theta} \cap\mathcal{E}_m \subseteq\{S_\phi\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\}. \tag*{(14)}

Recall that OθO_\theta is the set of x∈Rmx \in\mathbb{R}^m such that xj≥θjx_j \ge\theta_j for all j∈[m]j \in[m]. The event Uϕ,θU_{\phi,\theta} implies that Sϕ≥θS_\phi\ge\theta, so Sϕ∈OθS_\phi\in O_\theta. To show additionally that Sϕ∉Oθ+δ1mS_\phi\notin O_{\theta+\delta\mathbf{1}_m} requires finding some j∗j^* such that (Sϕ)j∗<θj∗+δ(S_\phi)_{j^*} < \theta_{j^*} + \delta. The uniqueness constraint of Uϕ,θU_{\phi,\theta} implies that flipping the sign of ϕ(Y1)\phi(Y_1) would force (Sϕ)j∗<θj∗(S_\phi)_{j^*} < \theta_{j^*} for some j∗∈[m]j^* \in[m]. We use the union bound and a standard Gaussian tail bound to show that the event Em:={∣Y1j∣≤O(log⁡m) for all j∈[m]}\mathcal{E}_m := \{|Y_{1j}| \le O(\sqrt{\log m})\text{ for all }j \in[m]\} occurs with high probability. Therefore flipping the sign of ϕ(Y1)\phi(Y_1) cannot change the value of SϕS_\phi by more than O((log⁡m)/r)O(\sqrt{(\log m)/r}) at each row. Therefore it must be the case that (Sϕ)j∗<θj∗+δ(S_\phi)_{j^*} < \theta_{j^*} + \delta.

Our second move is to punt on analyzing the probability of {Sϕ∈Oθ∖Oθ+δ1m}\{S_\phi\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\} and instead sample the multidimensional Gaussian Z∼N(rμ,Σ)Z \sim\mathcal{N}(\sqrt{r}\mu,\Sigma) and estimate the probability of {Z∈Oθ∖Oθ+δ1m}\{Z \in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\}. To justify this, we use a version of the Berry-Esseen theorem (Theorem A.1), which one can think of as a quantitative version of the central limit theorem. In particular, we show that

∣P(Sϕ∈Oθ∖Oθ+δ1m)−P(Z∈Oθ∖Oθ+δ1m)∣≤O((log⁡m)3/2log⁡r+(log⁡m)2r).(15)\left|\mathbb{P}\left(S_\phi\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\right)-\mathbb{P}\left(Z \in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\right)\right| \le O\left(\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}\right). \tag*{(15)}

relying crucially on the fact that Var⁡(Zj)=1−μj2\operatorname{Var}(Z_j)=1-\mu_j^2 is bounded above and below by a positive constant.89

Finally, we use Nazarov’s inequality (Theorem A.2) to show an anti-concentration property of ZZ. In particular,

P(Z∈Oθ∖Oθ+δ1m)≤O(δσlog⁡m)=O(log⁡mr)(16)\mathbb{P}\left(Z\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\right)\le O\left(\frac{\delta}{\sigma}\sqrt{\log m}\right)=O\left(\frac{\log m}{\sqrt{r}}\right) \tag*{(16)}

which again relies on the fact that σ2:=min⁡j{Var⁡(Zj)}\sigma^2:=\min_j\{\operatorname{Var}(Z_j)\} is bounded below by some positive constant. Combining Equations (14) to (16) suffices to prove Lemma 4.2.

Putting it all together

Theorem 3.6. Fix α∈(0,∞)\alpha\in(0,\infty) and let m=⌊αn⌋m=\lfloor\alpha n\rfloor. Fix any deterministic Alg⁡∈ONLINE⁡\operatorname{Alg}\in\operatorname{ONLINE} and any κ∈R\kappa\in\mathbb{R}. Then for any function h(n)h(n) such that ω(log⁡4n)<h(n)<n\omega(\log^4 n)<h(n)<n, we have

P(Alg⁡(G,κ)∈Sh(G,κ))<o(1),(17)\mathbb{P}\left(\operatorname{Alg}(G,\kappa)\in S^h(G,\kappa)\right)<o(1), \tag*{(17)}

with the probability taken over G∼Gm,nG\sim\mathcal{G}^{m,n}. Moreover, this bound does not depend on Alg⁡\operatorname{Alg}.

Proof. Fix an integer rr to be specified later, and define the algorithm Alg⁡(r)\operatorname{Alg}^{(r)}. Sample G∼Gm,nG\sim\mathcal{G}^{m,n}, let t(n)=h(n)/log⁡4nt(n)=h(n)/\log^4 n, and define a(n):=⌈t(n)log⁡4n⌉a(n):=\lceil\sqrt{t(n)}\log^4 n\rceil. Define the events

Success⁡:={Alg⁡(G,κ)∈Sh(G,κ)}(18)\operatorname{Success}:=\{\operatorname{Alg}(G,\kappa)\in S^h(G,\kappa)\} \tag*{(18)}
Match⁡r:={Alg⁡(G,κ)=Alg⁡(r)(G,κ)}.(19)\operatorname{Match}_r:=\{\operatorname{Alg}(G,\kappa)=\operatorname{Alg}^{(r)}(G,\kappa)\}. \tag*{(19)}

Lemma 4.1 states that there exists some rr satisfying a≤r<ha\le r<h such that

P(Success⁡)=P(Success⁡∩Match⁡r)+P(Success⁡∩Match⁡rc)(20)\mathbb{P}(\operatorname{Success})=\mathbb{P}(\operatorname{Success}\cap\operatorname{Match}_r)+\mathbb{P}(\operatorname{Success}\cap\operatorname{Match}_r^c) \tag*{(20)}
<P(Success⁡∩Match⁡r)+o(1).(21)<\mathbb{P}(\operatorname{Success}\cap\operatorname{Match}_r)+o(1). \tag*{(21)}

We now analyze the event Success ∩\cap Matchr_r. Denote by G′G' the first n−rn-r columns of GG and denote the last rr columns by Y1,…,YrY_1,\ldots,Y_r. Write Alg⁡(G,κ)=σ′∥z\operatorname{Alg}(G,\kappa)=\sigma'\mathbin\Vert z, for some z∈{±1}rz\in\{\pm1\}^r. Define

θ:=κn1m−G′σ′r.(22)\theta:= \frac{\kappa\sqrt{n}\mathbf{1}_m-G'\sigma'}{\sqrt{r}}. \tag*{(22)}

We claim that Success ∩\cap Matchr⊆Uϕr,θ_r\subseteq U_{\phi_r,\theta}. To see why, note that Success and the fact that r<hr<h together imply that zz is the unique string in {±1}r\{\pm1\}^r that satisfies r−1/2∑i=1rziYi≥θr^{-1/2}\sum_{i=1}^r z_iY_i\ge\theta. Let ϕr:=SubAlg⁡n−r+1\phi_r:=\operatorname{SubAlg}_{n-r+1}, so Matchr_r implies that ϕr(Yi)=zi\phi_r(Y_i)=z_i for each i∈[r]i\in[r].10 Conditional on G′G', the columns Y1,…,YrY_1,\ldots,Y_r are independent with distribution N(0,Im)\mathcal{N}(0,I_m), while ϕr\phi_r and θ\theta are fixed. Therefore we have

P(Success∩Matchr)≤P(Uϕr,θ)(23)\mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_r)\le\mathbb{P}(U_{\phi_r,\theta}) \tag*{(23)}
≤O(1m+(log⁡m)3/2log⁡r+(log⁡m)2r+log⁡mr)(24)\le O\left(\frac{1}{m}+\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}+\frac{\log m}{\sqrt{r}}\right) \tag*{(24)}

with the last inequality due to m>ω(1)m>\omega(1) and r≥a(n)>ω(log⁡4m)r\ge a(n)>\omega(\log^4m). More precisely, since x↦(log⁡x)/xx\mapsto(\log x)/\sqrt{x} is decreasing for x≥e2x\ge e^2, the bound is largest at r=a(n)r=a(n), where each term tends to zero because a(n)≥t(n)1/4log⁡2n\sqrt{a(n)}\ge t(n)^{1/4}\log^2n and log⁡a(n)=O(log⁡t(n)+log⁡log⁡n)\log a(n)=O(\log t(n)+\log\log n). These bounds hold for every r≥a(n)r\ge a(n) and otherwise do not depend on Alg. The result follows. □\square

Theorem 3.1 follows from Theorem 3.6. Indeed, since the bound in Theorem 3.6 does not depend on Alg, Lemma A.6 extends it to all algorithms in ONLINE. Moreover, if h(n)≥nh(n)\ge n, we may replace hh by n−1n-1, since every hh-isolated solution is also h′h'-isolated for h′≤hh'\le h.

Main proofs

Successful algorithms must match a suffix-parallel baseline

Lemma 4.1. Fix any deterministic Alg ∈\in ONLINE and κ∈R\kappa\in\mathbb{R}. For any 0≤r<n0\le r<n, define the rr-suffix-parallel baseline Alg⁡(r)\operatorname{Alg}^{(r)}. Sample G∼Gm,nG\sim\mathcal{G}_{m,n} and write G=G′∥Y1∥⋯∥YrG=G'\mathbin\Vert Y_1\mathbin\Vert\cdots\mathbin\Vert Y_r, where G′∈Rm×(n−r)G'\in\mathbb{R}^{m\times(n-r)} and Yi∈RmY_i\in\mathbb{R}^m for each i∈[r]i\in[r]. For any h=h(n)h=h(n) such that ω(1)<h<n\omega(1)<h<n, define the events

Success:={Alg⁡(G,κ)∈Sh(G,κ)}(25)\mathrm{Success}:=\{\operatorname{Alg}(G,\kappa)\in S^h(G,\kappa)\} \tag*{(25)}
Matchr:={Alg⁡(G,κ)=Alg⁡(r)(G,κ)}.(26)\mathrm{Match}_r:=\{\operatorname{Alg}(G,\kappa)=\operatorname{Alg}^{(r)}(G,\kappa)\}. \tag*{(26)}

Then for any integer-valued function a=a(n)a=a(n) satisfying 1≤a<o(h)1\le a<o(h), there exists an integer-valued function r=r(n)r=r(n) satisfying a≤r<ha\le r<h such that

PG(Success∩Matchrc)≤H−1,whereH:=∑r′=a⌊h/2⌋1r′=Θ(log⁡(h/a)).(27)\mathbb{P}_G(\mathrm{Success}\cap\mathrm{Match}_r^c)\le H^{-1},\qquad\text{where}\qquad H:=\sum_{r'=a}^{\lfloor h/2\rfloor}\frac{1}{r'}=\Theta(\log(h/a)). \tag*{(27)}

In particular, P(Success∩Matchrc)=o(1)\mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_r^c)=o(1), and this bound does not depend on Alg.

Proof. Sample G∼Gm,nG \sim\mathcal{G}^{m,n} and let σ1⋯σn∈{±1}n\sigma_1 \cdots\sigma_n \in\{\pm1\}^n denote the output of Alg⁡(G,κ)\operatorname{Alg}(G,\kappa). For any r∈{0,1,…,n}r \in\{0,1,\ldots,n\}, define the event

Er:={∃τ∈Sh(G,κ):τ1:n−r=σ1:n−r}.(28)E_r := \{\exists\tau\in\mathcal{S}^{h}(G,\kappa) : \tau_{1:n-r} = \sigma_{1:n-r}\}. \tag*{(28)}

In other words, ErE_r is the event that there exists some isolated solution whose prefix agrees with the partial solution σ′=σ1:n−r\sigma' = \sigma_{1:n-r} committed to by Alg when there are exactly rr steps remaining. Observe that Success=E0\mathrm{Success}=E_0 and for each rr we have Er⊆Er+1E_r \subseteq E_{r+1}. Moreover, when ErE_r occurs and r<hr<h, there must be exactly one z∗∈{±1}rz^* \in\{\pm1\}^r such that σ′∥z∗\sigma'\mathbin\Vert z^* is an isolated solution, as otherwise hh-isolation would be contradicted.

Fix rr such that 1≤r<h1 \le r < h. Let Y1,…,YrY_1,\ldots,Y_r denote the remaining suffix columns of GG, and let ϕr:=SubAlg⁡n−r+1\phi_r := \operatorname{SubAlg}_{n-r+1}, so ϕr(Yi)\phi_r(Y_i) denotes the sign that Alg would choose if YiY_i would appear immediately after G′G'. Since the map SubAlg⁡n−r+1\operatorname{SubAlg}_{n-r+1} in Definition 2.3 is measurable, so is ϕr\phi_r. Recall that for each i∈[r]i \in[r], σn−r+i\sigma_{n-r+i} denotes the actual sign chosen by Alg upon receipt of YiY_i. Then by definition we have

Matchr={ϕr(Yi)=σn−r+i for all i∈[r]}.(29)\mathrm{Match}_r = \{\phi_r(Y_i) = \sigma_{n-r+i}\text{ for all }i \in[r]\}. \tag*{(29)}

Recalling that z∗z^* is defined on ErE_r, define the event

Br,i:=Er∩{ϕr(Yi)≠zi∗},(30)B_{r,i} := E_r \cap\{\phi_r(Y_i) \ne z_i^*\}, \tag*{(30)}

i.e., that if Alg were to see the column YiY_i immediately after G′G', it would fail to correctly sign YiY_i. We claim that

Success∩Matchrc⊆⋃i=1rBr,i.(31)\mathrm{Success} \cap\mathrm{Match}_r^c \subseteq\bigcup_{i=1}^{r} B_{r,i}. \tag*{(31)}

To see why, note that Success implies ErE_r and that σn−r+i=zi∗\sigma_{n-r+i}=z_i^* for all i∈[r]i \in[r]. Moreover, Matchrc\mathrm{Match}_r^c implies that there must be some i∗∈[r]i^* \in[r] for which ϕr(Yi∗)≠σn−r+i∗=zi∗∗\phi_r(Y_{i^*}) \ne\sigma_{n-r+i^*}=z_{i^*}^*, so Br,i∗B_{r,i^*} must occur. We now proceed to bound the probability of the right-hand side of Equation (31). First, we note that since the YiY_i are independent and identically distributed, exchanging the columns YiY_i and Y1Y_1 merely swaps the values of zi∗z_i^* and z1∗z_1^*, but does not affect G′G', nor the distribution of GG, nor the event ErE_r. Therefore for all i∈[r]i \in[r] we have

P(Br,i)=P(Br,1).(32)\mathbb{P}(B_{r,i}) = \mathbb{P}(B_{r,1}). \tag*{(32)}

Moreover, we have

Br,1=Er∖Er−1(33)B_{r,1} = E_r \setminus E_{r-1} \tag*{(33)}

since if Alg chooses the wrong sign upon receipt of Y1Y_1, the uniqueness of z∗z^* implies that Er−1E_{r-1} cannot occur. In light of Equations (31) and (4.9), we can use a union bound to obtain

P(Success∩Matchrc)≤∑i=1rP(Br,i)(34)\mathbb{P}(\mathrm{Success} \cap\mathrm{Match}_r^c) \le\sum_{i=1}^{r}\mathbb{P}(B_{r,i}) \tag*{(34)}
≤rP(Br,1)(35)\le r\mathbb{P}(B_{r,1}) \tag*{(35)}
=r(P(Er)−P(Er−1)).(36)= r\bigl(\mathbb{P}(E_r)-\mathbb{P}(E_{r-1})\bigr). \tag*{(36)}

Choose any integer-valued function a=a(n)a=a(n) such that 1≤a<o(h)1\le a<o(h) and choose ℓ=⌊h/2⌋\ell=\lfloor h/2\rfloor, so for large enough nn we have a<ℓa<\ell. Then from Equation (36) we obtain

∑r=aℓP(Success∩Matchrc)r≤∑r=aℓ(P(Er)−P(Er−1))(37)\sum_{r=a}^{\ell}\frac{\mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_{r}^{c})}{r}\le\sum_{r=a}^{\ell}\left(\mathbb{P}(E_r)-\mathbb{P}(E_{r-1})\right) \tag*{(37)}
=P(Eℓ)−P(Ea−1)(38)=\mathbb{P}(E_{\ell})-\mathbb{P}(E_{a-1}) \tag*{(38)}
≤1.(39)\le1. \tag*{(39)}

Define

H:=∑r=aℓ1r.(40)H:=\sum_{r=a}^{\ell}\frac{1}{r}. \tag*{(40)}

An averaging argument shows there exists some r∈{a,…,ℓ}r\in\{a,\ldots,\ell\} such that P(Success∩Matchrc)≤H−1\mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_{r}^{c})\le H^{-1}, as otherwise we would have

∑r′=aℓP(Success∩Matchr′c)r′>H−1∑r′=aℓ1r′=1,(41)\sum_{r'=a}^{\ell}\frac{\mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_{r'}^{c})}{r'}>H^{-1}\sum_{r'=a}^{\ell}\frac{1}{r'}=1, \tag*{(41)}

which contradicts Equation (39). Since HH is a partial harmonic series we have H=Θ(log⁡(ℓ/a))>ω(1)H=\Theta(\log(\ell/a))>\omega(1), and the result follows.

No suffix-parallel baseline can give a unique solution

In this section we prove Lemma 4.2. We rely on Lemmas A.3 and A.5, which are proved in Appendix § 7.§ 2.

Lemma 4.2 (Upper bound on uniqueness). Fix any integers m,r≥3m,r\ge3, any measurable function ϕ:Rm→{±1}\phi:\mathbb{R}^{m}\to\{\pm1\}, and any θ∈Rm\theta\in\mathbb{R}^{m}. Sample Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r\sim\mathcal{N}(0,I_m) independently and define Uϕ,θU_{\phi,\theta} as in Definition 3.5. Then

P(Uϕ,θ)≤O(1m+(log⁡m)3/2log⁡r+(log⁡m)2r+log⁡mr),(42)\mathbb{P}(U_{\phi,\theta})\le O\left(\frac{1}{m}+\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}+\frac{\log m}{\sqrt{r}}\right), \tag*{(42)}

with the probability taken over Y1,…,YrY_1,\ldots,Y_r. The implicit constant is absolute, so the bound is uniform over ϕ\phi and θ\theta.

Proof. For clarity, define Si:=ϕ(Yi)YiS_i:=\phi(Y_i)Y_i for each i∈[r]i\in[r] and let

S:=1r∑i=1rSi.(43)S:=\frac{1}{\sqrt{r}}\sum_{i=1}^{r}S_i. \tag*{(43)}

By Lemma A.3, there exists a δ=Θ(log⁡mr)\delta=\Theta\left(\sqrt{\frac{\log m}{r}}\right) such that

P(Uϕ,θ)≤P(S∈Oθ∖Oθ+δ1m)+O(1m).(44)\mathbb{P}(U_{\phi,\theta})\le\mathbb{P}\left(S\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\right)+O\left(\frac{1}{m}\right). \tag*{(44)}

We now proceed to bound P(S∈Oθ∖Oθ+δ1m)\mathbb{P}\left(S\in O_\theta\setminus O_{\theta+\delta\mathbf{1}_m}\right). For each i∈[r]i\in[r], write μ:=E[Si]\mu:=\mathbb{E}[S_i] and define the centered random variable Wi:=Si−μW_i:=S_i-\mu, along with

W:=1r∑i=1rWi.(45)W:=\frac{1}{\sqrt{r}}\sum_{i=1}^{r}W_i. \tag*{(45)}

Let Σ\Sigma be the covariance matrix of WW and sample Z∼N(0,Σ)Z \sim\mathcal{N}(0,\Sigma). Let

Rm:={∏j=1m[aj,bj):−∞≤aj≤bj≤∞ for every j∈[m]}(46)\mathcal{R}_m := \left\{\prod_{j=1}^{m}[a_j,b_j): -\infty\le a_j \le b_j \le\infty\text{ for every }j \in[m]\right\} \tag*{(46)}

be the set of rectangles in Rm\mathbb{R}^m and note that Ou∈Rm\mathcal{O}_u \in\mathcal{R}_m for all u∈Rmu \in\mathbb{R}^m. By Lemma A.5, the hypotheses of Theorem A.1 hold, which implies that

ρm,r:=sup⁡A∈Rm∣P(W∈A)−P(Z∈A)∣≤O((log⁡m)3/2log⁡r+(log⁡m)2r).(47)\rho_{m,r}:=\sup_{A\in\mathcal{R}_m}\left|\mathbb{P}(W\in A)-\mathbb{P}(Z\in A)\right|\le O\left(\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}\right). \tag*{(47)}

So for any u∈Rmu \in\mathbb{R}^m, the triangle inequality and Equation (47) give

\begin{aligned} \left|\mathbb{P}(W\in\mathcal{O}_u\setminus\mathcal{O}_{u+\delta\mathbf{1}_m})-\mathbb{P}(Z\in\mathcal{O}_u\setminus\mathcal{O}_{u+\delta\mathbf{1}_m})\right| &=\left|(\mathbb{P}(W\in\mathcal{O}_u)-\mathbb{P}(W\in\mathcal{O}_{u+\delta\mathbf{1}_m}))\\ &\qquad-(\mathbb{P}(Z\in\mathcal{O}_u)-\mathbb{P}(Z\in\mathcal{O}_{u+\delta\mathbf{1}_m}))\right|\\ &=\left|(\mathbb{P}(W\in\mathcal{O}_u)-\mathbb{P}(Z\in\mathcal{O}_u))\\ &\qquad-(\mathbb{P}(W\in\mathcal{O}_{u+\delta\mathbf{1}_m})-\mathbb{P}(Z\in\mathcal{O}_{u+\delta\mathbf{1}_m}))\right|\\ &\le2\rho_{m,r}. \tag*{(48)} \end{aligned}

Since W=S−rμW=S-\sqrt{r}\mu, we have

P(S∈Oθ∖Oθ+δ1m)=P(W∈Oθ−rμ∖Oθ−rμ+δ1m)(49)\mathbb{P}(S\in\mathcal{O}_\theta\setminus\mathcal{O}_{\theta+\delta\mathbf{1}_m})=\mathbb{P}(W\in\mathcal{O}_{\theta-\sqrt{r}\mu}\setminus\mathcal{O}_{\theta-\sqrt{r}\mu+\delta\mathbf{1}_m}) \tag*{(49)}
≤P(Z∈Oθ−rμ∖Oθ−rμ+δ1m)+2ρm,r(50)\le\mathbb{P}(Z\in\mathcal{O}_{\theta-\sqrt{r}\mu}\setminus\mathcal{O}_{\theta-\sqrt{r}\mu+\delta\mathbf{1}_m})+2\rho_{m,r} \tag*{(50)}
≤δb0(2log⁡m+2)+2ρm,r.(51)\le\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log m}+2\right)+2\rho_{m,r}. \tag*{(51)}

The last inequality holds by an application of Nazarov’s inequality (see Theorem A.2, which we can apply because Σjj≥b0>0\Sigma_{jj}\ge b_0>0 for each j∈[m]j\in[m], which is shown in Lemma A.5). Putting together Equations (44), (47) and (51), we have

P(Uϕ,θ)≤O(1m)+O((log⁡m)3/2log⁡r+(log⁡m)2r)+δb0(2log⁡m+2).(52)\mathbb{P}(\mathcal{U}_{\phi,\theta})\le O\left(\frac{1}{m}\right)+O\left(\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}\right)+\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log m}+2\right). \tag*{(52)}

Recalling that δ=Θ(log⁡mr)\delta=\Theta\left(\sqrt{\frac{\log m}{r}}\right) and b0b_0 is a positive constant completes the proof.

General perceptrons

In this section we prove Theorem 3.2. The proof will follow that of Theorem 3.6, which uses Lemmas 4.1 and 4.2. We can use Lemma 4.1 as-is. Indeed, its proof uses only two facts about isolated solutions, namely that an hh-isolated solution is the only solution within Hamming distance hh of itself, and that exchanging suffix columns of GG together with the corresponding signs preserves the set of isolated solutions. For any set K⊆RK\subseteq\mathbb{R}, both facts hold for Sh(G,K)S^h(G,K), so Lemma 4.1 holds verbatim for deterministic algorithms in ONLINEK\mathrm{ONLINE}_K, with KK in place of κ\kappa and Sh(G,K)S^h(G,K) in place of Sh(G,κ)S^h(G,\kappa). The proof of Lemma A.6 also applies verbatim to ONLINEK\mathrm{ONLINE}_K.

However, we need to extend Lemma 4.2 from a statement about upper orthants—which aligns with the binary perceptron threshold of κn\kappa\sqrt{n}—to a statement about rectangles, to capture the general perceptron goal of coordinatewise inclusion in a set K⊆RK\subseteq\mathbb{R}.

Definition 4.3 (Rectangles). Given any set of intervals Ij⊆RI_j \subseteq\mathbb{R}, we say that B=∏j=1mIj⊆RmB = \prod_{j=1}^{m} I_j \subseteq\mathbb{R}^m is a rectangle. The intervals IjI_j with endpoints uj≤vju_j \leq v_j may be open, closed, or half-open, and may be empty or unbounded. For any δ>0\delta> 0, denote by B−δ:=∏j=1m[uj+δ,vj−δ]B^{-\delta} := \prod_{j=1}^{m} [u_j+\delta,v_j-\delta] the rectangle obtained from BB by moving each finite endpoint “inwards” by δ\delta. If a>ba>b we let [a,b]=∅[a,b]=\varnothing, and when B=∅B=\varnothing we let B−δ:=∅B^{-\delta}:=\varnothing.

We now give the corresponding uniqueness event.

Definition 4.4 (Uniqueness event for rectangles). For any m,r∈Nm,r \in\mathbb{N}, let ϕ:Rm→{±1}\phi:\mathbb{R}^m \to\{\pm1\} be any measurable function and sample Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r \sim\mathcal{N}(0,I_m) independently. For any rectangle B=∏j=1mIjB=\prod_{j=1}^{m} I_j, define Uϕ,BU_{\phi,B} as the event that the vector z∈{±1}rz\in\{\pm1\}^r given by zi=ϕ(Yi)z_i=\phi(Y_i) is the unique element of {±1}r\{\pm1\}^r such that

1r∑i=1rziYi∈B.(53)\frac{1}{\sqrt{r}}\sum_{i=1}^{r}z_iY_i\in B. \tag*{(53)}

Lemma 4.5 gives an upper bound on the probability of Uϕ,BU_{\phi,B}.

Lemma 4.5 (Upper bound on uniqueness for rectangles). Fix any integers m,r≥3m,r\geq3, any measurable function ϕ:Rm→{±1}\phi:\mathbb{R}^m\to\{\pm1\}, and any rectangle B⊆RmB\subseteq\mathbb{R}^m. Sample Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r\sim\mathcal{N}(0,I_m) independently and define Uϕ,BU_{\phi,B} as in Definition 4.4. Then

P(Uϕ,B)≤O(1m+(log⁡m)3/2log⁡r+(log⁡m)2r+log⁡mr).(54)\mathbb{P}(U_{\phi,B})\leq O\left(\frac{1}{m}+\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}+\frac{\log m}{\sqrt{r}}\right). \tag*{(54)}

with the probability taken over Y1,…,YrY_1,\ldots,Y_r. The implicit constant is absolute, so the bound is uniform over ϕ\phi and BB.

We prove Lemma 4.5 in Appendix § 7.§ 2. The proof follows that of Lemma 4.2. We prove in Lemma A.4 that the score SϕS_\phi of the baseline will lie in a thin “shell” near the boundary of BB with high probability. We then appeal to the Berry-Esseen theorem and Nazarov’s inequality as before, with the main change being that we treat each finite endpoint of BB as a separate coordinate when applying Nazarov’s inequality. Assuming Lemma 4.5, we can now prove our main result for general perceptrons.

Proof of Theorem 3.2. We follow the proof of Theorem 3.6. By Lemma A.6, it suffices to prove our bound for every deterministic Alg⁡∈ONLINE⁡K\operatorname{Alg}\in\operatorname{ONLINE}_K, as long as the bound does not depend on Alg⁡\operatorname{Alg}. Moreover, since Sh(G,K)⊆Sh′(G,K)S^h(G,K)\subseteq S^{h'}(G,K) whenever h′≤hh'\leq h, it suffices to prove the result with hh replaced by min⁡{h,⌊n1/4⌋}\min\{h,\lfloor n^{1/4}\rfloor\}. Therefore we assume that ω(log⁡4n)<h(n)≤n1/4\omega(\log^4 n)<h(n)\leq n^{1/4}.

Fix an integer rr to be specified later, and define the algorithm Alg⁡(r)\operatorname{Alg}^{(r)}. Sample G∼Gm,nG\sim\mathcal{G}^{m,n}, let t(n)=h(n)/log⁡4nt(n)=h(n)/\log^4n, and define a(n):=⌈t(n)log⁡4n⌉a(n):=\lceil\sqrt{t(n)}\log^4n\rceil. Define the events

Success:={Alg⁡(G,K)∈Sh(G,K)}(55)\mathsf{Success}:=\{\operatorname{Alg}(G,K)\in S^h(G,K)\} \tag*{(55)}
Matchr:={Alg⁡(G,K)=Alg⁡(r)(G,K)}.(56)\mathsf{Match}_r:=\{\operatorname{Alg}(G,K)=\operatorname{Alg}^{(r)}(G,K)\}. \tag*{(56)}

Lemma 4.1, applied with Sh(G,K)S^h(G,K) in place of Sh(G,κ)S^h(G,\kappa), states that there exists some rr satisfying a≤r<ha\leq r<h such that

P(Success)=P(Success∩Matchr)+P(Success∩Matchrc)(57)\mathbb{P}(\mathsf{Success})=\mathbb{P}(\mathsf{Success}\cap\mathsf{Match}_r)+\mathbb{P}(\mathsf{Success}\cap\mathsf{Match}_r^c) \tag*{(57)}
<P(Success∩Matchr)+o(1).(58)< \mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_r)+o(1). \tag*{(58)}

We now analyze the event Success∩Matchr\mathrm{Success}\cap\mathrm{Match}_r. Denote by G′G' the first n−rn-r columns of GG and denote the last rr columns by Y1,…,YrY_1,\ldots,Y_r. Write Alg⁡(G,K)=σ′∥z\operatorname{Alg}(G,K)=\sigma'\|z for some z∈{±1}rz\in\{\pm1\}^r. In the binary perceptron, the feasible suffix scores form an upper orthant. Here, each row score may lie in any of the intervals forming KK, so the feasible suffix scores need not form a rectangle. However, once only r≤n1/4r\le n^{1/4} columns remain, the row scores can only move by a small amount. Define the event

Ln:={max⁡i∈[r],j∈[m]∣Yij∣<2log⁡n}.(59)\mathcal{L}_n:=\left\{\max_{\substack{i\in[r],\,j\in[m]}}|Y_{ij}|<2\sqrt{\log n}\right\}. \tag*{(59)}

By a union bound and a tail bound on standard Gaussian random variables, we have

P(Lnc)≤2mrexp⁡(−2log⁡n)=2mrn2<o(1),(60)\mathbb{P}(\mathcal{L}_n^c)\le2mr\exp(-2\log n)=\frac{2mr}{n^2}<o(1), \tag*{(60)}

since r<h≤n1/4r<h\le n^{1/4}. Define p:=G′σ′/n∈Rmp:=G'\sigma'/\sqrt{n}\in\mathbb{R}^m. On the event Ln\mathcal{L}_n, for every z′∈{±1}rz'\in\{\pm1\}^r and every j∈[m]j\in[m] we have

∣⟨Gj,σ′∥z′⟩n−pj∣=1n∣∑i=1rzi′Yij∣<εn:=2rlog⁡nn.(61)\left|\frac{\langle G_j,\sigma'\|z'\rangle}{\sqrt{n}}-p_j\right|=\frac{1}{\sqrt{n}}\left|\sum_{i=1}^r z'_iY_{ij}\right|<\varepsilon_n:=\frac{2r\sqrt{\log n}}{\sqrt{n}}. \tag*{(61)}

Since r≤n1/4r\le n^{1/4}, we have εn→0\varepsilon_n\to0, so for large enough nn we have 2εn<Δ2\varepsilon_n<\Delta. Since KK is well-separated, the interval (pj−εn,pj+εn)(p_j-\varepsilon_n,p_j+\varepsilon_n) meets at most one of the intervals forming KK. Let IjI_j be that interval, or Ij:=∅I_j:=\varnothing if there is none, and define the rectangle

B:=∏j=1mnr(Ij−pj),(62)B:=\prod_{j=1}^m\sqrt{\frac{n}{r}}(I_j-p_j), \tag*{(62)}

which does not depend on Y1,…,YrY_1,\ldots,Y_r. Then on the event Ln\mathcal{L}_n, for every z′∈{±1}rz'\in\{\pm1\}^r we have

σ′∥z′∈S(G,K)⟺1r∑i=1rzi′Yi∈B.(63)\sigma'\|z'\in S(G,K)\Longleftrightarrow\frac{1}{\sqrt{r}}\sum_{i=1}^r z'_iY_i\in B. \tag*{(63)}

We claim that Success∩Matchr∩Ln⊆Uϕr,B\mathrm{Success}\cap\mathrm{Match}_r\cap\mathcal{L}_n\subseteq U_{\phi_r,B}. To see why, note that Success and the fact that r<hr<h together imply that zz is the unique string in {±1}r\{\pm1\}^r such that σ′∥z∈S(G,K)\sigma'\|z\in S(G,K). By Equation (63), on the event Ln\mathcal{L}_n this means that zz is the unique string in {±1}r\{\pm1\}^r that satisfies r−1/2∑i=1rzi′Yi∈Br^{-1/2}\sum_{i=1}^r z'_iY_i\in B. Let ϕr:=SubAlg⁡n−r+1\phi_r:=\operatorname{SubAlg}_{n-r+1}, so Matchr\mathrm{Match}_r implies that ϕr(Yi)=zi\phi_r(Y_i)=z_i for each i∈[r]i\in[r]. Conditional on G′G', the columns Y1,…,YrY_1,\ldots,Y_r are independent with distribution N(0,Im)\mathcal{N}(0,I_m), while ϕr\phi_r and BB are fixed. Note that we use Ln\mathcal{L}_n only to identify the feasible suffixes with the rectangle BB, and we do not condition on it, since that would change the distribution of the suffix columns. Therefore we have

P(Success∩Matchr)≤P(Uϕr,B)+P(Lnc)≤O(1m+(log⁡m)3/2log⁡r+(log⁡m)2r+log⁡mr)+o(1)(64)\begin{aligned} \mathbb{P}(\mathrm{Success}\cap\mathrm{Match}_r)\le\mathbb{P}(U_{\phi_r,B})+\mathbb{P}(\mathcal{L}_n^c) \\ &\le O\left(\frac{1}{m}+\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}+\frac{\log m}{\sqrt{r}}\right)+o(1) \tag*{(64)} \end{aligned}

(Lemma 4.5)

<o(1),(65)<o(1), \tag*{(65)}

with the last inequality due to m>ω(1)m>\omega(1) and r≥a(n)>ω(log⁡4m)r\ge a(n)>\omega(\log^4m). As at the end of the proof of Theorem 3.6, these bounds hold for every r≥a(n)r\ge a(n) and otherwise do not depend on Alg, so the result follows.

AI methodology

The authors used AI models extensively throughout this project, starting with GPT-5.4 Pro and continuing through later versions up to GPT-6 Astra. The idea of the suffix-parallel baseline (Definition 3.3) grew out of these interactions. An AI model then suggested a proof technique similar to the one presented in § 3 and § 4, except that it only concerned linear isolation, and applied only to the binary perceptron. The authors then digested that technique, simplified it, and worked with an AI model to produce the proofs of Theorems 3.1 and 3.2, to extend the results to polylogarithmic isolation and general perceptrons. The authors also made limited use of large language models, including ChatGPT and Claude, to copyedit the writing, prepare figures, and check references. The authors take full responsibility for the mathematical content and the correctness of this paper.

Acknowledgments

G.S. thanks Aloni Cohen for insightful discussions and for proofreading an earlier draft of this paper.

Additional proofs

Auxiliary probability facts

Theorem A.1 (Berry-Esseen [31]). For any integers r,m≥3r, m \ge3, let W1,…,Wr∈RmW_1, \ldots, W_r \in\mathbb{R}^m be independent, identically distributed centered random vectors. Define

W:=1r∑i=1rWi(66)W := \frac{1}{\sqrt{r}} \sum_{i=1}^{r} W_i \tag*{(66)}

and let Σ∈Rm×m\Sigma\in\mathbb{R}^{m \times m} be the covariance matrix of WW. For each j∈[m]j \in[m], write σj2:=Σjj\sigma_j^2 := \Sigma_{jj} and suppose that 0<σj2<∞0 < \sigma_j^2 < \infty. Let D∈Rm×mD \in\mathbb{R}^{m \times m} be the invertible, diagonal matrix with entries (σ1,…,σm)(\sigma_1, \ldots, \sigma_m) on the diagonal, and let R:=D−1ΣD−1R := D^{-1}\Sigma D^{-1} be the correlation matrix of WW, with smallest eigenvalue denoted by λmin⁡(R)\lambda_{\min}(R). Suppose that there exist universal constants K≥1K \ge1 and b>0b > 0 such that the following statements hold:

  1. ∥W1j/σj∥ψ2≤K\|W_{1j}/\sigma_j\|_{\psi_2} \le K for all j∈[m]j \in[m].

  2. λmin⁡(R)≥b\lambda_{\min}(R) \ge b.

Sample Z∼N(0,Σ)Z \sim\mathcal{N}(0, \Sigma). Then we have

sup⁡A∈Rm∣P(W∈A)−P(Z∈A)∣≤O((log⁡m)3/2log⁡r+(log⁡m)2r),(67)\sup_{A \in\mathcal{R}_m} \left|\mathbb{P}(W \in A) - \mathbb{P}(Z \in A)\right| \le O\left(\frac{(\log m)^{3/2}\log r + (\log m)^2}{\sqrt{r}}\right), \tag*{(67)}

where

Rm={∏j=1m[aj,bj):−∞≤aj≤bj≤∞ for every j∈[m]}(68)\mathcal{R}_m = \left\{\prod_{j=1}^{m}[a_j,b_j) : -\infty\le a_j \le b_j \le\infty\ \text{for every } j \in[m]\right\} \tag*{(68)}

is the set of rectangles in Rm\mathbb{R}^m.

Proof. The proof is a direct application of [31 Corollary 2.1] under conditions (E.2) and (M). Observe that Σ=Cov⁡(W1)\Sigma= \operatorname{Cov}(W_1) because the WiW_i are independent and identically distributed. For all i∈[r]i \in[r], j∈[m]j \in[m], we have ∥Wij/σj∥ψ2≤K\lVert W_{ij}/\sigma_j\rVert_{\psi_2} \le K. By the definition of the subgaussian norm and the inequality ex2≥x4/2e^{x^2} \ge x^4/2, we have

E[∣Wij/σj∣4]≤2K4E[exp⁡((Wij/σj)2K2)]≤4K4.(69)\mathbb{E}\left[\left|W_{ij}/\sigma_j\right|^4\right] \le2K^4\mathbb{E}\left[\exp\left(\frac{(W_{ij}/\sigma_j)^2}{K^2}\right)\right] \le4K^4. \tag*{(69)}

Therefore conditions (E.2) and (M) of [31] hold with n=rn=r, d=md=m, Xi=WiX_i=W_i, and Bn=2K2>KB_n=2K^2>K. Moreover, the parameter σ⋆,W\sigma_{\star,W} of [31] is the square root of the smallest eigenvalue of the correlation matrix of WW, so σ⋆,W=λmin⁡(R)≥b\sigma_{\star,W}=\sqrt{\lambda_{\min}(R)}\ge\sqrt{b}. The result follows from [31 Corollary 2.1]. That result is stated for one type of rectangle, and it extends to all of Rm\mathcal{R}_m by dominated convergence, since the indicator of any rectangle is a pointwise limit of indicators of rectangles of that type.

Theorem A.2 (Nazarov’s inequality [72, 30]). Let Z∈RmZ \in\mathbb{R}^m be an mm-dimensional Gaussian random variable with mean μ∈Rm\mu\in\mathbb{R}^m and suppose there exists a constant b0>0b_0>0 such that Var⁡(Zj)≥b0\operatorname{Var}(Z_j)\ge b_0 for all j∈[m]j\in[m]. Then for any u∈Rmu\in\mathbb{R}^m and δ>0\delta>0, we have

P(Z∈Ou∖Ou+δ1m)≤δb0(2log⁡m+2).(70)\mathbb{P}\left(Z\in O_u\setminus O_{u+\delta\mathbf{1}_m}\right)\le\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log m}+2\right). \tag*{(70)}

Proof. The proof is a direct application of Nazarov’s inequality (stated in the form of [30 Theorem 1]), which concerns the probability of centered Gaussian vectors lying in the difference of lower orthants of an mm-dimensional space. Since our event of interest concerns upper orthants, we have to apply Nazarov’s inequality to the centered, flipped version of ZZ. We define

Y:=−(Z−μ)(71)Y := -(Z-\mu) \tag*{(71)}

and observe that for all j∈[m]j\in[m] we have

E[Yj]=−(E[Zj]−E[μj])=0(72)\mathbb{E}[Y_j]=-\left(\mathbb{E}[Z_j]-\mathbb{E}[\mu_j]\right)=0 \tag*{(72)}
E[Yj2]=E[Zj2]−E[Yj]2=Var⁡(Yj)=Var⁡(Zj)≥b0,(73)\mathbb{E}\left[Y_j^2\right]=\mathbb{E}\left[Z_j^2\right]-\mathbb{E}\left[Y_j\right]^2=\operatorname{Var}(Y_j)=\operatorname{Var}(Z_j)\ge b_0, \tag*{(73)}

so the hypotheses of [30 Theorem 1] hold. Fix any u∈Rmu\in\mathbb{R}^m and δ>0\delta>0, and choose y:=E[Z]−u−δ1m∈Rmy:=\mathbb{E}[Z]-u-\delta\mathbf{1}_m\in\mathbb{R}^m. Then we have

P(Z∈Ou∖Ou+δ1m)=P(Z≥u)−P(Z≥u+δ1m)(74)\mathbb{P}\left(Z\in O_u\setminus O_{u+\delta\mathbf{1}_m}\right)=\mathbb{P}(Z\ge u)-\mathbb{P}(Z\ge u+\delta\mathbf{1}_m) \tag*{(74)}
=P(Y≤y+δ1m)−P(Y≤y)≤δb0(2log⁡m+2).(75)\begin{aligned} =\mathbb{P}(Y\le y+\delta\mathbf{1}_m)-\mathbb{P}(Y\le y) \\ &\le\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log m}+2\right). \tag*{(75)} \end{aligned}

[30 Theorem 1]

Lemmas for upper bounds on uniqueness

Lemma A.3 (Uniqueness implies thin shell). Fix any integers m,r≥2m,r \ge2. Define Y1,…,YrY_1,\ldots,Y_r, ϕ\phi, θ\theta, and Uϕ,θU_{\phi,\theta} as in Definition 3.5. Let

S:=1r∑i=1rϕ(Yi)Yi.(76)S := \frac{1}{\sqrt{r}}\sum_{i=1}^{r}\phi(Y_i)Y_i. \tag*{(76)}

Then there exists some δ=Θ(log⁡mr)\delta= \Theta\left(\sqrt{\frac{\log m}{r}}\right) such that

P(Uϕ,θ)≤P(S∈Oθ∖Oθ+δ1m)+O(1m).(77)\mathbb{P}(U_{\phi,\theta}) \le\mathbb{P}\left(S \in\mathcal{O}_{\theta}\setminus\mathcal{O}_{\theta+\delta\mathbf{1}_m}\right) + O\left(\frac{1}{m}\right). \tag*{(77)}

Proof. The event Uϕ,θU_{\phi,\theta} implies that for all j∈[m]j \in[m] we have

Sj≥θj.(78)S_j \ge\theta_j. \tag*{(78)}

Moreover, the event also implies that swapping the sign for any term in the sum of SS, say i=1i=1, ensures that there exists some j∈[m]j \in[m] such that

Sj−2ϕ(Y1)rY1j<θj.(79)S_j - \frac{2\phi(Y_1)}{\sqrt{r}}Y_{1j} < \theta_j. \tag*{(79)}

Let Lm:=Clog⁡mL_m := C\sqrt{\log m} for some C>2C > 2, and condition on the event Em:={max⁡j∈[m]∣Y1j∣≤Lm}\mathcal{E}_m := \{\max_{j\in[m]} |Y_{1j}| \le L_m\}. Combining Equations (A.13) and (A.14) gives us

0≤Sj−θj(80)0 \le S_j-\theta_j \tag*{(80)}
<2ϕ(Y1)rY1j(81)< \frac{2\phi(Y_1)}{\sqrt{r}}Y_{1j} \tag*{(81)}
≤2∣Y1j∣r(82)\le\frac{2|Y_{1j}|}{\sqrt{r}} \tag*{(82)}
≤2Lmr,(83)\le\frac{2L_m}{\sqrt{r}}, \tag*{(83)}

where the last inequality holds on the event Em\mathcal{E}_m. Therefore setting

δ:=2Lmr=Θ(log⁡mr)(84)\delta:= \frac{2L_m}{\sqrt{r}} = \Theta\left(\sqrt{\frac{\log m}{r}}\right) \tag*{(84)}

we have

Uϕ,θ∩Em⊆{S∈Oθ∖Oθ+δ1m}.(85)U_{\phi,\theta}\cap\mathcal{E}_m \subseteq\{S\in\mathcal{O}_{\theta}\setminus\mathcal{O}_{\theta+\delta\mathbf{1}_m}\}. \tag*{(85)}

By the law of total probability, we have

P(Uϕ,θ)=P(Uϕ,θ∩Em)+P(Uϕ,θ∩Emc)(86)\mathbb{P}(U_{\phi,\theta})=\mathbb{P}(U_{\phi,\theta}\cap\mathcal{E}_m)+\mathbb{P}(U_{\phi,\theta}\cap\mathcal{E}_m^c) \tag*{(86)}
≤P(S∈Oθ∖Oθ+δ1m)+P(Emc).(87)\le\mathbb{P}(S\in\mathcal{O}_{\theta}\setminus\mathcal{O}_{\theta+\delta\mathbf{1}_m})+\mathbb{P}(\mathcal{E}_m^c). \tag*{(87)}

By a union bound and a tail bound on standard Gaussian random variables, we have

P(Emc)≤2mexp⁡(−Lm22)(88)\mathbb{P}(\mathcal{E}_m^c)\le2m\exp\left(-\frac{L_m^2}{2}\right) \tag*{(88)}
≤2m1−C2/2(89)\le2m^{1-C^2/2} \tag*{(89)}
<2m−1,(90)< 2m^{-1}, \tag*{(90)}

and the result follows.

Lemma A.4 (Uniqueness implies thin shell for rectangles). Fix any integers m,r≥2m,r \ge2. Define Y1,…,YrY_1,\ldots,Y_r, ϕ\phi, BB, and Uϕ,BU_{\phi,B} as in Definition 4.4. Let

S:=1r∑i=1rϕ(Yi)Yi.(91)S := \frac{1}{\sqrt{r}}\sum_{i=1}^{r}\phi(Y_i)Y_i. \tag*{(91)}

Then there exists some δ=Θ(log⁡mr)\delta= \Theta\left(\sqrt{\frac{\log m}{r}}\right) such that

P(Uϕ,B)≤P(S∈B∖B−δ)+O(1m).(92)\mathbb{P}(U_{\phi,B}) \le\mathbb{P}\left(S \in B \setminus B^{-\delta}\right) + O\left(\frac{1}{m}\right). \tag*{(92)}

Proof. The event Uϕ,BU_{\phi,B} implies that S∈BS \in B. Moreover, the event also implies that swapping the sign of any term in the sum of SS, say i=1i=1, moves SS outside of BB, so there exists some j∈[m]j \in[m] such that

Sj−2ϕ(Y1)rY1j∉Ij.(93)S_j-\frac{2\phi(Y_1)}{\sqrt{r}}Y_{1j}\notin I_j. \tag*{(93)}

Let Lm:=Clog⁡mL_m := C\sqrt{\log m} for some C>2C>2, and consider the event Em:={max⁡j∈[m]∣Y1j∣<Lm}E_m := \{\max_{j\in[m]}|Y_{1j}|<L_m\}. Setting

δ:=2Lmr=Θ(log⁡mr),(94)\delta:= \frac{2L_m}{\sqrt{r}} = \Theta\left(\sqrt{\frac{\log m}{r}}\right), \tag*{(94)}

we have ∣2ϕ(Y1)Y1j/r∣<δ|2\phi(Y_1)Y_{1j}/\sqrt{r}|<\delta for every j∈[m]j\in[m] on the event EmE_m. So if S∈B−δS\in B^{-\delta}, then for every j∈[m]j\in[m] we would have

Sj−2ϕ(Y1)rY1j∈(uj,vj)⊆Ij,(95)S_j-\frac{2\phi(Y_1)}{\sqrt{r}}Y_{1j}\in(u_j,v_j)\subseteq I_j, \tag*{(95)}

which contradicts Equation (A.28). Therefore

Uϕ,B∩Em⊆{S∈B∖B−δ}.(96)U_{\phi,B}\cap E_m\subseteq\{S\in B\setminus B^{-\delta}\}. \tag*{(96)}

The result follows from the law of total probability and the bound P(Emc)<2m−1\mathbb{P}(E_m^c)<2m^{-1}, exactly as in the proof of Lemma A.3.

Lemma A.5 (Hypotheses for Berry-Esseen hold). Fix any integers m,r≥3m,r\ge3. Let Y1,…,Yr∼N(0,Im)Y_1,\ldots,Y_r\sim\mathcal{N}(0,I_m) independently and let ϕ:Rm→{±1}\phi:\mathbb{R}^m\to\{\pm1\} be measurable. For each i∈[r]i\in[r], define Si:=ϕ(Yi)YiS_i:=\phi(Y_i)Y_i and Wi:=Si−E[Si]W_i:=S_i-\mathbb{E}[S_i]. Define

W:=1r∑i=1rWi(97)W:=\frac{1}{\sqrt{r}}\sum_{i=1}^{r}W_i \tag*{(97)}

and let Σ∈Rm×m\Sigma\in\mathbb{R}^{m\times m} be the covariance matrix of WW. For each j∈[m]j\in[m], write σj2:=Σjj\sigma_j^2:=\Sigma_{jj}. The following statements hold.

  1. The random variables WiW_i are independent and identically distributed.

  1. 0<σj2<∞0 < \sigma_j^2 < \infty for all j∈[m]j \in[m].

Let D∈Rm×mD \in\mathbb{R}^{m \times m} be the invertible, diagonal matrix with entries (σ1,…,σm)(\sigma_1,\ldots,\sigma_m) on the diagonal, and let R=D−1ΣD−1R = D^{-1}\Sigma D^{-1} be the correlation matrix of WW, with smallest eigenvalue denoted by λmin⁡(R)\lambda_{\min}(R). Then there exist universal constants K≥1K \ge1 and b>0b > 0 such that the following statements hold:

  1. ∥W1j/σj∥ψ2≤K\lVert W_{1j}/\sigma_j\rVert_{\psi_2} \le K for all j∈[m]j \in[m].

  1. λmin⁡(R)≥b\lambda_{\min}(R) \ge b.

Proof. Item 1 follows because ϕ\phi is fixed and the random variables YiY_i are independent and identically distributed. Let μ=E[Si]\mu= \mathbb{E}[S_i], which is identical for all i∈[r]i \in[r]. We claim that

∥μ∥2≤2π.(98)\lVert\mu\rVert_2 \le\sqrt{\frac{2}{\pi}}. \tag*{(98)}

The claim is trivial when ∥μ∥2=0\lVert\mu\rVert_2 = 0. Otherwise, consider the unit vector u=μ/∥μ∥2u = \mu/\lVert\mu\rVert_2 and see that

∥μ∥2=∣uTμ∣(99)\lVert\mu\rVert_2 = \lvert u^T\mu\rvert \tag*{(99)}
=∣E[ϕ(Y1)uTY1]∣(100)= \left\lvert\mathbb{E}\left[\phi(Y_1)u^T Y_1\right]\right\rvert \tag*{(100)}
≤E[∣uTY1∣](101)\le\mathbb{E}\left[\left\lvert u^T Y_1\right\rvert\right] \tag*{(101)}
=2π(102)= \sqrt{\frac{2}{\pi}} \tag*{(102)}

with the last equality using the fact that uTY1∼N(0,1)u^T Y_1 \sim\mathcal{N}(0,1). Using the fact that the WiW_i are independent and identically distributed, we can write

Σ=Cov⁡(S1)(103)\Sigma= \operatorname{Cov}(S_1) \tag*{(103)}
=E[S1S1T]−μμT(104)= \mathbb{E}\left[S_1 S_1^T\right] - \mu\mu^T \tag*{(104)}
=E[ϕ(Y1)2Y1Y1T]−μμT(105)= \mathbb{E}\left[\phi(Y_1)^2Y_1Y_1^T\right] - \mu\mu^T \tag*{(105)}
=Im−μμT(106)= I_m - \mu\mu^T \tag*{(106)}

Set b0:=1−2π>0b_0 := 1 - \frac{2}{\pi} > 0. Recalling that σj2:=Σjj\sigma_j^2 := \Sigma_{jj}, Equations (A.33) and (A.41) imply that

b0≤σj≤1,(107)\sqrt{b_0} \le\sigma_j \le1, \tag*{(107)}

which proves Item 2. Moreover, note that ∣Sij∣=∣Yij∣\lvert S_{ij}\rvert= \lvert Y_{ij}\rvert. Therefore the triangle inequality for the subgaussian norm, along with Equations (A.33) and (A.42), imply that there exists some absolute constant K≥1K \ge1 such that

∥W1jσj∥ψ2=1σj∥S1j−μj∥ψ2(108)\left\lVert\frac{W_{1j}}{\sigma_j}\right\rVert_{\psi_2} = \frac{1}{\sigma_j}\left\lVert S_{1j}-\mu_j\right\rVert_{\psi_2} \tag*{(108)}
≤1σj(∥S1j∥ψ2+∥μj∥ψ2)(109)\le\frac{1}{\sigma_j}\left(\left\lVert S_{1j}\right\rVert_{\psi_2}+\left\lVert\mu_j\right\rVert_{\psi_2}\right) \tag*{(109)}
≤K,(110)\le K, \tag*{(110)}

which proves Item 3. Finally, recall that R=D−1ΣD−1R = D^{-1}\Sigma D^{-1}, where DD is the diagonal matrix with σ1,…,σm\sigma_1,\ldots,\sigma_m on the diagonal. Every eigenvector x∈Rmx \in\mathbb{R}^m of RR with eigenvalue λ\lambda satisfies the equality xTRx=λxTx=λ∥x∥22x^{T}Rx = \lambda x^{T}x = \lambda\lVert x\rVert_2^2. Furthermore, Cauchy-Schwarz gives that for any x∈Rmx \in\mathbb{R}^m, we have

xTΣx=xT(Im−μμT)x(111)\begin{aligned} x^{T}\Sigma x &= x^{T}(I_m-\mu\mu^{T})x \tag*{(111)} \end{aligned}
=∥x∥22−(xTμ)2(112)\begin{aligned} &= \lVert x\rVert_2^2-(x^{T}\mu)^2 \tag*{(112)} \end{aligned}
≥∥x∥22−∥x∥22∥μ∥22(113)\begin{aligned} &\ge\lVert x\rVert_2^2-\lVert x\rVert_2^2\lVert\mu\rVert_2^2 \tag*{(113)} \end{aligned}
≥b0∥x∥22(114)\begin{aligned} &\ge b_0\lVert x\rVert_2^2 \tag*{(114)} \end{aligned}

Therefore we have

xTRx=xTD−1ΣD−1x(115)\begin{aligned} x^{T}Rx &= x^{T}D^{-1}\Sigma D^{-1}x \tag*{(115)} \end{aligned}
=(D−1x)TΣ(D−1x)(116)\begin{aligned} &= (D^{-1}x)^{T}\Sigma(D^{-1}x) \tag*{(116)} \end{aligned}
≥b0∑j=1m(xjσj)2\begin{aligned} &\ge b_0\sum_{j=1}^{m}\left(\frac{x_j}{\sigma_j}\right)^2 \end{aligned}

(Equation (A.49))

≥b0∥x∥22\begin{aligned} &\ge b_0\lVert x\rVert_2^2 \end{aligned}

(Equation (A.42))

and so the smallest eigenvalue of RR is λmin⁡(R)≥b0>0\lambda_{\min}(R) \ge b_0 > 0, proving Item 4.

Proof of Lemma 4.5. We follow the proof of Lemma 4.2. If B=∅B = \varnothing, then Uϕ,B=∅U_{\phi,B} = \varnothing and there is nothing to prove, so we assume that B≠∅B \ne\varnothing. For clarity, define Si:=ϕ(Yi)YiS_i := \phi(Y_i)Y_i for each i∈[r]i \in[r] and let

S:=1r∑i=1rSi.(117)S := \frac{1}{\sqrt{r}}\sum_{i=1}^{r} S_i . \tag*{(117)}

By Lemma A.4, there exists a δ=Θ((log⁡m)/r)\delta= \Theta(\sqrt{(\log m)/r}) such that

P(Uϕ,B)≤P(S∈B∖B−δ)+O(1m).(118)\mathbb{P}(U_{\phi,B}) \le\mathbb{P}(S \in B \setminus B^{-\delta}) + O\left(\frac{1}{m}\right). \tag*{(118)}

We now proceed to bound P(S∈B∖B−δ)\mathbb{P}(S \in B \setminus B^{-\delta}). Define μ\mu, WW, Σ\Sigma, Z∼N(0,Σ)Z \sim\mathcal{N}(0,\Sigma), and ρm,r\rho_{m,r} as in the proof of Lemma 4.2, so that ρm,r\rho_{m,r} satisfies the bound in Equation (47). The same bound holds with the supremum taken over all rectangles, since the indicator of every rectangle is a pointwise limit of indicators of rectangles in Rm\mathcal{R}_m, and both probabilities converge by dominated convergence. Since W=S−rμW = S-\sqrt{r}\mu and B−δ⊆BB^{-\delta} \subseteq B, the same argument as in the proof of Lemma 4.2 gives

P(S∈B∖B−δ)=P(W∈(B−rμ)∖(B−δ−rμ))(119)\mathbb{P}(S \in B \setminus B^{-\delta}) = \mathbb{P}\left(W \in(B-\sqrt{r}\mu)\setminus(B^{-\delta}-\sqrt{r}\mu)\right) \tag*{(119)}
≤P(Z+rμ∈B∖B−δ)+2ρm,r.(120)\le\mathbb{P}\left(Z+\sqrt{r}\mu\in B\setminus B^{-\delta}\right)+2\rho_{m,r}. \tag*{(120)}

Finally, we bound the Gaussian probability in Equation (A.55) using Nazarov’s inequality (Theorem A.2). Theorem A.2 concerns upper orthants, while BB may have two finite endpoints in each coordinate, so we treat each finite endpoint as a separate coordinate. Let J−:={j∈[m]:uj>−∞}J_- := \{j \in[m] : u_j > -\infty\} and J+:={j∈[m]:vj<∞}J_+ := \{j \in[m] : v_j < \infty\}, and let m′:=∣J−∣+∣J+∣≤2mm' := |J_-| + |J_+| \le2m. If m′=0m' = 0, then B=B−δ=RmB = B^{-\delta} = \mathbb{R}^m and there is nothing to prove. Otherwise, define the Gaussian random variable V∈Rm′V \in\mathbb{R}^{m'} and the vector q∈Rm′q \in\mathbb{R}^{m'} by

V:=((Zj+rμj)j∈J−,(−Zj−rμj)j∈J+),q:=((uj)j∈J−,(−vj)j∈J+).(121)V := \left((Z_j+\sqrt{r}\mu_j)_{j\in J_-},(-Z_j-\sqrt{r}\mu_j)_{j\in J_+}\right),\qquad q := \left((u_j)_{j\in J_-},(-v_j)_{j\in J_+}\right). \tag*{(121)}

Then {Z+rμ∈B−δ}={V∈Oq+δ1m′}\{Z+\sqrt{r}\mu\in B^{-\delta}\}=\{V\in\mathcal{O}_{q+\delta1_{m'}}\}, while the events {Z+rμ∈B}\{Z+\sqrt{r}\mu\in B\} and {V∈Oq}\{V\in\mathcal{O}_q\} differ only by an event of probability zero, since each ZjZ_j has a continuous distribution. By Lemma A.5, we have Σjj≥b0>0\Sigma_{jj}\ge b_0>0 for each j∈[m]j\in[m], so Var⁡(Vk)≥b0\operatorname{Var}(V_k)\ge b_0 for each k∈[m′]k\in[m']. Therefore Theorem A.2 gives

P(Z+rμ∈B∖B−δ)=P(V∈Oq∖Oq+δ1m′)(122)\mathbb{P}\left(Z+\sqrt{r}\mu\in B\setminus B^{-\delta}\right)=\mathbb{P}\left(V\in\mathcal{O}_q\setminus\mathcal{O}_{q+\delta1_{m'}}\right) \tag*{(122)}
≤δb0(2log⁡(2m)+2).(123)\le\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log(2m)}+2\right). \tag*{(123)}

Note that Theorem A.2 only requires a lower bound on the variance of each coordinate, so it applies even though VV may have a singular covariance matrix. Putting together Equations (A.53), (A.55) and (A.58), we have

P(Uϕ,B)≤O(1m)+O((log⁡m)3/2log⁡r+(log⁡m)2r)+δb0(2log⁡(2m)+2).(124)\mathbb{P}\left(\mathcal{U}_{\phi,B}\right)\le O\left(\frac{1}{m}\right)+O\left(\frac{(\log m)^{3/2}\log r+(\log m)^2}{\sqrt{r}}\right)+\frac{\delta}{\sqrt{b_0}}\left(\sqrt{2\log(2m)}+2\right). \tag*{(124)}

Recalling that δ=Θ(log⁡m/r)\delta=\Theta\left(\sqrt{\log m}/r\right) and b0b_0 is a positive constant completes the proof.

Reduction to deterministic algorithms

Lemma A.6. Let ONLINE⁡(n)\operatorname{ONLINE}(n) be the set of algorithms in ONLINE that accept input matrices with nn columns. Let bnb_n be an upper bound on the success probability of all deterministic algorithms Alg⁡∗∈ONLINE⁡(n)\operatorname{Alg}^*\in\operatorname{ONLINE}(n). Then bnb_n is an upper bound on the success probability of any algorithm Alg⁡∈ONLINE⁡(n)\operatorname{Alg}\in\operatorname{ONLINE}(n).

Proof. Suppose for contradiction that there exists a randomized algorithm Alg⁡∈ONLINE⁡(n)\operatorname{Alg}\in\operatorname{ONLINE}(n) that succeeds with probability strictly greater than bnb_n. By the law of total expectation, we can write

Eξ[EG[1{Alg⁡(G,κ;ξ)∈Sh(G,κ)}∣ξ]]>bn,(125)\mathbb{E}_{\xi}\left[\mathbb{E}_{G}\left[1_{\{\operatorname{Alg}(G,\kappa;\xi)\in\mathcal{S}^h(G,\kappa)\}}\mid\xi\right]\right]>b_n, \tag*{(125)}

where ξ\xi denotes the internal randomness of Alg. By an averaging argument, there must exist a random seed ξ∗\xi^* such that

EG[1{Alg⁡(G,κ;ξ∗)∈Sh(G,κ)}]>bn.(126)\mathbb{E}_{G}\left[1_{\{\operatorname{Alg}(G,\kappa;\xi^*)\in\mathcal{S}^h(G,\kappa)\}}\right]>b_n. \tag*{(126)}

This implies that the deterministic algorithm Alg⁡∗(G,κ):=Alg⁡(G,κ;ξ∗)\operatorname{Alg}^*(G,\kappa):=\operatorname{Alg}(G,\kappa;\xi^*) succeeds with probability strictly greater than bnb_n, which is a contradiction.

References

  1. [1]Ishaq Aden-Ali. Optimal online discrepancy minimization in linear time. Preprint, arXiv:2607.04388, 2026.
  2. [2]Dimitris Achlioptas and Amin Coja-Oghlan. Algorithmic barriers from phase transitions. In 2008 49th Annual IEEE Symposium on Foundations of Computer Science (FOCS), pages 793–802, 2008.
  3. [3]Emmanuel Abbe, Shuangping Li, and Allan Sly. Proof of the contiguity conjecture and lognormal limit for the symmetric perceptron. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 327–338, 2021.arxiv.org/abs/2102.13069
  4. [4]Ryan Alweiss, Yang P. Liu, and Mehtaab Sawhney. Discrepancy minimization via a self-balancing walk. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 14–20, 2021. 3, 5
  5. [5]Emmanuel Abbe, Shuangping Li, and Allan Sly. Binary perceptron: Efficient algorithms can find solutions in a rare well-connected cluster. In Proceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 860–873, 2022. 1, 2arxiv.org/abs/2111.03084
  6. [6]Dylan J. Altschuler. Critical window of the symmetric perceptron. Electronic Journal of Probability, 28:123, 2023. 5arxiv.org/abs/2205.02319
  7. [7]Benjamin Aubin, Will Perkins, and Lenka Zdeborová. Storage capacity in symmetric binary perceptrons. Journal of Physics A: Mathematical and Theoretical, 52(29):294003, 2019. 1, 4DOI
  8. [8]Dimitris Achlioptas and Federico Ricci-Tersenghi. On the solution-space geometry of random constraint satisfaction problems. In Proceedings of the 38th Annual ACM Symposium on Theory of Computing (STOC), pages 130–139, 2006. 2
  9. [9]Dylan J. Altschuler and Konstantin Tikhomirov. A note on the capacity of the binary perceptron. Preprint, arXiv:2401.15092, 2024. 4arxiv.org/abs/2401.15092
  10. [10]Dylan J. Altschuler and Konstantin Tikhomirov. The threshold for online balancing of i.i.d. binary vectors. Preprint, arXiv:2609.14975, 2026. 5arxiv.org/abs/2609.14975
  11. [11]Carlo Baldassi. Generalization learning in a perceptron with binary synapses. Journal of Statistical Physics, 136(5):902–916, 2009. 4DOI
  12. [12]Nikhil Bansal. Constructive algorithms for discrepancy minimization. In 2010 IEEE 51st Annual Symposium on Foundations of Computer Science (FOCS), pages 3–10, 2010. 1, 5arxiv.org/abs/1002.2259
  13. [13]Damien Barbier. How to escape atypical regions in the symmetric binary perceptron: a journey through connected-solutions states. SciPost Physics, 18(3):115, 2025. 2DOI
  14. [14]Damien Barbier. Finding the right path: statistical mechanics of connected solutions in constraint satisfaction problems. Journal of Statistical Mechanics: Theory and Experiment, 2026(8):083401, 2026. 2
  15. [15]Damien Barbier. When low-loss paths make a binary neuron trainable: detecting algorithmic transitions with the connected ensemble. Preprint, arXiv:2601.23241, 2026. 2arxiv.org/abs/2601.23241
  16. [16]Carlo Baldassi and Alfredo Braunstein. A max-sum algorithm for training discrete neural networks. Journal of Statistical Mechanics: Theory and Experiment, 2015(8):P08008, 2015. 4DOI
  17. [17]Carlo Baldassi, Alfredo Braunstein, Nicolas Brunel, and Riccardo Zecchina. Efficient supervised learning in networks with binary synapses. Proceedings of the National Academy of Sciences, 104(26):11079–11084, 2007. 4
  18. [18]Carlo Baldassi, Christian Borgs, Jennifer T. Chayes, Alessandro Ingrosso, Carlo Lucibello, Luca Saglietti, and Riccardo Zecchina. Unreasonable effectiveness of learning neural networks: from accessible states and robust ensembles to basic algorithmic schemes. Proceedings of the National Academy of Sciences, 113(48):E7655–E7662, 2016. 1DOI
  19. [19]Marco Benedetti, Andrej Bogdanov, Enrico M. Malatesta, Marc Mézard, Gianmarco Perrupato, Alon Rosen, Nikolaj I. Schwartzb ach, and Riccardo Zecchina. Overlap gap and computational thresholds in the square wave perceptron. Preprint, arXiv:2506.05197, 2025. 7arxiv.org/abs/2506.05197
  20. [20]Marco Benedetti, Andrej Bogdanov, Enrico M. Malatesta, Marc Mézard, Gianmarco Perrupato, Alon Rosen, Nikolaj I. Schwartzb ach, and Riccardo Zecchina. Collision resistance of single-layer neural nets. Preprint, arXiv:2606.03807, 2026. 1, 4arxiv.org/abs/2606.03807
  21. [21]Carlo Baldassi, Riccardo Della Vecchia, Carlo Lucibello, and Riccardo Zecchina. Clustering of solutions in the symmetric binary perceptron. Journal of Statistical Mechanics: Theory and Experiment, 2020(7):073303, 2020. 2, 5DOI
  22. [22]Damien Barbier, Ahmed El Alaoui, Florent Krzakala, and Lenka Zdeborová. On the atypical solutions of the symmetric binary perceptron. Journal of Physics A: Mathematical and Theoretical, 57(19):195202, 2024. 2DOI
  23. [23]Shankar Bhamidi, David Gamarnik, and Shuyang Gong. Finding a dense submatrix of a random matrix. Sharp bounds for online algorithms. Electronic Communications in Probability, 31:1–12, 2026. 4
  24. [24]Guy Bresler and Brice Huang. The algorithmic phase transition of random k-SAT for low degree polynomials. In 2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS), pages 298–309, 2021. 4arxiv.org/abs/2106.02129
  25. [25]Carlo Baldassi, Alessandro Ingrosso, Carlo Lucibello, Luca Saglietti, and Riccardo Zecchina. Subdominant dense clusters allow for simple learning and high computational performance in neural networks with discrete synapses. Physical Review Letters, 115:128101, 2015. 2DOI
  26. [26]Nikhil Bansal, Haotian Jiang, Sahil Singla, and Makrand Sinha. Online vector balancing and geometric discrepancy. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 1139–1152, 2020. 3, 5arxiv.org/abs/1912.03350
  27. [27]Erwin Bolthausen, Shuta Nakajima, Nike Sun, and Changji Xu. Gardner formula for Ising perceptron models at small densities. In Proceedings of the 35th Conference on Learning Theory (COLT), pages 1787–1911, 2022. 4arxiv.org/abs/2111.02855
  28. [28]Nikhil Bansal and Joel H. Spencer. On-line balancing of random inputs. Random Structures & Algorithms, 57(4):879–891, 2020. 2, 3, 5arxiv.org/abs/1903.06898
  29. [29]Alfredo Braunstein and Riccardo Zecchina. Learning by message passing in networks of discrete synapses. Physical Review Letters, 96(3):030201, 2006. 4pubmed.ncbi.nlm.nih.gov/16486667
  30. [30]Victor Chernozhukov, Denis Chetverikov, and Kengo Kato. Detailed proof of Nazarov’s inequality. Preprint, arXiv:1711.10696, 2017. 19arxiv.org/abs/1711.10696
  31. [31]Victor Chernozhukov, Denis Chetverikov, and Yuta Koike. Nearly optimal central limit theorem and bootstrap approximations in high dimensions. The Annals of Applied Probability, 33(3):2374–2425, 2023. 18, 19
  32. [32]Wei-Kuo Chen, David Gamarnik, Dmitry Panchenko, and Mustazee Rahman. Suboptimality of local algorithms for a class of max-cut problems. The Annals of Probability, 47(3):1587–1618, 2019. 4DOI
  33. [33]Thomas M. Cover. Geometrical and statistical properties of systems of linear inequalities with applications in pattern recognition. IEEE Transactions on Electronic Computers, EC-14(3):326–334, 1965. 1DOI
  34. [34]Hang Du, Shuyang Gong, and Rundong Huang. The algorithmic phase transition of random graph alignment problem. Probability Theory and Related Fields, 191(3–4):1233–1288, 2025. 4arxiv.org/abs/2307.06590
  35. [36]Jian Ding and Nike Sun. Capacity lower bound for the Ising perceptron. In Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 816–827, 2019. 1, 4
  36. [37]Ahmed El Alaoui and David Gamarnik. Hardness of sampling solutions from the symmetric binary perceptron. Random Structures & Algorithms, 66(4):e70021, 2025. 2, 4arxiv.org/abs/2407.16627
  37. [38]Ronen Eldan and Mohit Singh. Efficient algorithms for discrepancy minimization in convex sets. Random Structures & Algorithms, 53(2):289–307, 2018. 5arxiv.org/abs/1409.2913
  38. [39]Christian Fiedler, Joe Jackson, Daniel Lacker, and Jonathan Niles-Weed. The mean-field limit of online stochastic vector balancing. Preprint, arXiv:2605.14149, 2026. 5arxiv.org/abs/2605.14149
  39. [40]David Gamarnik. The overlap gap property: A topological barrier to optimizing over random structures. Proceedings of the National Academy of Sciences, 118(41):e2108492118, 2021. 1, 4DOI
  40. [41]Elizabeth Gardner. The space of interactions in neural network models. Journal of Physics A: Mathematical and General, 21(1):257–270, 1988. 1DOI
  41. [42]Elizabeth Gardner and Bernard Derrida. Optimal storage properties of neural network models. Journal of Physics A: Mathematical and General, 21(1):271–284, 1988. 1
  42. [43]Shuyang Gong, Brice Huang, Shuangping Li, and Mark Sellke. Stable algorithms cannot reliably find isolated perceptron solutions. In 2026 IEEE 67th Annual Symposium on Foundations of Computer Science (FOCS), 2026. 1, 3, 4arxiv.org/abs/2604.00328
  43. [44]David Gamarnik, Aukosh Jagannath, and Alexander S. Wein. Low-degree hardness of random optimization problems. In 2020 IEEE 61st Annual Symposium on Foundations of Computer Science (FOCS), pages 131–140, 2020. 4DOI
  44. [45]David Gamarnik, Eren C. Kızıldağ, Will Perkins, and Changji Xu. Algorithms and barriers in the symmetric binary perceptron model. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 576–587, 2022. 1, 4, 5arxiv.org/abs/2203.15667
  45. [46]David Gamarnik, Eren C. Kızıldağ, Will Perkins, and Changji Xu. Geometric barriers for stable and online algorithms for discrepancy minimization. In Proceedings of the 36th Conference on Learning Theory (COLT), pages 3231–3263, 2023. 4, 5arxiv.org/abs/2302.06485
  46. [47]David Gamarnik, Eren C. Kızıldağ, and Lutz Warnke. Optimal hardness of online algorithms for large independent sets. Preprint, arXiv:2504.11450, 2025. 4
  47. [48]Shuyang Gong and Shuangping Li. Strong freezing in binary perceptron models. Preprint, arXiv:2610.06275, 2026. 1, 2arxiv.org/abs/2610.06275
  48. [49]David Gamarnik, Miklós Z. Rácz, and Gabe Schoenbach. Optimal hardness of online algorithms for large common induced subgraphs. In Proceedings of the 39th Conference on Learning Theory (COLT), pages 2537–2560, 2026. 4
  49. [50]David Gamarnik and Madhu Sudan. Limits of local algorithms over sparse random graphs. The Annals of Probability, 45(4):2353–2376, 2017. 4
  50. [51]David Gamarnik and Madhu Sudan. Performance of sequential local algorithms for the random NAE-K-SAT problem. SIAM Journal on Computing, 46(2):590–619, 2017. 4
  51. [52]Haiping Huang and Yoshiyuki Kabashima. Origin of the computational hardness for learning with binary synapses. Physical Review E, 90:052813, 2014. 1, 2
  52. [53]Brice Huang and Mark Sellke. Tight Lipschitz hardness for optimizing mean field spin glasses. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 312–322, 2022. 4
  53. [54]Brice Huang and Mark Sellke. Strong low degree hardness for stable local optima in spin glasses. In 2026 IEEE 67th Annual Symposium on Foundations of Computer Science (FOCS), 2026. 4
  54. [55]Brice Huang, Mark Sellke, and Nike Sun. Algorithmic threshold for high-dimensional projection pursuit I: general theory. Preprint, arXiv:2608.29416, 2026. 1, 2, 3, 4
  55. [56]Brice Huang. Capacity threshold for the Ising perceptron. In 2024 IEEE 65th Annual Symposium on Foundations of Computer Science (FOCS), pages 1126–1136, 2024. 1, 4arxiv.org/abs/2404.18902
  56. [57]Haiping Huang, K. Y. Michael Wong, and Yoshiyuki Kabashima. Entropy landscape of solutions in the binary perceptron problem. Journal of Physics A: Mathematical and Theoretical, 46(37):375002, 2013. 1, 2DOI
  57. [58]Sunghyeon Jo and Taekyun Lee. The exact online threshold for the asymmetric binary perceptron. Preprint, arXiv:2609.02124, 2026. 1, 2, 3, 4arxiv.org/abs/2609.02124
  58. [59]Sunghyeon Jo and Taekyun Lee. Exact universality of online discrepancy. Preprint, arXiv:2610.00103, 2026. 2, 5arxiv.org/abs/2610.00103
  59. [60]Eren C. Kızldağ and Shuangping Li. Stable and online algorithms for random matrix discrepancy. Preprint, arXiv:2610.01591, 2026. 4, 5
  60. [61]Werner Krauth and Marc Mézard. Storage capacity of memory networks with binary couplings. Journal de Physique, 50(20):3057–3066, 1989. 1, 2, 4DOI
  61. [62]Florent Krzakala, Andrea Montanari, Federico Ricci-Tersenghi, Guilhem Semerjian, and Lenka Zdeborová. Gibbs states and the set of solutions of random constraint satisfaction problems. Proceedings of the National Academy of Sciences, 104(25):10318–10323, 2007. 1, 2
  62. [64]Jeong Han Kim and James R. Roche. Covering cubes by random half cubes, with applications to binary neural networks. Journal of Computer and System Sciences, 56(2):223–252, 1998. 1, 2, 4
  63. [65]Janardhan Kulkarni, Victor Reis, and Thomas Rothvoss. Optimal online discrepancy minimization. In Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC), pages 1832–1840, 2024. 3, 5arxiv.org/abs/2308.01406
  64. [66]Shachar Lovett and Raghu Meka. Constructive discrepancy minimization by walking on the edges. In 2012 IEEE 53rd Annual Symposium on Foundations of Computer Science (FOCS), pages 61–67, 2012. 1, 5
  65. [67]Shuangping Li and Tselil Schramm. Some easy optimization problems have the overlap-gap property. In Proceedings of the 38th Conference on Learning Theory (COLT), pages 3582–3622, 2025. 4
  66. [68]Shuangping Li, Tselil Schramm, and Kangjie Zhou. Discrepancy algorithms for the binary perceptron. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC), pages 1668–1679, 2025. 1, 2, 4, 5arxiv.org/abs/2408.00796
  67. [69]Jiří Matoušek. Geometric discrepancy: An illustrated guide, volume 18 of Algorithms and Combinatorics. Springer-Verlag, Berlin, 1999. 5DOI
  68. [70]Michael Molloy. The freezing threshold for \(k\)-colourings of a random graph. In Proceedings of the 44th Annual ACM Symposium on Theory of Computing (STOC), pages 921–930, 2012. 2
  69. [71]Shuta Nakajima. Uniqueness of replica-symmetric saddle point for Ising perceptron. Preprint, arXiv:2512.23195, 2025. 4arxiv.org/abs/2512.23195
  70. [72]Fedor Nazarov. On the maximal perimeter of a convex set in with respect to a gaussian measure. In Geometric Aspects of Functional Analysis: Israel Seminar 2001-2002, pages 169–187. Springer, 2004. 19DOI
  71. [73]Shuta Nakajima and Nike Sun. Sharp threshold sequence and universality for Ising perceptron models. In Proceedings of the 2023 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 638–674, 2023. 1, 4arxiv.org/abs/2204.03469
  72. [74]Loren D. Pitt. Positively correlated normal variables are associated. The Annals of Probability, 10(2):496–499, 1982. 4DOI
  73. [75]Will Perkins and Changji Xu. Frozen 1-RSB structure of the symmetric Ising perceptron. In Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing (STOC), pages 1579–1588, 2021. 2, 4
  74. [76]Frank Rosenblatt. The perceptron: a probabilistic model for information storage and organization in the brain. Psychological Review, 65(6):386–408, 1958. 1pubmed.ncbi.nlm.nih.gov/13602029
  75. [77]Thomas Rothvoss. Constructive discrepancy minimization for convex sets. In 2014 IEEE 55th Annual Symposium on Foundations of Computer Science (FOCS), pages 140–145, 2014. 5
  76. [78]Mustazee Rahman and Bálint Virág. Local algorithms for independent sets are half-optimal. The Annals of Probability, 45(3):1543–1577, 2017. 4DOI
  77. [79]Yitzchak Shmalo. The storage capacity of the Ising perceptron: verification of the outstanding numerical conditions. Preprint, arXiv:2607.11010, 2026. 4arxiv.org/abs/2607.11010
  78. [80]Joel Spencer. Six standard deviations suffice. Transactions of the American Mathematical Society, 289(2):679–706, 1985. 1DOI
  79. [81]Ashwin Sah and Mehtaab Sawhney. Distribution of the threshold for the symmetric perceptron. In 2023 IEEE 64th Annual Symposium on Foundations of Computer Science (FOCS), pages 2369–2382, 2023. 5arxiv.org/abs/2301.10701
  80. [84]Mihailo Stojnic. Rare dense solutions clusters in asymmetric binary perceptrons – local entropy via fully lifted RDT. Preprint, arXiv:2506.19276, 2025. 2arxiv.org/abs/2506.19276
  81. [85]Michel Talagrand. Intersecting random half cubes. Random Structures & Algorithms, 15(3–4):436–449, 1999. 1, 4doi.org/10.1002/(sici)1098-2418(199910/12)15:3/4<436::aid-rsa11>3.0.co;2-5
  82. [86]Michel Talagrand. Intersecting random half-spaces: toward the Gardner–Derrida formula. The Annals of Probability, 28(2):725–758, 2000. 1, 4DOI
  83. [87]Michel Talagrand. Mean field models for spin glasses. Volume II: Advanced replica-symmetry and low temperature, volume 55 of Ergebnisse der Mathematik und ihrer Grenzgebiete. 3. Folge. Springer, Heidelberg, 2011. 1, 4
  84. [88]Neekon Vafa and Vinod Vaikuntanathan. Symmetric perceptrons, number partitioning and lattices. In Proceedings of the 57th Annual ACM Symposium on Theory of Computing (STOC), pages 2191–2202, 2025. 1, 5arxiv.org/abs/2501.16517
  85. [89]Alexander S. Wein. Optimal low-degree hardness of maximum independent set. Mathematical Statistics and Learning, 4(3):221–251, 2022. 4arxiv.org/abs/2010.06563
  86. [90]Changji Xu. Sharp threshold for the Ising perceptron model. The Annals of Probability, 49(5):2399–2415, 2021. 4arxiv.org/abs/1905.05978
  87. [91]Lenka Zdeborová and Florent Krzakala. Phase transitions in the coloring of random graphs. Physical Review E, 76(3):031131, 2007. 2DOI
  88. [92]Lenka Zdeborová and Marc Mézard. Constraint satisfaction problems with isolated solutions are hard. Journal of Statistical Mechanics: Theory and Experiment, 2008(12):P12004, 2008. 2

Paper details

vlnc:W_cc3upe9v
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents