betaFeedback

WorksMathematics

Convergence Analysis of STORM Under Different Geometries

Abstract

Stochastic recursive momentum (STORM) achieves fast convergence for nonconvex optimization via the variance reduction effect, but existing analyses rely on the strong average smoothness assumption. In this paper, we study the convergence of STORM for different objectives without average smoothness. We first revisit the results under average smoothness, obtaining the O(T−1/3)O(T^{-1/3}) bound for nonconvex objectives and the O(σ2/(μT))O(σ^2/(μT)) bound for last-iterate output under the μμ-Polyak–Łojasiewicz~(PL) condition. Without average smoothness, we design an auxiliary sequence and compare the STORM update with it in the analysis. With the help of this sequence, we prove that STORM still attains an O(T−1/4)O(T^{-1/4}) rate for nonconvex objectives, which is optimal under standard smoothness. For convex and λλ-strongly convex objectives, we further prove averaged and last-iterate bounds with optimal rates of O(σR/T)O(σR/\sqrt T) and O(σ2/(λT))O(σ^2/(λT)), respectively. All the obtained results use the same STORM recursion with different hyperparameter choices.

Introduction

In this paper, we consider the stochastic optimization problem

min⁡x∈RdF(x),F(x)=Eξ∼D[f(x;ξ)],(1)\min_{x\in\mathbb{R}^{d}} F(x), \qquad F(x)=\mathbb{E}_{\xi\sim\mathcal{D}}[f(x;\xi)], \tag*{(1)}

where function F(⋅)F(\cdot) is differentiable and LL-smooth. We have access to an unbiased stochastic gradient g(x,ξ)g(x,\xi) with bounded variance such that Eξg(x,ξ)=∇F(x)\mathbb{E}_{\xi}g(x,\xi)=\nabla F(x) and Eξ∥g(x,ξ)−∇F(x)∥2≤σ2\mathbb{E}_{\xi}\lVert g(x,\xi)-\nabla F(x)\rVert^{2}\leq\sigma^{2}. We measure the convergence rate by the expected gradient norm E∥∇F(x)∥\mathbb{E}\lVert\nabla F(x)\rVert for the general nonconvex functions and by the expected function gap E[F(x)]−F∗\mathbb{E}[F(x)]-F^{*} for the other cases.

For nonconvex objectives, stochastic gradient descent (SGD) attains an optimal O(T−1/4)O(T^{-1/4}) convergence rate under the smoothness assumption Ghadimi & Lan [6]. Variance reduction can further improve this rate to O(T−1/3)O(T^{-1/3}) under the additional average smoothness condition Fang et al. [5]; Arjevani et al. (2023). Among such methods, STORM Cutkosky & Orabona [3] is attractive because it uses a constant batch size per iteration and does not require periodically computing gradients with large batches. Starting from d0=g(x0,ξ0)d_{0}=g(x_{0},\xi_{0}), it performs

xt+1=xt−ηtdt,(2)x_{t+1}=x_{t}-\eta_{t}d_{t}, \tag*{(2)}
dt+1=g(xt+1,ξt+1)+(1−at+1)(dt−g(xt,ξt+1)).(3)d_{t+1}=g(x_{t+1},\xi_{t+1})+(1-a_{t+1})\left(d_{t}-g(x_{t},\xi_{t+1})\right). \tag*{(3)}

Here ηt\eta_{t} is the stepsize and at+1a_{t+1} is the momentum parameter.

Although STORM achieves the optimal rate for nonconvex objectives under average smoothness, many issues remain to be investigated. First, existing analysis relies on the stronger average smoothness condition, which assumes that Eξ∥g(x,ξ)−g(y,ξ)∥2≤L2∥x−y∥2\mathbb{E}_{\xi}\lVert g(x,\xi)-g(y,\xi)\rVert^{2}\leq L^{2}\lVert x-y\rVert^{2}. It remains unknown whether STORM can achieve the same O(T−1/4)O(T^{-1/4}) rate as SGD under standard smoothness alone. Second, existing guarantees do not establish optimal convergence rates for convex or strongly convex objectives without the average smoothness assumption.

In this paper, we analyze these questions for the original STORM framework. First, we revisit the previous analysis under average smoothness and obtain the following results through a simpler and more transparent analysis. We do not regard the average smoothness results as the main contribution.

  • With average smoothness, we first improve the previous analysis of STORM, achieving the O(T−1/3)O(T^{-1/3}) rate for nonconvex functions. Compared with previous analysis, we remove the logarithmic factor in the bound and avoid using large batches in the first iteration.

  • With average smoothness and the μ\mu-PL condition, we obtain a last-iterate bound with the convergence rate of O(σ2/(μT))O(\sigma^2/(\mu T)) via a two-phase stepsize design, allowing exponential decay of the initialization term.

Then, we investigate the convergence of STORM without the average smoothness condition, achieving the following results, which are the main contributions of this paper.

  • With standard smoothness, we prove the O(T−1/4)O(T^{-1/4}) convergence rate for STORM, which matches the classical SGD rate and is optimal under standard assumptions.

  • For smooth and convex objectives, we obtain the weighted-mean and last-iterate bounds of order O(LR2/T+σR/T)O(LR^2/T+\sigma R/\sqrt{T}), where RR is the initial distance to a minimizer.

  • For smooth and λ\lambda-strongly convex objectives, we demonstrate that the weighted-mean and last-iterate bounds can be further improved to O(σ2/(λT))O(\sigma^2/(\lambda T)).

Table 1 summarizes the above convergence guarantees, which are all optimal in terms of the iteration number TT under the corresponding settings.

ObjectiveAssumptionOutputConvergence rate
NonconvexASUniform randomT−1/3T^{-1/3}
Nonconvex—Uniform randomT−1/4T^{-1/4}
μ\mu-PLASLast iterateσ2/(μT)\sigma^2/(\mu T)
Convex—Weighted mean; last iterateσR/T\sigma R/\sqrt{T}
λ\lambda-strongly convex—Weighted mean; last iterateσ2/(λT)\sigma^2/(\lambda T)

Table 1. Convergence of STORM under different settings. All rows assume an LL-smooth objective and an unbiased oracle with variance at most σ2\sigma^2. AS denotes average smoothness. The nonconvex rows measure the expected gradient norm, while the other rows measure the expected function gap. Only the dominant term is presented.

Related work

Variance reduction for nonconvex objectives. SARAH (Nguyen et al., [12]) first introduced a recursive estimator based on successive stochastic gradient differences. SPIDER (Fang et al., [5]) then uses this principle to achieve O(ε−3)O(\varepsilon^{-3}) stochastic gradient complexity and O(n+n ε−2)O(n+\sqrt{n}\,\varepsilon^{-2}) finite-sum complexity for ensuring E∥∇F(x)∥≤ε\mathbb{E}\lVert\nabla F(x)\rVert\le\varepsilon, where nn is the number of component functions. These guarantees assume average smoothness. SPIDER periodically refreshes its estimator using a large batch or the full gradient. STORM (Cutkosky & Orabana, [3]) instead incorporates a fresh-gradient difference term at every step, removing these periodic refreshes. However, the original STORM analysis contains logarithmic factors in the rate. In particular, its guarantee is O(log⁡(T)T−2/3)O(\log(T)T^{-2/3}) in expected squared gradient norm, hence O(log⁡(T)T−1/3)O(\sqrt{\log(T)}T^{-1/3}) in expected norm.1 Other variants of STORM have also been investigated in the literature. STORM+ (Levy et al., [9]) obtains O(T−1/3)O(T^{-1/3}) with adaptive parameters under the extra assumption of bounded gradients and bounded objective value. Ada-STORM (Jiang et al., [8]) attains the same rates without additional assumptions but with a large initial batchsize on the order O(T1/3)O(T^{1/3}).

STORM-based methods for convex optimization. The STORM estimator has also been studied beyond nonconvex optimization. Zhang et al. [15] combine the STORM estimator with Frank–Wolfe updates and obtain an O(T−1/2)O(T^{-1/2}) expected function-gap bound for convex objectives. However, their analysis requires a bounded feasible set, samplewise smoothness, and bounded stochastic gradients. More recently, Dahan & Levy [4] combine STORM with anytime averaging in μ2\mu^2-SGD and attain the O(T−1/2)O(T^{-1/2}) rate. Their method evaluates gradients at running averages of a separate projected sequence, and its analysis uses samplewise smoothness and a bounded feasible set.

