English

Large Stepsize Gradient Descent for Logistic Loss: Non-Monotonicity of the Loss Improves Optimization Efficiency

Machine Learning 2024-06-11 v2 Machine Learning

Abstract

We consider gradient descent (GD) with a constant stepsize applied to logistic regression with linearly separable data, where the constant stepsize η\eta is so large that the loss initially oscillates. We show that GD exits this initial oscillatory phase rapidly -- in O(η)\mathcal{O}(\eta) steps -- and subsequently achieves an O~(1/(ηt))\tilde{\mathcal{O}}(1 / (\eta t) ) convergence rate after tt additional steps. Our results imply that, given a budget of TT steps, GD can achieve an accelerated loss of O~(1/T2)\tilde{\mathcal{O}}(1/T^2) with an aggressive stepsize η:=Θ(T)\eta:= \Theta( T), without any use of momentum or variable stepsize schedulers. Our proof technique is versatile and also handles general classification loss functions (where exponential tails are needed for the O~(1/T2)\tilde{\mathcal{O}}(1/T^2) acceleration), nonlinear predictors in the neural tangent kernel regime, and online stochastic gradient descent (SGD) with a large stepsize, under suitable separability conditions.

Keywords

Cite

@article{arxiv.2402.15926,
  title  = {Large Stepsize Gradient Descent for Logistic Loss: Non-Monotonicity of the Loss Improves Optimization Efficiency},
  author = {Jingfeng Wu and Peter L. Bartlett and Matus Telgarsky and Bin Yu},
  journal= {arXiv preprint arXiv:2402.15926},
  year   = {2024}
}

Comments

COLT 2024 camera ready