Accelerated Linear Convergence of Stochastic Momentum Methods in Wasserstein Distances
Bugra Can, Mert Gurbuzbalaban, Lingjiong Zhu
Introduction
Many key problems in machine learning can be formulated as convex optimization problems. Prominent examples in supervised learning include linear and non-linear regression problems, support vector machines, logistic regression or more generally risk minimization problems [Vap13]. Accelerated first-order optimization methods based on momentum averaging and their stochastic and proximal variants have been of significant interest in the machine learning community due to their scalability to large-scale problems and good performance in practice both in convex and non-convex settings, including deep learning (see e.g. [SMDH13, Nit14, HPK09, Xia10]).
Accelerated optimization methods for unconstrained problems based on momentum averaging techniques go back to Polyak who proposed the heavy ball (HB) method [Pol64] and are closely related to Tschebyshev acceleration, conjugate gradient and under-relaxation methods from numerical linear algebra [Var09, KV17]. Another popular momentum-based method is the Nesterov’s accelerated gradient (AG) method [Nes04]. For deterministic strongly convex problems, with access to the gradients of the objective, there is a well-established convergence theory for momentum methods. In particular, for minimizing strongly convex smooth objectives with Lipschitz gradients AG method requires iterations to find an -optimal solution where is the condition number, this improves significantly over the complexity of the gradient descent (GD) method. HB method also achieves a similar accelerated rate asymptotically in a local neighborhood around the global minimum. Also, for the special case of quadratic objectives, HB method can achieve the accelerated linear rate globally. In the absence of strong convexity, for convex functions, AG has an iteration complexity of in function values which accelerates the standard convergence rate of GD. In particular, it can be argued that AG method achieves an optimal convergence rate among all the methods that has access to only first-order information [Nes04]. For constrained problems, a variant of AG, the accelerated projected gradient (APG) method [OC15] can also achieve similar accelerated rates [Nes04, FRMP17].
On the other hand, in many applications, the true gradient of the objective function is not available but we have access to a noisy but unbiased estimated gradient of the true gradient instead. The common choice of the noise that arises frequently in (stochastic oracle) models is the centered, statistically independent noise with a finite variance where for every ,
It is well recognized that momentum-based accelerated methods are quite sensitive to gradient noise [Har14, DGN14, FB15, DGN13], and need higher accuracy of the gradients to perform well [d’A08, DGN14] compared to standard methods like GD. In fact, with the standard choice of their stepsize and momentum parameter, numerical experiments show that they lose their superiority over a simple method like GD in the noisy setting [Har14], yet alone they can diverge [FB15]. On the other hand, numerical studies have also shown that carefully tuned constant stepsize and momentum parameters can lead to good practical performance for both HB and AG under noisy gradients in deep learning [SMDH13]. Overall, there has been a growing interest for obtaining convergence guarantees for stochastic momentum methods, i.e. momentum methods subject to noise in the gradients.
Several works provided sublinear convergence rates for stochastic momentum methods. [Lan12, GL12] developed the AC-SA method which is an adaptation of the AG method to the stochastic composite convex and strongly convex optimization problems and obtained an optimal for the convex case. In a follow-up paper, [GL13] obtained an optimal convergence bound for the constrained strongly convex optimization employing a domain shrinking procedure. However, these results do not apply to stochastic HB (SHB). [YLL16] provided a uniform analysis of SHB and accelerated stochastic gradient (ASG) showing convergence rate for weakly convex stochastic optimization. [GPS18] obtained a number of sublinear convergence guarantees for SHB, showing that with decaying stepsize for some , SHB method converges with rate . Several other works focused on proper averaging for reducing the variance of the gradient error in the iterates for strongly convex linear regression problems [JKK+17, FB15, DFB17] and obtained a convergence rate that achieves the minimax estimation rate. Recently, [LR17] studied the SHB algorithm for optimizing the least squares problems arising in the solution of consistent linear systems where the gradient noise comes from sampling the rows of the associated linear system and therefore the gradient errors have a multiplicative form vanishing at the optimum (see [LR17, Sec 2.5]), in which case SGD enjoys linear rates to the optimum with constant stepsize. The authors show that using a constant stepsize the expected SHB iterates converge linearly to a global minimizer with the accelerated rate and provide a first linear (but not an accelerated linear) rate for the expected suboptimality in function values, however the rate provided is not better than the linear rate of SGD and does not reflect the acceleration behavior compared to SGD. We note however that the results of this paper do not apply to our setting as our noise assumptions (H1)–(H2) are more general. In our setting, due to the persistence of the noise, it is not possible for the iterates of stochastic momentum methods converge to a global minimum, but rather converge to a stationary distribution around the global minimum. To our knowledge, a linear convergence result for momentum-based methods has never been established under this setting. For SGD, [DDB17] showed that when is strongly convex, the distribution of the SGD iterates with constant stepsize converges linearly to a unique stationary distribution in the 2-Wasserstein distance requiring iterations to be close to the stationary distribution when which is similar to the iteration complexity of (deterministic) gradient descent. A natural question is whether stochastic momentum methods admit a stationary distribution, if so whether the convergence to this distribution can happen faster compared to SGD. As the momentum methods are quite sensitive to gradient noise [Har14, CDO18] in terms of performance; a precise characterization of how much noise can be tolerated to achieve accelerated convergence rates under stochastic momentum methods remains understudied.
Contributions: We obtain a number of accelerated convergence guarantees for the SHB, ASG and accelerated stochastic projected gradient (ASPG) methods on both (weakly) convex and strongly convex smooth problems. We note that existing convergence bounds obtained for finite-sum problems that approximate stochastic optimization problems [Nit14] do not apply to our setting as our noise is more general, allowing us to deal directly with the stochastic optimization problem itself.
Third, we focus on the accelerated stochastic projected gradient (ASPG) algorithm for constrained stochastic strongly convex optimization on a bounded domain. We obtain fast accelerated convergence rate to a stationary distribution in the -Wasserstein distance for any . Finally, we extend our results to the weakly convex setting where we show an accelerated convergence rate as long as the noise level is smaller than explicit bounds we provide. To our knowledge, accelerated rates in the presence of non-zero noise was not reported in the literature before.
Preliminaries
2 AG method
For , the deterministic AG method consists of the iterations
and rewrite the AG iterations in terms of . To simplify the presentation and the analysis, we build on the representation of optimization algorithms as a dynamical system from [HL17] and rewrite the AG iterations as
and . The standard analysis of deterministic AG is based on the following Lyapunov function that combines the state vector and function values:
In particular, Theorem 1 can recover existing convergence rate results for deterministic AG. For example, for the particular choice of
and with
in Theorem 1, we obtain the accelerated convergence rate of
However, as outlined in the introduction, in a variety of applications in machine learning and stochastic optimization, we do not have access to the true gradient as in the deterministic AG iterations but we have access to a (noisy) stochastic version , where is the random gradient noise. AG algorithm with stochastic gradients has the form
which is called the accelerated stochastic gradient (ASG) method (see e.g. [JKK+17]). We note that due to the existence of noise, the standard Lyapunov analysis from the literature (see e.g. [WRJ16, SBC14]) does not apply directly. We make the assumption that the random gradient errors are centered, statistically independent from the past iterates and have a finite second moment following the literature [CDO18, Har14, NVL+15, AFGO18, FB15]. The following assumption is a more formal statement of (H1)–(H2) adapting to the iterations .
Under Assumption 2, the iterations forms a time-homogeneous Markov chain which we will study further in Sections 3 and 4.
3 HB method
For , the HB method was proposed by [Pol64]. It consists of the iterations
where is the step size and is the momentum parameter. The following asymptotic convergence rate result for HB is well known.
Then, where is a non-negative sequence that goes to zero and
Furthermore,
This result has an asymptotic nature as the sequence is not explicit. There exist non-asymptotic linear convergence results for HB, but to our knowledge, known linear rate guarantees are slower than the accelerated rate ; with a rate similar to the rate of gradient descent [GFJ14]. In Section 3.2, we will derive a new non-asymptotic version of this theorem that can guarantee suboptimality for finite with explicit constants and the accelerated rate . Note that the asymptotic rate of HB in (17) on quadratic problems is strictly (smaller) faster than the rate of AG from (13) in general (except in the particular special case of , we have ). However, for strongly convex functions, HB iterates given by (15) is not globally convergent with parameters and [LRP16], but if the iterates are started in a small enough neighborhood around the global minimum of a strongly convex function, this rate can be achieved asymptotically [Pol87]. Since known guarantees for deterministic AG is stronger than deterministic HB on non-quadratic strongly convex functions, we will focus on the AG method for non-quadratic objectives in our paper.
We will analyze the HB method under noisy gradients:
where the noise satisfies Assumption 2. This method is called the stochastic HB method [GPS18, LR18, Flå04].
In the next section, we show that stochastic momentum methods admit an invariant distribution towards which they converge linearly in a sense we make precise. For illustrative purposes, we first analyze the special case when the objective is a quadratic function, and then move on to the more general case when is smooth and strongly convex. Also, for quadratic functions we can obtain stronger guarantees exploiting the linearity properties of the gradients.
Special case: strongly convex quadratics
First, we assume that the objective and is a quadratic function of the form
where is the -Wasserstein distance (1) equipped with the norm. In particular, with and with defined in (11), we obtain the optimal accelerated linear rate of convergence:
with as in (13).
For the AG method, the choice of is popular in practice, however a faster rate can be achieved asymptotically if
so that the asymptotic linear convergence rate in distance to the optimality becomes , which translates into the rate in function values that is (smaller) faster than [LRP16]; improving the iteration complexity by a factor of when is large. However, these results are asymptotic. Below we provide a first non-asymptotic bound with the faster rate .
where and
where are the eigenvalues of the Hessian .
The constants grows linearly with in Theorem 5 and this dependency is tight in the sense that there are examples achieving it (see the proof in the supplementary file). Our bounds improves the existing results that provide a slower rate with bounded constants in front of the linear rate [Nes04, Bub14], if is large enough (larger than a constant that can be made explicit).
Building on this non-asymptotic convergence result for the deterministic AG method, we obtain similar non-asymptotic convergence guarantees for the ASG method in -Wasserstein distances towards convergence to a stationary distribution.
where , is defined in (25) and is the standard the -Wasserstein distance.
With the same assumptions as in Theorem 7,
where , is defined in (25), is the covariance matrix of and is a constant depending on any initial state and both and will be spelled out in explicit form in the supplementary file.
2 Accelerated linear convergence of HB and SHB
We first give a non-asymptotic convergence result for the deterministic HB method with explicit constants, which also implies a bound on the suboptimality . This refines the asymptotic results in the literature (Theorem 3).
with , where are the eigenvalues of the Hessian matrix of .
It is clear from the definition of in Theorem 9 that the leading coefficient grows at most linearly in the number of iterates and this dependency cannot be removed in the sense that there are some examples achieving our upper bounds in terms of dependency (see the supplementary file).
Building on this non-asymptotic convergence result for the deterministic HB method, we obtain similar non-asymptotic convergence guarantees for the SHB method in Wasserstein distances towards convergence to a stationary distribution.
where as defined in (17), is defined in (29) and is the standard the -Wasserstein distance.
With the same assumptions as in Theorem 11,
where as in (17), is defined in (29), is the covariance matrix of , is a constant depending on any initial state and both and will be spelled out in explicit form in the supplementary file.
Strongly convex smooth optimization
for some explicit constant (to be given in the supplementary file), where is the standard -Wasserstein distance.
Given any and so that and any so that
Then there is a unique stationary distribution so that
where is the standard -Wasserstein distance and and
Next, we obtain the optimal convergence rate and provide a bound on the expected suboptimality by choosing .
Given . Define and as in Theorem 13 with . Also assume that the noise has small variance, i.e. Then, with , we have
where is the standard -Wasserstein distance and for any initial state ,
The bound (33) is similar in spirit to Corollary 4.7. in [AFGO18] but with a different assumption on noise. We can see that the expected value of the objective with respect to the -th iterate is close to the true minimum of the objective if is large, and the variance of the noise is small. In the special case when the noise are i.i.d. Gaussian, one can compute the constants in closed-form.
If the noise are i.i.d. Gaussian , where . Then, Proposition 14 holds with
If we take , then and it follows that we have and .
We note that Proposition 14 and Corollary 15 provide explicit bounds on the admissable noise level to ensure accelerated convergence with respect to Wasserstein distances and expected suboptimality after iterations.
ASPG and the weakly convex setting
Weakly convex functions. If the objective is (weakly) convex but not strongly convex and the constraint set is bounded, our analysis for the strongly convex case can be adapted with minor modifications. Following standard regularization techniques (see e.g. [LRP16, Bub14]), that allow to approximate a weakly convex function with a strongly convex function, we provide explicit bounds on the noise level to obtain the accelerated rate up to a log factor on in expected suboptimality in function values (see the supplementary file).
Conclusion
We have studied accelerated convergence guarantees for a number of stochastic momentum methods (SHB, ASG, ASPG) for strongly and (weakly) convex smooth problems. First, we studied the special case when the objective is quadratic and the gradient noise is additive and i.i.d. with a finite second moment. Non-asymptotic guarantees for accelerated linear convergence are obtained for the deterministic and stochastic AG and HB methods for any -Wasserstein distance (), and also for the ASG method in the weighted -Wasserstein distance, which builds on the dissipativity theory from the deterministic setting. Our analysis for HB and AG also leads to improved non-asymptotic convergence bounds in suboptimality after iterations for both deterministic and stochastic settings which is of independent interest. Second, we studied the (non-quadratic) strongly convex optimization under the stochastic oracle model (H1)–(H2). Accelerated linear convergence rate is obtained for the ASG method in the -Wasserstein distance. Third, we studied the ASPG method for constrained stochastic strongly convex optimization on a bounded domain. Accelerated linear convergence rate is obtained in any -Wasserstein distance (), and extension to the (weakly) convex setting will be discussed in the supplementary file. Our results provide performance bounds for stochastic momentum methods in expected suboptimality and in Wasserstein distances. Finally, the proofs of all the results in our paper will be given in the supplementary file.
Acknowledgements
Mert Gürbüzbalaban and Bugra Can acknowledge support from the grants NSF DMS-1723085 and NSF CCF-1814888. Lingjiong Zhu is grateful to the support from the grant NSF DMS-1613164.
References
Appendix A Constrained Optimization and ASPG
where is the random gradient error satisfying Assumption 2, are the stepsize and momentum parameter and denotes the projection of a point to the compact set . For constrained problems, algorithms based on projection steps that restricts the iterates to the constraint set are more natural compared to the standard AG algorithm primarily designed for the unconstrained optimization [Bub14]. Accelerated projected gradient methods can also be viewed as a special case of the accelerated proximal gradient methods as the proximal operator reduces to a projection in a special case (see e.g. [PB+14]).
We will show in Proposition 28 that the metric implies the standard -Wasserstein metric in the sense that for any two probability measures on the product space ,
where is the diameter of .
Given any and so that
where is the standard -Wasserstein metric () and
We can see from (37) that the expected value of the objective with respect to the -th iterate is close to the true minimum of the objective if is large, and the stepsize or the variance of the noise is small. By choosing , we obtain the optimal convergence in the next theorem.
Given . Define as in Theorem 16 with . Also assume that the noise has small variance, i.e.
where and . Then, we have
where is the standard -Wasserstein metric () and
Appendix B Weakly Convex Constrained Optimization
In this section, we extend the constrained optimization for the accelerated stochastic projected gradient method (ASPG) from the strongly convex objectives studied in Section A to the (weakly) convex objectives.
This shows that if the noise is small is enough, it suffices to have
many iterations to sample an -optimal point in expectation.
Appendix C Proofs of Results in Section 3
In this section, we prove the results for Section 3, in which the objective is quadratic: and , which satisfies the inequalities:
Before we proceed to the proofs of the results in Section 3.1, we first show that the matrix defined in (21) is positive definite so that the weighted 2-Wasserstein metric given in (1) is well-defined.
Next, before we proceed to the proofs of the results in Section 3.1, let us first recall that throughout Section 3, the noise are assumed to be i.i.d. Let us define the coupling
Before we proceed, let us recall the following lemma from [HL17].
The proof of Theorem 4 relies on the following lemma.
with . Assume that is quadratic and , where is positive definite.
Let that can depend on and so that there exists some symmetric and positive semi-definite that can depend on and such that
Let us first consider the simpler case . Since is quadratic, is linear. Applying (52) and the linearity of , we get
Applying (53) and the linearity of , we get
By Lemma 19 and the definition of , the inequality (51) holds. Thus
Since is quadratic, and we assumed that , where is positive definite, we get
Previously, we assumed , so that . In general, the quadratic function takes the form
Hence, by Lemma 19 and the definition of , so that (51) holds, we get the same result as before:
By taking , , and in definition (11), we recall the following result from [HL17].
We immediately obtain the following result.
Assume the coupling (49)-(50). Assume that is quadratic and , where is positive definite. Then, we have
Now, we are ready to state the proof of Theorem 4.
Recall the iterates , the Markov kernel and the definition of the weighted -Wasserstein distance (1) with the weighted norm (20)-(21) and . Then showing Theorem 4 is equivalent to show
Let , be a coupling of defined as before. We have shown before that for every ,
By taking expectation and since for any , we get
By taking , we get
Hence is a Cauchy sequence and converges to a limit :
Next, let us show that does not depend on . Assume that there exists so that . Since is a metric, by the triangle inequality,
which goes to zero as . Hence, . The limit is therefore the same for any initial distributions and we can denote it by . Indeed,
which goes to zero as . Hence gives the invariant distribution. We can also show similarly as before that it is unique. ∎
If and , then we can take the matrix appearing in Theorem 4 according to the matrix defined in [AFGO19, Theorem 2.3] to obtain . For , then this leads to and it can be shown with an analysis similar to that of [AFGO19] that the second moment of is also ; ignoring some logarithmic factors in . Therefore, our results do not violate (and are in agreement with) the lower bounds studied in [CDLZ16, RR11, AWBR09] for strongly convex stochastic optimization.
where is the step size and is the momentum parameter. In the case when is quadratic and , we can compute that
and we aim to provide an upper bound to the 2-norm of the matrix, that is:
Let us assume that has the decomposition
where is diagonal consisting of eigenvalues , in increasing order:
which has the same eigenvalues as the matrix:
are matrices with eigenvalues:
Next, we upper bound . We recall the choice:
Therefore if and only if or , and moreover for and for .
(1) Consider the case . Then . It is known that the -th power of a matrix with distinct eigenvalues is given by
where is the identity matrix [Wil92]. In our context, and , we get
Hence, it follows from (63), (66), (67), (68) and (69) that
(2) Consider the case . Then, . As before, we have
Hence, it follows from (70), (71), (72), (73) and (74) that
(3) Consider the case . Then . It is known that the -th power of a matrix with two equal eigenvalues is given by
where is the identity matrix [Wil92]. In our context, and
Therefore, with , we have
Furthermore, we see that the sequence converges to a non-zero matrix. Therefore, for some constant for every . This means that the linear dependency to of our upper bound in (78) is tight. This behavior is expected due to the fact that has double roots.
(4) Consider the case . Then . We can compute that
Finally, combining the three cases (1) ; (2) ; (3) ; (4) , and recall (60), we get
where is the step size and is the momentum parameter. In the case when is quadratic and , we can compute that
so that with two couplings :
Following from the proof of Theorem 4, we can show by constructing a Cauchy sequence that there exists a unique stationary distribution . Finally, we assume that starts from the given distributed as and starts from the stationary distribution so that their distance is exactly the distance. Then we get
and the proof is complete by taking the power in the above equation. ∎
Before we state the proof of Theorem 8, let us spell out and in the statement of Theorem 8 explicitly here. We will show that Theorem 8 holds with given by
In the special case for some constant , it follows from [AFGO18] that
where are the eigenvalues of .
where we consider the quadratic objective so that
satisfies the discrete Lyapunov equation:
Next by iterating equation (81) over , we immediately obtain
where we used the estimate from the proof of Theorem 5.
Finally, since is -Lipschtiz,
Note that our results in -Wasserstein distances would hold if there exists some so that -th moment of the noise is finite. For instance, the case can arise in applications where the noise has heavy tail (see e.g. [SSG19]).
C.2 Proofs of Results in Section 3.2
where is the step size and is the momentum parameter. In the case when is quadratic and , we can compute that
and we aim to provide an upper bound to the 2-norm of the matrix, that is:
Let us assume that has the decomposition
where is diagonal consisting of eigenvalues , in increasing order:
which has the same eigenvalues as the matrix:
are matrices with eigenvalues:
Next, we upper bound . We consider three cases (1) ; (2) ; (3) .
(1) Consider the case . With the choice of and in (16), we can compute that for those , we have
where . It is known that the -th power of a matrix with distinct eigenvalues is given by
where is the identity matrix [Wil92]. In our context, and , we get
Hence, it follows from (83), (84), (85), (86) and (87) that
(2) Consider the case . With the choice of and in (16), we can compute that for those , we have
so we have double eigenvalues and indeed , and
and by a direct computation (e.g. induction on ), we get:
Finally, we note that the matrix as goes to infinity converges to the matrix
Therefore, the linear dependency of our bound in (90) with respect to is tight. This behavior is expected due to the fact that has double roots.
(3) Consider the case . With the choice of and in (16), we can compute that for those , we have
so we have double eigenvalues and indeed , and
and by a direct computation (e.g. induction on ), we get:
Finally, combining the three cases (1) ; (2) ; (3) , we get
and the proof is complete by applying (94). ∎
Before we state the proof of Theorem 11, let us state the following result, which is built on Theorem 9.
Let us consider two couplings and with the common noise that starts from and :
where is quadratic and . Then, we have
where and are defined by (17) and (29) respectively.
It follows from the estimate (94) in the proof of Theorem 9 and the definitions of and in (17) and (29) that we have
We recall from Lemma 25 that for any coupling and
Following from the proof of Theorem 4, we can show by constructing a Cauchy sequence that there exists a unique stationary distribution . Finally, we assume that starts from the given distributed as and starts from the stationary distribution so that their distance is exactly the distance. Then we get
and the proof is complete by taking the power in the above equation. ∎
Before we state the proof of Theorem 12, let us spell out and in the statement of Theorem 12 explicitly here. We will show that Theorem 12 holds with given by
In the special case for some constant , we obtain
where are the eigenvalues of .
where we consider the quadratic objective so that
satisfies the discrete Lyapunov equation:
Next by iterating equation (103) over , we immediately obtain
where we used the estimate from the proof of Theorem 9.
Finally, since is -Lipschtiz,
The proof of (31) is complete. To show (102), we can adapt the proof technique of [AFGO18, Proposition 3.2] for gradient descent to HB. Without loss of generality, due to the scaling of the Lyapunov equation, we can assume . Consider the eigenvalue decomposition where is orthogonal and is diagonal with . We can write
If we define for the orthogonal matrix , it solves
where the latter matrix is a diagonal matrix with entries if is odd, and zero if is even. Due to the special structure of and , the solution has the structure
where solves the Lyapunov equation
with scalars , and , this equation is equivalent to the linear system
Appendix D Proofs of Results in Section 4
Before we proceed to prove the main results in Section 4, let us first show that the weighted total variation distance upper bounds the standard -Wasserstein distance.
where is the standard -Wasserstein distance and
where is the smallest positive eigenvalue of
By applying the Kantorovich-Rubinstein duality for the Wasserstein metric (see e.g. [Vil09]), we get
where we used from Lemma 27. ∎
Let . If , then works. Otherwise,
For constrained optimization on a compact set , we have the following result.
For any on the product space ,
where is the diameter of .
The second inequality in Proposition 28 follows from . So it suffices to prove the first inequality. We can compute that
Throughout Section 4, the noise are assumed to satisfy Assumption 2. Our proof of Theorem 13 relies on the geometric ergodicity and convergence theory of Markov chains. Geometric ergodicity and convergence of Markov chains has been well studied in the literature. Harris’ ergodic theorem of Markov chains essentially states that a Markov chain is ergodic if it admits a small set that is visited infinitely often [Har56]. Such a result often relies on finding an appropriate Lyapunov function [MT93]. The transition probabilities converge exponentially fast towards the unique invariant measure, and the prefactor is controlled by the Lyapunov function [MT93]. Computable bounds for geometric convergence rates of Markov chains has been obtained in e.g. [MT94, HM11]. In the following, we state the results from [HM11]. Before we proceed, let us introduce some definitions and notations.
There exists some constant and a probability measure so that
Let us recall the definition of the weighted total variation distance:
It is noted in [HM11] that has the following alternative expression. Define the weighted supremum norm for any :
and its associated dual metric on probability measures:
It is also noted in [HM11] that can also be expressed as:
If the drift condition (Assumption 29) and minorization condition (Assumption 30) hold, then there exists and so that
If the drift condition (Assumption 29) and minorization condition (Assumption 30) hold, then admits a unique invariant measure , i.e. .
The drift condition has indeed been obtained in [AFGO18]. The AG method follows the dynamics
Next, let us prove that the drift condition holds. The proof is mainly built on Corollary 4.2. and Lemma 4.5. in [AFGO18].
By Corollary 4.2. and its proof in [AFGO18] (In [AFGO18], the noise are assumed to be independent. But a closer look at the proof of Corollary 4.2. reveals that our Assumption 2 suffices), we have
A closer look at the proof of Corollary 4.2. in [AFGO18] reveals that the following equality also holds:
When is strongly convex, Lemma 4.5. in [AFGO18] states that for any ,
where , where
Taking expectation w.r.t. the noise only in (127), we get
With the definition of , by Lemma 21, we get
Then, combining (115) and (136), applying (137) and the definition of , we get
In the special case , we obtain the following result.
Given .
By letting in Lemma 33, we get
for some probability measure . Let us define:
We define such that for any that does not contain , and for some probability measure and for any that contains .Then, it suffices for us to show that
where is the probability density function for some probability measure .
For any , there exists some such that
Note that for sufficiently large , can get arbitrarily close to . Fix , by the continuity of in both and , we can find such that uniformly in ,
which can be arbitrarily close to if we take to be sufficiently small. In particular, if we fix , then we can take such that
and similarly with fixed and , we take such that uniformly in ,
Finally, we are ready to state the proof of Theorem 13 and Proposition 14.
According to the proof of Lemma 35, for any fixed , we can define:
where and , where and . In particular, we can choose
where so that
Let us recall that and . Recall that satisfies and let us assume that is sufficiently small so that , then we can take
We also recall that and
We have discussed before that we can take to be arbitrarily close to by taking sufficiently large, and for fixed take sufficiently small. Let us take
If we take , then
Hence, we can take , that is,
Finally, we want to take and such that
It is easy to see that we can take so that
and take such that for any ,
Recall that denotes the law of the iterates . By Lemma 32, the Markov chain admits a unique invariant distribution . By letting and , we conclude that
Finally, let us prove (33). Given , we have , . It follows from Lemma 34 and its proof that
By induction on , we can show that for every ,
By the definition of , it follows that
In Proposition 14, the amount of noise that can be tolerated is limited. Nevertheless, in applications where the gradient is estimated from noisy measurements, such results would be applicable if the noise level is mild [BWBZ13].
If the noise are i.i.d. Gaussian , then conditional on in the AG method, with stepsize , is distributed as with . Therefore, for sufficiently small,
By Chebychev’s inequality, letting , for any , we get
Conditional on , where for some , then, is Gaussian distributed:
Thus, uniformly in ,
Note that implies that
Thus, uniformly in ,
For the remaining of the proof, without loss of generality assume that and .Given two scalar-valued functions and , we say , if the ratio lies in an interval for every and some. It is straightforward to see from the Taylor expansion of that and
D.2 Proofs of Results in Section A
Consider the constrained optimization problem
where is the random gradient error satisfying Assumption 2, are the stepsize and momentum parameter and the projection onto the convex compact set with diameter can be written as
Due to the non-expansiveness property of the projection operator, we have (see e.g. [CW05, Lemma 2.4])
Following a similar approach to [HL17, FRMP17], we reformulate the projected AG iterations as a linear dynamical system as
where .
In particular, with , , where . Then (148) holds with the matrix
We follow the proof technique of [FRMP17] for deterministic proximal AG which is based on [Nes04, Lemma 2.4] and adapt this proof technique to accelerated stochastic projected gradient. Defining the error at step
where in the first inequality we used the fact that the gradient of is -smooth which implies that
(see e.g. [Bub14]) and second inequality follows from Jensen’s inequality.Finally, the last step is a consequence of (143) and Assumption 2 on the noise. It follows from a similar computation that
We note that the matrices and can be written as
where are defined by (147). Using [FRMP17, eqn. (36)–(37)] and Lemma 38, we have
Plugging these into (155) and (156), we obtain
Taking conditional expectations and inserting (161)–(162),
Using the notations as in the proof of Lemma 37, we have the following two inequalities:
Recall that f satisfies following inequalities,
This proves (159). Finally, (160) can also be obtained if we take and follow similar steps. ∎
Given , , where , we have
and with , , we have
The proof is similar to the proof of Theorem 13 and the proof of (33). We obtain
As in the proof of Proposition 14, we can take
Finally, the proof of (39) is similar as the proof of (37). We obtain
Appendix E Numerical Illustrations
In this section, we illustrate some of our theoretical results over some simple functions with numerical experiments. On the left panel of Figure 1, we compare ASG for the quadratic objective in dimension one with additive i.i.d. Gaussian noise on the gradients for different noise levels . The plots show performance with respect to expected suboptimality using sample paths. As expected, the performance deteriorates when increases. The fact that the performance stabilizes after a certain number of iterations supports the claim that a stationary distribution exists, a claim that was proved in Theorem 4. In the middle panel, we repeat the experiment in dimension over the quadratic objective , where is a diagonal matrix with diagonal entries . We observe similar patterns.
Finally, on the right panel of Figure 1, we estimate the distribution of for . For this purpose, we plot the histograms of over sample paths for every fixed . We observe that the histograms for and are similar, illustrating the fact that ASG admits a stationary distribution.