Lune

AAAI2025Top-tier venue

From Logistic Regression to the Perceptron Algorithm: Exploring Gradient Descent with Large Step Sizes

Alexander Tyurin

Abstract

We focus on the classification problem with a separable dataset, one of the most important and classical problems from machine learning. The standard approach to this task is logistic regression with gradient descent (LR+GD). Recent studies have observed that LR+GD can find a solution with arbitrarily large step sizes, defying conventional optimization theory. Our work investigates this phenomenon and makes three interconnected key observations about LR+GD with large step sizes. First, we find a remarkably simple explanation of why LR+GD with large step sizes solves the classification problem: LR+GD reduces to a batch version of the celebrated perceptron algorithm when the step size tends to infinity. Second, we observe that larger step sizes lead LR+GD to higher logistic losses when it tends to the perceptron algorithm, but larger step sizes also lead to faster convergence to a solution for the classification problem, meaning that logistic loss is an unreliable metric of the proximity to a solution. Surprisingly, high loss values can actually indicate faster convergence. Third, since the convergence rate in terms of loss function values of LR+GD is unreliable, we examine the iteration complexity required by LR+GD with large step sizes to solve the classification problem and prove that this complexity is suboptimal. To address this, we propose a new method, Normalized LR+GD – based on the connection between LR+GD and the perceptron algorithm – with much better theoretical guarantees.

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.

3 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

  • Any-stepsize Gradient Descent for Separable Data under Fenchel-Young Losses cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Any-stepsize Gradient Descent for Separable Data under Fenchel-Young Losses cites Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability
  • Any-stepsize Gradient Descent for Separable Data under Fenchel-Young Losses cites Understanding the unstable convergence of gradient descent
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Language Models are Few-Shot Learners
  • Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction cites Understanding the unstable convergence of gradient descent
  • Gradient Descent Converges Arbitrarily Fast for Logistic Regression via Large and Adaptive Stepsizes cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Gradient Descent Converges Arbitrarily Fast for Logistic Regression via Large and Adaptive Stepsizes cites Understanding the unstable convergence of gradient descent
  • Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability cites Understanding the unstable convergence of gradient descent
  • Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability cites Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stability
  • Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration cites Gradient Descent Converges Arbitrarily Fast for Logistic Regression via Large and Adaptive Stepsizes
  • Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration cites Implicit Bias of Gradient Descent for Logistic Regression at the Edge of Stability
  • Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration cites Understanding the unstable convergence of gradient descent
  • Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit Acceleration cites Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stability
  • Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stability cites Understanding the Generalization Benefit of Normalization Layers: Sharpness Reduction
  • Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of Stability cites Understanding the unstable convergence of gradient descent
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Any-stepsize Gradient Descent for Separable Data under Fenchel-Young LossesHan Bao, Shinsaku Sakaue, Yuki TakezawaNeurIPS 2025 · 2 citations
  2. Gradient Descent Converges Arbitrarily Fast for Logistic Regression via Large and Adaptive StepsizesRuiqi Zhang, Jingfeng Wu, Peter L. BartlettICML 2025
  3. Gradient Descent as a Perceptron Algorithm: Understanding Dynamics and Implicit AccelerationAlexander TyurinICML 2026

Builds on11

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Understanding the Generalization Benefit of Normalization Layers: Sharpness ReductionKaifeng Lyu, Zhiyuan Li, Sanjeev AroraNeurIPS 2022 · 111 citations
  3. Understanding the unstable convergence of gradient descentKwangjun Ahn, Jingzhao Zhang, Suvrit SraICML 2022 · 89 citations
  4. Analyzing Sharpness along GD Trajectory: Progressive Sharpening and Edge of StabilityZixuan Wang, Zhouzi Li, Jian LiNeurIPS 2022 · 71 citations
  5. Implicit Bias of Gradient Descent for Logistic Regression at the Edge of StabilityJingfeng Wu, Vladimir Braverman, Jason D. LeeNeurIPS 2023 · 46 citations

Related papers

  1. Large Stepsizes Accelerate Gradient Descent for Regularized Logistic RegressionJingfeng Wu, Pierre Marion, Peter L. BartlettNeurIPS 2025 · 12 citations
  2. Local Steps Speed Up Local GD for Heterogeneous Distributed Logistic RegressionMichael Crawshaw, Blake Woodworth, Mingrui LiuICLR 2025
  3. On Accelerated Perceptrons and BeyondGuanghui Wang, Rafael Hanashiro, Etash Kumar Guha, Jacob D. AbernethyICLR 2023
  4. The Implicit Bias of Adam on Separable DataChenyang Zhang, Difan Zou, Yuan CaoNeurIPS 2024 · 37 citations
  5. Constant Stepsize Local GD for Logistic Regression: Acceleration by InstabilityMichael Crawshaw, Blake Woodworth, Mingrui LiuICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines