TL;DR
This paper tackles a long-standing gap in Stochastic Gradient Descent (SGD) theory: while theoretical analyses often focus on averaged iterates, practitioners prefer the final iterate. The authors introduce novel step-size sequences that achieve information-theoretically optimal convergence rates for the last iterate of SGD and its deterministic counterpart, Gradient Descent (GD), for both convex and strongly convex problems.
What Problem Does This Paper Address?
Stochastic Gradient Descent (SGD) is a workhorse for large-scale optimization, but its theoretical guarantees often apply to the average of its iterates, not the final one. In practice, however, the last iterate is what's used. Previous theoretical work showed that for the last iterate, SGD's convergence rate is suboptimal by a logarithmic factor ($\log T$) compared to the theoretical best possible. This suboptimality was even shown to be tight for standard step-size sequences. This paper asks: can we achieve optimal rates for the last iterate by simply changing the step-size sequence?
Methods
The core of the paper is a step-size modification scheme. This scheme takes a standard, "well-behaved" step-size sequence (one that guarantees good performance for averaged iterates) and transforms it into a new sequence. The key idea is that this modified sequence allows the last iterate of SGD (or GD) to achieve the same optimal suboptimality bounds that were previously only guaranteed for the averaged iterates. They also develop techniques to prove these results with high probability, not just in expectation.
Datasets
Not discussed in the paper. The experiments use synthetic data for Lasso regression and SVM training.
Key Insights and Ideas
- The "Last Iterate" Problem is Real: The paper confirms that the suboptimality of the last iterate is not an artifact of the stochastic nature of SGD but a fundamental issue with standard step-size choices, even for deterministic Gradient Descent.
- Step Sizes are Key: The authors demonstrate that by carefully designing step-size sequences, we can overcome the logarithmic gap and achieve theoretically optimal convergence for the final iterate.
- Bridging Theory and Practice: This work provides a theoretical justification for why practitioners might observe good performance with SGD, even when theoretical analyses focus on averages. The proposed method offers a way to achieve that practical performance with provable guarantees.
- A Priori Knowledge of T is Helpful: The proposed optimal step-size sequences require knowing the total number of iterations ($T$) in advance. This is a trade-off for achieving optimality, as "any-time" algorithms (without knowing $T$) still incur the $\log T$ suboptimality.
Key Results
- Optimal Rates for Last Iterate: The paper proves that their novel step-size sequences achieve information-theoretically optimal suboptimality bounds for the last iterate of SGD and GD on both general convex and strongly convex functions.
- For general convex functions: $O(1/\sqrt{T})$ error.
- For strongly convex functions: $O(1/T)$ error.
- High-Probability Guarantees: They also provide high-probability versions of these results, showing that the optimal rates hold with high probability.
- Empirical Validation: Simulations on Lasso regression and SVM training demonstrate that their proposed step-size sequence leads to significantly better final iterate performance compared to standard step-size sequences.
Limitations and Future Work
- Requires Knowing T: The main limitation is that the proposed step-size sequences require prior knowledge of the total number of iterations ($T$). The authors conjecture that this is fundamental for achieving optimal "any-time" algorithms and provide lower bounds for the strongly convex case to support this.
- Future Work: The paper suggests exploring "any-time" algorithms that can achieve optimal rates without knowing $T$ in advance, though they anticipate the $\log T$ factor will persist. They also provide lower bounds for the strongly convex case, indicating that achieving optimal rates for the last iterate without knowing $T$ is challenging.
Summary updated