Assumption 1 (Standard smoothness). There exists L ≥ 0 L\geq 0 L ≥ 0 such that, for every x , y ∈ R d x, y \in \mathbb{R}^d x , y ∈ R d ,
∥ ∇ f ( x ) − ∇ f ( y ) ∥ ≤ L ∥ x − y ∥ . \|\nabla f(x) - \nabla f(y)\| \leq L\left\|x-y\right\|. ∥∇ f ( x ) − ∇ f ( y ) ∥ ≤ L ∥ x − y ∥ .
Assumption 2 (Unbiased gradients and bounded variance). For every x ∈ R d x \in \mathbb{R}^d x ∈ R d ,
E ξ [ ∇ f ( x ; ξ ) ] = ∇ f ( x ) , E ξ ∥ ∇ f ( x ; ξ ) − ∇ f ( x ) ∥ 2 ≤ σ 2 . \mathbb{E}_{\xi}[\nabla f(x;\xi)] = \nabla f(x),\qquad \mathbb{E}_{\xi}\left\|\nabla f(x;\xi) - \nabla f(x)\right\|^2 \leq \sigma^2. E ξ [ ∇ f ( x ; ξ )] = ∇ f ( x ) , E ξ ∥ ∇ f ( x ; ξ ) − ∇ f ( x ) ∥ 2 ≤ σ 2 .
Assumption 3 (Lower bounded objective). The value f ∗ : = inf x ∈ R d f ( x ) f_* := \inf_{x \in \mathbb{R}^d} f(x) f ∗ := inf x ∈ R d f ( x ) is finite. For the initial point x 1 x_1 x 1 , let Δ f = f ( x 1 ) − f ∗ \Delta_f = f(x_1) - f_* Δ f = f ( x 1 ) − f ∗ .
The stronger rate uses the following additional property. However, our algorithms do not need to know whether it holds.
Assumption 4 (Average smoothness). There exists L ˉ ≥ 0 \bar{L} \ge 0 L ˉ ≥ 0 such that, for every x , y ∈ R d x, y \in \mathbb{R}^d x , y ∈ R d ,
E ξ ∥ ∇ f ( x ; ξ ) − ∇ f ( y ; ξ ) ∥ 2 ≤ L ˉ 2 ∥ x − y ∥ 2 . (2) \mathbb{E}_{\xi}\left\|\nabla f(x;\xi) - \nabla f(y;\xi)\right\|^2 \leq \bar{L}^2\left\|x-y\right\|^2. \tag{2} E ξ ∥ ∇ f ( x ; ξ ) − ∇ f ( y ; ξ ) ∥ 2 ≤ L ˉ 2 ∥ x − y ∥ 2 . ( 2 )
Average smoothness is also called mean-squared smoothness. The noiseless setting corresponds to σ = 0 \sigma = 0 σ = 0 in Assumption 2. Neither algorithm uses L L L , L ˉ \bar{L} L ˉ , σ \sigma σ , Δ f \Delta_f Δ f , or function values. We do not assume bounded gradients, a bounded domain, a bounded range of objective values, or higher noise moments. We define the notation
N ( v ) = { v / ∥ v ∥ , v ≠ 0 , 0 , v = 0. \mathcal{N}(v) = \begin{cases} v / \|v\|, & v \neq 0, \\ 0, & v = 0. \end{cases} N ( v ) = { v /∥ v ∥ , 0 , v = 0 , v = 0.
For points with positive weights w t w_t w t , a weighted reservoir stores one point by replacing its current value with the t t t -th point with probability w t / ∑ s = 1 t w s w_t / \sum_{s=1}^t w_s w t / ∑ s = 1 t w s . For any sequence of points and weights, the probability of retaining the t t t -th point after n n n steps is therefore w t / ∑ s = 1 n w s w_t / \sum_{s=1}^n w_s w t / ∑ s = 1 n w s . This implementation stores a single point instead of the entire path.
3 The proposed method for a known budget
Our first algorithm uses the budget T T T to choose the length of two optimization phases. Its first phase combines normalized stochastic gradient steps with normalized momentum. It provides the standard smooth guarantee and accelerates automatically when the oracle is noiseless. The second phase applies normalized variance reduction from the current point. For T ≥ 6 T \geq 6 T ≥ 6 , set
n = max { k ∈ N : 4 k + 2 ⌈ k 2 / 3 ⌉ ≤ T } , b = ⌈ n 2 / 3 ⌉ . (3) n=\max\{k\in\mathbb{N}:4k+2\lceil k^{2/3}\rceil\leq T\},\qquad b=\lceil n^{2/3}\rceil. \tag{3} n = max { k ∈ N : 4 k + 2 ⌈ k 2/3 ⌉ ≤ T } , b = ⌈ n 2/3 ⌉ . ( 3 )
Here n is the length of each optimization phase, and b is the number of validation samples used at each candidate. The parameters are
η D = n − 1 / 2 , η S = n − 3 / 4 , β S = n − 1 / 2 , η V = β V = n − 2 / 3 . (4) \eta_{D}=n^{-1/2},\qquad\eta_{S}=n^{-3/4},\qquad\beta_{S}=n^{-1/2},\qquad\eta_{V}=\beta_{V}=n^{-2/3}. \tag{4} η D = n − 1/2 , η S = n − 3/4 , β S = n − 1/2 , η V = β V = n − 2/3 . ( 4 )
3.1 Updates and outputs
The first phase starts in the direct-gradient mode. At its current point, draw two independent stochastic gradients G t G_t G t , G t ′ G'_t G t ′ . As long as
∥ G t − G t ′ ∥ ≤ n − 1 / 2 , (5) \left\|G_{t}-G_{t}^{\prime}\right\|\leq n^{-1/2}, \tag{5} ∥ G t − G t ′ ∥ ≤ n − 1/2 , ( 5 )
take a normalized step using G t G_t G t and step size η D \eta_D η D . At the first failure of (5), switch permanently to normalized momentum with parameters η S , β S \eta_S, \beta_S η S , β S . On that round, draw one independent gradient to initialize the momentum estimator. On all later rounds of the first phase, use one fresh gradient in the momentum update. The above test does not determine whether the oracle is noiseless. A noisy oracle may also pass it. The analysis accounts for these accepted noisy steps directly. In the noiseless setting, the test always passes, so the entire phase becomes normalized gradient descent.
Let η t \eta_t η t be the step size used at round t ≤ n t \leq n t ≤ n , and write W t = ∑ s = 1 t η s W_t = \sum_{s=1}^t \eta_s W t = ∑ s = 1 t η s . The first phase maintains a weighted reservoir: after deciding the current mode and step size, replace its stored point by x t x_t x t with probability η t / W t \eta_t / W_t η t / W t . Freeze the resulting candidate X G X_G X G at the end of the phase. For any optimization path, the reservoir selects index t t t with probability η t / ( ∑ s = 1 t η s ) \eta_t / (\sum_{s=1}^t \eta_s) η t / ( ∑ s = 1 t η s ) .
The second phase starts at x n + 1 x_{n+1} x n + 1 and uses the normalized STORM update. It maintains a uniform reservoir over its n points, giving a candidate X V X_V X V . During the first b rounds of this phase, accumulate one independent validation gradient at X G X_G X G per round. After freezing X V X_V X V , take one validation gradient at X V X_V X V in each of b additional rounds. No optimization updates are needed in the final validation rounds.
3.2 Guarantees
Since ⌈ k 2 / 3 ⌉ ≤ k \lceil k^{2/3} \rceil \leq k ⌈ k 2/3 ⌉ ≤ k , the choice in (3) gives n ≥ ⌊ T / 6 ⌋ ≥ T / 12 n \geq \lfloor T/6 \rfloor \geq T/12 n ≥ ⌊ T /6 ⌋ ≥ T /12 for T ≥ 6 T \geq 6 T ≥ 6 . Also, b ≥ n 2 / 3 b \geq n^{2/3} b ≥ n 2/3 , so the validation error is at most 2 σ n − 1 / 3 2\sigma n^{-1/3} 2 σ n − 1/3 . For the statement below, define the analysis constant
C G = Δ f + 2 + 5 2 L + ( 4 + 2 2 ) σ . C_{G}=\Delta_{f}+2+\frac{5}{2}L+(4+2\sqrt{2})\sigma. C G = Δ f + 2 + 2 5 L + ( 4 + 2 2 ) σ .
Theorem 1. Under Assumptions 1–3, the output of Algorithm 1 satisfies
E ∥ ∇ f ( x ^ T ) ∥ ≤ C G n − 1 / 4 + 2 σ b = O ( 1 + L + σ + Δ f T 1 / 4 ) . \begin{align*}\mathbb{E}\left\|\nabla f(\widehat{x}_{T})\right\|&\leq C_{G} n^{-1/4}+\frac{2\sigma}{\sqrt{b}}\\&=O\left(\frac{1+L+\sigma+\Delta_{f}}{T^{1/4}}\right).\end{align*} E ∥ ∇ f ( x T ) ∥ ≤ C G n − 1/4 + b 2 σ = O ( T 1/4 1 + L + σ + Δ f ) .
(6)
If Assumption 4 also holds, the same output satisfies
E ∥ ∇ f ( x ^ T ) ∥ ≤ [ C G + L 2 + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1 / 3 + 2 σ b = O ( 1 + L + L ˉ + σ + Δ f T 1 / 3 ) . \begin{align*}\mathbb{E}\left\|\nabla f(\widehat{x}_{T})\right\|&\leq\left[C_{G}+\frac{L}{2}+2\sigma+2\sqrt{2(\sigma^{2}+\bar{L}^{2})}\right]n^{-1/3}+\frac{2\sigma}{\sqrt{b}}\\&=O\left(\frac{1+L+\bar{L}+\sigma+\Delta_{f}}{T^{1/3}}\right).\end{align*} E ∥ ∇ f ( x T ) ∥ ≤ [ C G + 2 L + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1/3 + b 2 σ = O ( T 1/3 1 + L + L ˉ + σ + Δ f ) .
(7)
Algorithm 1 The proposed method
Require: Initial point x 1 x_1 x 1 , budget T ≥ 6 T \geq 6 T ≥ 6 .
1: Set n , b n, b n , b and the parameters by (3)–(4).
2: Set the mode to direct-gradient and W 0 = 0 W_0 = 0 W 0 = 0 .
3: for t = 1 , … , n t = 1, \ldots, n t = 1 , … , n do
4: if the mode is direct-gradient then
5: Draw independent G t , G t ′ G_t, G_t' G t , G t ′ at x t x_t x t .
6: if ∥ G t − G t ′ ∥ ≤ n − 1 / 2 \|G_t - G_t'\| \leq n^{-1/2} ∥ G t − G t ′ ∥ ≤ n − 1/2 then
7: Set v t = G t v_t = G_t v t = G t and η t = η D \eta_t = \eta_D η t = η D .
8: else
9: Switch to momentum, draw a fresh gradient v t v_t v t at x t x_t x t , and set η t = η S \eta_t = \eta_S η t = η S .
10: end if
11: else
12: Draw a stochastic gradient g t g_t g t at x t x_t x t .
13: Set v t = ( 1 − β S ) v t − 1 + β S g t v_t = (1 - \beta_S)v_{t-1} + \beta_S g_t v t = ( 1 − β S ) v t − 1 + β S g t and η t = η S \eta_t = \eta_S η t = η S .
14: end if
15: Set W t = W t − 1 + η t W_t = W_{t-1} + \eta_t W t = W t − 1 + η t and replace the first reservoir by x t x_t x t with probability η t / W t \eta_t/W_t η t / W t .
16: x t + 1 = x t − η t N ( v t ) x_{t+1} = x_t - \eta_t \mathcal{N}(v_t) x t + 1 = x t − η t N ( v t ) .
17: end for
18: Freeze the first reservoir as X G X_G X G and set its validation sum to zero.
19: for t = n + 1 , … , 2 n t = n + 1, \ldots, 2n t = n + 1 , … , 2 n do
20: If t = n + 1 t = n + 1 t = n + 1 , initialize v t = g ( x t ; ξ t ) v_t = g(x_t; \xi_t) v t = g ( x t ; ξ t ) with one fresh query.
21: Otherwise, use a sample to set v t = g ( x t ; ξ t ) + ( 1 − β V ) [ v t − 1 − g ( x t − 1 ; ξ t ) ] v_t = g(x_t; \xi_t) + (1 - \beta_V)[v_{t-1} - g(x_{t-1}; \xi_t)] v t = g ( x t ; ξ t ) + ( 1 − β V ) [ v t − 1 − g ( x t − 1 ; ξ t )] .
22: If t ≤ n + b t \leq n + b t ≤ n + b , add one independent gradient at X G X_G X G to its validation sum.
23: Replace the second reservoir by x t x_t x t with probability 1 / ( t − n ) 1/(t - n) 1/ ( t − n ) .
24: x t + 1 = x t − η V N ( v t ) x_{t+1} = x_t - \eta_V \mathcal{N}(v_t) x t + 1 = x t − η V N ( v t ) .
25: end for
26: Freeze the second reservoir as X V X_V X V and average b b b fresh gradients to obtain g ^ V \widehat{g}_V g V .
27: Divide the validation sum at X G X_G X G by b b b to obtain g ^ G \widehat{g}_G g G .
28: return x ^ T \widehat{x}_T x T , which is the candidate in { X G , X V } \{X_G, X_V\} { X G , X V } with smaller estimated gradient norm.
If the oracle is noiseless, then
E ∥ ∇ f ( x ^ T ) ∥ ≤ ( Δ f + L 2 ) n − 1 / 2 = O ( Δ f + L T 1 / 2 ) . \begin{align*}\mathbb{E}\left\|\nabla f(\widehat{x}_{T})\right\|&\leq\left(\Delta_{f}+\frac{L}{2}\right)n^{-1/2}\\&=O\left(\frac{\Delta_{f}+L}{T^{1/2}}\right).\end{align*} E ∥ ∇ f ( x T ) ∥ ≤ ( Δ f + 2 L ) n − 1/2 = O ( T 1/2 Δ f + L ) .
(8)
Equivalently, complexities for E ∥ ∇ f ( x ^ T ) ∥ ≤ ϵ \mathbb{E}\left\|\nabla f(\widehat{x}_T)\right\|\leq\epsilon E ∥ ∇ f ( x T ) ∥ ≤ ϵ are O ( ϵ − 4 ) O(\epsilon^{-4}) O ( ϵ − 4 ) , O ( ϵ − 3 ) O(\epsilon^{-3}) O ( ϵ − 3 ) and O ( ϵ − 2 ) O(\epsilon^{-2}) O ( ϵ − 2 ) , respectively.
4 The anytime algorithm
In this section, we assume the budget T is unknown in advance.
4.1 The proposed schedule
When the budget T is unknown, we use two optimization paths: the variance reduction path and the AdaGrad-Norm path. Both paths start at x 1 x_{1} x 1 . For the variance reduction path, set
β t = η t = t − 2 / 3 , v 1 = g ( x 1 V ; ξ 1 ) , x 1 V = x 1 . (9) \beta_{t}=\eta_{t}=t^{-2/3},\qquad v_{1}=g(x_{1}^{V};\xi_{1}),\qquad x_{1}^{V}=x_{1}. \tag{9} β t = η t = t − 2/3 , v 1 = g ( x 1 V ; ξ 1 ) , x 1 V = x 1 . ( 9 )
At round t ≥ 2 t \geq 2 t ≥ 2 , draw a fresh sample ξ t \xi_t ξ t and form
v t = g ( x t V ; ξ t ) + ( 1 − β t ) ( v t − 1 − g ( x t − 1 V ; ξ t ) ) . (10) v_{t}=g(x_{t}^{V};\xi_{t})+(1-\beta_{t})(v_{t-1}-g(x_{t-1}^{V};\xi_{t})). \tag{10} v t = g ( x t V ; ξ t ) + ( 1 − β t ) ( v t − 1 − g ( x t − 1 V ; ξ t )) . ( 10 )
At every round, update
x t + 1 V = x t V − η t N ( v t ) . (11) x_{t+1}^{V}=x_{t}^{V}-\eta_{t}\mathcal{N}(v_{t}). \tag{11} x t + 1 V = x t V − η t N ( v t ) . ( 11 )
The AdaGrad-Norm path uses one sample per round:
x 1 A = x 1 , b 0 = 1 , g t = g ( x t A ; ζ t ) , b t = b t − 1 2 + ∥ g t ∥ 2 , x t + 1 A = x t A − g t b t . (12) x_{1}^{A}=x_{1},\qquad b_{0}=1,\qquad g_{t}=g(x_{t}^{A};\zeta_{t}),\qquad b_{t}=\sqrt{b_{t-1}^{2}+\|g_{t}\|^{2}},\qquad x_{t+1}^{A}=x_{t}^{A}-\frac{g_{t}}{b_{t}}. \tag{12} x 1 A = x 1 , b 0 = 1 , g t = g ( x t A ; ζ t ) , b t = b t − 1 2 + ∥ g t ∥ 2 , x t + 1 A = x t A − b t g t . ( 12 )
The samples used by the two paths and by all validations are independent.
The algorithm maintains one reservoir candidate for each path. Define W t = ∑ s = 1 t η s W_t = \sum_{s=1}^t \eta_s W t = ∑ s = 1 t η s . At round t t t , replace the variance reduction reservoir by x t V x_t^V x t V with probability η t / W t \eta_t/W_t η t / W t , and replace the AdaGrad reservoir by x t A x_t^A x t A with probability 1 / t 1/t 1/ t . At a checkpoint n n n , the two reservoirs have the distributions
Pr { V n = x t V } = η t W n , Pr { A n = x t A } = 1 n , 1 ≤ t ≤ n . (13) \Pr\{V_{n}=x_{t}^{V}\}=\frac{\eta_{t}}{W_{n}},\qquad\Pr\{A_{n}=x_{t}^{A}\}=\frac{1}{n},\qquad1\leq t\leq n. \tag{13} Pr { V n = x t V } = W n η t , Pr { A n = x t A } = n 1 , 1 ≤ t ≤ n . ( 13 )
Checkpoints are n = { 1 , 2 , 4 , 8 , … } n = \{1, 2, 4, 8, \ldots\} n = { 1 , 2 , 4 , 8 , … } . At the end of round n n n , copy and freeze V n V_n V n and A n A_n A n . During rounds { n + 1 , … , 2 n } \{n+1, \ldots, 2n\} { n + 1 , … , 2 n } , take one fresh gradient at each of these two frozen points in every round. Their running averages are
g ^ n V = 1 n ∑ j = 1 n g ( V n ; ξ n , j V ) , g ^ n A = 1 n ∑ j = 1 n g ( A n ; ξ n , j A ) . (14) \widehat{g}_{n}^{V}=\frac{1}{n}\sum_{j=1}^{n}g(V_{n};\xi_{n,j}^{V}),\qquad\widehat{g}_{n}^{A}=\frac{1}{n}\sum_{j=1}^{n}g(A_{n};\xi_{n,j}^{A}). \tag{14} g n V = n 1 j = 1 ∑ n g ( V n ; ξ n , j V ) , g n A = n 1 j = 1 ∑ n g ( A n ; ξ n , j A ) . ( 14 )
At the end of round 2n, report the point with the smaller estimated gradient norm:
Z n = { V n , ∥ g ^ n V ∥ ≤ ∥ g ^ n A ∥ , A n , ∥ g ^ n V ∥ > ∥ g ^ n A ∥ . (15) Z_{n}=\left\{\begin{aligned}&V_{n},\quad\left\|\widehat{g}_{n}^{V}\right\|\leq\left\|\widehat{g}_{n}^{A}\right\|,\\ &A_{n},\quad\left\|\widehat{g}_{n}^{V}\right\|>\left\|\widehat{g}_{n}^{A}\right\|.\end{aligned}\right. \tag{15} Z n = { V n , g n V ≤ g n A , A n , g n V > g n A . ( 15 )
The optimization updates and both reservoirs continue throughout these validation rounds. At round 2n, the reservoirs for the longer prefix 2n are copied for the next validation block and the previous report remains available until the next report is completed. Thus, at any deterministic round τ ≥ 2 \tau \geq 2 τ ≥ 2 , the reported point is Z n Z_n Z n , where
n = 2 ⌊ log 2 τ ⌋ − 1 , 2 n ≤ τ < 4 n . (16) n=2^{\lfloor\log_{2}\tau\rfloor-1},\qquad2n\leq\tau<4n. \tag{16} n = 2 ⌊ l o g 2 τ ⌋ − 1 , 2 n ≤ τ < 4 n . ( 16 )
4.2 Guarantees
Define the following constants
C A = 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 8 L 2 + 2 σ 2 , M n = 4 + 4 σ n + 2 C A + 16 L 2 , K = 6 L ˉ 2 + 2 σ 2 . \begin{align*}C_{A}&=4\Delta_{f}+2\left\|\nabla f(x_{1})\right\|^{2}+8L^{2}+2\sigma^{2},\\M_{n}&=4+4\sigma\sqrt{n}+2C_{A}+16L^{2},\\K&=6\bar{L}^{2}+2\sigma^{2}.\end{align*} C A M n K = 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 8 L 2 + 2 σ 2 , = 4 + 4 σ n + 2 C A + 16 L 2 , = 6 L ˉ 2 + 2 σ 2 .
(17)
The initial gradient in C A C_A C A can be eliminated using ∥ ∇ f ( x 1 ) ∥ 2 ≤ 2 L Δ f \|\nabla f(x_1)\|^2 \leq 2L\Delta_f ∥∇ f ( x 1 ) ∥ 2 ≤ 2 L Δ f . For L > 0 L > 0 L > 0 , the descent inequality at x 1 − L − 1 ∇ f ( x 1 ) x_1 - L^{-1}\nabla f(x_1) x 1 − L − 1 ∇ f ( x 1 ) gives this bound. When L = 0 L = 0 L = 0 , a lower-bounded function with constant gradient has zero gradient.
Theorem 2. Suppose f f f is lower bounded and L L L -smooth, and the stochastic gradient oracle is unbiased with variance at most σ 2 \sigma^2 σ 2 . At every deterministic round τ ≥ 2 \tau \geq 2 τ ≥ 2 , let n n n be defined by (16). The reported point of the Algorithm satisfies
E ∥ ∇ f ( Z n ) ∥ ≤ M n ( C A + 4 L log M n ) n + 2 σ n . (18) \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}+\frac{2\sigma}{\sqrt{n}}. \tag{18} E ∥ ∇ f ( Z n ) ∥ ≤ n M n ( C A + 4 L log M n ) + n 2 σ . ( 18 )
Algorithm 2 The anytime algorithm
Require: Initial point x 1 x_1 x 1 .
1: Initialize x 1 V = x 1 A = x 1 x_1^V = x_1^A = x_1 x 1 V = x 1 A = x 1 , b 0 = 1 b_0 = 1 b 0 = 1 , and W 0 = 0 W_0 = 0 W 0 = 0 .
2: Initialize the reservoirs R V = R A = x 1 R^V = R^A = x_1 R V = R A = x 1 , the report Z = x 1 Z = x_1 Z = x 1 , and the checkpoint n = 1 n = 1 n = 1 .
3: for t = 1 , 2 , … t = 1, 2, \ldots t = 1 , 2 , … do
4: Set η t = β t = t − 2 / 3 \eta_t = \beta_t = t^{-2/3} η t = β t = t − 2/3 and W t = W t − 1 + η t W_t = W_{t-1} + \eta_t W t = W t − 1 + η t .
5: Draw a fresh sample ξ t \xi_t ξ t .
6: if t = 1 t = 1 t = 1 then
7: Set v 1 = g ( x 1 V ; ξ 1 ) v_1 = g(x_1^V; \xi_1) v 1 = g ( x 1 V ; ξ 1 ) .
8: else
9: Compute v t = g ( x t V ; ξ t ) + ( 1 − β t ) [ v t − 1 − g ( x t − 1 V ; ξ t ) ] v_t = g(x_t^V; \xi_t) + (1 - \beta_t)[v_{t-1} - g(x_{t-1}^V; \xi_t)] v t = g ( x t V ; ξ t ) + ( 1 − β t ) [ v t − 1 − g ( x t − 1 V ; ξ t )] .
10: end if
11: Draw a fresh independent gradient g t = g ( x t A ; ζ t ) g_t = g(x_t^A; \zeta_t) g t = g ( x t A ; ζ t ) and set b t = b t − 1 2 + ∥ g t ∥ 2 b_t = \sqrt{b_{t-1}^2 + \|g_t\|^2} b t = b t − 1 2 + ∥ g t ∥ 2 .
12: Replace R V R^V R V by x t V x_t^V x t V with probability η t / W t \eta_t/W_t η t / W t , and R A R^A R A by x t A x_t^A x t A with probability 1 / t 1/t 1/ t .
13: Update x t + 1 V = x t V − η t N ( v t ) x_{t+1}^V = x_t^V - \eta_t \mathcal{N}(v_t) x t + 1 V = x t V − η t N ( v t ) and x t + 1 A = x t A − g t / b t x_{t+1}^A = x_t^A - g_t/b_t x t + 1 A = x t A − g t / b t .
14: if t > n t > n t > n then
15: Draw independent validation samples ξ t V \xi_t^V ξ t V , ξ t A \xi_t^A ξ t A and update
g ^ n V ← g ^ n V + g ( V n ; ξ t V ) n \widehat{g}_n^V \leftarrow \widehat{g}_n^V + \frac{g(V_n; \xi_t^V)}{n} g n V ← g n V + n g ( V n ; ξ t V ) , g ^ n A ← g ^ n A + g ( A n ; ξ t A ) n \widehat{g}_n^A \leftarrow \widehat{g}_n^A + \frac{g(A_n; \xi_t^A)}{n} g n A ← g n A + n g ( A n ; ξ t A ) .
16: end if
17: if t = 2 n t = 2n t = 2 n then
18: Copy V n V_n V n to Z Z Z if ∥ g ^ n V ∥ ≤ ∥ g ^ n A ∥ \|\widehat{g}_n^V\| \leq \|\widehat{g}_n^A\| ∥ g n V ∥ ≤ ∥ g n A ∥ ; otherwise copy A n A_n A n to Z Z Z .
19: Set n ← 2 n n \leftarrow 2n n ← 2 n .
20: end if
21: if t = n t = n t = n then
22: Copy and freeze V n ← R V V_n \leftarrow R^V V n ← R V and A n ← R A A_n \leftarrow R^A A n ← R A , replacing the previous frozen pair.
23: Initialize g ^ n V = g ^ n A = 0 \widehat{g}_n^V = \widehat{g}_n^A = 0 g n V = g n A = 0 .
24: end if
25: if an external stopping request is received then
26: return Z Z Z .
27: end if
28: end for
If the oracle additionally satisfies mean-square smoothness, then
E ∥ ∇ f ( Z n ) ∥ ≤ min { Δ f + 2 L + 2 K ( 1 + log n ) n 1 / 3 , M n ( C A + 4 L log M n ) n } + 2 σ n . (19) \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\min\left\{\frac{\Delta_{f}+2L+2\sqrt{K}(1+\log n)}{n^{1/3}},\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}\right\}+\frac{2\sigma}{\sqrt{n}}. \tag{19} E ∥ ∇ f ( Z n ) ∥ ≤ min { n 1/3 Δ f + 2 L + 2 K ( 1 + log n ) , n M n ( C A + 4 L log M n ) } + n 2 σ . ( 19 )
In particular, for fixed problem parameters, the three rates are respectively
O ( 1 + log τ τ 1 / 3 ) u n d e r m e a n − s q u a r e s m o o t h n e s s , O ( 1 + log τ τ 1 / 4 ) u n d e r s t a n d a r d s m o o t h n e s s , O ( τ − 1 / 2 ) w h e n σ = 0 w i t h s t a n d a r d s m o o t h n e s s . (20) \begin{aligned}&O\left(\frac{1+\log\tau}{\tau^{1/3}}\right)\quad&under mean-square smoothness,\\&O\left(\frac{\sqrt{1+\log\tau}}{\tau^{1/4}}\right)\quad&under standard smoothness,\\&O(\tau^{-1/2})\quad&when\sigma=0 with standard smoothness.\end{aligned} \tag{20} O ( τ 1/3 1 + log τ ) O ( τ 1/4 1 + log τ ) O ( τ − 1/2 ) u n d er m e an − s q u a r es m oo t hn ess , u n d er s t an d a r d s m oo t hn ess , w h e nσ = 0 w i t h s t an d a r d s m oo t hn ess . ( 20 )
5 Conclusion
In this paper, we investigate stochastic non-convex optimization without knowing whether the oracle satisfies average smoothness or knowing the smoothness constants and variance bound. For a known total gradient budget T, we proposed a method that achieves expected gradient norm bounds of O ( T − 1 / 3 ) O(T^{-1/3}) O ( T − 1/3 ) under average smoothness, O ( T − 1 / 4 ) O(T^{-1/4}) O ( T − 1/4 ) under standard smoothness, and
O ( T − 1 / 2 ) O(T^{-1/2}) O ( T − 1/2 ) in the noiseless setting. We also develop an anytime method with two paths, which attains the corresponding rates up to logarithmic factors in the stochastic settings and retains the O ( T − 1 / 2 ) O(T^{-1/2}) O ( T − 1/2 ) noiseless rate. Both methods use a constant number of gradient evaluations per round, include the cost of output selection, and avoid restarting from the initial point. Further work could investigate whether the logarithmic factors in the anytime bounds can be removed and whether the same guarantees can be achieved along a single path without knowing T.
References
A. Cutkosky and F. Orabona. Momentum-based variance reduction in non-convex SGD. In Advances in Neural Information Processing Systems 32, pages 15210–15219, 2019.
W. Jiang, S. Yang, Y. Wang, and L. Zhang. Adaptive variance reduction for stochastic optimization under weaker assumptions. In Advances in Neural Information Processing Systems 37, pages 22047–22080, 2024.
B. Wang, H. Zhang, Z. Ma, and W. Chen. Convergence of AdaGrad for non-convex objectives: Simple proofs and relaxed assumptions. In Proceedings of the 36th Conference on Learning Theory, pages 161–190, 2023.
A Proof of Theorem 1
A.1 Useful Lemmas
Lemma 1. For any point x, vector v, and η > 0 \eta > 0 η > 0 , the update x + = x − η N ( v ) x^{+} = x - \eta \mathcal{N}(v) x + = x − η N ( v ) satisfies
f ( x + ) ≤ f ( x ) − η ∥ ∇ f ( x ) ∥ + 2 η ∥ v − ∇ f ( x ) ∥ + L 2 η 2 . (21) f(x^{+})\leq f(x)-\eta\left\|\nabla f(x)\right\|+2\eta\left\|v-\nabla f(x)\right\|+\frac{L}{2}\eta^{2}. \tag{21} f ( x + ) ≤ f ( x ) − η ∥ ∇ f ( x ) ∥ + 2 η ∥ v − ∇ f ( x ) ∥ + 2 L η 2 . ( 21 )
Proof. If v ≠ 0 v \neq 0 v = 0 , Cauchy–Schwarz and the triangle inequality give
⟨ ∇ f ( x ) , N ( v ) ⟩ = ⟨ v , v ∥ v ∥ ⟩ + ⟨ ∇ f ( x ) − v , v ∥ v ∥ ⟩ ≥ ∥ v ∥ − ∥ ∇ f ( x ) − v ∥ ≥ ∥ ∇ f ( x ) ∥ − 2 ∥ v − ∇ f ( x ) ∥ . \begin{align*}\langle\nabla f(x),\mathcal{N}(v)\rangle&=\left\langle v,\frac{v}{\|v\|}\right\rangle+\left\langle\nabla f(x)-v,\frac{v}{\|v\|}\right\rangle\\&\geq\|v\|-\|\nabla f(x)-v\|\\&\geq\|\nabla f(x)\|-2\|v-\nabla f(x)\|.\end{align*} ⟨ ∇ f ( x ) , N ( v )⟩ = ⟨ v , ∥ v ∥ v ⟩ + ⟨ ∇ f ( x ) − v , ∥ v ∥ v ⟩ ≥ ∥ v ∥ − ∥∇ f ( x ) − v ∥ ≥ ∥∇ f ( x ) ∥ − 2∥ v − ∇ f ( x ) ∥.
For v = 0, the inequality still holds. Thus,
f ( x + ) ≤ f ( x ) + ⟨ ∇ f ( x ) , x + − x ⟩ + L 2 ∥ x + − x ∥ 2 = f ( x ) − η ⟨ ∇ f ( x ) , N ( v ) ⟩ + L 2 η 2 ∥ N ( v ) ∥ 2 ≤ f ( x ) − η ∥ ∇ f ( x ) ∥ + 2 η ∥ v − ∇ f ( x ) ∥ + L 2 η 2 , \begin{align*}f(x^{+})&\leq f(x)+\left\langle\nabla f(x),x^{+}-x\right\rangle+\frac{L}{2}\left\|x^{+}-x\right\|^{2}\\&=f(x)-\eta\left\langle\nabla f(x),\mathcal{N}(v)\right\rangle+\frac{L}{2}\eta^{2}\left\|\mathcal{N}(v)\right\|^{2}\\&\leq f(x)-\eta\left\|\nabla f(x)\right\|+2\eta\left\|v-\nabla f(x)\right\|+\frac{L}{2}\eta^{2},\end{align*} f ( x + ) ≤ f ( x ) + ⟨ ∇ f ( x ) , x + − x ⟩ + 2 L x + − x 2 = f ( x ) − η ⟨ ∇ f ( x ) , N ( v ) ⟩ + 2 L η 2 ∥ N ( v ) ∥ 2 ≤ f ( x ) − η ∥ ∇ f ( x ) ∥ + 2 η ∥ v − ∇ f ( x ) ∥ + 2 L η 2 ,
where the last step uses ∥ N ( v ) ∥ ≤ 1 \|\mathcal{N}(v)\| \leq 1 ∥ N ( v ) ∥ ≤ 1 .
Lemma 2. Let X 1 , … , X m X_1, \ldots, X_m X 1 , … , X m be random candidate points. At each point, average b independent stochastic gradients to obtain g ^ i \widehat{g}_i g i . If J ∈ arg min i ∥ g ^ i ∥ J \in \arg\min_i \|\widehat{g}_i\| J ∈ arg min i ∥ g i ∥ , then
E ∥ ∇ f ( X J ) ∥ ≤ E min 1 ≤ i ≤ m ∥ ∇ f ( X i ) ∥ + m σ b ≤ min 1 ≤ i ≤ m E ∥ ∇ f ( X i ) ∥ + m σ b . \begin{align*}\mathbb{E}\left\|\nabla f(X_{J})\right\|&\leq\mathbb{E}\min_{1\leq i\leq m}\left\|\nabla f(X_{i})\right\|+\frac{m\sigma}{\sqrt{b}}\\&\leq\min_{1\leq i\leq m}\mathbb{E}\left\|\nabla f(X_{i})\right\|+\frac{m\sigma}{\sqrt{b}}.\end{align*} E ∥ ∇ f ( X J ) ∥ ≤ E 1 ≤ i ≤ m min ∥ ∇ f ( X i ) ∥ + b mσ ≤ 1 ≤ i ≤ m min E ∥ ∇ f ( X i ) ∥ + b mσ .
(22)
Proof. For fixed candidates, the validation average is
g ^ i = 1 b ∑ j = 1 b g ( X i ; ξ i , j ) . \widehat{g}_{i}=\frac{1}{b}\sum_{j=1}^{b}g(X_{i};\xi_{i,j}). g i = b 1 j = 1 ∑ b g ( X i ; ξ i , j ) .
Expanding the square and then averaging over the candidates yields
E ∥ g ^ i − ∇ f ( X i ) ∥ 2 = 1 b 2 E ∥ ∑ j = 1 b [ g ( X i ; ξ i , j ) − ∇ f ( X i ) ] ∥ 2 ≤ σ 2 b . \mathbb{E}\left\|\widehat{g}_{i}-\nabla f(X_{i})\right\|^{2}=\frac{1}{b^{2}}\mathbb{E}\left\|\sum_{j=1}^{b}[g(X_{i};\xi_{i,j})-\nabla f(X_{i})]\right\|^{2}\leq\frac{\sigma^{2}}{b}. E ∥ g i − ∇ f ( X i ) ∥ 2 = b 2 1 E j = 1 ∑ b [ g ( X i ; ξ i , j ) − ∇ f ( X i )] 2 ≤ b σ 2 .
Consequently, Cauchy–Schwarz gives
E ∥ g ^ i − ∇ f ( X i ) ∥ ≤ E ∥ g ^ i − ∇ f ( X i ) ∥ 2 ≤ σ b . \mathbb{E}\left\|\widehat{g}_{i}-\nabla f(X_{i})\right\|\leq\sqrt{\mathbb{E}\left\|\widehat{g}_{i}-\nabla f(X_{i})\right\|^{2}}\leq\frac{\sigma}{\sqrt{b}}. E ∥ g i − ∇ f ( X i ) ∥ ≤ E ∥ g i − ∇ f ( X i ) ∥ 2 ≤ b σ .
Choose i ∈ arg min 1 ≤ k ≤ m ∥ ∇ f ( X k ) ∥ i \in \arg \min_{1 \leq k \leq m} \|\nabla f(X_k)\| i ∈ arg min 1 ≤ k ≤ m ∥∇ f ( X k ) ∥ . If J = i J = i J = i , then ∥ ∇ f ( X J ) ∥ = min k ∥ ∇ f ( X k ) ∥ \|\nabla f(X_J)\| = \min_k \|\nabla f(X_k)\| ∥∇ f ( X J ) ∥ = min k ∥∇ f ( X k ) ∥ . If J ≠ i J \neq i J = i ,
∥ ∇ f ( X J ) ∥ ≤ ∥ g ^ J ∥ + ∥ g ^ J − ∇ f ( X J ) ∥ ≤ ∥ g ^ i ∥ + ∥ g ^ J − ∇ f ( X J ) ∥ ≤ ∥ ∇ f ( X i ) ∥ + ∥ g ^ i − ∇ f ( X i ) ∥ + ∥ g ^ J − ∇ f ( X J ) ∥ ≤ min k ∥ ∇ f ( X k ) ∥ + ∑ k = 1 m ∥ g ^ k − ∇ f ( X k ) ∥ . \begin{align*}\|\nabla f(X_{J})\|&\leq\|\widehat{g}_{J}\|+\|\widehat{g}_{J}-\nabla f(X_{J})\|\\&\leq\|\widehat{g}_{i}\|+\|\widehat{g}_{J}-\nabla f(X_{J})\|\\&\leq\|\nabla f(X_{i})\|+\|\widehat{g}_{i}-\nabla f(X_{i})\|+\|\widehat{g}_{J}-\nabla f(X_{J})\|\\&\leq\min_{k}\|\nabla f(X_{k})\|+\sum_{k=1}^{m}\|\widehat{g}_{k}-\nabla f(X_{k})\|.\end{align*} ∥∇ f ( X J ) ∥ ≤ ∥ g J ∥ + ∥ g J − ∇ f ( X J ) ∥ ≤ ∥ g i ∥ + ∥ g J − ∇ f ( X J ) ∥ ≤ ∥∇ f ( X i ) ∥ + ∥ g i − ∇ f ( X i ) ∥ + ∥ g J − ∇ f ( X J ) ∥ ≤ k min ∥∇ f ( X k ) ∥ + k = 1 ∑ m ∥ g k − ∇ f ( X k ) ∥.
Taking expectations gives
E ∥ ∇ f ( X J ) ∥ ≤ E min k ∥ ∇ f ( X k ) ∥ + ∑ k = 1 m E ∥ g ^ k − ∇ f ( X k ) ∥ ≤ E min k ∥ ∇ f ( X k ) ∥ + m σ b . \begin{align*}\mathbb{E}\left\|\nabla f(X_{J})\right\|&\leq\mathbb{E}\min_{k}\left\|\nabla f(X_{k})\right\|+\sum_{k=1}^{m}\mathbb{E}\left\|\widehat{g}_{k}-\nabla f(X_{k})\right\|\\&\leq\mathbb{E}\min_{k}\left\|\nabla f(X_{k})\right\|+\frac{m\sigma}{\sqrt{b}}.\end{align*} E ∥ ∇ f ( X J ) ∥ ≤ E k min ∥ ∇ f ( X k ) ∥ + k = 1 ∑ m E ∥ g k − ∇ f ( X k ) ∥ ≤ E k min ∥ ∇ f ( X k ) ∥ + b mσ .
Finally, for every fixed index j,
min k ∥ ∇ f ( X k ) ∥ ≤ ∥ ∇ f ( X j ) ∥ ⟹ E min k ∥ ∇ f ( X k ) ∥ ≤ E ∥ ∇ f ( X j ) ∥ . \begin{array}{r l r}{\operatorname*{m i n}_{k}\|\nabla f(X_{k})\|\leq\|\nabla f(X_{j})\|}&{{}\Longrightarrow}&{\mathbb{E}\operatorname*{m i n}_{k}\|\nabla f(X_{k})\|\leq\mathbb{E}\|\nabla f(X_{j})\|.}\end{array} min k ∥∇ f ( X k ) ∥ ≤ ∥∇ f ( X j ) ∥ ⟹ E min k ∥∇ f ( X k ) ∥ ≤ E ∥∇ f ( X j ) ∥.
Taking the minimum over j proves the second inequality in (22).
A.2 Direct-gradient step
Lemma 3. Let G , G ′ G, G' G , G ′ be independent random vectors with mean μ \mu μ and E ∥ G − μ ∥ 2 ≤ σ 2 \mathbb{E} \|G - \mu\|^2 \leq \sigma^2 E ∥ G − μ ∥ 2 ≤ σ 2 . For every a ≥ 0 a \geq 0 a ≥ 0 , let p = Pr { ∥ G − G ′ ∥ > a } p = \Pr\{\|G - G'\| > a\} p = Pr { ∥ G − G ′ ∥ > a } . Then
E [ ∥ G − μ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] ≤ a + 2 σ p . (23) \mathbb{E}\big[\|G-\mu\|\mathbf{1}_{\{\|G-G^{\prime}\|\leq a\}}\big]\leq a+\sqrt{2}\sigma\sqrt{p}. \tag{23} E [ ∥ G − μ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] ≤ a + 2 σ p . ( 23 )
Proof. By independence, E G ′ [ G − G ′ ] = G − μ \mathbb{E}_{G'}[G - G'] = G - \mu E G ′ [ G − G ′ ] = G − μ when G G G is fixed. Thus Jensen's inequality gives
E ∥ G − μ ∥ = E G ∥ E G ′ [ G − G ′ ] ∥ ≤ E G E G ′ ∥ G − G ′ ∥ = E ∥ G − G ′ ∥ . \mathbb{E}\left\|G-\mu\right\|=\mathbb{E}_{G}\left\|\mathbb{E}_{G^{\prime}}[G-G^{\prime}]\right\|\leq\mathbb{E}_{G}\mathbb{E}_{G^{\prime}}\left\|G-G^{\prime}\right\|=\mathbb{E}\left\|G-G^{\prime}\right\|. E ∥ G − μ ∥ = E G ∥ E G ′ [ G − G ′ ] ∥ ≤ E G E G ′ ∥ G − G ′ ∥ = E ∥ G − G ′ ∥ .
Moreover,
E ∥ G − G ′ ∥ 2 = E ∥ ( G − μ ) − ( G ′ − μ ) ∥ 2 = E ∥ G − μ ∥ 2 + E ∥ G ′ − μ ∥ 2 − 2 E ⟨ G − μ , G ′ − μ ⟩ ≤ 2 σ 2 , \begin{align*}\mathbb{E}\left\|G-G^{\prime}\right\|^{2}&=\mathbb{E}\left\|(G-\mu)-(G^{\prime}-\mu)\right\|^{2}\\&=\mathbb{E}\left\|G-\mu\right\|^{2}+\mathbb{E}\left\|G^{\prime}-\mu\right\|^{2}-2\mathbb{E}\left\langle G-\mu,G^{\prime}-\mu\right\rangle\\&\leq2\sigma^{2},\end{align*} E ∥ G − G ′ ∥ 2 = E ∥ ( G − μ ) − ( G ′ − μ ) ∥ 2 = E ∥ G − μ ∥ 2 + E ∥ G ′ − μ ∥ 2 − 2 E ⟨ G − μ , G ′ − μ ⟩ ≤ 2 σ 2 ,
where E ⟨ G − μ , G ′ − μ ⟩ = ⟨ E [ G − μ ] , E [ G ′ − μ ] ⟩ = 0 \mathbb{E}\left\langle G - \mu, G' - \mu\right\rangle = \left\langle \mathbb{E}[G - \mu], \mathbb{E}[G' - \mu]\right\rangle = 0 E ⟨ G − μ , G ′ − μ ⟩ = ⟨ E [ G − μ ] , E [ G ′ − μ ] ⟩ = 0 . Splitting the expectation at a a a , we obtain
E ∥ G − G ′ ∥ = E [ ∥ G − G ′ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] + E [ ∥ G − G ′ ∥ 1 { ∥ G − G ′ ∥ > a } ] ≤ a + E ∥ G − G ′ ∥ 2 E 1 { ∥ G − G ′ ∥ > a } ≤ a + 2 σ p , \begin{align*}\mathbb{E}\left\|G-G^{\prime}\right\|&=\mathbb{E}\big[\left\|G-G^{\prime}\right\|\mathbf{1}_{\{\left\|G-G^{\prime}\right\|\leq a\}}\big]+\mathbb{E}\big[\left\|G-G^{\prime}\right\|\mathbf{1}_{\{\left\|G-G^{\prime}\right\|>a\}}\big]\\&\leq a+\sqrt{\mathbb{E}\left\|G-G^{\prime}\right\|^{2}}\sqrt{\mathbb{E}\mathbf{1}_{\{\left\|G-G^{\prime}\right\|>a\}}}\\&\leq a+\sqrt{2}\sigma\sqrt{p},\end{align*} E ∥ G − G ′ ∥ = E [ ∥ G − G ′ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] + E [ ∥ G − G ′ ∥ 1 { ∥ G − G ′ ∥ > a } ] ≤ a + E ∥ G − G ′ ∥ 2 E 1 { ∥ G − G ′ ∥ > a } ≤ a + 2 σ p ,
where the second line uses Cauchy–Schwarz. Therefore,
E [ ∥ G − μ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] ≤ E ∥ G − μ ∥ ≤ E ∥ G − G ′ ∥ ≤ a + 2 σ p . \mathbb{E}\big[\|G-\mu\|\mathbf{1}_{\{\|G-G^{\prime}\|\leq a\}}\big]\leq\mathbb{E}\left\|G-\mu\right\|\leq\mathbb{E}\left\|G-G^{\prime}\right\|\leq a+\sqrt{2}\sigma\sqrt{p}. E [ ∥ G − μ ∥ 1 { ∥ G − G ′ ∥ ≤ a } ] ≤ E ∥ G − μ ∥ ≤ E ∥ G − G ′ ∥ ≤ a + 2 σ p .
Let S t S_t S t be 1 if every test before round t t t has passed, and 0 otherwise. Thus S t = 1 S_t = 1 S t = 1 when round t t t begins in the direct-gradient mode. At the current point, write
p t = Pr G t , G t ′ { ∥ G t − G t ′ ∥ > n − 1 / 2 } . p_{t}=\Pr_{G_{t},G_{t}^{\prime}}\{\left\|G_{t}-G_{t}^{\prime}\right\|>n^{-1/2}\}. p t = G t , G t ′ Pr { ∥ G t − G t ′ ∥ > n − 1/2 } .
Fixing the earlier samples and averaging that pair first gives
E [ S t p t ] = E [ S t E G t , G t ′ 1 { ∥ G t − G t ′ ∥ > n − 1 / 2 } ] = E [ S t 1 { ∥ G t − G t ′ ∥ > n − 1 / 2 } ] = Pr { f i r s t f a i l u r e a t t } . \begin{align*}\mathbb{E}[S_{t}p_{t}]&=\mathbb{E}\left[S_{t}\mathbb{E}_{G_{t},G_{t}^{\prime}}\mathbf{1}_{\{\|G_{t}-G_{t}^{\prime}\|>n^{-1/2}\}}\right]\\&=\mathbb{E}\left[S_{t}\mathbf{1}_{\{\|G_{t}-G_{t}^{\prime}\|>n^{-1/2}\}}\right]=\Pr\{\mathrm{first failure at}t\}.\end{align*} E [ S t p t ] = E [ S t E G t , G t ′ 1 { ∥ G t − G t ′ ∥ > n − 1/2 } ] = E [ S t 1 { ∥ G t − G t ′ ∥ > n − 1/2 } ] = Pr { firstfailureat t } .
The possible first-failure events are disjoint,
∑ t = 1 n E [ S t p t ] = ∑ t = 1 n Pr { f i r s t f a i l u r e a t t } ≤ 1. (24) \sum_{t=1}^{n}\mathbb{E}[S_{t}p_{t}]=\sum_{t=1}^{n}\Pr\{first failure at t\}\leq1. \tag{24} t = 1 ∑ n E [ S t p t ] = t = 1 ∑ n Pr { f i r s t f ai l u r e a tt } ≤ 1. ( 24 )
Applying Cauchy–Schwarz first to each expectation and then to the sum, we have
∑ t = 1 n E [ S t p t ] = ∑ t = 1 n E [ S t S t p t ] ≤ ∑ t = 1 n E S t E [ S t p t ] ≤ ( ∑ t = 1 n E S t ) 1 / 2 ( ∑ t = 1 n E [ S t p t ] ) 1 / 2 ≤ n . \begin{align*}\sum_{t=1}^{n}\mathbb{E}[S_{t}\sqrt{p_{t}}]&=\sum_{t=1}^{n}\mathbb{E}[\sqrt{S_{t}}\sqrt{S_{t} p_{t}}]\\&\leq\sum_{t=1}^{n}\sqrt{\mathbb{E}S_{t}}\sqrt{\mathbb{E}[S_{t} p_{t}]}\\&\leq\left(\sum_{t=1}^{n}\mathbb{E}S_{t}\right)^{1/2}\left(\sum_{t=1}^{n}\mathbb{E}[S_{t} p_{t}]\right)^{1/2}\leq\sqrt{n}.\end{align*} t = 1 ∑ n E [ S t p t ] = t = 1 ∑ n E [ S t S t p t ] ≤ t = 1 ∑ n E S t E [ S t p t ] ≤ ( t = 1 ∑ n E S t ) 1/2 ( t = 1 ∑ n E [ S t p t ] ) 1/2 ≤ n .
(25)
For a direct step, S t = 1 S_t = 1 S t = 1 , v t = G t v_t = G_t v t = G t , and η t = η D \eta_t = \eta_D η t = η D . Lemma 3 with a = n − 1 / 2 a = n^{-1/2} a = n − 1/2 gives
E ∑ 1 ≤ t ≤ n : direct step η D ∥ v t − ∇ f ( x t ) ∥ = η D ∑ t = 1 n E [ S t 1 { ∥ G t − G t ′ ∥ ≤ n − 1 / 2 } ∥ G t − ∇ f ( x t ) ∥ ] ≤ η D ∑ t = 1 n E [ S t ( n − 1 / 2 + 2 σ p t ) ] = η D n − 1 / 2 ∑ t = 1 n E S t + 2 σ η D ∑ t = 1 n E [ S t p t ] ≤ n − 1 / 2 n − 1 / 2 n + 2 σ n − 1 / 2 n = 1 + 2 σ , \begin{align*}\mathbb{E}\sum_{\substack{1\leq t\leq n:\\\text{direct step}}}\eta_{D}\left\|v_{t}-\nabla f(x_{t})\right\|&=\eta_{D}\sum_{t=1}^{n}\mathbb{E}\left[S_{t}\mathbf{1}_{\{\left\|G_{t}-G_{t}^{\prime}\right\|\leq n^{-1/2}\}}\left\|G_{t}-\nabla f(x_{t})\right\|\right]\\&\leq\eta_{D}\sum_{t=1}^{n}\mathbb{E}\big[S_{t}(n^{-1/2}+\sqrt{2}\sigma\sqrt{p_{t}})\big]\\&=\eta_{D}n^{-1/2}\sum_{t=1}^{n}\mathbb{E}S_{t}+\sqrt{2}\sigma\eta_{D}\sum_{t=1}^{n}\mathbb{E}[S_{t}\sqrt{p_{t}}]\\&\leq n^{-1/2}n^{-1/2}n+\sqrt{2}\sigma n^{-1/2}\sqrt{n}=1+\sqrt{2}\sigma,\end{align*} E 1 ≤ t ≤ n : direct step ∑ η D ∥ v t − ∇ f ( x t ) ∥ = η D t = 1 ∑ n E [ S t 1 { ∥ G t − G t ′ ∥ ≤ n − 1/2 } ∥ G t − ∇ f ( x t ) ∥ ] ≤ η D t = 1 ∑ n E [ S t ( n − 1/2 + 2 σ p t ) ] = η D n − 1/2 t = 1 ∑ n E S t + 2 σ η D t = 1 ∑ n E [ S t p t ] ≤ n − 1/2 n − 1/2 n + 2 σ n − 1/2 n = 1 + 2 σ ,
(26)
where the last line uses η D = n − 1 / 2 \eta_{D}=n^{-1/2} η D = n − 1/2 and (25).
A.3 Momentum step
Lemma 4. Consider m normalized momentum updates with parameters 0 < β ≤ 1 0 < \beta \leq 1 0 < β ≤ 1 and η > 0 \eta > 0 η > 0 :
v 1 = g ( x 1 ; ξ 1 ) , v t = ( 1 − β ) v t − 1 + β g ( x t ; ξ t ) ( t ≥ 2 ) , x t + 1 = x t − η N ( v t ) . v_{1}=g(x_{1};\xi_{1}),\qquad v_{t}=(1-\beta)v_{t-1}+\beta g(x_{t};\xi_{t})\quad(t\geq2),\qquad x_{t+1}=x_{t}-\eta\mathcal{N}(v_{t}). v 1 = g ( x 1 ; ξ 1 ) , v t = ( 1 − β ) v t − 1 + β g ( x t ; ξ t ) ( t ≥ 2 ) , x t + 1 = x t − η N ( v t ) .
Then, we can ensure
E ∥ v t − ∇ f ( x t ) ∥ ≤ σ ( 1 − β ) t − 1 + σ β + L η β , 1 ≤ t ≤ m . (27) \mathbb{E}\left\|v_{t}-\nabla f(x_{t})\right\|\leq\sigma(1-\beta)^{t-1}+\sigma\sqrt{\beta}+\frac{L\eta}{\beta},\qquad1\leq t\leq m. \tag{27} E ∥ v t − ∇ f ( x t ) ∥ ≤ σ ( 1 − β ) t − 1 + σ β + β L η , 1 ≤ t ≤ m . ( 27 )
Proof. Write e t = v t − ∇ f ( x t ) e_t = v_t - \nabla f(x_t) e t = v t − ∇ f ( x t ) and ε t = g ( x t ; ξ t ) − ∇ f ( x t ) \varepsilon_t = g(x_t; \xi_t) - \nabla f(x_t) ε t = g ( x t ; ξ t ) − ∇ f ( x t ) . At t = 1 t = 1 t = 1 , E ∥ e 1 ∥ ≤ σ \mathbb{E} \|e_1\| \leq \sigma E ∥ e 1 ∥ ≤ σ . For t ≥ 2 t \geq 2 t ≥ 2 ,
e t = ( 1 − β ) v t − 1 + β g ( x t ; ξ t ) − ∇ f ( x t ) = ( 1 − β ) [ v t − 1 − ∇ f ( x t − 1 ) ] + β [ g ( x t ; ξ t ) − ∇ f ( x t ) ] + ( 1 − β ) [ ∇ f ( x t − 1 ) − ∇ f ( x t ) ] = ( 1 − β ) e t − 1 + β ε t + ( 1 − β ) [ ∇ f ( x t − 1 ) − ∇ f ( x t ) ] . \begin{align*}e_{t}&=(1-\beta)v_{t-1}+\beta g(x_{t};\xi_{t})-\nabla f(x_{t})\\&=(1-\beta)[v_{t-1}-\nabla f(x_{t-1})]+\beta[g(x_{t};\xi_{t})-\nabla f(x_{t})]+(1-\beta)[\nabla f(x_{t-1})-\nabla f(x_{t})]\\&=(1-\beta)e_{t-1}+\beta\varepsilon_{t}+(1-\beta)[\nabla f(x_{t-1})-\nabla f(x_{t})].\end{align*} e t = ( 1 − β ) v t − 1 + β g ( x t ; ξ t ) − ∇ f ( x t ) = ( 1 − β ) [ v t − 1 − ∇ f ( x t − 1 )] + β [ g ( x t ; ξ t ) − ∇ f ( x t )] + ( 1 − β ) [ ∇ f ( x t − 1 ) − ∇ f ( x t )] = ( 1 − β ) e t − 1 + β ε t + ( 1 − β ) [ ∇ f ( x t − 1 ) − ∇ f ( x t )] .
Since e 1 = ε 1 e_{1} = \varepsilon_{1} e 1 = ε 1 , repeated substitution gives
e t = ( 1 − β ) t − 1 ε 1 + β ∑ k = 2 t ( 1 − β ) t − k ε k + ∑ k = 2 t ( 1 − β ) t − k + 1 [ ∇ f ( x k − 1 ) − ∇ f ( x k ) ] . e_{t}=(1-\beta)^{t-1}\varepsilon_{1}+\beta\sum_{k=2}^{t}(1-\beta)^{t-k}\varepsilon_{k}+\sum_{k=2}^{t}(1-\beta)^{t-k+1}[\nabla f(x_{k-1})-\nabla f(x_{k})]. e t = ( 1 − β ) t − 1 ε 1 + β k = 2 ∑ t ( 1 − β ) t − k ε k + k = 2 ∑ t ( 1 − β ) t − k + 1 [ ∇ f ( x k − 1 ) − ∇ f ( x k )] .
For i < j i < j i < j , averaging the sample ξ j \xi_j ξ j first yields
E ⟨ ε i , ε j ⟩ = E ⟨ ε i , E ξ j [ g ( x j ; ξ j ) − ∇ f ( x j ) ] ⟩ = 0. \mathbb{E}\left\langle\varepsilon_{i},\varepsilon_{j}\right\rangle=\mathbb{E}\left\langle\varepsilon_{i},\mathbb{E}_{\xi_{j}}[g(x_{j};\xi_{j})-\nabla f(x_{j})]\right\rangle=0. E ⟨ ε i , ε j ⟩ = E ⟨ ε i , E ξ j [ g ( x j ; ξ j ) − ∇ f ( x j )] ⟩ = 0.
Thus the squared norm of the noise sum satisfies
E ∥ ( 1 − β ) t − 1 ε 1 + β ∑ k = 2 t ( 1 − β ) t − k ε k ∥ 2 = ( 1 − β ) 2 ( t − 1 ) E ∥ ε 1 ∥ 2 + β 2 ∑ k = 2 t ( 1 − β ) 2 ( t − k ) E ∥ ε k ∥ 2 ≤ σ 2 [ ( 1 − β ) 2 ( t − 1 ) + β 2 ∑ j = 0 t − 2 ( 1 − β ) 2 j ] ≤ σ 2 [ ( 1 − β ) 2 ( t − 1 ) + β 2 1 − ( 1 − β ) 2 ] = σ 2 [ ( 1 − β ) 2 ( t − 1 ) + β 2 − β ] ≤ σ 2 [ ( 1 − β ) 2 ( t − 1 ) + β ] . \begin{align*}\mathbb{E}&\left\|(1-\beta)^{t-1}\varepsilon_{1}+\beta\sum_{k=2}^{t}(1-\beta)^{t-k}\varepsilon_{k}\right\|^{2}\\&=(1-\beta)^{2(t-1)}\mathbb{E}\left\|\varepsilon_{1}\right\|^{2}+\beta^{2}\sum_{k=2}^{t}(1-\beta)^{2(t-k)}\mathbb{E}\left\|\varepsilon_{k}\right\|^{2}\\&\leq\sigma^{2}\left[(1-\beta)^{2(t-1)}+\beta^{2}\sum_{j=0}^{t-2}(1-\beta)^{2j}\right]\\&\leq\sigma^{2}\left[(1-\beta)^{2(t-1)}+\frac{\beta^{2}}{1-(1-\beta)^{2}}\right]\\&=\sigma^{2}\left[(1-\beta)^{2(t-1)}+\frac{\beta}{2-\beta}\right]\leq\sigma^{2}[(1-\beta)^{2(t-1)}+\beta].\end{align*} E ( 1 − β ) t − 1 ε 1 + β k = 2 ∑ t ( 1 − β ) t − k ε k 2 = ( 1 − β ) 2 ( t − 1 ) E ∥ ε 1 ∥ 2 + β 2 k = 2 ∑ t ( 1 − β ) 2 ( t − k ) E ∥ ε k ∥ 2 ≤ σ 2 [ ( 1 − β ) 2 ( t − 1 ) + β 2 j = 0 ∑ t − 2 ( 1 − β ) 2 j ] ≤ σ 2 [ ( 1 − β ) 2 ( t − 1 ) + 1 − ( 1 − β ) 2 β 2 ] = σ 2 [ ( 1 − β ) 2 ( t − 1 ) + 2 − β β ] ≤ σ 2 [( 1 − β ) 2 ( t − 1 ) + β ] .
For the remaining gradient-difference sum, smoothness and ∥ x k − x k − 1 ∥ ≤ η \|x_k - x_{k-1}\| \leq \eta ∥ x k − x k − 1 ∥ ≤ η give
∥ ∑ k = 2 t ( 1 − β ) t − k + 1 [ ∇ f ( x k − 1 ) − ∇ f ( x k ) ] ∥ ≤ ∑ k = 2 t ( 1 − β ) t − k + 1 L ∥ x k − 1 − x k ∥ ≤ L η ∑ j = 1 t − 1 ( 1 − β ) j ≤ L η ∑ j = 0 ∞ ( 1 − β ) j = L η β . \begin{align*}\left\|\sum_{k=2}^{t}(1-\beta)^{t-k+1}[\nabla f(x_{k-1})-\nabla f(x_{k})]\right\|&\leq\sum_{k=2}^{t}(1-\beta)^{t-k+1}L\left\|x_{k-1}-x_{k}\right\|\\&\leq L\eta\sum_{j=1}^{t-1}(1-\beta)^{j}\leq L\eta\sum_{j=0}^{\infty}(1-\beta)^{j}=\frac{L\eta}{\beta}.\end{align*} k = 2 ∑ t ( 1 − β ) t − k + 1 [ ∇ f ( x k − 1 ) − ∇ f ( x k )] ≤ k = 2 ∑ t ( 1 − β ) t − k + 1 L ∥ x k − 1 − x k ∥ ≤ L η j = 1 ∑ t − 1 ( 1 − β ) j ≤ L η j = 0 ∑ ∞ ( 1 − β ) j = β L η .
By the triangle inequality and Cauchy–Schwarz,
E ∥ e t ∥ ≤ E ∥ ( 1 − β ) t − 1 ε 1 + β ∑ k = 2 t ( 1 − β ) t − k ε k ∥ 2 + L η β ≤ σ ( 1 − β ) 2 ( t − 1 ) + β + L η β ≤ σ ( 1 − β ) t − 1 + σ β + L η β . \begin{align*}\mathbb{E}\left\|e_{t}\right\|&\leq\sqrt{\mathbb{E}\left\|\left(1-\beta\right)^{t-1}\varepsilon_{1}+\beta\sum_{k=2}^{t}(1-\beta)^{t-k}\varepsilon_{k}\right\|^{2}}+\frac{L\eta}{\beta}\\&\leq\sigma\sqrt{(1-\beta)^{2(t-1)}+\beta}+\frac{L\eta}{\beta}\\&\leq\sigma(1-\beta)^{t-1}+\sigma\sqrt{\beta}+\frac{L\eta}{\beta}.\end{align*} E ∥ e t ∥ ≤ E ( 1 − β ) t − 1 ε 1 + β k = 2 ∑ t ( 1 − β ) t − k ε k 2 + β L η ≤ σ ( 1 − β ) 2 ( t − 1 ) + β + β L η ≤ σ ( 1 − β ) t − 1 + σ β + β L η .
□
Suppose the first failure occurs at round s. Momentum starts at x s x_{s} x s and runs for n − s + 1 n - s + 1 n − s + 1 rounds. Applying Lemma 4 and averaging these samples gives
E ∑ t = s n η S ∥ v t − ∇ f ( x t ) ∥ ≤ η S σ ∑ j = 0 n − s ( 1 − β S ) j + ( n − s + 1 ) η S σ β S + ( n − s + 1 ) L η S 2 β S ≤ η S σ β S + n η S σ β S + n L η S 2 β S = σ n − 3 / 4 n − 1 / 2 + n n − 3 / 4 σ n − 1 / 4 + n L n − 3 / 2 n − 1 / 2 = σ n − 1 / 4 + σ + L . \begin{align*}\mathbb{E}\sum_{t=s}^{n}\eta_{S}\left\|v_{t}-\nabla f(x_{t})\right\|&\leq\eta_{S}\sigma\sum_{j=0}^{n-s}(1-\beta_{S})^{j}+(n-s+1)\eta_{S}\sigma\sqrt{\beta_{S}}+\frac{(n-s+1)L\eta_{S}^{2}}{\beta_{S}}\\&\leq\frac{\eta_{S}\sigma}{\beta_{S}}+n\eta_{S}\sigma\sqrt{\beta_{S}}+\frac{nL\eta_{S}^{2}}{\beta_{S}}\\&=\frac{\sigma n^{-3/4}}{n^{-1/2}}+n n^{-3/4}\sigma n^{-1/4}+\frac{nL n^{-3/2}}{n^{-1/2}}\\&=\sigma n^{-1/4}+\sigma+L.\end{align*} E t = s ∑ n η S ∥ v t − ∇ f ( x t ) ∥ ≤ η S σ j = 0 ∑ n − s ( 1 − β S ) j + ( n − s + 1 ) η S σ β S + β S ( n − s + 1 ) L η S 2 ≤ β S η S σ + n η S σ β S + β S n L η S 2 = n − 1/2 σ n − 3/4 + n n − 3/4 σ n − 1/4 + n − 1/2 n L n − 3/2 = σ n − 1/4 + σ + L .
This bound holds for every s and every preceding sample sequence. If the test never fails, there are no momentum updates. Thus, averaging over the first failure and its preceding samples,
E ∑ 1 ≤ t ≤ n : momentum step η S ∥ v t − ∇ f ( x t ) ∥ ≤ σ n − 1 / 4 + σ + L ≤ 2 σ + L . \mathbb{E}\sum_{\substack{1\leq t\leq n:\\ \text{momentum step}}}\eta_{S}\left\|v_{t}-\nabla f(x_{t})\right\|\leq\sigma n^{-1/4}+\sigma+L\leq2\sigma+L. E 1 ≤ t ≤ n : momentum step ∑ η S ∥ v t − ∇ f ( x t ) ∥ ≤ σ n − 1/4 + σ + L ≤ 2 σ + L .
The direct and momentum rounds partition the first phase. Therefore,
E ∑ t = 1 n η t ∥ v t − ∇ f ( x t ) ∥ ≤ ( 1 + 2 σ ) + ( 2 σ + L ) = 1 + ( 2 + 2 ) σ + L . (28) \mathbb{E}\sum_{t=1}^{n}\eta_{t}\left\|v_{t}-\nabla f(x_{t})\right\|\leq(1+\sqrt{2}\sigma)+(2\sigma+L)=1+(2+\sqrt{2})\sigma+L. \tag{28} E t = 1 ∑ n η t ∥ v t − ∇ f ( x t ) ∥ ≤ ( 1 + 2 σ ) + ( 2 σ + L ) = 1 + ( 2 + 2 ) σ + L . ( 28 )
Since η S ≤ η t ≤ η D \eta_S \leq \eta_t \leq \eta_D η S ≤ η t ≤ η D , we have
W n = ∑ t = 1 n η t ≥ n η S = n 1 / 4 , ∑ t = 1 n η t 2 ≤ n η D 2 = 1. (29) W_{n}=\sum_{t=1}^{n}\eta_{t}\geq n\eta_{S}=n^{1/4},\qquad\sum_{t=1}^{n}\eta_{t}^{2}\leq n\eta_{D}^{2}=1. \tag{29} W n = t = 1 ∑ n η t ≥ n η S = n 1/4 , t = 1 ∑ n η t 2 ≤ n η D 2 = 1. ( 29 )
Rearranging Lemma 1 and summing over t = 1 , … , n t = 1, \ldots, n t = 1 , … , n gives
E [ f ( x n + 1 ) − f ∗ ] + E ∑ t = 1 n η t ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − f ∗ + 2 E ∑ t = 1 n η t ∥ v t − ∇ f ( x t ) ∥ + L 2 E ∑ t = 1 n η t 2 ≤ Δ f + 2 [ 1 + ( 2 + 2 ) σ + L ] + L 2 = Δ f + 2 + 5 2 L + ( 4 + 2 2 ) σ = C G . \begin{align*}&\mathbb{E}[f(x_{n+1})-f_{*}]+\mathbb{E}\sum_{t=1}^{n}\eta_{t}\left\|\nabla f(x_{t})\right\|\\&\quad\leq f(x_{1})-f_{*}+2\mathbb{E}\sum_{t=1}^{n}\eta_{t}\left\|v_{t}-\nabla f(x_{t})\right\|+\frac{L}{2}\mathbb{E}\sum_{t=1}^{n}\eta_{t}^{2}\\&\quad\leq\Delta_{f}+2[1+(2+\sqrt{2})\sigma+L]+\frac{L}{2}\\&\quad=\Delta_{f}+2+\frac{5}{2}L+(4+2\sqrt{2})\sigma=C_{G}.\end{align*} E [ f ( x n + 1 ) − f ∗ ] + E t = 1 ∑ n η t ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − f ∗ + 2 E t = 1 ∑ n η t ∥ v t − ∇ f ( x t ) ∥ + 2 L E t = 1 ∑ n η t 2 ≤ Δ f + 2 [ 1 + ( 2 + 2 ) σ + L ] + 2 L = Δ f + 2 + 2 5 L + ( 4 + 2 2 ) σ = C G .
(30)
Both terms on the left are nonnegative, and hence
E [ f ( x n + 1 ) − f ∗ ] ≤ C G . (31) \mathbb{E}[f(x_{n+1})-f_{*}]\leq C_{G}. \tag{31} E [ f ( x n + 1 ) − f ∗ ] ≤ C G . ( 31 )
For a fixed first-phase optimization path, the probability that the reservoir selects index i is
η i W i ∏ t = i + 1 n ( 1 − η t W t ) = η i W i ∏ t = i + 1 n W t − η t W t = η i W i ∏ t = i + 1 n W t − 1 W t = η i W i W i W n = η i W n . \frac{\eta_{i}}{W_{i}}\prod_{t=i+1}^{n}\left(1-\frac{\eta_{t}}{W_{t}}\right)=\frac{\eta_{i}}{W_{i}}\prod_{t=i+1}^{n}\frac{W_{t}-\eta_{t}}{W_{t}}=\frac{\eta_{i}}{W_{i}}\prod_{t=i+1}^{n}\frac{W_{t-1}}{W_{t}}=\frac{\eta_{i}}{W_{i}}\frac{W_{i}}{W_{n}}=\frac{\eta_{i}}{W_{n}}. W i η i t = i + 1 ∏ n ( 1 − W t η t ) = W i η i t = i + 1 ∏ n W t W t − η t = W i η i t = i + 1 ∏ n W t W t − 1 = W i η i W n W i = W n η i .
This identity also applies to the random step sizes, after averaging over the path:
E ∥ ∇ f ( X G ) ∥ = E [ ∑ t = 1 n η t W n ∥ ∇ f ( x t ) ∥ ] ≤ n − 1 / 4 E ∑ t = 1 n η t ∥ ∇ f ( x t ) ∥ ≤ C G n − 1 / 4 , (32) \mathbb{E}\left\|\nabla f(X_{G})\right\|=\mathbb{E}\left[\sum_{t=1}^{n}\frac{\eta_{t}}{W_{n}}\left\|\nabla f(x_{t})\right\|\right]\leq n^{-1/4}\mathbb{E}\sum_{t=1}^{n}\eta_{t}\left\|\nabla f(x_{t})\right\|\leq C_{G}n^{-1/4}, \tag{32} E ∥ ∇ f ( X G ) ∥ = E [ t = 1 ∑ n W n η t ∥ ∇ f ( x t ) ∥ ] ≤ n − 1/4 E t = 1 ∑ n η t ∥ ∇ f ( x t ) ∥ ≤ C G n − 1/4 , ( 32 )
where the two inequalities use (29) and (30), respectively.
When σ = 0 \sigma = 0 σ = 0 , each sampled gradient equals the true gradient. Every test passes, and
v t = ∇ f ( x t ) , η t = η D = n − 1 / 2 , W n = n η D = n . v_{t}=\nabla f(x_{t}),\qquad\eta_{t}=\eta_{D}=n^{-1/2},\qquad W_{n}=n\eta_{D}=\sqrt{n}. v t = ∇ f ( x t ) , η t = η D = n − 1/2 , W n = n η D = n .
The normalized descent inequality becomes
η D ∥ ∇ f ( x t ) ∥ ≤ f ( x t ) − f ( x t + 1 ) + L 2 η D 2 . \eta_{D}\left\|\nabla f(x_{t})\right\|\leq f(x_{t})-f(x_{t+1})+\frac{L}{2}\eta_{D}^{2}. η D ∥ ∇ f ( x t ) ∥ ≤ f ( x t ) − f ( x t + 1 ) + 2 L η D 2 .
Summing gives
η D ∑ t = 1 n ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − f ( x n + 1 ) + L 2 n η D 2 ≤ Δ f + L 2 . \eta_{D}\sum_{t=1}^{n}\left\|\nabla f(x_{t})\right\|\leq f(x_{1})-f(x_{n+1})+\frac{L}{2}n\eta_{D}^{2}\leq\Delta_{f}+\frac{L}{2}. η D t = 1 ∑ n ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − f ( x n + 1 ) + 2 L n η D 2 ≤ Δ f + 2 L .
All reservoir weights are equal, so
E ∥ ∇ f ( X G ) ∥ = 1 n ∑ t = 1 n ∥ ∇ f ( x t ) ∥ ≤ Δ f + L / 2 n η D = ( Δ f + L / 2 ) n − 1 / 2 . (33) \mathbb{E}\left\|\nabla f(X_{G})\right\|=\frac{1}{n}\sum_{t=1}^{n}\left\|\nabla f(x_{t})\right\|\leq\frac{\Delta_{f}+L/2}{n\eta_{D}}=(\Delta_{f}+L/2)n^{-1/2}. \tag{33} E ∥ ∇ f ( X G ) ∥ = n 1 t = 1 ∑ n ∥ ∇ f ( x t ) ∥ ≤ n η D Δ f + L /2 = ( Δ f + L /2 ) n − 1/2 . ( 33 )
A.4 The variance reduction step
Lemma 5. Consider a phase with t = 1 , … , n t = 1, \ldots, n t = 1 , … , n and updates
v 1 = g ( x 1 ; ξ 1 ) , v t = g ( x t ; ξ t ) + ( 1 − β ) [ v t − 1 − g ( x t − 1 ; ξ t ) ] ( t ≥ 2 ) , x t + 1 = x t − η N ( v t ) . \begin{align*}v_{1}&=g(x_{1};\xi_{1}),\\v_{t}&=g(x_{t};\xi_{t})+(1-\beta)[v_{t-1}-g(x_{t-1};\xi_{t})]\quad(t\geq2),\\x_{t+1}&=x_{t}-\eta\mathcal{N}(v_{t}).\end{align*} v 1 v t x t + 1 = g ( x 1 ; ξ 1 ) , = g ( x t ; ξ t ) + ( 1 − β ) [ v t − 1 − g ( x t − 1 ; ξ t )] ( t ≥ 2 ) , = x t − η N ( v t ) .
Under Assumption 4, with β = η = n − 2 / 3 \beta = \eta = n^{-2/3} β = η = n − 2/3 ,
E ∥ v t − ∇ f ( x t ) ∥ ≤ σ ( 1 − β ) t − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1 / 3 . (34) \mathbb{E}\left\|v_{t}-\nabla f(x_{t})\right\|\leq\sigma(1-\beta)^{t-1}+\sqrt{2(\sigma^{2}+\bar{L}^{2})}n^{-1/3}. \tag{34} E ∥ v t − ∇ f ( x t ) ∥ ≤ σ ( 1 − β ) t − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1/3 . ( 34 )
Proof. Let e t = v t − ∇ f ( x t ) e_t = v_t - \nabla f(x_t) e t = v t − ∇ f ( x t ) . At t = 1 t = 1 t = 1 , the initialization gives E ∥ e 1 ∥ 2 ≤ σ 2 \mathbb{E} \|e_1\|^2 \leq \sigma^2 E ∥ e 1 ∥ 2 ≤ σ 2 , so (34) holds. For t ≥ 2 t \geq 2 t ≥ 2 , the estimator update gives
e t = g ( x t ; ξ t ) + ( 1 − β ) [ v t − 1 − g ( x t − 1 ; ξ t ) ] − ∇ f ( x t ) = ( 1 − β ) e t − 1 + β [ g ( x t ; ξ t ) − ∇ f ( x t ) ] + ( 1 − β ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ] . \begin{align*}e_{t}&=g(x_{t};\xi_{t})+(1-\beta)[v_{t-1}-g(x_{t-1};\xi_{t})]-\nabla f(x_{t})\\&=(1-\beta)e_{t-1}+\beta[g(x_{t};\xi_{t})-\nabla f(x_{t})]\\&\quad+(1-\beta)[g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})-\nabla f(x_{t})+\nabla f(x_{t-1})].\end{align*} e t = g ( x t ; ξ t ) + ( 1 − β ) [ v t − 1 − g ( x t − 1 ; ξ t )] − ∇ f ( x t ) = ( 1 − β ) e t − 1 + β [ g ( x t ; ξ t ) − ∇ f ( x t )] + ( 1 − β ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 )] .
By unbiasedness, we have
E ξ t [ g ( x t ; ξ t ) − ∇ f ( x t ) ] = 0 , E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ] = ∇ f ( x t ) − ∇ f ( x t − 1 ) . \mathbb{E}_{\xi_{t}}[g(x_{t};\xi_{t})-\nabla f(x_{t})]=0,\qquad\mathbb{E}_{\xi_{t}}[g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})]=\nabla f(x_{t})-\nabla f(x_{t-1}). E ξ t [ g ( x t ; ξ t ) − ∇ f ( x t )] = 0 , E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t )] = ∇ f ( x t ) − ∇ f ( x t − 1 ) .
The gradient difference satisfies
E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 ≤ L ˉ 2 ∥ x t − x t − 1 ∥ 2 ≤ L ˉ 2 η 2 . \begin{align*}\mathbb{E}_{\xi_{t}}&\left\|g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})-\nabla f(x_{t})+\nabla f(x_{t-1})\right\|^{2}\\&=\mathbb{E}_{\xi_{t}}\left\|g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})\right\|^{2}-\left\|\nabla f(x_{t})-\nabla f(x_{t-1})\right\|^{2}\\&\leq\mathbb{E}_{\xi_{t}}\left\|g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})\right\|^{2}\\&\leq\bar{L}^{2}\left\|x_{t}-x_{t-1}\right\|^{2}\leq\bar{L}^{2}\eta^{2}.\end{align*} E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 ≤ L ˉ 2 ∥ x t − x t − 1 ∥ 2 ≤ L ˉ 2 η 2 .
Consequently, we can ensure
E ∥ e t ∥ 2 = ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + E ∥ β [ g ( x t ; ξ t ) − ∇ f ( x t ) ] + ( 1 − β ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ] ∥ 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 E ∥ g ( x t ; ξ t ) − ∇ f ( x t ) ∥ 2 + 2 ( 1 − β ) 2 E ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 σ 2 + 2 ( 1 − β ) 2 L ˉ 2 η 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 σ 2 + 2 L ˉ 2 η 2 . \begin{align*}\mathbb{E}\left\|e_{t}\right\|^{2}&=(1-\beta)^{2}\mathbb{E}\left\|e_{t-1}\right\|^{2}\\&\quad+\mathbb{E}\left\|\beta[g(x_{t};\xi_{t})-\nabla f(x_{t})]+(1-\beta)[g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})-\nabla f(x_{t})+\nabla f(x_{t-1})]\right\|^{2}\\&\leq(1-\beta)^{2}\mathbb{E}\left\|e_{t-1}\right\|^{2}+2\beta^{2}\mathbb{E}\left\|g(x_{t};\xi_{t})-\nabla f(x_{t})\right\|^{2}\\&\quad+2(1-\beta)^{2}\mathbb{E}\left\|g(x_{t};\xi_{t})-g(x_{t-1};\xi_{t})-\nabla f(x_{t})+\nabla f(x_{t-1})\right\|^{2}\\&\leq(1-\beta)^{2}\mathbb{E}\left\|e_{t-1}\right\|^{2}+2\beta^{2}\sigma^{2}+2(1-\beta)^{2}\bar{L}^{2}\eta^{2}\\&\leq(1-\beta)^{2}\mathbb{E}\left\|e_{t-1}\right\|^{2}+2\beta^{2}\sigma^{2}+2\bar{L}^{2}\eta^{2}.\end{align*} E ∥ e t ∥ 2 = ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + E ∥ β [ g ( x t ; ξ t ) − ∇ f ( x t )] + ( 1 − β ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 )] ∥ 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 E ∥ g ( x t ; ξ t ) − ∇ f ( x t ) ∥ 2 + 2 ( 1 − β ) 2 E ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 σ 2 + 2 ( 1 − β ) 2 L ˉ 2 η 2 ≤ ( 1 − β ) 2 E ∥ e t − 1 ∥ 2 + 2 β 2 σ 2 + 2 L ˉ 2 η 2 .
The initialization gives E ∥ e 1 ∥ 2 = E ∥ g ( x 1 ; ξ 1 ) − ∇ f ( x 1 ) ∥ 2 ≤ σ 2 \mathbb{E} \|e_1\|^2 = \mathbb{E} \|g(x_1; \xi_1) - \nabla f(x_1)\|^2 \leq \sigma^2 E ∥ e 1 ∥ 2 = E ∥ g ( x 1 ; ξ 1 ) − ∇ f ( x 1 ) ∥ 2 ≤ σ 2 . Repeated substitution in the last recursion yields
E ∥ e t ∥ 2 ≤ ( 1 − β ) 2 ( t − 1 ) E ∥ e 1 ∥ 2 + ( 2 β 2 σ 2 + 2 L ˉ 2 η 2 ) ∑ j = 0 t − 2 ( 1 − β ) 2 j ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 β 2 σ 2 + 2 L ˉ 2 η 2 1 − ( 1 − β ) 2 ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 β 2 σ 2 + 2 L ˉ 2 η 2 β = σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 ( σ 2 + L ˉ 2 ) n − 2 / 3 , \begin{align*}\mathbb{E}\left\|e_{t}\right\|^{2}&\leq(1-\beta)^{2(t-1)}\mathbb{E}\left\|e_{1}\right\|^{2}+(2\beta^{2}\sigma^{2}+2\bar{L}^{2}\eta^{2})\sum_{j=0}^{t-2}(1-\beta)^{2j}\\&\leq\sigma^{2}(1-\beta)^{2(t-1)}+\frac{2\beta^{2}\sigma^{2}+2\bar{L}^{2}\eta^{2}}{1-(1-\beta)^{2}}\\&\leq\sigma^{2}(1-\beta)^{2(t-1)}+\frac{2\beta^{2}\sigma^{2}+2\bar{L}^{2}\eta^{2}}{\beta}\\&=\sigma^{2}(1-\beta)^{2(t-1)}+2(\sigma^{2}+\bar{L}^{2})n^{-2/3},\end{align*} E ∥ e t ∥ 2 ≤ ( 1 − β ) 2 ( t − 1 ) E ∥ e 1 ∥ 2 + ( 2 β 2 σ 2 + 2 L ˉ 2 η 2 ) j = 0 ∑ t − 2 ( 1 − β ) 2 j ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + 1 − ( 1 − β ) 2 2 β 2 σ 2 + 2 L ˉ 2 η 2 ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + β 2 β 2 σ 2 + 2 L ˉ 2 η 2 = σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 ( σ 2 + L ˉ 2 ) n − 2/3 ,
where 1 − ( 1 − β ) 2 = β ( 2 − β ) ≥ β 1 - (1 - \beta)^2 = \beta(2 - \beta) \geq \beta 1 − ( 1 − β ) 2 = β ( 2 − β ) ≥ β and β = η = n − 2 / 3 \beta = \eta = n^{-2/3} β = η = n − 2/3 . Taking square roots,
E ∥ e t ∥ ≤ E ∥ e t ∥ 2 ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 ( σ 2 + L ˉ 2 ) n − 2 / 3 ≤ σ ( 1 − β ) t − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1 / 3 , \begin{align*}\mathbb{E}\left\|e_{t}\right\|&\leq\sqrt{\mathbb{E}\left\|e_{t}\right\|^{2}}\\&\leq\sqrt{\sigma^{2}(1-\beta)^{2(t-1)}+2(\sigma^{2}+\bar{L}^{2})n^{-2/3}}\\&\leq\sigma(1-\beta)^{t-1}+\sqrt{2(\sigma^{2}+\bar{L}^{2})}n^{-1/3},\end{align*} E ∥ e t ∥ ≤ E ∥ e t ∥ 2 ≤ σ 2 ( 1 − β ) 2 ( t − 1 ) + 2 ( σ 2 + L ˉ 2 ) n − 2/3 ≤ σ ( 1 − β ) t − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1/3 ,
which proves (34).
The second phase of Algorithm 1 starts at x n + 1 x_{n+1} x n + 1 . By (31), E [ f ( x n + 1 ) − f ∗ ] ≤ C G \mathbb{E}[f(x_{n+1}) - f_*] \leq C_G E [ f ( x n + 1 ) − f ∗ ] ≤ C G . Applying Lemma 5 gives
∑ t = n + 1 2 n η V E ∥ v t − ∇ f ( x t ) ∥ ≤ η V ∑ j = 1 n [ σ ( 1 − β V ) j − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1 / 3 ] ≤ η V σ β V + n η V 2 ( σ 2 + L ˉ 2 ) n − 1 / 3 = n − 2 / 3 σ n − 2 / 3 + n n − 2 / 3 2 ( σ 2 + L ˉ 2 ) n − 1 / 3 = σ + 2 ( σ 2 + L ˉ 2 ) . \begin{align*}&\sum_{t=n+1}^{2n}\eta_{V}\mathbb{E}\left\|v_{t}-\nabla f(x_{t})\right\|\\&\quad\leq\eta_{V}\sum_{j=1}^{n}\left[\sigma(1-\beta_{V})^{j-1}+\sqrt{2(\sigma^{2}+\bar{L}^{2})}n^{-1/3}\right]\\&\quad\leq\frac{\eta_{V}\sigma}{\beta_{V}}+n\eta_{V}\sqrt{2(\sigma^{2}+\bar{L}^{2})}n^{-1/3}\\&\quad=\frac{n^{-2/3}\sigma}{n^{-2/3}}+n n^{-2/3}\sqrt{2(\sigma^{2}+\bar{L}^{2})}n^{-1/3}\\&\quad=\sigma+\sqrt{2(\sigma^{2}+\bar{L}^{2})}.\end{align*} t = n + 1 ∑ 2 n η V E ∥ v t − ∇ f ( x t ) ∥ ≤ η V j = 1 ∑ n [ σ ( 1 − β V ) j − 1 + 2 ( σ 2 + L ˉ 2 ) n − 1/3 ] ≤ β V η V σ + n η V 2 ( σ 2 + L ˉ 2 ) n − 1/3 = n − 2/3 n − 2/3 σ + n n − 2/3 2 ( σ 2 + L ˉ 2 ) n − 1/3 = σ + 2 ( σ 2 + L ˉ 2 ) .
Summing Lemma 1 over this phase, we obtain
η V ∑ t = n + 1 2 n E ∥ ∇ f ( x t ) ∥ ≤ E [ f ( x n + 1 ) − f ( x 2 n + 1 ) ] + 2 ∑ t = n + 1 2 n η V E ∥ v t − ∇ f ( x t ) ∥ + L 2 n η V 2 ≤ C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) + L 2 n − 1 / 3 . \begin{align*}\eta_{V}\sum_{t=n+1}^{2n}\mathbb{E}\left\|\nabla f(x_{t})\right\|&\leq\mathbb{E}[f(x_{n+1})-f(x_{2n+1})]+2\sum_{t=n+1}^{2n}\eta_{V}\mathbb{E}\left\|v_{t}-\nabla f(x_{t})\right\|+\frac{L}{2}n\eta_{V}^{2}\\&\leq C_{G}+2\sigma+2\sqrt{2(\sigma^{2}+\bar{L}^{2})}+\frac{L}{2}n^{-1/3}.\end{align*} η V t = n + 1 ∑ 2 n E ∥ ∇ f ( x t ) ∥ ≤ E [ f ( x n + 1 ) − f ( x 2 n + 1 )] + 2 t = n + 1 ∑ 2 n η V E ∥ v t − ∇ f ( x t ) ∥ + 2 L n η V 2 ≤ C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) + 2 L n − 1/3 .
The uniform reservoir assigns probability 1/n to each point in this phase. Since n η V = n 1 / 3 n\eta_{V}=n^{1/3} n η V = n 1/3 ,
E ∥ ∇ f ( X V ) ∥ = 1 n ∑ t = n + 1 2 n E ∥ ∇ f ( x t ) ∥ ≤ C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) + ( L / 2 ) n − 1 / 3 n 1 / 3 = [ C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1 / 3 + L 2 n − 2 / 3 ≤ [ C G + L 2 + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1 / 3 . \begin{align*}\mathbb{E}\left\|\nabla f(X_{V})\right\|&=\frac{1}{n}\sum_{t=n+1}^{2n}\mathbb{E}\left\|\nabla f(x_{t})\right\|\\&\leq\frac{C_{G}+2\sigma+2\sqrt{2(\sigma^{2}+\bar{L}^{2})}+(L/2)n^{-1/3}}{n^{1/3}}\\&=\left[C_{G}+2\sigma+2\sqrt{2(\sigma^{2}+\bar{L}^{2})}\right]n^{-1/3}+\frac{L}{2}n^{-2/3}\\&\leq\left[C_{G}+\frac{L}{2}+2\sigma+2\sqrt{2(\sigma^{2}+\bar{L}^{2})}\right]n^{-1/3}.\end{align*} E ∥ ∇ f ( X V ) ∥ = n 1 t = n + 1 ∑ 2 n E ∥ ∇ f ( x t ) ∥ ≤ n 1/3 C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) + ( L /2 ) n − 1/3 = [ C G + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1/3 + 2 L n − 2/3 ≤ [ C G + 2 L + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1/3 .
(35)
A.5 Validation phase
Apply Lemma 2 with m = 2 and b samples at each of X G , X V X_{G}, X_{V} X G , X V . Then
E ∥ ∇ f ( x ^ T ) ∥ ≤ min { E ∥ ∇ f ( X G ) ∥ , E ∥ ∇ f ( X V ) ∥ } + 2 σ b . \mathbb{E}\left\|\nabla f(\widehat{x}_{T})\right\|\leq\min\{\mathbb{E}\left\|\nabla f(X_{G})\right\|,\mathbb{E}\left\|\nabla f(X_{V})\right\|\}+\frac{2\sigma}{\sqrt{b}}. E ∥ ∇ f ( x T ) ∥ ≤ min { E ∥ ∇ f ( X G ) ∥ , E ∥ ∇ f ( X V ) ∥ } + b 2 σ .
Combining this bound with (32) gives
E ∥ ∇ f ( x ^ T ) ∥ ≤ C G n − 1 / 4 + 2 σ b , \mathbb{E}\left\|\nabla f(\widehat{x}_{T})\right\|\leq C_{G}n^{-1/4}+\frac{2\sigma}{\sqrt{b}}, E ∥ ∇ f ( x T ) ∥ ≤ C G n − 1/4 + b 2 σ ,
which proves (6). Under average smoothness, (35) instead gives
E ∥ ∇ f ( x ^ T ) ∥ ≤ [ C G + L 2 + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1 / 3 + 2 σ b , \mathbb{E}\left\|\nabla f(\widehat{x}_T)\right\|\leq \left[C_G + \frac{L}{2} + 2\sigma + 2\sqrt{2(\sigma^2+\bar{L}^2)}\right]n^{-1/3} + \frac{2\sigma}{\sqrt{b}}, E ∥ ∇ f ( x T ) ∥ ≤ [ C G + 2 L + 2 σ + 2 2 ( σ 2 + L ˉ 2 ) ] n − 1/3 + b 2 σ ,
which proves (1). Finally, when σ = 0 \sigma=0 σ = 0 , exact validation and (33) imply (1):
E ∥ ∇ f ( x ^ T ) ∥ ≤ E ∥ ∇ f ( X G ) ∥ ≤ ( Δ f + L / 2 ) n − 1 / 2 . \mathbb{E}\left\|\nabla f(\widehat{x}_T)\right\|\leq\mathbb{E}\left\|\nabla f(X_G)\right\|\leq(\Delta_f+L/2)n^{-1/2}. E ∥ ∇ f ( x T ) ∥ ≤ E ∥ ∇ f ( X G ) ∥ ≤ ( Δ f + L /2 ) n − 1/2 .
Next, we count the oracle calls and validation calls below
Phase Optimization calls Validation calls Maximum per round First phase ≤ 2 n + 1 \leq 2n+1 ≤ 2 n + 1 0 0 0 3 3 3 Variance reduction phase 2 n − 1 2n-1 2 n − 1 b b b 3 3 3 Final validation 0 0 0 b b b 1 1 1 Total ≤ 4 n \leq 4n ≤ 4 n 2 b 2b 2 b 3 3 3
Thus the total oracle cost satisfies
r o u n d s = 2 n + b , o r a c l e c a l l s ≤ ( 2 n + 1 ) + ( 2 n − 1 ) + 2 b = 4 n + 2 b ≤ T . \mathrm{rounds}=2n+b,\qquad\mathrm{oracle\ calls}\leq(2n+1)+(2n-1)+2b=4n+2b\leq T. rounds = 2 n + b , oracle calls ≤ ( 2 n + 1 ) + ( 2 n − 1 ) + 2 b = 4 n + 2 b ≤ T .
B Proof of Theorem 2
B.1 Variance reduction bound
Lemma 6. Under mean-square smoothness, the update (9)–(11) satisfies
E ∥ v t − ∇ f ( x t V ) ∥ 2 ≤ K t − 2 / 3 . (36) \mathbb{E}\left\|v_t-\nabla f(x_t^V)\right\|^2\leq Kt^{-2/3}. \tag{36} E v t − ∇ f ( x t V ) 2 ≤ K t − 2/3 . ( 36 )
Its weighted reservoir candidate satisfies
E ∥ ∇ f ( V n ) ∥ ≤ Δ f + 2 L + 2 K ( 1 + log n ) W n , W n ≥ n 1 / 3 . (37) \mathbb{E}\left\|\nabla f(V_n)\right\|\leq \frac{\Delta_f+2L+2\sqrt{K}(1+\log n)}{W_n},\qquad W_n\ge n^{1/3}. \tag{37} E ∥ ∇ f ( V n ) ∥ ≤ W n Δ f + 2 L + 2 K ( 1 + log n ) , W n ≥ n 1/3 . ( 37 )
Proof. We omit the superscript V V V and write e t = v t − ∇ f ( x t ) e_t = v_t - \nabla f(x_t) e t = v t − ∇ f ( x t ) . For t ≥ 2 t\ge 2 t ≥ 2 , the estimator gives
e t = ( 1 − β t ) e t − 1 + ( 1 − β t ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ] + β t [ g ( x t ; ξ t ) − ∇ f ( x t ) ] . (38) \begin{aligned}e_t&=(1-\beta_t)e_{t-1}\\
&\quad+(1-\beta_t)[g(x_t;\xi_t)-g(x_{t-1};\xi_t)-\nabla f(x_t)+\nabla f(x_{t-1})]\\
&\quad+\beta_t[g(x_t;\xi_t)-\nabla f(x_t)].\end{aligned} \tag{38} e t = ( 1 − β t ) e t − 1 + ( 1 − β t ) [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 )] + β t [ g ( x t ; ξ t ) − ∇ f ( x t )] . ( 38 )
By unbiasedness, we have
E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ] = ∇ f ( x t ) − ∇ f ( x t − 1 ) . \mathbb{E}_{\xi_t}[g(x_t;\xi_t)-g(x_{t-1};\xi_t)]=\nabla f(x_t)-\nabla f(x_{t-1}). E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t )] = ∇ f ( x t ) − ∇ f ( x t − 1 ) .
Expanding the square gives
E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − 2 ⟨ E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ] , ∇ f ( x t ) − ∇ f ( x t − 1 ) ⟩ + ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ L ˉ 2 ∥ x t − x t − 1 ∥ 2 ≤ L ˉ 2 η t − 1 2 . \begin{aligned}\mathbb{E}_{\xi_t}\|g(x_t;\xi_t)-g(x_{t-1};\xi_t)-\nabla f(x_t)+\nabla f(x_{t-1})\|^2\\\quad=\mathbb{E}_{\xi_t}\|g(x_t;\xi_t)-g(x_{t-1};\xi_t)\|^2\\\qquad -2\left\langle\mathbb{E}_{\xi_t}[g(x_t;\xi_t)-g(x_{t-1};\xi_t)],\nabla f(x_t)-\nabla f(x_{t-1})\right\rangle\\\quad +\|\nabla f(x_t)-\nabla f(x_{t-1})\|^2\\\quad=\mathbb{E}_{\xi_t}\|g(x_t;\xi_t)-g(x_{t-1};\xi_t)\|^2-\|\nabla f(x_t)-\nabla f(x_{t-1})\|^2\\\leq \bar{L}^2\|x_t-x_{t-1}\|^2\leq \bar{L}^2\eta_{t-1}^2.\end{aligned} E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) − ∇ f ( x t ) + ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − 2 ⟨ E ξ t [ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t )] , ∇ f ( x t ) − ∇ f ( x t − 1 ) ⟩ + ∥∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 = E ξ t ∥ g ( x t ; ξ t ) − g ( x t − 1 ; ξ t ) ∥ 2 − ∥∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ L ˉ 2 ∥ x t − x t − 1 ∥ 2 ≤ L ˉ 2 η t − 1 2 .
Here we used mean-square smoothness and ∥ x t − x t − 1 ∥ ≤ η t − 1 \|x_t-x_{t-1}\|\leq \eta_{t-1} ∥ x t − x t − 1 ∥ ≤ η t − 1 .
Both bracketed terms in (38) have zero mean. Their cross terms with e t − 1 e_{t-1} e t − 1 therefore vanish. Applying ∥ u + v ∥ 2 ≤ 2 ∥ u ∥ 2 + 2 ∥ v ∥ 2 \|u + v\|^2 \leq 2 \|u\|^2 + 2 \|v\|^2 ∥ u + v ∥ 2 ≤ 2∥ u ∥ 2 + 2∥ v ∥ 2 to their sum gives
E ξ t ∥ e t ∥ 2 ≤ ( 1 − β t ) 2 ∥ e t − 1 ∥ 2 + 2 ( 1 − β t ) 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 ≤ ( 1 − β t ) 2 ∥ e t − 1 ∥ 2 + 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 . \begin{align*}\mathbb{E}_{\xi_{t}}\left\|e_{t}\right\|^{2}&\leq(1-\beta_{t})^{2}\left\|e_{t-1}\right\|^{2}+2(1-\beta_{t})^{2}\bar{L}^{2}\eta_{t-1}^{2}+2\beta_{t}^{2}\sigma^{2}\\&\leq(1-\beta_{t})^{2}\left\|e_{t-1}\right\|^{2}+2\bar{L}^{2}\eta_{t-1}^{2}+2\beta_{t}^{2}\sigma^{2}.\end{align*} E ξ t ∥ e t ∥ 2 ≤ ( 1 − β t ) 2 ∥ e t − 1 ∥ 2 + 2 ( 1 − β t ) 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 ≤ ( 1 − β t ) 2 ∥ e t − 1 ∥ 2 + 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 .
Averaging over the earlier samples proves
E ∥ v t − ∇ f ( x t ) ∥ 2 ≤ ( 1 − β t ) 2 E ∥ v t − 1 − ∇ f ( x t − 1 ) ∥ 2 + 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 . (39) \mathbb{E}\left\|v_{t}-\nabla f(x_{t})\right\|^{2}\leq(1-\beta_{t})^{2}\mathbb{E}\left\|v_{t-1}-\nabla f(x_{t-1})\right\|^{2}+2\bar{L}^{2}\eta_{t-1}^{2}+2\beta_{t}^{2}\sigma^{2}. \tag{39} E ∥ v t − ∇ f ( x t ) ∥ 2 ≤ ( 1 − β t ) 2 E ∥ v t − 1 − ∇ f ( x t − 1 ) ∥ 2 + 2 L ˉ 2 η t − 1 2 + 2 β t 2 σ 2 . ( 39 )
We prove (36) by induction with K = 6 L ˉ 2 + 2 σ 2 K = 6\bar{L}^2 + 2\sigma^2 K = 6 L ˉ 2 + 2 σ 2 . At t = 1 t = 1 t = 1 ,
E ∥ e 1 ∥ 2 = E ∥ g ( x 1 ; ξ 1 ) − ∇ f ( x 1 ) ∥ 2 ≤ σ 2 ≤ K = K β 1 . \mathbb{E}\left\|e_{1}\right\|^{2}=\mathbb{E}\left\|g(x_{1};\xi_{1})-\nabla f(x_{1})\right\|^{2}\leq\sigma^{2}\leq K=K\beta_{1}. E ∥ e 1 ∥ 2 = E ∥ g ( x 1 ; ξ 1 ) − ∇ f ( x 1 ) ∥ 2 ≤ σ 2 ≤ K = K β 1 .
For t ≥ 2 t \geq 2 t ≥ 2 , β t = t − 2 / 3 ≥ 1 / t \beta_t = t^{-2/3} \geq 1/t β t = t − 2/3 ≥ 1/ t and u ≤ u 2 / 3 u \leq u^{2/3} u ≤ u 2/3 for 0 ≤ u ≤ 1 0 \leq u \leq 1 0 ≤ u ≤ 1 , so
1 − β t ≤ 1 − 1 t ≤ ( 1 − 1 t ) 2 / 3 = β t β t − 1 . (40) 1-\beta_{t}\leq1-\frac{1}{t}\leq\left(1-\frac{1}{t}\right)^{2/3}=\frac{\beta_{t}}{\beta_{t-1}}. \tag{40} 1 − β t ≤ 1 − t 1 ≤ ( 1 − t 1 ) 2/3 = β t − 1 β t . ( 40 )
Multiplying this inequality by ( 1 − β t ) β t − 1 ≥ 0 (1 - \beta_t)\beta_{t-1} \geq 0 ( 1 − β t ) β t − 1 ≥ 0 yields
( 1 − β t ) 2 β t − 1 ≤ ( 1 − β t ) β t . (1-\beta_{t})^{2}\beta_{t-1}\leq(1-\beta_{t})\beta_{t}. ( 1 − β t ) 2 β t − 1 ≤ ( 1 − β t ) β t .
Also,
η t − 1 2 β t 2 = ( t − 1 ) − 4 / 3 t − 4 / 3 = ( t t − 1 ) 4 / 3 ≤ 2 4 / 3 < 3. \frac{\eta_{t-1}^{2}}{\beta_{t}^{2}}=\frac{(t-1)^{-4/3}}{t^{-4/3}}=\left(\frac{t}{t-1}\right)^{4/3}\leq2^{4/3}<3. β t 2 η t − 1 2 = t − 4/3 ( t − 1 ) − 4/3 = ( t − 1 t ) 4/3 ≤ 2 4/3 < 3.
If E ∥ e t − 1 ∥ 2 ≤ K β t − 1 \mathbb{E}\left\|e_{t-1}\right\|^2 \leq K\beta_{t-1} E ∥ e t − 1 ∥ 2 ≤ K β t − 1 , the recursion gives
E ∥ e t ∥ 2 ≤ K ( 1 − β t ) 2 β t − 1 + 6 L ˉ 2 β t 2 + 2 σ 2 β t 2 ≤ K ( 1 − β t ) β t + ( 6 L ˉ 2 + 2 σ 2 ) β t 2 = K β t − K β t 2 + K β t 2 = K β t . \begin{align*}\mathbb{E}\left\|e_{t}\right\|^{2}&\leq K(1-\beta_{t})^{2}\beta_{t-1}+6\bar{L}^{2}\beta_{t}^{2}+2\sigma^{2}\beta_{t}^{2}\\&\leq K(1-\beta_{t})\beta_{t}+(6\bar{L}^{2}+2\sigma^{2})\beta_{t}^{2}\\&=K\beta_{t}-K\beta_{t}^{2}+K\beta_{t}^{2}=K\beta_{t}.\end{align*} E ∥ e t ∥ 2 ≤ K ( 1 − β t ) 2 β t − 1 + 6 L ˉ 2 β t 2 + 2 σ 2 β t 2 ≤ K ( 1 − β t ) β t + ( 6 L ˉ 2 + 2 σ 2 ) β t 2 = K β t − K β t 2 + K β t 2 = K β t .
Thus, by Cauchy–Schwarz,
E ∥ e t ∥ ≤ E ∥ e t ∥ 2 ≤ K t − 1 / 3 . \mathbb{E}\left\|e_{t}\right\|\leq\sqrt{\mathbb{E}\left\|e_{t}\right\|^{2}}\leq\sqrt{K}t^{-1/3}. E ∥ e t ∥ ≤ E ∥ e t ∥ 2 ≤ K t − 1/3 .
By Lemma 1,
η t ∥ ∇ f ( x t ) ∥ ≤ f ( x t ) − f ( x t + 1 ) + 2 η t ∥ e t ∥ + L 2 η t 2 . \eta_{t}\left\|\nabla f(x_{t})\right\|\leq f(x_{t})-f(x_{t+1})+2\eta_{t}\left\|e_{t}\right\|+\frac{L}{2}\eta_{t}^{2}. η t ∥ ∇ f ( x t ) ∥ ≤ f ( x t ) − f ( x t + 1 ) + 2 η t ∥ e t ∥ + 2 L η t 2 .
Taking expectations, summing, and using f ( x n + 1 ) ≥ f ∗ f(x_{n+1}) \geq f_{*} f ( x n + 1 ) ≥ f ∗ gives
∑ t = 1 n η t E ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − E f ( x n + 1 ) + 2 ∑ t = 1 n η t E ∥ e t ∥ + L 2 ∑ t = 1 n η t 2 ≤ Δ f + 2 K ∑ t = 1 n t − 2 / 3 t − 1 / 3 + L 2 ∑ t = 1 n t − 4 / 3 = Δ f + 2 K ∑ t = 1 n 1 t + L 2 ∑ t = 1 n t − 4 / 3 . \begin{align*}\sum_{t=1}^{n}\eta_{t}\mathbb{E}\left\|\nabla f(x_{t})\right\|&\leq f(x_{1})-\mathbb{E}f(x_{n+1})+2\sum_{t=1}^{n}\eta_{t}\mathbb{E}\left\|e_{t}\right\|+\frac{L}{2}\sum_{t=1}^{n}\eta_{t}^{2}\\&\leq\Delta_{f}+2\sqrt{K}\sum_{t=1}^{n}t^{-2/3}t^{-1/3}+\frac{L}{2}\sum_{t=1}^{n}t^{-4/3}\\&=\Delta_{f}+2\sqrt{K}\sum_{t=1}^{n}\frac{1}{t}+\frac{L}{2}\sum_{t=1}^{n}t^{-4/3}.\end{align*} t = 1 ∑ n η t E ∥ ∇ f ( x t ) ∥ ≤ f ( x 1 ) − E f ( x n + 1 ) + 2 t = 1 ∑ n η t E ∥ e t ∥ + 2 L t = 1 ∑ n η t 2 ≤ Δ f + 2 K t = 1 ∑ n t − 2/3 t − 1/3 + 2 L t = 1 ∑ n t − 4/3 = Δ f + 2 K t = 1 ∑ n t 1 + 2 L t = 1 ∑ n t − 4/3 .
Since both summands decrease with t,
∑ t = 1 n 1 t ≤ 1 + ∫ 1 n d s s = 1 + log n , \sum_{t=1}^{n}\frac{1}{t}\leq1+\int_{1}^{n}\frac{ds}{s}=1+\log n, t = 1 ∑ n t 1 ≤ 1 + ∫ 1 n s d s = 1 + log n ,
∑ t = 1 n t − 4 / 3 ≤ 1 + ∫ 1 n s − 4 / 3 d s = 1 + 3 ( 1 − n − 1 / 3 ) ≤ 4. \sum_{t=1}^{n}t^{-4/3}\leq1+\int_{1}^{n}s^{-4/3}ds=1+3(1-n^{-1/3})\leq4. t = 1 ∑ n t − 4/3 ≤ 1 + ∫ 1 n s − 4/3 d s = 1 + 3 ( 1 − n − 1/3 ) ≤ 4.
Consequently,
∑ t = 1 n η t E ∥ ∇ f ( x t ) ∥ ≤ Δ f + 2 K ( 1 + log n ) + 2 L . \sum_{t=1}^{n}\eta_{t}\mathbb{E}\left\|\nabla f(x_{t})\right\|\leq\Delta_{f}+2\sqrt{K}(1+\log n)+2L. t = 1 ∑ n η t E ∥ ∇ f ( x t ) ∥ ≤ Δ f + 2 K ( 1 + log n ) + 2 L .
The weights η t \eta_{t} η t are deterministic, and the index-selection law in (13) gives
E ∥ ∇ f ( V n ) ∥ = E [ ∑ t = 1 n η t W n ∥ ∇ f ( x t ) ∥ ] = 1 W n ∑ t = 1 n η t E ∥ ∇ f ( x t ) ∥ . \mathbb{E}\left\|\nabla f(V_{n})\right\|=\mathbb{E}\left[\sum_{t=1}^{n}\frac{\eta_{t}}{W_{n}}\left\|\nabla f(x_{t})\right\|\right]=\frac{1}{W_{n}}\sum_{t=1}^{n}\eta_{t}\mathbb{E}\left\|\nabla f(x_{t})\right\|. E ∥ ∇ f ( V n ) ∥ = E [ t = 1 ∑ n W n η t ∥ ∇ f ( x t ) ∥ ] = W n 1 t = 1 ∑ n η t E ∥ ∇ f ( x t ) ∥ .
This proves the first bound in (37). For the second bound,
W n = ∑ t = 1 n t − 2 / 3 ≥ ∑ t = 1 n n − 2 / 3 = n 1 / 3 . W_{n}=\sum_{t=1}^{n}t^{-2/3}\geq\sum_{t=1}^{n}n^{-2/3}=n^{1/3}. W n = t = 1 ∑ n t − 2/3 ≥ t = 1 ∑ n n − 2/3 = n 1/3 .
☐
B.2 AdaGrad-Norm bound
The proof below follows the potential approach of Wang et al. (2023). We give the details for bounded variance and a uniformly sampled output.
Lemma 7. Under standard smoothness and bounded variance alone, the update (12) satisfies
E b n ≤ M n , E ∑ t = 1 n ∥ ∇ f ( x t A ) ∥ 2 b t − 1 ≤ C A + 4 L log M n . \begin{align*}\mathbb{E}b_{n}&\leq M_{n},\\\mathbb{E}\sum_{t=1}^{n}\frac{\left\|\nabla f(x_{t}^{A})\right\|^{2}}{b_{t-1}}&\leq C_{A}+4L\log M_{n}.\end{align*} E b n E t = 1 ∑ n b t − 1 ∇ f ( x t A ) 2 ≤ M n , ≤ C A + 4 L log M n .
(41)
Consequently, its uniform reservoir candidate satisfies
E ∥ ∇ f ( A n ) ∥ ≤ M n ( C A + 4 L log M n ) n . (42) \mathbb{E}\left\|\nabla f(A_{n})\right\|\leq\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}. \tag{42} E ∥ ∇ f ( A n ) ∥ ≤ n M n ( C A + 4 L log M n ) . ( 42 )
Proof. We omit the superscript A in this proof. Recall that
b 0 = 1 , b t 2 = b t − 1 2 + ∥ g t ∥ 2 , x t + 1 = x t − g t b t . b_{0}=1,\qquad b_{t}^{2}=b_{t-1}^{2}+\|g_{t}\|^{2},\qquad x_{t+1}=x_{t}-\frac{g_{t}}{b_{t}}. b 0 = 1 , b t 2 = b t − 1 2 + ∥ g t ∥ 2 , x t + 1 = x t − b t g t .
In particular,
b t ≥ b t − 1 ≥ 1 , b t ≥ ∥ g t ∥ , ∥ x t + 1 − x t ∥ = ∥ g t ∥ b t ≤ 1. b_{t}\geq b_{t-1}\geq1,\qquad b_{t}\geq\|g_{t}\|,\qquad\|x_{t+1}-x_{t}\|=\frac{\|g_{t}\|}{b_{t}}\leq1. b t ≥ b t − 1 ≥ 1 , b t ≥ ∥ g t ∥ , ∥ x t + 1 − x t ∥ = b t ∥ g t ∥ ≤ 1.
Thus ∥ x t − x 1 ∥ ≤ t − 1 \|x_t - x_1\| \leq t - 1 ∥ x t − x 1 ∥ ≤ t − 1 and
∥ ∇ f ( x t ) ∥ ≤ ∥ ∇ f ( x 1 ) ∥ + L ( t − 1 ) , E ∥ g t ∥ 2 ≤ ( ∥ ∇ f ( x 1 ) ∥ + L ( t − 1 ) ) 2 + σ 2 . \|\nabla f(x_{t})\|\leq\|\nabla f(x_{1})\|+L(t-1),\qquad\mathbb{E}\left\|g_{t}\right\|^{2}\leq\left(\|\nabla f(x_{1})\|+L(t-1)\right)^{2}+\sigma^{2}. ∥∇ f ( x t ) ∥ ≤ ∥∇ f ( x 1 ) ∥ + L ( t − 1 ) , E ∥ g t ∥ 2 ≤ ( ∥∇ f ( x 1 ) ∥ + L ( t − 1 ) ) 2 + σ 2 .
For the proof only, set x 0 = x 1 x_{0}=x_{1} x 0 = x 1 and g 0 = 0 g_{0}=0 g 0 = 0 to make x 1 = x 0 − g 0 / b 0 x_{1}=x_{0}-g_{0}/b_{0} x 1 = x 0 − g 0 / b 0 valid.
We first bound the effect of using the current gradient in b t b_{t} b t . Unbiasedness gives
E ∥ g t ∥ 2 = ∥ ∇ f ( x t ) ∥ 2 + 2 ⟨ ∇ f ( x t ) , E g t − ∇ f ( x t ) ⟩ + E ∥ g t − ∇ f ( x t ) ∥ 2 ≤ ∥ ∇ f ( x t ) ∥ 2 + σ 2 . \begin{align*}\mathbb{E}\left\|g_{t}\right\|^{2}&=\left\|\nabla f(x_{t})\right\|^{2}+2\left\langle\nabla f(x_{t}),\mathbb{E}g_{t}-\nabla f(x_{t})\right\rangle+\mathbb{E}\left\|g_{t}-\nabla f(x_{t})\right\|^{2}\\&\leq\left\|\nabla f(x_{t})\right\|^{2}+\sigma^{2}.\end{align*} E ∥ g t ∥ 2 = ∥ ∇ f ( x t ) ∥ 2 + 2 ⟨ ∇ f ( x t ) , E g t − ∇ f ( x t ) ⟩ + E ∥ g t − ∇ f ( x t ) ∥ 2 ≤ ∥ ∇ f ( x t ) ∥ 2 + σ 2 .
The difference between the two normalizations is
1 b t − 1 − 1 b t = b t − b t − 1 b t − 1 b t = b t 2 − b t − 1 2 b t − 1 b t ( b t + b t − 1 ) = ∥ g t ∥ 2 b t − 1 b t ( b t + b t − 1 ) ≥ 0. \frac{1}{b_{t-1}}-\frac{1}{b_{t}}=\frac{b_{t}-b_{t-1}}{b_{t-1}b_{t}}=\frac{b_{t}^{2}-b_{t-1}^{2}}{b_{t-1}b_{t}(b_{t}+b_{t-1})}=\frac{\left\|g_{t}\right\|^{2}}{b_{t-1}b_{t}(b_{t}+b_{t-1})}\geq0. b t − 1 1 − b t 1 = b t − 1 b t b t − b t − 1 = b t − 1 b t ( b t + b t − 1 ) b t 2 − b t − 1 2 = b t − 1 b t ( b t + b t − 1 ) ∥ g t ∥ 2 ≥ 0.
Using this identity, the inner-product inequality, and ∥ g t ∥ ≤ b t \|g_t\| \leq b_t ∥ g t ∥ ≤ b t , we obtain
E [ ⟨ ∇ f ( x t ) , g t ⟩ ( 1 b t − 1 − 1 b t ) ] ≤ E [ ∣ ⟨ ∇ f ( x t ) , g t ⟩ ∣ ( 1 b t − 1 − 1 b t ) ] ≤ ∥ ∇ f ( x t ) ∥ E [ ∥ g t ∥ ( 1 b t − 1 − 1 b t ) ] = ∥ ∇ f ( x t ) ∥ b t − 1 E [ ∥ g t ∥ 3 b t ( b t + b t − 1 ) ] ≤ ∥ ∇ f ( x t ) ∥ b t − 1 E [ ∥ g t ∥ 2 b t + b t − 1 ] . \begin{align*}\mathbb{E}&\left[\langle\nabla f(x_{t}),g_{t}\rangle\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]\\&\leq\mathbb{E}\left[|\langle\nabla f(x_{t}),g_{t}\rangle|\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]\\&\leq\|\nabla f(x_{t})\|\mathbb{E}\left[\|g_{t}\|\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]\\&=\frac{\|\nabla f(x_{t})\|}{b_{t-1}}\mathbb{E}\left[\frac{\|g_{t}\|^{3}}{b_{t}(b_{t}+b_{t-1})}\right]\\&\leq\frac{\|\nabla f(x_{t})\|}{b_{t-1}}\mathbb{E}\left[\frac{\|g_{t}\|^{2}}{b_{t}+b_{t-1}}\right].\end{align*} E [ ⟨ ∇ f ( x t ) , g t ⟩ ( b t − 1 1 − b t 1 ) ] ≤ E [ ∣ ⟨ ∇ f ( x t ) , g t ⟩ ∣ ( b t − 1 1 − b t 1 ) ] ≤ ∥∇ f ( x t ) ∥ E [ ∥ g t ∥ ( b t − 1 1 − b t 1 ) ] = b t − 1 ∥∇ f ( x t ) ∥ E [ b t ( b t + b t − 1 ) ∥ g t ∥ 3 ] ≤ b t − 1 ∥∇ f ( x t ) ∥ E [ b t + b t − 1 ∥ g t ∥ 2 ] .
(43)
Cauchy–Schwarz bounds the last expectation by
( E ∥ g t ∥ 2 b t + b t − 1 ) 2 = ( E [ ∥ g t ∥ ∥ g t ∥ b t + b t − 1 ] ) 2 ≤ E ∥ g t ∥ 2 E ∥ g t ∥ 2 ( b t + b t − 1 ) 2 ≤ ( ∥ ∇ f ( x t ) ∥ 2 + σ 2 ) E ∥ g t ∥ 2 ( b t + b t − 1 ) 2 . \begin{align*}\left(\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t}+b_{t-1}}\right)^{2}&=\left(\mathbb{E}\left[\|g_{t}\|\frac{\|g_{t}\|}{b_{t}+b_{t-1}}\right]\right)^{2}\\&\leq\mathbb{E}\|g_{t}\|^{2}\mathbb{E}\frac{\|g_{t}\|^{2}}{(b_{t}+b_{t-1})^{2}}\\&\leq(\|\nabla f(x_{t})\|^{2}+\sigma^{2})\mathbb{E}\frac{\|g_{t}\|^{2}}{(b_{t}+b_{t-1})^{2}}.\end{align*} ( E b t + b t − 1 ∥ g t ∥ 2 ) 2 = ( E [ ∥ g t ∥ b t + b t − 1 ∥ g t ∥ ] ) 2 ≤ E ∥ g t ∥ 2 E ( b t + b t − 1 ) 2 ∥ g t ∥ 2 ≤ ( ∥∇ f ( x t ) ∥ 2 + σ 2 ) E ( b t + b t − 1 ) 2 ∥ g t ∥ 2 .
Apply u v ≤ ( u 2 + v 2 ) / 2 uv \leq (u^2 + v^2)/2 uv ≤ ( u 2 + v 2 ) /2 to the resulting product:
∥ ∇ f ( x t ) ∥ b t − 1 E ∥ g t ∥ 2 b t + b t − 1 ≤ ∥ ∇ f ( x t ) ∥ b t − 1 ( ∥ ∇ f ( x t ) ∥ 2 + σ 2 b t − 1 E ∥ g t ∥ 2 ( b t + b t − 1 ) 2 ) 1 / 2 ≤ ∥ ∇ f ( x t ) ∥ 2 2 b t − 1 + ∥ ∇ f ( x t ) ∥ 2 + σ 2 2 E ∥ g t ∥ 2 b t − 1 ( b t + b t − 1 ) 2 . \begin{align*}\frac{\|\nabla f(x_{t})\|}{b_{t-1}}\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t}+b_{t-1}}&\leq\frac{\|\nabla f(x_{t})\|}{\sqrt{b_{t-1}}}\left(\frac{\|\nabla f(x_{t})\|^{2}+\sigma^{2}}{b_{t-1}}\mathbb{E}\frac{\|g_{t}\|^{2}}{(b_{t}+b_{t-1})^{2}}\right)^{1/2}\\&\leq\frac{\|\nabla f(x_{t})\|^{2}}{2b_{t-1}}+\frac{\|\nabla f(x_{t})\|^{2}+\sigma^{2}}{2}\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t-1}(b_{t}+b_{t-1})^{2}}.\end{align*} b t − 1 ∥∇ f ( x t ) ∥ E b t + b t − 1 ∥ g t ∥ 2 ≤ b t − 1 ∥∇ f ( x t ) ∥ ( b t − 1 ∥∇ f ( x t ) ∥ 2 + σ 2 E ( b t + b t − 1 ) 2 ∥ g t ∥ 2 ) 1/2 ≤ 2 b t − 1 ∥∇ f ( x t ) ∥ 2 + 2 ∥∇ f ( x t ) ∥ 2 + σ 2 E b t − 1 ( b t + b t − 1 ) 2 ∥ g t ∥ 2 .
Since b t + b t − 1 ≥ b t b_{t} + b_{t-1} \geq b_{t} b t + b t − 1 ≥ b t ,
∥ g t ∥ 2 b t − 1 ( b t + b t − 1 ) 2 ≤ ∥ g t ∥ 2 b t − 1 b t ( b t + b t − 1 ) = 1 b t − 1 − 1 b t . \frac{\left\|g_{t}\right\|^{2}}{b_{t-1}(b_{t}+b_{t-1})^{2}}\leq\frac{\left\|g_{t}\right\|^{2}}{b_{t-1}b_{t}(b_{t}+b_{t-1})}=\frac{1}{b_{t-1}}-\frac{1}{b_{t}}. b t − 1 ( b t + b t − 1 ) 2 ∥ g t ∥ 2 ≤ b t − 1 b t ( b t + b t − 1 ) ∥ g t ∥ 2 = b t − 1 1 − b t 1 .
Substituting these bounds into (43) gives
E [ ⟨ ∇ f ( x t ) , g t ⟩ ( 1 b t − 1 − 1 b t ) ] ≤ ∥ ∇ f ( x t ) ∥ 2 2 b t − 1 + ∥ ∇ f ( x t ) ∥ 2 + σ 2 2 E [ 1 b t − 1 − 1 b t ] . (44) \mathbb{E}\left[\langle\nabla f(x_{t}),g_{t}\rangle\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]\leq\frac{\|\nabla f(x_{t})\|^{2}}{2b_{t-1}}+\frac{\|\nabla f(x_{t})\|^{2}+\sigma^{2}}{2}\mathbb{E}\left[\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right]. \tag{44} E [ ⟨ ∇ f ( x t ) , g t ⟩ ( b t − 1 1 − b t 1 ) ] ≤ 2 b t − 1 ∥∇ f ( x t ) ∥ 2 + 2 ∥∇ f ( x t ) ∥ 2 + σ 2 E [ b t − 1 1 − b t 1 ] . ( 44 )
Next, we rewrite the term containing ∥ ∇ f ( x t ) ∥ 2 \|\nabla f(x_t)\|^2 ∥∇ f ( x t ) ∥ 2 so that it can be summed over t t t :
∥ ∇ f ( x t ) ∥ 2 2 ( 1 b t − 1 − 1 b t ) = ∥ ∇ f ( x t ) ∥ 2 2 b t − 1 − ∥ ∇ f ( x t ) ∥ 2 2 b t = 1 2 ( ∥ ∇ f ( x t − 1 ) ∥ 2 b t − 1 − ∥ ∇ f ( x t ) ∥ 2 b t ) + ∥ ∇ f ( x t ) ∥ 2 − ∥ ∇ f ( x t − 1 ) ∥ 2 2 b t − 1 . \begin{align*}&\frac{\|\nabla f(x_{t})\|^{2}}{2}\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\\&\quad=\frac{\|\nabla f(x_{t})\|^{2}}{2b_{t-1}}-\frac{\|\nabla f(x_{t})\|^{2}}{2b_{t}}\\&\quad=\frac{1}{2}\left(\frac{\|\nabla f(x_{t-1})\|^{2}}{b_{t-1}}-\frac{\|\nabla f(x_{t})\|^{2}}{b_{t}}\right)+\frac{\|\nabla f(x_{t})\|^{2}-\|\nabla f(x_{t-1})\|^{2}}{2b_{t-1}}.\end{align*} 2 ∥∇ f ( x t ) ∥ 2 ( b t − 1 1 − b t 1 ) = 2 b t − 1 ∥∇ f ( x t ) ∥ 2 − 2 b t ∥∇ f ( x t ) ∥ 2 = 2 1 ( b t − 1 ∥∇ f ( x t − 1 ) ∥ 2 − b t ∥∇ f ( x t ) ∥ 2 ) + 2 b t − 1 ∥∇ f ( x t ) ∥ 2 − ∥∇ f ( x t − 1 ) ∥ 2 .
(45)
For the last numerator, smoothness gives
∥ ∇ f ( x t ) ∥ 2 − ∥ ∇ f ( x t − 1 ) ∥ 2 = 2 ⟨ ∇ f ( x t ) , ∇ f ( x t ) − ∇ f ( x t − 1 ) ⟩ − ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ 2 ∥ ∇ f ( x t ) ∥ ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ ≤ 2 L ∥ ∇ f ( x t ) ∥ ∥ x t − x t − 1 ∥ = 2 L ∥ ∇ f ( x t ) ∥ ∥ g t − 1 ∥ b t − 1 . \begin{align*}&\|\nabla f(x_{t})\|^{2}-\|\nabla f(x_{t-1})\|^{2}\\&\quad=2\left\langle\nabla f(x_{t}),\nabla f(x_{t})-\nabla f(x_{t-1})\right\rangle-\|\nabla f(x_{t})-\nabla f(x_{t-1})\|^{2}\\&\quad\leq2\left\|\nabla f(x_{t})\right\|\left\|\nabla f(x_{t})-\nabla f(x_{t-1})\right\|\\&\quad\leq2L\left\|\nabla f(x_{t})\right\|\left\|x_{t}-x_{t-1}\right\|\\&\quad=\frac{2L\left\|\nabla f(x_{t})\right\|\left\|g_{t-1}\right\|}{b_{t-1}}.\end{align*} ∥∇ f ( x t ) ∥ 2 − ∥∇ f ( x t − 1 ) ∥ 2 = 2 ⟨ ∇ f ( x t ) , ∇ f ( x t ) − ∇ f ( x t − 1 ) ⟩ − ∥∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ 2 ≤ 2 ∥ ∇ f ( x t ) ∥ ∥ ∇ f ( x t ) − ∇ f ( x t − 1 ) ∥ ≤ 2 L ∥ ∇ f ( x t ) ∥ ∥ x t − x t − 1 ∥ = b t − 1 2 L ∥ ∇ f ( x t ) ∥ ∥ g t − 1 ∥ .
Consequently, u v ≤ u 2 / 4 + v 2 uv \leq u^{2}/4 + v^{2} uv ≤ u 2 /4 + v 2 implies
∥ ∇ f ( x t ) ∥ 2 − ∥ ∇ f ( x t − 1 ) ∥ 2 2 b t − 1 ≤ ∥ ∇ f ( x t ) ∥ b t − 1 L ∥ g t − 1 ∥ b t − 1 3 / 2 ≤ ∥ ∇ f ( x t ) ∥ 2 4 b t − 1 + L 2 ∥ g t − 1 ∥ 2 b t − 1 3 . \begin{align*}\frac{\left\|\nabla f(x_{t})\right\|^{2}-\left\|\nabla f(x_{t-1})\right\|^{2}}{2b_{t-1}}&\leq\frac{\left\|\nabla f(x_{t})\right\|}{\sqrt{b_{t-1}}}\frac{L\left\|g_{t-1}\right\|}{b_{t-1}^{3/2}}\\&\leq\frac{\left\|\nabla f(x_{t})\right\|^{2}}{4b_{t-1}}+\frac{L^{2}\left\|g_{t-1}\right\|^{2}}{b_{t-1}^{3}}.\end{align*} 2 b t − 1 ∥ ∇ f ( x t ) ∥ 2 − ∥ ∇ f ( x t − 1 ) ∥ 2 ≤ b t − 1 ∥ ∇ f ( x t ) ∥ b t − 1 3/2 L ∥ g t − 1 ∥ ≤ 4 b t − 1 ∥ ∇ f ( x t ) ∥ 2 + b t − 1 3 L 2 ∥ g t − 1 ∥ 2 .
(46)
The smoothness inequality for the AdaGrad update is
f ( x t + 1 ) ≤ f ( x t ) − ⟨ ∇ f ( x t ) , g t ⟩ b t + L 2 ∥ g t ∥ 2 b t 2 . f(x_{t+1})\leq f(x_{t})-\frac{\langle\nabla f(x_{t}),g_{t}\rangle}{b_{t}}+\frac{L}{2}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}. f ( x t + 1 ) ≤ f ( x t ) − b t ⟨ ∇ f ( x t ) , g t ⟩ + 2 L b t 2 ∥ g t ∥ 2 .
Separate 1 / b t 1/b_t 1/ b t from 1 / b t − 1 1/b_{t-1} 1/ b t − 1 and use E g t = ∇ f ( x t ) \mathbb{E}g_t = \nabla f(x_t) E g t = ∇ f ( x t ) :
E f ( x t + 1 ) ≤ f ( x t ) − ⟨ ∇ f ( x t ) , E g t ⟩ b t − 1 + E [ ⟨ ∇ f ( x t ) , g t ⟩ ( 1 b t − 1 − 1 b t ) ] + L 2 E ∥ g t ∥ 2 b t 2 = f ( x t ) − ∥ ∇ f ( x t ) ∥ 2 b t − 1 + E [ ⟨ ∇ f ( x t ) , g t ⟩ ( 1 b t − 1 − 1 b t ) ] + L 2 E ∥ g t ∥ 2 b t 2 . \begin{align*}\mathbb{E}f(x_{t+1})&\leq f(x_{t})-\frac{\langle\nabla f(x_{t}),\mathbb{E}g_{t}\rangle}{b_{t-1}}+\mathbb{E}\left[\langle\nabla f(x_{t}),g_{t}\rangle\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]+\frac{L}{2}\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}\\&=f(x_{t})-\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}+\mathbb{E}\left[\langle\nabla f(x_{t}),g_{t}\rangle\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)\right]+\frac{L}{2}\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}.\end{align*} E f ( x t + 1 ) ≤ f ( x t ) − b t − 1 ⟨ ∇ f ( x t ) , E g t ⟩ + E [ ⟨ ∇ f ( x t ) , g t ⟩ ( b t − 1 1 − b t 1 ) ] + 2 L E b t 2 ∥ g t ∥ 2 = f ( x t ) − b t − 1 ∥∇ f ( x t ) ∥ 2 + E [ ⟨ ∇ f ( x t ) , g t ⟩ ( b t − 1 1 − b t 1 ) ] + 2 L E b t 2 ∥ g t ∥ 2 .
Insert (44), (45), and (46). The coefficient of ∥ ∇ f ( x t ) ∥ 2 / b t − 1 \|\nabla f(x_t)\|^2 / b_{t-1} ∥∇ f ( x t ) ∥ 2 / b t − 1 is − 1 + 1 / 2 + 1 / 4 = − 1 / 4 -1 + 1/2 + 1/4 = -1/4 − 1 + 1/2 + 1/4 = − 1/4 . Now also average over all earlier samples:
E f ( x t + 1 ) ≤ E f ( x t ) − 1 4 E ∥ ∇ f ( x t ) ∥ 2 b t − 1 + 1 2 E [ ∥ ∇ f ( x t − 1 ) ∥ 2 b t − 1 − ∥ ∇ f ( x t ) ∥ 2 b t ] + σ 2 2 E [ 1 b t − 1 − 1 b t ] + L 2 E ∥ g t − 1 ∥ 2 b t − 1 3 + L 2 E ∥ g t ∥ 2 b t 2 . \begin{align*}\mathbb{E}f(x_{t+1})\leq&\mathbb{E}f(x_{t})-\frac{1}{4}\mathbb{E}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\\&+\frac{1}{2}\mathbb{E}\left[\frac{\|\nabla f(x_{t-1})\|^{2}}{b_{t-1}}-\frac{\|\nabla f(x_{t})\|^{2}}{b_{t}}\right]\\&+\frac{\sigma^{2}}{2}\mathbb{E}\left[\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right]+L^{2}\mathbb{E}\frac{\|g_{t-1}\|^{2}}{b_{t-1}^{3}}+\frac{L}{2}\mathbb{E}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}.\end{align*} E f ( x t + 1 ) ≤ E f ( x t ) − 4 1 E b t − 1 ∥∇ f ( x t ) ∥ 2 + 2 1 E [ b t − 1 ∥∇ f ( x t − 1 ) ∥ 2 − b t ∥∇ f ( x t ) ∥ 2 ] + 2 σ 2 E [ b t − 1 1 − b t 1 ] + L 2 E b t − 1 3 ∥ g t − 1 ∥ 2 + 2 L E b t 2 ∥ g t ∥ 2 .
(47)
We next bound the last three sums in (47). Since u − 3 / 2 u^{-3/2} u − 3/2 and u − 1 u^{-1} u − 1 are decreasing for u > 0 u > 0 u > 0 ,
∥ g t ∥ 2 b t 3 = b t 2 − b t − 1 2 ( b t 2 ) 3 / 2 ≤ ∫ b t − 1 2 b t 2 u − 3 / 2 d u = 2 ( 1 b t − 1 − 1 b t ) , ∥ g t ∥ 2 b t 2 = b t 2 − b t − 1 2 b t 2 ≤ ∫ b t − 1 2 b t 2 d u u = 2 log b t − 2 log b t − 1 . \begin{align*}\frac{\|g_{t}\|^{2}}{b_{t}^{3}}&=\frac{b_{t}^{2}-b_{t-1}^{2}}{(b_{t}^{2})^{3/2}}\leq\int_{b_{t-1}^{2}}^{b_{t}^{2}}u^{-3/2}du=2\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right),\\\frac{\|g_{t}\|^{2}}{b_{t}^{2}}&=\frac{b_{t}^{2}-b_{t-1}^{2}}{b_{t}^{2}}\leq\int_{b_{t-1}^{2}}^{b_{t}^{2}}\frac{du}{u}=2\log b_{t}-2\log b_{t-1}.\end{align*} b t 3 ∥ g t ∥ 2 b t 2 ∥ g t ∥ 2 = ( b t 2 ) 3/2 b t 2 − b t − 1 2 ≤ ∫ b t − 1 2 b t 2 u − 3/2 d u = 2 ( b t − 1 1 − b t 1 ) , = b t 2 b t 2 − b t − 1 2 ≤ ∫ b t − 1 2 b t 2 u d u = 2 log b t − 2 log b t − 1 .
Using g 0 = 0 g_{0}=0 g 0 = 0 and b 0 = 1 b_{0}=1 b 0 = 1 gives the following bounds, including the index shift in the first sum:
∑ t = 1 n ∥ g t − 1 ∥ 2 b t − 1 3 = ∑ t = 1 n − 1 ∥ g t ∥ 2 b t 3 ≤ 2 ( 1 − 1 b n − 1 ) ≤ 2 , ∑ t = 1 n ∥ g t ∥ 2 b t 2 ≤ 2 ∑ t = 1 n ( log b t − log b t − 1 ) = 2 log b n , ∑ t = 1 n ( 1 b t − 1 − 1 b t ) = 1 − 1 b n ≤ 1. \begin{align*}\sum_{t=1}^{n}\frac{\|g_{t-1}\|^{2}}{b_{t-1}^{3}}&=\sum_{t=1}^{n-1}\frac{\|g_{t}\|^{2}}{b_{t}^{3}}\leq2\left(1-\frac{1}{b_{n-1}}\right)\leq2,\\\sum_{t=1}^{n}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}&\leq2\sum_{t=1}^{n}(\log b_{t}-\log b_{t-1})=2\log b_{n},\\\sum_{t=1}^{n}\left(\frac{1}{b_{t-1}}-\frac{1}{b_{t}}\right)&=1-\frac{1}{b_{n}}\leq1.\end{align*} t = 1 ∑ n b t − 1 3 ∥ g t − 1 ∥ 2 t = 1 ∑ n b t 2 ∥ g t ∥ 2 t = 1 ∑ n ( b t − 1 1 − b t 1 ) = t = 1 ∑ n − 1 b t 3 ∥ g t ∥ 2 ≤ 2 ( 1 − b n − 1 1 ) ≤ 2 , ≤ 2 t = 1 ∑ n ( log b t − log b t − 1 ) = 2 log b n , = 1 − b n 1 ≤ 1.
(48)
The function and gradient terms in (47) telescope as follows:
∑ t = 1 n ( f ( x t ) − f ( x t + 1 ) ) = f ( x 1 ) − f ( x n + 1 ) , \sum_{t=1}^{n}(f(x_{t})-f(x_{t+1}))=f(x_{1})-f(x_{n+1}), t = 1 ∑ n ( f ( x t ) − f ( x t + 1 )) = f ( x 1 ) − f ( x n + 1 ) ,
∑ t = 1 n ( ∥ ∇ f ( x t − 1 ) ∥ 2 b t − 1 − ∥ ∇ f ( x t ) ∥ 2 b t ) = ∥ ∇ f ( x 1 ) ∥ 2 − ∥ ∇ f ( x n ) ∥ 2 b n . \sum_{t=1}^{n}\left(\frac{\|\nabla f(x_{t-1})\|^{2}}{b_{t-1}}-\frac{\|\nabla f(x_{t})\|^{2}}{b_{t}}\right)=\|\nabla f(x_{1})\|^{2}-\frac{\|\nabla f(x_{n})\|^{2}}{b_{n}}. t = 1 ∑ n ( b t − 1 ∥∇ f ( x t − 1 ) ∥ 2 − b t ∥∇ f ( x t ) ∥ 2 ) = ∥∇ f ( x 1 ) ∥ 2 − b n ∥∇ f ( x n ) ∥ 2 .
Summing (47) and moving the gradient sum to the left therefore yields
1 4 E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ≤ f ( x 1 ) − E f ( x n + 1 ) + 1 2 ∥ ∇ f ( x 1 ) ∥ 2 − 1 2 E ∥ ∇ f ( x n ) ∥ 2 b n + σ 2 2 ( 1 − E 1 b n ) + L 2 E ∑ t = 1 n ∥ g t − 1 ∥ 2 b t − 1 3 + L 2 E ∑ t = 1 n ∥ g t ∥ 2 b t 2 ≤ Δ f + 1 2 ∥ ∇ f ( x 1 ) ∥ 2 + σ 2 2 + 2 L 2 + L E log b n . \begin{align*}\frac{1}{4}\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}&\leq f(x_{1})-\mathbb{E}f(x_{n+1})+\frac{1}{2}\|\nabla f(x_{1})\|^{2}-\frac{1}{2}\mathbb{E}\frac{\|\nabla f(x_{n})\|^{2}}{b_{n}}\\&\quad+\frac{\sigma^{2}}{2}\left(1-\mathbb{E}\frac{1}{b_{n}}\right)+L^{2}\mathbb{E}\sum_{t=1}^{n}\frac{\|g_{t-1}\|^{2}}{b_{t-1}^{3}}+\frac{L}{2}\mathbb{E}\sum_{t=1}^{n}\frac{\|g_{t}\|^{2}}{b_{t}^{2}}\\&\leq\Delta_{f}+\frac{1}{2}\|\nabla f(x_{1})\|^{2}+\frac{\sigma^{2}}{2}+2L^{2}+L\mathbb{E}\log b_{n}.\end{align*} 4 1 E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ≤ f ( x 1 ) − E f ( x n + 1 ) + 2 1 ∥∇ f ( x 1 ) ∥ 2 − 2 1 E b n ∥∇ f ( x n ) ∥ 2 + 2 σ 2 ( 1 − E b n 1 ) + L 2 E t = 1 ∑ n b t − 1 3 ∥ g t − 1 ∥ 2 + 2 L E t = 1 ∑ n b t 2 ∥ g t ∥ 2 ≤ Δ f + 2 1 ∥∇ f ( x 1 ) ∥ 2 + 2 σ 2 + 2 L 2 + L E log b n .
The last inequality uses f ( x n + 1 ) ≥ f ∗ f(x_{n+1}) \geq f_* f ( x n + 1 ) ≥ f ∗ , (48), and the nonnegativity of ∥ ∇ f ( x n ) ∥ 2 / b n \|\nabla f(x_n)\|^2 / b_n ∥∇ f ( x n ) ∥ 2 / b n and 1 / b n 1/b_n 1/ b n . Multiplication by four and concavity of the logarithm give
E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ≤ 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 2 σ 2 + 8 L 2 + 4 L E log b n = C A + 4 L E log b n ≤ C A + 4 L log ( E b n ) . \begin{align*}\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}&\leq4\Delta_{f}+2\left\|\nabla f(x_{1})\right\|^{2}+2\sigma^{2}+8L^{2}+4L\mathbb{E}\log b_{n}\\&=C_{A}+4L\mathbb{E}\log b_{n}\\&\leq C_{A}+4L\log(\mathbb{E}b_{n}).\end{align*} E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ≤ 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 2 σ 2 + 8 L 2 + 4 L E log b n = C A + 4 L E log b n ≤ C A + 4 L log ( E b n ) .
(49)
We now bound E b n \mathbb{E}b_n E b n . Since b t − 1 ≤ b n b_{t-1} \leq b_n b t − 1 ≤ b n for t ≤ n t \leq n t ≤ n ,
∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 = ∑ t = 1 n b t − 1 ∥ ∇ f ( x t ) ∥ 2 b t − 1 ≤ b n ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 . \sum_{t=1}^{n}\|\nabla f(x_{t})\|^{2}=\sum_{t=1}^{n}b_{t-1}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\leq b_{n}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}. t = 1 ∑ n ∥∇ f ( x t ) ∥ 2 = t = 1 ∑ n b t − 1 b t − 1 ∥∇ f ( x t ) ∥ 2 ≤ b n t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 .
Take square roots and apply Cauchy–Schwarz to the expectation:
E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 ≤ E [ b n ( ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ) 1 / 2 ] ≤ E b n ( E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ) 1 / 2 . (50) \mathbb{E}\sqrt{\sum_{t=1}^{n}\|\nabla f(x_{t})\|^{2}}\leq\mathbb{E}\left[\sqrt{b_{n}}\left(\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\right)^{1/2}\right]\leq\sqrt{\mathbb{E}b_{n}}\left(\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\right)^{1/2}. \tag{50} E t = 1 ∑ n ∥∇ f ( x t ) ∥ 2 ≤ E b n ( t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ) 1/2 ≤ E b n ( E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ) 1/2 . ( 50 )
To relate b n b_{n} b n to the true gradients, apply the Euclidean triangle inequality:
b n = ∥ ( 1 , g 1 , … , g n ) ∥ ≤ ∥ ( 1 , ∇ f ( x 1 ) , … , ∇ f ( x n ) ) ∥ + ∥ ( 0 , g 1 − ∇ f ( x 1 ) , … , g n − ∇ f ( x n ) ) ∥ = 1 + ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 + ∑ t = 1 n ∥ g t − ∇ f ( x t ) ∥ 2 ≤ 1 + ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 + ∑ t = 1 n ∥ g t − ∇ f ( x t ) ∥ 2 . \begin{align*}b_{n}&=\|(1,g_{1},\ldots,g_{n})\|\\&\leq\|(1,\nabla f(x_{1}),\ldots,\nabla f(x_{n}))\|+\|(0,g_{1}-\nabla f(x_{1}),\ldots,g_{n}-\nabla f(x_{n}))\|\\&=\sqrt{1+\sum_{t=1}^{n}\|\nabla f(x_{t})\|^{2}}+\sqrt{\sum_{t=1}^{n}\|g_{t}-\nabla f(x_{t})\|^{2}}\\&\leq1+\sqrt{\sum_{t=1}^{n}\|\nabla f(x_{t})\|^{2}}+\sqrt{\sum_{t=1}^{n}\|g_{t}-\nabla f(x_{t})\|^{2}}.\end{align*} b n = ∥ ( 1 , g 1 , … , g n ) ∥ ≤ ∥ ( 1 , ∇ f ( x 1 ) , … , ∇ f ( x n )) ∥ + ∥ ( 0 , g 1 − ∇ f ( x 1 ) , … , g n − ∇ f ( x n )) ∥ = 1 + t = 1 ∑ n ∥∇ f ( x t ) ∥ 2 + t = 1 ∑ n ∥ g t − ∇ f ( x t ) ∥ 2 ≤ 1 + t = 1 ∑ n ∥∇ f ( x t ) ∥ 2 + t = 1 ∑ n ∥ g t − ∇ f ( x t ) ∥ 2 .
Concavity of the square root and the variance bound imply
E ∑ t = 1 n ∥ g t − ∇ f ( x t ) ∥ 2 ≤ ∑ t = 1 n E ∥ g t − ∇ f ( x t ) ∥ 2 ≤ σ n . \mathbb{E}\sqrt{\sum_{t=1}^{n}\|g_{t}-\nabla f(x_{t})\|^{2}}\leq\sqrt{\sum_{t=1}^{n}\mathbb{E}\|g_{t}-\nabla f(x_{t})\|^{2}}\leq\sigma\sqrt{n}. E t = 1 ∑ n ∥ g t − ∇ f ( x t ) ∥ 2 ≤ t = 1 ∑ n E ∥ g t − ∇ f ( x t ) ∥ 2 ≤ σ n .
Combining these inequalities and then using u v ≤ ( u 2 + v 2 ) / 2 uv \leq (u^2 + v^2)/2 uv ≤ ( u 2 + v 2 ) /2 gives
E b n ≤ 1 + E b n ( E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ) 1 / 2 + σ n ≤ 1 + 1 2 E b n + 1 2 E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 + σ n . \begin{align*}\mathbb{E}b_{n}&\leq1+\sqrt{\mathbb{E}b_{n}}\left(\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\right)^{1/2}+\sigma\sqrt{n}\\&\leq1+\frac{1}{2}\mathbb{E}b_{n}+\frac{1}{2}\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}+\sigma\sqrt{n}.\end{align*} E b n ≤ 1 + E b n ( E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ) 1/2 + σ n ≤ 1 + 2 1 E b n + 2 1 E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 + σ n .
Subtract E b n / 2 Eb_{n}/2 E b n /2 and multiply by two. By (49),
E b n ≤ 2 + 2 σ n + E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ≤ 2 + 2 σ n + C A + 4 L log ( E b n ) . \begin{align*}\mathbb{E}b_{n}&\leq2+2\sigma\sqrt{n}+\mathbb{E}\sum_{t=1}^{n}\frac{\|\nabla f(x_{t})\|^{2}}{b_{t-1}}\\&\leq2+2\sigma\sqrt{n}+C_{A}+4L\log(\mathbb{E}b_{n}).\end{align*} E b n ≤ 2 + 2 σ n + E t = 1 ∑ n b t − 1 ∥∇ f ( x t ) ∥ 2 ≤ 2 + 2 σ n + C A + 4 L log ( E b n ) .
For u ≥ 1 u \geq 1 u ≥ 1 , log u ≤ u \log u \leq \sqrt{u} log u ≤ u . Since E b n ≥ 1 \mathbb{E}b_n \geq 1 E b n ≥ 1 , another application of Young's inequality gives
4 L log ( E b n ) ≤ 4 L E b n ≤ 1 2 E b n + 8 L 2 . 4L\log(\mathbb{E}b_{n})\leq4L\sqrt{\mathbb{E}b_{n}}\leq\frac{1}{2}\mathbb{E}b_{n}+8L^{2}. 4 L log ( E b n ) ≤ 4 L E b n ≤ 2 1 E b n + 8 L 2 .
Substituting this inequality and again moving E b n / 2 Eb_{n}/2 E b n /2 to the left, we obtain
E b n ≤ 2 + 2 σ n + C A + 1 2 E b n + 8 L 2 , \mathbb{E}b_{n}\leq2+2\sigma\sqrt{n}+C_{A}+\frac{1}{2}\mathbb{E}b_{n}+8L^{2}, E b n ≤ 2 + 2 σ n + C A + 2 1 E b n + 8 L 2 ,
E b n ≤ 4 + 4 σ n + 2 C A + 16 L 2 = M n . \mathbb{E}b_{n}\leq4+4\sigma\sqrt{n}+2C_{A}+16L^{2}=M_{n}. E b n ≤ 4 + 4 σ n + 2 C A + 16 L 2 = M n .
Putting this bound into (49) also gives
E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ≤ C A + 4 L log ( E b n ) ≤ C A + 4 L log M n , \mathbb{E}\sum_{t=1}^{n}\frac{\left\|\nabla f(x_{t})\right\|^{2}}{b_{t-1}}\leq C_{A}+4L\log(\mathbb{E}b_{n})\leq C_{A}+4L\log M_{n}, E t = 1 ∑ n b t − 1 ∥ ∇ f ( x t ) ∥ 2 ≤ C A + 4 L log ( E b n ) ≤ C A + 4 L log M n ,
which proves both inequalities in (41). Finally, the Cauchy–Schwarz inequality and (50) yield
E ∥ ∇ f ( A n ) ∥ = 1 n E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ ≤ 1 n E [ n ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 ] = 1 n E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 ≤ ( E b n n E ∑ t = 1 n ∥ ∇ f ( x t ) ∥ 2 b t − 1 ) 1 / 2 ≤ M n ( C A + 4 L log M n ) n . \begin{align*}\mathbb{E}\left\|\nabla f(A_{n})\right\|&=\frac{1}{n}\mathbb{E}\sum_{t=1}^{n}\left\|\nabla f(x_{t})\right\|\leq\frac{1}{n}\mathbb{E}\left[\sqrt{n}\sqrt{\sum_{t=1}^{n}\left\|\nabla f(x_{t})\right\|^{2}}\right]\\&=\frac{1}{\sqrt{n}}\mathbb{E}\sqrt{\sum_{t=1}^{n}\left\|\nabla f(x_{t})\right\|^{2}}\leq\left(\frac{\mathbb{E}b_{n}}{n}\mathbb{E}\sum_{t=1}^{n}\frac{\left\|\nabla f(x_{t})\right\|^{2}}{b_{t-1}}\right)^{1/2}\\&\leq\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}.\end{align*} E ∥ ∇ f ( A n ) ∥ = n 1 E t = 1 ∑ n ∥ ∇ f ( x t ) ∥ ≤ n 1 E [ n t = 1 ∑ n ∥ ∇ f ( x t ) ∥ 2 ] = n 1 E t = 1 ∑ n ∥ ∇ f ( x t ) ∥ 2 ≤ ( n E b n E t = 1 ∑ n b t − 1 ∥ ∇ f ( x t ) ∥ 2 ) 1/2 ≤ n M n ( C A + 4 L log M n ) .
☐
B.3 Completion of the theorem
Fix the optimization path and positive weights w 1 , … , w n w_{1}, \ldots, w_{n} w 1 , … , w n . The probability of selecting index i and retaining it through round n is
w i ∑ s = 1 i w s ∏ t = i + 1 n ( 1 − w t ∑ s = 1 t w s ) = w i ∑ s = 1 i w s ∏ t = i + 1 n ∑ s = 1 t − 1 w s ∑ s = 1 t w s = w i ∑ s = 1 n w s . \frac{w_{i}}{\sum_{s=1}^{i}w_{s}}\prod_{t=i+1}^{n}\left(1-\frac{w_{t}}{\sum_{s=1}^{t}w_{s}}\right)=\frac{w_{i}}{\sum_{s=1}^{i}w_{s}}\prod_{t=i+1}^{n}\frac{\sum_{s=1}^{t-1}w_{s}}{\sum_{s=1}^{t}w_{s}}=\frac{w_{i}}{\sum_{s=1}^{n}w_{s}}. ∑ s = 1 i w s w i t = i + 1 ∏ n ( 1 − ∑ s = 1 t w s w t ) = ∑ s = 1 i w s w i t = i + 1 ∏ n ∑ s = 1 t w s ∑ s = 1 t − 1 w s = ∑ s = 1 n w s w i .
With w t = η t w_t = \eta_t w t = η t and w t = 1 w_t = 1 w t = 1 , respectively, this proves (13). Averaging over the paths gives
E ∥ ∇ f ( V n ) ∥ = 1 W n ∑ t = 1 n η t E ∥ ∇ f ( x t V ) ∥ , \mathbb{E}\left\|\nabla f(V_{n})\right\|=\frac{1}{W_{n}}\sum_{t=1}^{n}\eta_{t}\mathbb{E}\left\|\nabla f(x_{t}^{V})\right\|, E ∥ ∇ f ( V n ) ∥ = W n 1 t = 1 ∑ n η t E ∇ f ( x t V ) ,
E ∥ ∇ f ( A n ) ∥ = 1 n ∑ t = 1 n E ∥ ∇ f ( x t A ) ∥ . \mathbb{E}\left\|\nabla f(A_{n})\right\|=\frac{1}{n}\sum_{t=1}^{n}\mathbb{E}\left\|\nabla f(x_{t}^{A})\right\|. E ∥ ∇ f ( A n ) ∥ = n 1 t = 1 ∑ n E ∇ f ( x t A ) .
The frozen candidates V n , A n V_{n}, A_{n} V n , A n each receive n validation samples and Lemma 2 gives
E ∥ ∇ f ( Z n ) ∥ ≤ min { E ∥ ∇ f ( V n ) ∥ , E ∥ ∇ f ( A n ) ∥ } + 2 σ n . (51) \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\min\left\{\mathbb{E}\left\|\nabla f(V_{n})\right\|,\mathbb{E}\left\|\nabla f(A_{n})\right\|\right\}+\frac{2\sigma}{\sqrt{n}}. \tag{51} E ∥ ∇ f ( Z n ) ∥ ≤ min { E ∥ ∇ f ( V n ) ∥ , E ∥ ∇ f ( A n ) ∥ } + n 2 σ . ( 51 )
Under standard smoothness, Lemma 7 gives
E ∥ ∇ f ( Z n ) ∥ ≤ M n ( C A + 4 L log M n ) n + 2 σ n , \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}+\frac{2\sigma}{\sqrt{n}}, E ∥ ∇ f ( Z n ) ∥ ≤ n M n ( C A + 4 L log M n ) + n 2 σ ,
which is (18). Under mean-square smoothness, Lemma 6 further gives
E ∥ ∇ f ( Z n ) ∥ ≤ min { Δ f + 2 L + 2 K ( 1 + log n ) W n , M n ( C A + 4 L log M n ) n } + 2 σ n . \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\min\left\{\frac{\Delta_{f}+2L+2\sqrt{K}(1+\log n)}{W_{n}},\sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}\right\}+\frac{2\sigma}{\sqrt{n}}. E ∥ ∇ f ( Z n ) ∥ ≤ min { W n Δ f + 2 L + 2 K ( 1 + log n ) , n M n ( C A + 4 L log M n ) } + n 2 σ .
This proves (19).
For n ≥ 1 n \geq 1 n ≥ 1 ,
M n = 4 + 4 σ n + 2 C A + 16 L 2 ≤ ( 4 + 4 σ + 2 C A + 16 L 2 ) n , M_{n}=4+4\sigma\sqrt{n}+2C_{A}+16L^{2}\leq(4+4\sigma+2C_{A}+16L^{2})\sqrt{n}, M n = 4 + 4 σ n + 2 C A + 16 L 2 ≤ ( 4 + 4 σ + 2 C A + 16 L 2 ) n ,
log M n ≤ log ( 4 + 4 σ + 2 C A + 16 L 2 ) + 1 2 log n . \log M_{n}\leq\log(4+4\sigma+2C_{A}+16L^{2})+\frac{1}{2}\log n. log M n ≤ log ( 4 + 4 σ + 2 C A + 16 L 2 ) + 2 1 log n .
Hence
M n ( C A + 4 L log M n ) n + 2 σ n = O ( 1 + log n n − 1 / 4 ) . \sqrt{\frac{M_{n}(C_{A}+4L\log M_{n})}{n}}+\frac{2\sigma}{\sqrt{n}}=O\left(\sqrt{1+\log n}n^{-1/4}\right). n M n ( C A + 4 L log M n ) + n 2 σ = O ( 1 + log n n − 1/4 ) .
For the variance reduction method, W n ≥ n 1 / 3 W_n \geq n^{1/3} W n ≥ n 1/3 gives
Δ f + 2 L + 2 K ( 1 + log n ) W n ≤ [ Δ f + 2 L + 2 K ( 1 + log n ) ] n − 1 / 3 . \frac{\Delta_{f}+2L+2\sqrt{K}(1+\log n)}{W_{n}}\leq[\Delta_{f}+2L+2\sqrt{K}(1+\log n)]n^{-1/3}. W n Δ f + 2 L + 2 K ( 1 + log n ) ≤ [ Δ f + 2 L + 2 K ( 1 + log n )] n − 1/3 .
Therefore,
Δ f + 2 L + 2 K ( 1 + log n ) W n + 2 σ n = O ( ( 1 + log n ) n − 1 / 3 ) . \frac{\Delta_{f}+2L+2\sqrt{K}(1+\log n)}{W_{n}}+\frac{2\sigma}{\sqrt{n}}=O\left((1+\log n)n^{-1/3}\right). W n Δ f + 2 L + 2 K ( 1 + log n ) + n 2 σ = O ( ( 1 + log n ) n − 1/3 ) .
When σ = 0 \sigma = 0 σ = 0 ,
C A = 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 8 L 2 , M n = 4 + 2 C A + 16 L 2 = 4 + 8 Δ f + 4 ∥ ∇ f ( x 1 ) ∥ 2 + 32 L 2 . C_{A}=4\Delta_{f}+2\left\|\nabla f(x_{1})\right\|^{2}+8L^{2},\qquad M_{n}=4+2C_{A}+16L^{2}=4+8\Delta_{f}+4\left\|\nabla f(x_{1})\right\|^{2}+32L^{2}. C A = 4 Δ f + 2 ∥ ∇ f ( x 1 ) ∥ 2 + 8 L 2 , M n = 4 + 2 C A + 16 L 2 = 4 + 8 Δ f + 4 ∥ ∇ f ( x 1 ) ∥ 2 + 32 L 2 .
Thus M n M_{n} M n is independent of n, and
E ∥ ∇ f ( Z n ) ∥ ≤ ( 4 + 2 C A + 16 L 2 ) [ C A + 4 L log ( 4 + 2 C A + 16 L 2 ) ] n . \mathbb{E}\left\|\nabla f(Z_{n})\right\|\leq\frac{\sqrt{(4+2C_{A}+16L^{2})[C_{A}+4L\log(4+2C_{A}+16L^{2})]}}{\sqrt{n}}. E ∥ ∇ f ( Z n ) ∥ ≤ n ( 4 + 2 C A + 16 L 2 ) [ C A + 4 L log ( 4 + 2 C A + 16 L 2 )] .
This proves the O ( n − 1 / 2 ) O(n^{-1/2}) O ( n − 1/2 ) rate under standard smoothness.
At round τ ≥ 2 \tau \geq 2 τ ≥ 2 , the latest report is Z n Z_n Z n with
n = 2 ⌊ log 2 τ ⌋ − 1 , 2 n ≤ τ < 4 n , τ 4 < n ≤ τ 2 . n=2^{\lfloor\log_{2}\tau\rfloor-1},\qquad2n\leq\tau<4n,\qquad\frac{\tau}{4}<n\leq\frac{\tau}{2}. n = 2 ⌊ l o g 2 τ ⌋ − 1 , 2 n ≤ τ < 4 n , 4 τ < n ≤ 2 τ .
Consequently,
n − 1 / 3 < 4 1 / 3 τ − 1 / 3 , n − 1 / 4 < 4 1 / 4 τ − 1 / 4 , n − 1 / 2 < 2 τ − 1 / 2 , 1 + log n ≤ 1 + log τ . n^{-1/3}<4^{1/3}\tau^{-1/3},\qquad n^{-1/4}<4^{1/4}\tau^{-1/4},\qquad n^{-1/2}<2\tau^{-1/2},\qquad1+\log n\leq1+\log\tau. n − 1/3 < 4 1/3 τ − 1/3 , n − 1/4 < 4 1/4 τ − 1/4 , n − 1/2 < 2 τ − 1/2 , 1 + log n ≤ 1 + log τ .
Substitution proves (20).