NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Gradient Descent’s Last Iterate is Often (slightly) Suboptimal

Guy Kornowski, Ohad Shamir

NeurIPS page · Open on the map

Category: Optimization & Federated Learning › Stochastic Optimization Theory · Type: theory · Keywords: gradient descent, last iterate convergence, anytime stepsize, convex optimization, SGD, convergence rates

Areas: Optimization & Algorithms › Optimization Guarantees › Optimization Algorithms

Summary

We prove that gradient descent and stochastic gradient descent cannot achieve optimal last-iterate convergence rates without knowing the total number of steps, showing an unavoidable poly-logarithmic suboptimality.

Explained to a 5-year-old

Imagine you have a hill and you want to find the lowest point by walking downhill step by step. If you don't know how many steps you will take, you can only get close to the bottom, not exactly there. Even if you try to choose the right step size each time, you cannot make the final spot perfect. This happens for both regular walking (gradient descent) and when you add a little noise to each step (stochastic gradient descent). So sometimes the best you can do is a little bit off, and that's okay.

Explained to a 5-year-old, longer

You have a hill and you want to find the lowest spot. You can only move a little at a time, going downhill. If you know exactly how many steps you will take, you can plan your steps to land right at the bottom. But if you don't know how many steps you will take, you have to guess your step size each time. No matter how clever your guesses are, you sometimes end up a little above the bottom. This happens even if you try to make the steps smaller and smaller. The same idea works for a robot that walks on a hill while feeling a little noise. Even with noise, the robot cannot guarantee perfect landing without knowing the total steps. So the best you can do is get close, but not exactly at the lowest point. This limitation is true for many problems where you need to find the best answer by trying many steps. It tells us that sometimes being a little off is unavoidable. Understanding this helps designers of algorithms set realistic expectations.

For a technical reader

The paper shows that you cannot guarantee the optimal convergence rate of gradient descent’s final point unless you know ahead of time how many iterations you will run. Even with clever step-size schedules, any “anytime” method (one that works for any horizon) inevitably leaves a small poly-logarithmic error term. This result holds for both plain gradient descent and its noisy stochastic variant, meaning the limitation is fundamental to iterative optimization. This implies that practical optimizers using generic step-size rules will typically end a few percent worse than the theoretical optimum after a large number of steps. Engineers should therefore accept that perfect last-iterate performance is unattainable without horizon knowledge and design systems that tolerate the inherent suboptimality.

Problem

Can one design stepsize schedules that guarantee optimal 1/sqrtT last-iterate error for convex Lipschitz optimization without prior knowledge of the horizon T?

Method

We establish an impossibility result, proving that any stepsize sequence that works for any horizon incurs an extra poly-log factor in T for both gradient descent and stochastic gradient descent, even in the noiseless case.

Contributions

We resolve the conjecture of Jain et al. by showing that optimal last-iterate convergence cannot be achieved without knowing T, and we extend the lower bound to gradient descent, demonstrating that poly-log suboptimality is inherent for anytime guarantees.

Limitations and assumptions

The result assumes the objective is convex and Lipschitz smooth and that stepsizes are chosen without knowledge of T.

Practical relevance

The findings set fundamental limits on stepsize selection for iterative optimization, guiding practitioners to accept inherent suboptimality when using anytime schedules.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction