Lune

NeurIPS2023Top-tier venue

Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability

Jingfeng Wu, Vladimir Braverman, Jason D. Lee

Abstract

Recent research has observed that in machine learning optimization, gradient descent (GD) often operates at the edge of stability (EoS) [Cohen, et al., 2021], where the stepsizes are set to be large, resulting in non-monotonic losses induced by the GD iterates. This paper studies the convergence and implicit bias of constant-stepsize GD for logistic regression on linearly separable data in the EoS regime. Despite the presence of local oscillations, we prove that the logistic loss can be minimized by GD with any constant stepsize over a long time scale. Furthermore, we prove that with any constant stepsize, the GD iterates tend to infinity when projected to a max-margin direction (the hard-margin SVM direction) and converge to a fixed vector that minimizes a strongly convex potential when projected to the orthogonal complement of the max-margin direction. In contrast, we also show that in the EoS regime, GD iterates may diverge catastrophically under the exponential loss, highlighting the superiority of the logistic loss. These theoretical findings are in line with numerical simulations and complement existing theories on the convergence and implicit bias of GD for logistic regression, which are only applicable when the stepsizes are sufficiently small.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

27 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Understanding Gradient Descent on the Edge of Stability in Deep Learning
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Understanding the unstable convergence of gradient descent
  • Understanding Gradient Descent on the Edge of Stability in Deep Learning cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Understanding Gradient Descent on the Edge of Stability in Deep Learning cites Understanding the unstable convergence of gradient descent
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Understanding Gradient Descent on the Edge of Stability in Deep Learning
  • Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation Theory cites Understanding the unstable convergence of gradient descent
  • Large Stepsizes Accelerate Gradient Descent for Regularized Logistic Regression cites Understanding Gradient Descent on the Edge of Stability in Deep Learning
  • Large Stepsizes Accelerate Gradient Descent for Regularized Logistic Regression cites Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization
  • Learning Associative Memories with Gradient Descent cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • The Implicit Bias of Adam on Separable Data cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • SGD with Large Step Sizes Learns Sparse Features cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization cites Gradient Descent Maximizes the Margin of Homogeneous Neural Networks
  • Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast Optimization cites Understanding the unstable convergence of gradient descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers27

  1. The Implicit Bias of Adam on Separable DataChenyang Zhang, Difan Zou, Yuan CaoNeurIPS 2024 · 37 citations
  2. Trajectory Alignment: Understanding the Edge of Stability Phenomenon via Bifurcation TheoryMinhak Song, Chulhee YunNeurIPS 2023 · 26 citations
  3. Large Stepsize Gradient Descent for Non-Homogeneous Two-Layer Networks: Margin Improvement and Fast OptimizationYuhang Cai, Jingfeng Wu, Song Mei, Michael Lindsey et al.NeurIPS 2024 · 20 citations
  4. Learning Associative Memories with Gradient DescentVivien Cabannes, Berfin Simsek, Alberto BiettiICML 2024 · 13 citations
  5. Large Stepsizes Accelerate Gradient Descent for Regularized Logistic RegressionJingfeng Wu, Pierre Marion, Peter L. BartlettNeurIPS 2025 · 12 citations

Builds on13

  1. Gradient Descent Maximizes the Margin of Homogeneous Neural NetworksKaifeng Lyu, Jian LiICLR 2020 · 402 citations
  2. Understanding Gradient Descent on the Edge of Stability in Deep LearningSanjeev Arora, Zhiyuan Li, Abhishek PanigrahiICML 2022 · 139 citations
  3. Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 citations
  4. Understanding the unstable convergence of gradient descentKwangjun Ahn, Jingzhao Zhang, Suvrit SraICML 2022 · 89 citations
  5. SGD with Large Step Sizes Learns Sparse FeaturesMaksym Andriushchenko, Aditya Vardhan Varre, Loucas Pillaud-Vivien, Nicolas FlammarionICML 2023 · 77 citations

Related papers

  1. Gradient Descent Converges Arbitrarily Fast for Logistic Regression via Large and Adaptive StepsizesRuiqi Zhang, Jingfeng Wu, Peter L. BartlettICML 2025
  2. Beyond the Edge of Stability via Two-step Gradient UpdatesLei Chen, Joan BrunaICML 2023 · 22 citations
  3. On the Convergence Direction of Gradient DescentShuo Chen, Xiaolong Li, Jiaying Peng, Yao ZhaoICLR 2026
  4. Gradient Descent Monotonically Decreases the Sharpness of Gradient Flow Solutions in Scalar Networks and BeyondItai Kreisler, Mor Shpigel Nacson, Daniel Soudry, Yair CarmonICML 2023 · 19 citations
  5. Any-stepsize Gradient Descent for Separable Data under Fenchel-Young LossesHan Bao, Shinsaku Sakaue, Yuki TakezawaNeurIPS 2025 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines