← All setups

Finite Logistic Two Tap Gradient Descent — Two-Tap Logistic Gradient Descent

Descriptions may be stale. Consult the linked Lean sources.

Two-Tap Logistic Gradient Descent · Lean proof

Two-Tap Logistic Gradient Descent

We study strict separation by a two-tap model with weights in Rd+2, where d≥3 is the feature dimension. The positive example is the all-ones vector, and the negative example differs from it by a small increase in one hidden coordinate. Gradient descent on their nonconvex logistic loss starts from a normalized Gaussian vector scaled to a prescribed radius and keeps the current iterate once it separates both examples. For each selected example, the oracle returns its signed margin and margin gradient at the query point. Both output margins must be strictly positive with probability at least 1−ρ, where 0<ρ<1 is the failure tolerance.

Write the weights as x=(a1,a2,w) with a1,a2∈R and w∈Rd, equipped jointly with the Euclidean norm. Let S denote the cyclic shift (Sb)j=b(j−1)modd, with coordinates indexed from 0 to d−1. For a feature vector b carrying its label as a sign, its margin is mb(x)=a1⟨b,w⟩+a2⟨Sb,w⟩.

Our assumptions:

Assumption 1 (Signed examples and initialization radius). Let i∈{0,…,d−1} be the hidden coordinate. With 1 the all-ones vector and ei the ith coordinate vector, the signed examples are b+=1,b−=−(1+μei). The perturbation size μ and initialization radius r satisfy 0<μ≤110,0<r≤ρμρ224d2.

The algorithm receives d,μ,r,ρ, while i is fixed and hidden. Set ms=mbs for s∈{+,−} and ℓ(t)=log⁡(1+exp⁡(−t)). The empirical logistic objective and its optimization problem are Fi(x)=12(ℓ(m+(x))+ℓ(m−(x))),infx∈Rd+2Fi(x). A query (s,x) returns (ms(x),∇ms(x)), where the margin gradient has components ∂a1ms(x)=⟨bs,w⟩,∂a2ms(x)=⟨Sbs,w⟩,∇wms(x)=a1bs+a2Sbs.

We analyze full-batch gradient descent with a fixed step size η>0. Let G be a measurable Gaussian draw with law N(0,Id+2), where Id+2 is the identity matrix. Set x0=rG/∥G∥ for G≠0 and x0=0 otherwise. At each iterate xk, the method queries + first and − second at the same point. With qk=min{m+(xk),m−(xk)} and σ(t)=(1+exp⁡(−t))−1, the update after the pair of replies is hk=12∑s∈{+,−}σ(−ms(xk))∇ms(xk),xk+1={xk,qk>0,xk+ηhk,qk≤0. After N≥0 oracle calls, the output is x¯=x⌊N/2⌋, since a single reply from an unfinished pair leaves the point unchanged. For every hidden coordinate i, the required accuracy is P(min{m+(x¯),m−(x¯)}≤0)≤ρ, where the probability is over the Gaussian initialization.

Proved result

2⋅⌈−(253⋅dμ⋅log⁡(r))⌉+

OracleTemplate.Convergence LongTails.Setups.FiniteLogisticTwoTap.spec
  OracleTemplate.FiniteLogisticTwoTapGradientDescent.budget

Relevant previous results

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