← All setups

Noisy Two-Sample Perceptron

Descriptions may be stale. Consult the linked Lean sources.

Noisy Two-Sample Perceptron

We study strict separation of two samples by a noisy two-tap perceptron with weights in Rd+2, where d≥2 is the feature dimension. A hidden coordinate determines the second sample and a direction along which the given starting point has a prescribed minimum absolute projection. For each queried sample, the oracle returns its signed margin and the gradient of that margin. The perceptron uses independent Gaussian perturbations on updates. For a failure tolerance 0<ρ<1, the goal is an output with both signed margins strictly positive with probability at least 1−ρ.

Write the weights as x=(u,v,w), with u,v∈R and w∈Rd. Index feature coordinates by 0,…,d−1 modulo d, and let S denote the cyclic shift (Sb)j=bj−1. For a signed feature vector b, the two taps give the margin mb(x)=u⟨b,w⟩+v⟨Sb,w⟩. With signed feature vectors b0,b1, the separation problem is to find x∈Rd+2 satisfying minj∈{0,1}mbj(x)>0. The algorithm receives d, the feature perturbation μ, the starting point x0, the signal threshold s, and the failure tolerance ρ.

Our assumptions:

Assumption 1 (Sample pair and initial signal). Let 0<μ≤1/10 and s>0. For each coordinate k, define hk(x)=−u+v+wk−wk+12. The set {k:|hk(x0)|≥s} is nonempty. The instance is any hidden index i in this set. With 1 the all-ones vector and ei the ith coordinate vector in Rd, the signed samples are b0=1,b1=−(1+μei).

At a query (j,x), the oracle returns (mbj(x),gbj(x)), where gb(x)=∇mb(x)=(⟨b,w⟩,⟨Sb,w⟩,ub+vSb). We analyze the noisy two-sample perceptron with fixed step size η>0 and noise scale σ>0, both chosen from the algorithm inputs. Let (ξk)k≥0 be independent measurable random vectors with common law N(0,Id+2) under the algorithm’s randomness. Starting at the given x0, the method queries sample 0 and then sample 1 at the same point xk in round k. Write mjk=mbj(xk) and gjk=gbj(xk). After the second reply, the iterate is xk+1={xk+ηg0k+σξk,m0k≤0,xk+ηg1k+σξk,m0k>0, m1k≤0,xk,m0k>0, m1k>0. For an oracle-call budget B∈N0, the output is the current iterate x¯=x⌊B/2⌋. For every admissible hidden index, it must satisfy P(minj∈{0,1}mbj(x¯)≤0)≤ρ, where P is the law of the algorithm’s randomness.

Results

A two-tap cyclic convolutional classifier has labeled samples (1,+1) and (1+μei,−1), with hidden i, d≥2 and 0<μ≤1/10. At the fixed start x0=(c1,c2,u), a known s>0 bounds the slow projection magnitude hi from below. Each round queries the exact signed margin and gradient of each sample at the current weights. The required perceptron update takes a fixed positive step along the gradient of the earliest sample with nonpositive margin and adds an independent isotropic Gaussian perturbation. A strict separator stays fixed. For 0<ρ<1, the last iterate must have two strictly positive margins with probability at least 1−ρ.

Sufficient sample-query budgets for the noisy two-sample quadratic perceptron.
Result Oracle complexity Novelty Limitations
(1) NoisyTwoSampleQuadraticPerceptron (Ours) (review) O(K(s)log⁡K(s)) sample queries, two per round, with step 1/(4d).
(2) Noisy perceptron (Tyurin 2026, Thm. 5.1) O(K(hi)log⁡K(hi)) sample queries, at most two per step. (1) formalizes the bound, matching its constants when s=hi. Any certified s suffices for tuning. A cyclic relabeling gives the hidden-index case. (1) has a larger stated bound when s<hi.
(3) Noiseless perceptron (LongTails 2026) O((1+Xlog⁡r)log(rS(1/a+X3/|z|))) sample queries on this pair for d≥3 and cone starts. Each joint query costs two sample queries. (1) covers every start with hi>0. The cone in (3) requires τ(p+q)>0, τ(p−q)≥0 and z≠0. The sign conditions hold with probability 1/4 under isotropic Gaussian initialization. (1) needs noise tuned to s, the horizon and ρ. (3) guarantees deterministic separation and covers additional sample pairs and a width-one two-layer model. The rates are not directly comparable.
(4) Derived bound, unrestricted separator search (Tyurin 2026, Eq. (5)) O(1): one gradient query on the negative sample at filter (1,0) and readout 0 reveals i. (1): no established improvement. (1) has a d/μ factor before logarithms for the prescribed updates. With the same oracle, (4) can construct a strict separator directly from i.

Abbr: j=i+1 cyclically, hi=|−c1+c2+ui−uj|/2, X=d/μ, C(t)=∥x0∥2/t2, and K(t)=X(1+log⁡(C(t)/ρ))log(XC(t)). For (3), p=(c1+c2)/2, q=⟨u,1⟩/d, v=ei+ej−21/d, z=⟨u,v⟩/∥v∥, τ=−sign(z), a=τ(p+q), S=2(|p|+|z|), and r=max{1,|c1−c2+ui−uj|/(2hi)}.

LongTails. 2026. Deterministic Implicit Acceleration of the Two-Sample Quadratic Perceptron. Repository theorem and mathematical note, revision 1a1868d. https://github.com/k3nfalt/longtails/blob/1a1868d092c180b26a75aa001b5ce8ac29254fa3/LongTails/Theorems/TwoSampleQuadraticPerceptronAcceleration.md.
Tyurin, Alexander. 2026. “Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration.” Proceedings of the 43rd International Conference on Machine Learning, Proceedings of machine learning research, vol. 306: 122808–75. https://proceedings.mlr.press/v306/tyurin26a.html.

Lean setup