Variance reduction under the μ\mu-PL condition. The variance reduction technique PAGE (Li et al., [10]) obtains an expected function gap of at most ϵ\epsilon with O((B+BL/μ)log⁡(2Δ0/ϵ))O((B+\sqrt{B\mathcal{L}/\mu})\log(2\Delta_0/\epsilon)) stochastic gradient evaluations, where B=⌈2σ2/(μϵ)⌉B=\lceil2\sigma^2/(\mu\epsilon)\rceil. This result assumes the average smoothness and bounded variance, and its refresh batch depends on the target accuracy. For compositional objectives, RECOVER (Qi et al., 2021) obtains the sample complexity O(max⁡{μ−3/2ϵ−1/2,μ−1ϵ−1})O(\max\{\mu^{-3/2}\epsilon^{-1/2},\mu^{-1}\epsilon^{-1}\}). For stochastic multi-level compositional optimization, Jiang et al. [7] develop stage-wise SMVR using STORM estimators. For objectives satisfying the μ\mu-PL condition, their stage-wise analysis gives complexity O(μ−1ϵ−1+μ−3/2ϵ−1/2)O(\mu^{-1}\epsilon^{-1}+\mu^{-3/2}\epsilon^{-1/2}), which reduces to O((μϵ)−1)O((\mu\epsilon)^{-1}) when ϵ≤μ\epsilon\le\mu.

Assumptions

We now state the assumptions for problem (1). The first two assumptions are used throughout the paper and the remaining assumptions specify the setting of each theorem.

Assumption 1 (Standard smoothness). The differentiable objective F:Rd→RF:\mathbb{R}^d\to\mathbb{R} has finite infimum F∗=inf⁡xF(x)F^*=\inf_x F(x) and satisfies

∥∇F(x)−∇F(y)∥≤L∥x−y∥for all x,y∈Rd.(4)\lVert\nabla F(x)-\nabla F(y)\rVert\le L\lVert x-y\rVert\quad\text{for all }x,y\in\mathbb{R}^d. \tag*{(4)}

Assumption 2 (Stochastic oracle). The stochastic oracle gg is unbiased and has bounded variance:

Eξg(x,ξ)=∇F(x),Eξ∥g(x,ξ)−∇F(x)∥2≤σ2for all x∈Rd.(5)\mathbb{E}_{\xi}g(x,\xi)=\nabla F(x),\qquad\mathbb{E}_{\xi}\lVert g(x,\xi)-\nabla F(x)\rVert^2\le\sigma^2 \quad\text{for all }x\in\mathbb{R}^d. \tag*{(5)}

Assumption 3 (Average smoothness). Stochastic gradient differences satisfy

Eξ∥g(x,ξ)−g(y,ξ)∥2≤L2∥x−y∥2for all x,y∈Rd.(6)\mathbb{E}_{\xi}\lVert g(x,\xi)-g(y,\xi)\rVert^2\le\mathcal{L}^2\lVert x-y\rVert^2 \quad\text{for all }x,y\in\mathbb{R}^d. \tag*{(6)}

Note that this assumption is also called mean-square smoothness. By Jensen’s inequality, Assumptions 2 and 3 imply that FF is also L\mathcal{L}-smooth, so we assume L≤LL\le\mathcal{L} without loss of generality.

Assumption 4 (PL condition). For some 0<μ≤L0<\mu\le L, the objective satisfies

12∥∇F(x)∥2≥μ(F(x)−F∗)for all x∈Rd.(7)\frac{1}{2}\lVert\nabla F(x)\rVert^2\ge\mu(F(x)-F^*) \quad\text{for all }x\in\mathbb{R}^d. \tag*{(7)}

Assumption 5 (Convexity). The objective FF has a minimizer x∗x^* and satisfies

F(y)≥F(x)+⟨∇F(x),y−x⟩for all x,y∈Rd.(8)F(y)\ge F(x)+\langle\nabla F(x),y-x\rangle\quad\text{for all }x,y\in\mathbb{R}^d. \tag*{(8)}

Assumption 6 (Strong convexity). The objective FF has a minimizer x∗x^* and satisfies

F(y)≥F(x)+⟨∇F(x),y−x⟩+λ2∥y−x∥2for all x,y∈Rd.(9)F(y)\ge F(x)+\langle\nabla F(x),y-x\rangle+\frac{\lambda}{2}\lVert y-x\rVert^2 \quad\text{for all }x,y\in\mathbb{R}^d. \tag*{(9)}

Strong convexity also implies the PL condition with μ=λ\mu=\lambda, and the converse does not hold.

We initialize at x0x_0, and define Δ0=F(x0)−F∗\Delta_0=F(x_0)-F^*, R=∥x0−x∗∥R=\lVert x_0-x^*\rVert and κ=L/λ\kappa=L/\lambda when applicable.

Convergence under Average Smoothness

We first revisit the convergence results under average smoothness (Assumption 3). We begin with the general nonconvex objectives, then use the PL condition to obtain the function-gap guarantee.

Nonconvex Objectives

For the STORM algorithm, the estimator dtd_t tracks the true function gradient ∇F(xt)\nabla F(x_t), and we define qt=E∥dt−∇F(xt)∥2q_t = \mathbb{E}\lVert d_t - \nabla F(x_t)\rVert^2 for its mean squared error. Average smoothness bounds the movement error by a term proportional to L2ηt2E∥dt∥2\mathcal{L}^2\eta_t^2\mathbb{E}\lVert d_t\rVert^2 via E∥g(xt+1,ξt+1)−g(xt,ξt+1)∥2≤L2E∥xt+1−xt∥2\mathbb{E}\lVert g(x_{t+1},\xi_{t+1}) - g(x_t,\xi_{t+1})\rVert^2 \le\mathcal{L}^2\mathbb{E}\lVert x_{t+1} - x_t\rVert^2. The descent inequality also contains a negative term involving E∥dt∥2\mathbb{E}\lVert d_t\rVert^2. To cancel them, we use the potential Ψt=E[F(xt)−F∗]+ηqt/(2at)\Psi_t = \mathbb{E}[F(x_t) - F^*] + \eta q_t/(2a_t) to obtain

References

  1. [3]Ashok Cutkosky and Francesco Orabona. Momentum-based variance reduction in non-convex SGD. In Advances in Neural Information Processing Systems, 2019.arxiv.org/abs/1905.10018
  2. [4]Tehila Dahan and Kfir Y. Levy. Do stochastic, feel noiseless: Stable stochastic optimization via a double momentum mechanism. In Proceedings of the 13th International Conference on Learning Representations, 2025.
  3. [5]Cong Fang, Chris Junchi Li, Zhouchen Lin, and Tong Zhang. SPIDER: Near-optimal non-convex optimization via stochastic path-integrated differential estimator. In Advances in Neural Information Processing Systems, 2018.arxiv.org/abs/1807.01695
  4. [6]Saeed Ghadimi and Guanghui Lan. Stochastic first- and zeroth-order methods for nonconvex stochastic programming. SIAM Journal on Optimization, 23(4):2341–2368, 2013.arxiv.org/abs/1309.5549
  5. [7]Wei Jiang, Bokun Wang, Yibo Wang, Lijun Zhang, and Tianbao Yang. Optimal algorithms for stochastic multi-level compositional optimization. In Proceedings of the 39th International Conference on Machine Learning, pp. 10195–10216, 2022.arxiv.org/abs/2202.07530
  6. [8]Wei Jiang, Sifan Yang, Yibo Wang, and Lijun Zhang. Adaptive variance reduction for stochastic optimization under weaker assumptions. In Advances in Neural Information Processing Systems, 2024.arxiv.org/abs/2406.01959
  7. [9]Kfir Levy, Ali Kavis, and Volkan Cevher. STORM+: Fully adaptive SGD with recursive momentum for nonconvex optimization. In Advances in Neural Information Processing Systems, 2021.
  8. [10]Zhize Li, Hongyan Bao, Xiangliang Zhang, and Peter Richtárik. PAGE: A simple and optimal probabilistic gradient estimator for nonconvex optimization. In Proceedings of the 38th International Conference on Machine Learning, pp. 6286–6295, 2021.arxiv.org/abs/2008.10898
  9. [11]Zijian Liu and Zhengyuan Zhou. Revisiting the last-iterate convergence of stochastic gradient methods. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=xxaEhwClI4.arxiv.org/abs/2312.08531
  10. [12]Lam M. Nguyen, Jie Liu, Katya Scheinberg, and Martin Takáč. SARAH: A novel method for machine learning problems using stochastic recursive gradient. In Proceedings of the 34th International Conference on Machine Learning, pp. 2613–2621, 2017.arxiv.org/abs/1703.00102
  11. [14]Sebastian U. Stich. Unified optimal analysis of the (Stochastic) gradient method. arXiv preprint arXiv:1907.04232, 2019.arxiv.org/abs/1907.04232
  12. [15]Mingrui Zhang, Zegang Shen, Aryan Mokhtari, Hamed Hassani, and Amin Karbasi. One sample stochastic Frank–Wolfe. In Proceedings of the 23rd International Conference on Artificial Intelligence and Statistics, pp. 4012–4023, 2020.arxiv.org/abs/1910.04322

Paper details

vlnc:W_3nwbzaqr
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents