← All setups

Logistic Gradient Descent for Strict Separation

Descriptions may be stale. Consult the linked Lean sources.

Logistic Gradient Descent for Strict Separation

We study full-batch gradient descent on a nonconvex logistic loss with weights in Rd+2, where d≥3 is the feature dimension. The data comprise n≥1 copies of a positive reference and n negative examples. In cyclic sum and difference coordinates, the data have prescribed components along three orthonormal directions and centered, bounded perturbations orthogonal to those directions. Each indexed query returns the signed bilinear margin and its gradient with respect to the weights. For a failure tolerance 0<ρ<1, the goal is to return weights giving every example strictly positive signed margin with probability at least 1−ρ over the random initialization.

Write x=(s,t,w)∈R2×Rd and use Euclidean inner products and norms. For b∈Rd, let (Sb)j=b(j−1)modd for j=0,…,d−1, and define b+=b+Sb2,b−=b−Sb2. Let b0 be the reference and b1,…,bn the negative examples. Incorporate the labels into the indexed features by setting ci=b0 and cn+i=−bi for 1≤i≤n. At index i∈{1,…,2n} and point x, the oracle returns (mi(x),∇mi(x)), where mi(x)=s⟨ci+,w⟩+t⟨ci−,w⟩,∇mi(x)=(⟨ci+,w⟩,⟨ci−,w⟩,sci++tci−). The logistic objective and its optimization problem are F(x)=12n∑i=12nlog⁡(1+exp⁡(−mi(x))),infx∈Rd+2F(x). The algorithm receives d,n, the feature scale L, the geometry parameters μ,a, the initialization radius r, and the failure tolerance ρ.

Our assumptions:

Assumption 1 (Parameter regime). The dimensions d,n are integers. The scales satisfy L>0, 0<μ≤1/10, and 0<a≤1/16. The radius r>0 satisfies rL≤(aμρ220(d+2))4.

Assumption 2 (Reference and negative cloud). There exist orthonormal vectors e,u,v∈Rd such that b0+=Le and b0−=0. For each 1≤i≤n, there are zi,yi∈span{e,u,v}⊥ such that bi+=L((1+μa)e−μ1−a2u+zi),bi−=L(−μv+yi). The perturbations satisfy max{∥zi∥,∥yi∥}≤1 for every i and ∑i=1nzi=∑i=1nyi=0.

Gradient descent uses a fixed step size η>0 chosen from the algorithm inputs. Draw g∼N(0,Id+2) and set x0=rg/∥g∥, with x0=0 if g=0. At xk, query indices 1,…,2n in order, keeping the weights fixed throughout the scan. If every margin is strictly positive, keep xk as the output and repeat the final query for any remaining calls. Otherwise, after the full scan, set xk+1=xk+η2n∑i=12n∇mi(xk)1+exp⁡(mi(xk)) and restart at index 1. Each full scan uses 2n oracle calls. At budget exhaustion the output x¯ is the current point, including when the budget ends partway through a scan. With probability taken over g, the required accuracy is P(min1≤i≤2nmi(x¯)≤0)≤ρ.

Results

In Rd, d≥3, the data are n≥1 copies of a positive reference b and n negatives bi. For orthonormal e,u,v, (Sb,Tb)=(Le,0), Sbi=L[(1+μa)e−μ1−a2u+zi], and Tbi=L(−μv+yi). The residuals in each family sum to zero, have norm at most one and are orthogonal to e,u,v. Here L>0, 0<μ≤1/10, 0<a≤1/16, and 0<ρ<1. The setup requires full-batch logistic GD on the score h⟨Sx,w⟩+t⟨Tx,w⟩, starting uniformly on the radius-r sphere with 0<R=rL≤[aμρ/(220(d+2))]4. One query returns an indexed signed margin and its gradient. The target is strictly positive margins on all 2n observations with probability at least 1−ρ.

Strict training separation on translated defect clouds.
Result Oracle complexity Novelty Limitations
(1) LogisticDefectCloudGradientDescent (Ours) (review) O(n(1+a/μ)log⁡(1/R)) calls, including certification and padding.
(2) One-pass readout (derived bound) (Tyurin et al. 2026a) n+1=O(n) calls. Query (h,t,w)=(1,0,0) for the reference and each negative. (1) gives a finite-step guarantee for jointly trained taps and readout. It gives no established classification-cost improvement. (1) pays a large constant times (1+a/μ)log⁡(1/R), where log⁡(1/R)≳log⁡(d/(aμρ)). (2) separates deterministically with the same oracle and needs no initialization.
(3) Linear logistic GD (Tyurin et al. 2026b) O(n) calls for two full passes from zero, with step 16/L2 on the raw inputs. (1) analyzes the bilinear GD trajectory. (1) needs a radius-dependent budget. (3) separates deterministically in two updates with fixed taps.
(4) Single-site two-tap GD (Tyurin et al. 2026c) O((d/δ)log⁡(1/r)) calls for b=1, b1=1+δej, 0<δ≤1/10. (1) uses O(δ−1log⁡(1/R)) calls on the pair in (4), saving a factor of order d for d≳64 at common admissible radii. Its GD guarantee extends to centered residual clouds. On the pair in (4), (1) needs d≥512 and a smaller radius. (4) allows d≥3 and 0<r≤2−24δρ3/2/d2.
(5) Batch perceptron (Tyurin 2026, Thm. 5.2) Ω(d/δ) batch steps on the single-site pair of (4), even from zero with any positive constant step. On the pair in (4), (1) guarantees o(d/δ) calls when log⁡(1/R)=o(d). The lower bound in (5) is specific to batch perceptron.

Abbr: GD = gradient descent. S=(I+P)/2 and T=(I−P)/2, with P the cyclic shift. ej is a coordinate unit vector. On the single-site pair, n=1, L=2d, a=2/d, and μ=δ/2d.

Tyurin, Alexander. 2026. Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration. https://doi.org/10.48550/arXiv.2512.11587.
Tyurin, Alexander, QuocViet Pham, Valentin Khrulkov, and Ivan Oseledets. 2026a. LongTails: Automated Research in Optimization. Repository, Logistic GD on translated defect clouds: novelty assessment (25 November 2026). https://github.com/k3nfalt/longtails/blob/a41f090ac821340a64d03b8734fa87fc8d39946b/scripts/reviews/LogisticDefectCloudGradientDescent.md.
Tyurin, Alexander, QuocViet Pham, Valentin Khrulkov, and Ivan Oseledets. 2026b. LongTails: Automated Research in Optimization. Repository, How quickly does logistic GD find a translated defect? (25 November 2026). https://github.com/k3nfalt/longtails/blob/dd18141aff5633513046478a413d872fd19fa81d/LongTails/Theorems/LogisticDefectCloudGradientDescent.md.
Tyurin, Alexander, QuocViet Pham, Valentin Khrulkov, and Ivan Oseledets. 2026c. LongTails: Automated Research in Optimization. Repository, Finite-radius gradient descent on the two-sample convolutional logistic loss (25 November 2026). https://github.com/k3nfalt/longtails/blob/f2d9aff8e4fdcaf4dc5a6b32e50bc9d1a75ebf11/LongTails/Theorems/FiniteLogisticTwoTapGradientDescent.md.

Lean setup