cs.LGJul 15, 2025

Gradient Descent on Logistic Regression: Do Large Step-Sizes Work with Data on the Sphere?

Authors: Si Yi Meng, Baptiste Goujaud, Antonio Orvieto, Christopher De Sa

Organizations: Inria Paris, Paris, France · Inria Saclay, Palaiseau, France · ELLIS Institute Tübingen; MPI for Intelligent Systems; Tübingen AI Center, Germany · Department of Computer Science, Cornell University, Ithaca, NY, USA

Abstract

Gradient descent on logistic regression has many fascinating properties not fully captured by classical analyses. For linearly separable data, the iterates converge in direction to the maximum-margin separator regardless of how large the step size is. For non-separable data, however, cycles may occur even for step sizes below the local stability threshold of 2/λ∗2/λ^*, where λ∗λ^* is the largest eigenvalue of the Hessian at the solution. We ask whether requiring all examples to have equal norm is a sufficient condition for global convergence below this threshold. We prove that this is indeed true in one dimension. In higher dimensions, even equal-norm datasets can produce cycles, although global convergence holds for the population loss when the examples are uniformly distributed on the sphere. Finally, in one dimension, we relax the equal-norm assumption to an annulus condition that ensures global convergence below the stability threshold, suggesting a path towards analogous sufficient conditions in higher dimensions.

Figures & tables

Explore similar work

Jun 7, 2024

Gradient Descent on Logistic Regression with Non-Separable Data and Large Step Sizes

We study gradient descent (GD) dynamics on logistic regression problems with large, constant step sizes. For linearly-separable data, it is known that GD converges to the minimizer with arbitrarily large step sizes, a property which no longer holds when the problem is not separable. In fact, the behaviour can be much more complex -- a sequence of period-doubling bifurcations begins at the critical step size 2/λ2/λ, where λλ is the largest eigenvalue of the Hessian at the solution. Using a smaller-than-critical step size guarantees convergence if initialized nearby the solution: but does this suffice globally? In one dimension, we show that a step size less than 1/λ1/λ suffices for global convergence. However, for all step sizes between 1/λ1/λ and the critical step size 2/λ2/λ, one can construct a dataset such that GD converges to a stable cycle. In higher dimensions, this is actually possible even for step sizes less than 1/λ1/λ. Our results show that although local convergence is guaranteed for all step sizes less than the critical step size, global convergence is not, and GD may instead converge to a cycle depending on the initialization.
Oct 5, 2026

Improved Convergence of Large Stepsize Gradient Descent for Logistic Regression

We study gradient descent (GD) with a large constant stepsize for logistic regression on linearly separable data. Existing analysis shows an accelerated rate of O~(1/ε)\widetilde{O}(1/\sqrtε) to reach loss εε with an aggressive stepsize, although the loss may initially oscillate. Tighter control of the oscillatory dynamics has been available only for two-dimensional data. We prove a substantially faster rate in arbitrary dimension: GD with a large stepsize η=1/εη=1/ε reaches loss εε within O(ln⁡p(1/ε))O(\ln^{p}(1/ε)) steps, where pp depends only on the margin and the rank of the data. Our proof improves the bound on the transition time of GD from the oscillatory to the stable phase, after which the loss decreases monotonically. We split the oscillatory phase into recursively nested intervals. The margin and the rank bound the nesting depth, and a counting argument bounds the number of intervals at each depth, together yielding the polylogarithmic step complexity.
Oct 19, 2026

Gradient descent reaches arbitrary accuracy in a fixed number of large steps on multiclass logistic regression

We show that gradient descent (GD) with step size ηη can achieve ε\varepsilon optimality gap on the multiclass logistic regression loss in a number of iterations TT that is independent of ε\varepsilon. To do so, the step size ηη must be chosen large enough as a function of ε\varepsilon (and properties of the linearly separable dataset), while TT is a constant that only depends on the data. The relevant properties of the data include the number of points and their margin (for TT), and one additional quantity (for ηη) that turns out to be necessary in dimension d≥3d \geq 3. The proofs build on the known fact that, as η→∞η\to \infty, suitably rescaled GD becomes the perceptron algorithm, and the latter finds a perfect classifier in TT iterations. A similar claim was shown for two classes in dimension d=2d = 2 using other proof techniques. This result adds to previous works that showed GD on the logistic regression loss can be accelerated by taking large step sizes. Those provoke a wild, oscillatory initial phase, followed by a stable phase. We provide results of this (qualitatively different) nature, too.