Towards Weaker Variance Assumptions for Stochastic Optimization

Ahmet Alacaoglu, Yura Malitsky, Stephen J. Wright · OpenReview

Introduction

Standard analyses of Stochastic Gradient Descent (SGD) typically hinge on the "bounded variance" assumption, which posits that the noise in gradient estimates remains uniformly bounded across the entire feasible set. However, in many practical applications—such as linear least squares or quadratic programming—this assumption is fundamentally violated because the gradient's magnitude and variance grow as the optimization variable $x$ moves away from the solution.

Traditionally, researchers have bypassed this issue by assuming a compact (bounded) feasible set or by requiring a fixed time horizon to tune step sizes. This paper explores a more robust alternative: the Blum-Gladyshev (BG) assumption. This condition allows the squared norm of the stochastic subgradient to grow as fast as the squared norm of the optimization variable, providing a more realistic framework for modern optimization challenges.

The Halpern Iteration: Anchoring Against Noise

The core mechanism used to navigate the BG assumption is the Halpern Iteration. Originally developed in the 1960s for finding fixed points of non-expansive maps, the Halpern update introduces an "anchor" to the starting point $x_0$:

$$x_{k+1} = eta_k x_0 + (1 - eta_k) \text{Update}(x_k)$$

The authors identify a critical synergy: the "bad" terms arising from growing variance under the BG assumption are mathematically canceled out by the "good" terms generated by the Halpern anchoring. This allows for stable convergence even when the noise in the system increases as the algorithm explores the space.

Key Methodological Contributions

This research extends the utility of Halpern-based updates in several significant ways:

  • Anytime Convergence: Unlike previous methods that required a fixed computational "horizon" (total steps $K$) to set parameters, this paper utilizes iteration-dependent parameters ($\beta_k, \tau_k$). This makes the algorithm "anytime," maintaining convergence guarantees regardless of when the process is stopped.
  • Last-Iterate Analysis: Most stochastic optimization proofs only guarantee that the average of all iterates is optimal. This paper provides proofs for the last iterate, ensuring that the final point reached by the algorithm is the most accurate.
  • Duality without Boundedness: In constrained optimization, proving feasibility usually requires the dual space to be bounded. By leveraging Halpern-based SGD, the authors demonstrate that one can achieve convergence rates for both objective suboptimality and feasibility without this restrictive assumption.

Complexity and Results

The paper establishes new complexity bounds for several classes of problems under the BG assumption:

  1. Nonsmooth Convex Optimization: The algorithm achieves a last-iterate convergence rate of $O(1/\sqrt{k})$.
  2. Functional Constraints: For problems involving constraints like $g(x) \leq 0$, the framework achieves $O(1/\sqrt{k})$ rates for both the objective gap and constraint violation.
  3. Min-Max Problems: For regularized convex-concave min-max problems (common in robust optimization and GANs), the authors establish a stochastic first-order oracle complexity of $O(\epsilon^{-4})$ to reach an $\epsilon$-accurate solution in terms of the residual norm. This represents the best-known rate for this setting without assuming a bounded feasible set.

Limitations and Future Outlook

While the Halpern anchoring provides a powerful tool for convex problems, its application to non-convex landscapes—such as those found in deep neural networks—remains an open challenge. The current mathematical proofs rely heavily on the properties of convex functions to ensure the anchoring terms can counteract the BG noise. Future work may focus on tightening the $O(\epsilon^{-4})$ complexity for min-max problems and unifying these techniques with modern acceleration methods to further improve efficiency.

Summary updated

Abstract

We revisit a classical assumption for analyzing stochastic gradient algorithms where the squared norm of the stochastic subgradient (or the variance for smooth problems) is allowed to grow as fast as the squared norm of the optimization variable. We contextualize this assumption in view of its inception in the 1960s, its seemingly independent appearance in the recent literature, its relationship to weakest-known variance assumptions for analyzing stochastic gradient algorithms, and its relevance in deterministic problems for non-Lipschitz nonsmooth convex optimization. We build on and extend a connection recently made between this assumption and the Halpern iteration. For convex nonsmooth, and potentially stochastic, optimization, we analyze horizon-free, anytime algorithms with last-iterate rates. For problems beyond simple constrained optimization, such as convex problems with functional constraints or regularized convex-concave min-max problems, we obtain rates for optimality measures that do not require boundedness of the feasible set.
BibTeX
@misc{alacaoglu2025towards,
  author = {Ahmet Alacaoglu and Yura Malitsky and Stephen J. Wright},
  title = {{Towards Weaker Variance Assumptions for Stochastic Optimization}},
  year = {2025},
  eprint = {2504.09951},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09951},
}
Figure