Convergence Rate of the Last Iterate of Stochastic Proximal Algorithms

Kevin Kurian Thomas Vaidyan, Michael Friedlander, Ahmet AlacaogluICML 2026

Introduction

In the realm of machine learning and convex optimization, there has long been a disconnect between theoretical guarantees and practical application. Standard optimization theory for Stochastic Gradient Descent (SGD) typically relies on two unrealistic assumptions: that the variance of gradient estimates is strictly bounded, and that practitioners will use the average of all iterates as their final model. In reality, gradient noise often grows as we move further from the optimal solution, and practitioners almost universally deploy the last iterate—the final model weights—because it is computationally simpler and often yields better performance.

This paper bridges this significant gap for "composite" optimization problems. By providing the first optimal convergence proof for the last iterate of stochastic proximal algorithms without relying on the restrictive bounded variance assumption, the authors demonstrate that common practice is, in fact, mathematically sound.

The Challenge of Composite Optimization

Many modern machine learning tasks are formulated as composite optimization problems: $\min f(x) + g(x)$, where $f(x)$ is a smooth loss function (such as least squares or cross-entropy) and $g(x)$ is a nonsmooth regularizer (such as the $\ell_1$ norm used to enforce sparsity).

While recent theoretical advancements have resolved the bounded variance and iterate averaging issues for unconstrained SGD, extending these fixes to proximal methods—which are required to handle the nonsmooth $g(x)$ term—is notoriously difficult. The proximal operator is inherently nonlinear, which breaks the standard mathematical tools used to analyze SGD. This paper directly tackles that nonlinearity to prove last-iterate convergence under realistic, unbounded variance conditions.

Methodology and Theoretical Innovations

The authors focus their analysis on two primary algorithms:

  1. Proximal SGD (SPGD): The standard algorithm for regularized problems, alternating between a stochastic gradient step on the smooth loss $f$ and a proximal operator step for the regularizer $g$.
  2. Randomized Incremental Proximal Method (RIPM): A more advanced method utilized when the regularizer $g$ decomposes into a sum of many nonsmooth functions, a scenario common in multi-task and federated learning.

To bypass the bounded variance requirement, the researchers leverage co-coercivity, a property of smooth convex functions that allows the variance of the gradient to be bounded by the objective function's value itself. This means that as long as the variance is finite at the optimal solution, the algorithm will converge; the noise does not need to be small everywhere.

To handle the nonlinearity of the proximal operator, the authors employ a "three-point identity" combined with a clever "last-iterate reduction" technique. Inspired by recent optimization literature, this approach uses a weighted sequence to telescope the errors across iterations, successfully isolating the behavior of the final step.

Key Findings and Empirical Validation

The theoretical analysis yields a striking result: both SPGD and RIPM achieve a convergence rate of $\widetilde{O}(1/\sqrt{T})$ for the last iterate. This matches the best-known rates for unconstrained SGD and is optimal for this class of problems. Furthermore, these bounds are $N$-independent, meaning the guarantees hold even for infinite data streams or massive-scale datasets.

The authors validated their theoretical findings across three distinct datasets:

  • Synthetic Lasso Data: Testing basic $\ell_1$ regularization.
  • MNIST: Evaluating $\ell_1$-regularized multiclass logistic regression.
  • Sacramento Housing Dataset: Solving a "Network Lasso" problem to predict house prices while encouraging neighboring houses in a geographical graph to share similar model parameters.

Across all experiments, the last iterate consistently outperformed the averaged iterate by reaching a lower optimality gap. The results also apply directly to modern distributed settings, providing theoretical backing for algorithms like BlockProx used in decentralized and federated learning.

Limitations and Future Directions

While this work represents a major step forward, the authors note a few limitations that pave the way for future research:

  • The Logarithmic Factor: The $\widetilde{O}(1/\sqrt{T})$ convergence rate includes an extra $\ln(T+1)$ term compared to averaged iterates. Future work could investigate whether this logarithmic penalty can be entirely removed.
  • Lipschitz Requirements: For the incremental proximal method (RIPM), the regularizer components must still be Lipschitz continuous. Lifting this requirement to accommodate indicator functions in constrained optimization is a promising next step.
  • Sampling Strategies: The current proofs assume independent and identically distributed (i.i.d.) sampling. Extending this framework to "Random Reshuffling" (sampling without replacement)—which is even more prevalent in practice—remains an open and exciting challenge.

Summary updated

BibTeX
@inproceedings{vaidyan2026convergence,
  author = {Kevin Kurian Thomas Vaidyan and Michael Friedlander and Ahmet Alacaoglu},
  title = {{Convergence Rate of the Last Iterate of Stochastic Proximal Algorithms}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=lgELNxtUNn},
}
Figure