← All setups

Logistic Defect Cloud Gradient Descent — Logistic Gradient Descent for Strict Separation

Descriptions may be stale. Consult the linked Lean sources.

Logistic Gradient Descent for Strict Separation · Lean proof

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)≤ρ.

Proved result

2⋅n⋅(⌈258⋅(1+aμ)⋅log⁡(1L⋅1r)⌉++1)

OracleTemplate.Convergence LongTails.Setups.LogisticDefectCloud.spec
  OracleTemplate.LogisticDefectCloudGradientDescent.budget

Relevant previous results

No qualifying prior reference verified; this is not a proof of novelty.