From Averaging to Acceleration, There is Only a Step-size
Nicolas Flammarion, Francis Bach
Introduction
Many problems in machine learning are naturally cast as convex optimization problems over a Euclidean space; for supervised learning this includes least-squares regression, logistic regression, and the support vector machine. Faced with large amounts of data, practitioners often favor first-order techniques based on gradient descent, leading to algorithms with many cheap iterations. For smooth problems, two extensions of gradient descent have had important theoretical and practical impacts: acceleration and averaging.
Acceleration techniques date back to Nesterov (1983) and have their roots in momentum techniques and conjugate gradient (Polyak, 1987). For convex problems, with an appropriately weighted momentum term which requires to store two iterates, Nesterov (1983) showed that the traditional convergence rate of for the function values after iterations of gradient descent goes down to for accelerated gradient descent, such a rate being optimal among first-order techniques that can access only sequences of gradients (Nesterov, 2004). Like conjugate gradient methods for solving linear systems, these methods are however more sensitive to noise in the gradients; that is, to preserve their improved convergence rates, significantly less noise may be tolerated (d’Aspremont, 2008; Schmidt et al., 2011; Devolder et al., 2014).
Averaging techniques which consist in replacing the iterates by the average of all iterates have also been thoroughly considered, either because they sometimes lead to simpler proofs, or because they lead to improved behavior. In the noiseless case where gradients are exactly available, they do not improve the convergence rate in the convex case; worse, for strongly-convex problems, they are not linearly convergent while regular gradient descent is. Their main advantage comes with random unbiased gradients, where it has been shown that they lead to better convergence rates than the unaveraged counterparts, in particular because they allow larger step-sizes (Polyak and Juditsky, 1992; Bach and Moulines, 2011). For example, for least-squares regression with stochastic gradients, they lead to convergence rates of , even in the non-strongly convex case (Bach and Moulines, 2013).
In this paper, we show that for quadratic problems, both averaging and acceleration are two instances of the same second-order finite difference equation, with different step-sizes. They may thus be analyzed jointly, together with a non-strongly convex version of the heavy-ball method (Polyak, 1987, Section 3.2). In presence of random zero-mean noise on the gradients, this joint analysis allows to design a novel intermediate algorithm that exhibits the good aspects of both acceleration (quick forgetting of initial conditions) and averaging (robustness to noise).
In this paper, we make the following contributions:
We show in Section 2 that accelerated gradient descent, averaged gradient descent and the heavy-ball method for non-strongly-convex problems may be reformulated as constant parameter second-order difference equation algorithms, where stability of the system is equivalent to convergence at rate .
In Section 3, we provide a detailed analysis of the eigenvalues of the corresponding linear dynamical system, showing various oscillatory and non-oscillatory behaviors, together with a sharp stability result with explicit constants.
In Section 4, we consider the situation where noisy gradients are available, where we extend our general convergence result, which suggests an alternative algorithm (i.e., with different step sizes) that exhibits the good aspects of both averaging and acceleration.
In Section 5, we illustrate our results with simulations on synthetic examples.
Second-Order Iterative Algorithms for Quadratic Functions
In this paper we study second-order iterative algorithms of the form:
By letting we then have , started from . Thus, we restrict our problem to the study of the convergence of an iterative system to .
In connection with accelerated methods, we are interested in algorithms for which converges to at a speed of . Within this context we impose that and have the form :
By letting , we can now study the simple iterative system with constant terms , started at and . Showing that the function values remain bounded, we directly have the convergence of to at the speed . Thus the n-scalability property allows to switch from a convergence problem to a stability problem.
For feasibility concerns the method can only access through matrix-vector products. Therefore and should be polynomials in and a polynomial in times , if possible of low degree. The following theorem clarifies the general form of iterative systems which share these three properties (see proof in Appendix B).
Note that our result prevents and from being zero, thus requiring the algorithm to strictly be of second order. This illustrates the fact that first-order algorithms as gradient descent do not have the convergence rate in .
The recursion in Eq. (3) may be written with gradients of in multiple ways. In order to preserve the parallel with accelerated techniques, we rewrite it as:
2 Examples
When computing the average online as and seeing the average as the main iterate, the algorithm becomes (see proof in Appendix B.2):
This corresponds to Eq. (4) with and .
For smooth optimization the accelerated literature (Nesterov, 2004; Beck and Teboulle, 2009) uses the step-size and their results are not valid for bigger step-size . However is compatible with the framework of Lan (2012) and is more convenient for our set-up. This corresponds to Eq. (4) with and . Note that accelerated techniques are more generally applicable, e.g., to composite optimization with smooth functions (Nesterov, 2013; Beck and Teboulle, 2009).
when . We note that typically is constant for strongly-convex problems. This corresponds to Eq. (4) with and .
Convergence with Noiseless Gradients
We study the convergence of the iterates defined by: . This is a second-order iterative system with constant coefficients that it is standard to cast in a linear framework (see, e.g., Ortega and Rheinboldt, 2000). We may rewrite it as:
Thus . Following O’Donoghue and Candes (2013), if we consider an eigenvalue decomposition of , i.e., with an orthogonal matrix and the eigenvalues of , sorted in decreasing order: , then Eq. (3) may be rewritten as:
In this section, we consider a fixed and study the stability in the corresponding eigenspace. This linear dynamical system may be analyzed by studying the eigenvalues of the -matrix . These eigenvalues are the roots of its characteristic polynomial which is:
To compute the roots of the second-order polynomial, we compute its reduced discriminant:
Depending on the sign of the discriminant , there will be two real distinct eigenvalues (, two complex conjugate eigenvalues ( or a single real eigenvalue (.
We will now study the sign of . In each different case, we will determine under what conditions on and the modulus of the eigenvalues is less than one, which means that the iterates remain bounded and the iterates converge to . We may then compute function values as .
The various regimes are summarized in Figure 1: there is a triangle of values of for which the algorithm remains stable (i.e., the iterates do not diverge), with either complex or real eigenvalues. In the following lemmas (see proof in Appendix C), we provide a detailed analysis that leads to Figure 1.
The discriminant is strictly positive and the algorithm is stable if and only if
We then have two real roots , with . Moreover, we have:
Therefore, for real eigenvalues, will converge to at a speed of however the constant may be arbitrarily small (and thus the scaling factor arbitrarily large). Furthermore we have linear convergence if the inequalities in the lemmas are strict.
The discriminant is stricly negative and the algorithm is stable if and only if
We then have two complex conjugate eigenvalues: . Moreover, we have:
with , and defined through and .
Therefore, for complex eigenvalues, there is a linear convergence if the inequalities in the lemma are strict. Moreover, oscillates to at a speed of even if is arbitrarily small.
When the discriminant goes to zero in the explicit formulas of the real and complex cases, both the denominator and numerator of will go to zero. In the limit case, when the discriminant is equal to zero, we will have a double real eigenvalue. This happens for . Then the eigenvalue is , and the algorithm is stable for , we then have . This can be obtained by letting goes to in the real and complex cases (see also Appendix C.3).
To conclude the iterate will be stable for and . According to the values of and this iterate will have a different behavior. In the complex case, the roots are complex conjugate with magnitude . Thus, when , will converge to , oscillating, at rate . In the real case, the two roots are real and distinct. However the product of the two roots is equal to , thus one will have a higher magnitude and will converges to at rate higher than in the complex case (as long as and belong to the interior of the stability region).
Finally, for a given quadratic function , all the iterates should be bounded, therefore we must have and . Then, depending on the value of , some eigenvalues may be complex or real.
2 Classical examples
For particular choices of and , displayed in Figure 1, the eigenvalues are either all real or all complex, as shown in the table below.
Averaged gradient descent loses linear convergence for strongly-convex problems, because for all eigensubspaces. Similarly, the heavy ball method is not adaptive to strong convexity because . However, accelerated gradient descent, although designed for non-strongly-convex problems, is adaptive because depends on while and do not. These last two algorithms have an oscillatory behavior which can be observed in practice and has been already studied (Su et al., 2014).
Note that all the classical methods choose step-sizes and either having all the eigenvalues real either complex; whereas we will see in Section 4, that it is significant to combine both behaviors in presence of noise.
3 General bound
Even if the exact formulas in Lemmas 1 and 2 are computable, they are not easily interpretable. In particular when the two roots become close, the denominator will go to zero, which prevents from bounding them easily. When we further restrict the domain of , we can always bound the iterate by the general bound (see proof in Appendix D):
For and , we have
These bounds are shown by dividing the set of in three regions where we obtain specific bounds. They do not depend on the regime of the eigenvalues (complex or real); this enables us to get the following general bound on the function values, our main result for the deterministic case.
For and :
The first bound corresponds to the traditional acceleration result, and is only relevant for (that is, for Nesterov acceleration and the heavy-ball method, but not for averaging). We recover the traditional convergence rate of second-order methods for quadratic functions in the singular case, such as conjugate gradient (Polyak, 1987, Section 6.1).
While the result above focuses on function values, like most results in the non-strongly convex case, the distance to optimum typically does not go to zero (although it remains bounded in our situation).
When (averaged gradient descent), then the second bound provides a convergence rate of if no assumption is made regarding the starting point , while the last bound of Theorem 2 would lead to a bound , that is a rate of , only for some starting points.
As shown in Appendix E by exhibiting explicit sequences of quadratic functions, the inverse dependence in and in Eq. (10) is not improvable.
Quadratic Optimization with Additive Noise
In many practical situations, the gradient of is not available for the recursion in Eq. (4), but only a noisy version. In this paper, we only consider additive uncorrelated noise with finite variance.
For quadratic functions, for the reduced variable , we get:
Note that algorithms with will have an important level of noise because of the term . We denote by and we now have the recursion:
2 Convergence result
For a quadratic function with arbitrarily small eigenvalues and uncorrelated noise with finite covariance, we obtain the following convergence result (see proof in Appendix F); since we will allow the parameters and to depend on the time we stop the algorithm, we introduce the horizon :
Although we only provide an upper-bound, the proof technique relies on direct moment computations in each eigensubspace with few inequalities, and we conjecture that the scalings with respect to are tight.
For and (which corresponds to averaged gradient descent), the second bound leads to , which is bounded but not converging to zero. We recover a result from Bach and Moulines (2011, Theorem 1).
For (which corresponds to Nesterov’s acceleration), the first bound leads to , and our bound suggests that the algorithm diverges, which we have observed in our experiments in Appendix A.
For and , the second bound leads to , and we recover the traditional rate of for stochastic gradient in the non-strongly-convex case.
When the values of the bias and the variance are known we can choose and such that the trade-off between the bias and the variance is optimal in our bound, as the following corrollary shows. Note that in the bound below, taking a non zero enables the bias term to be adaptive to hidden strong-convexity.
For and , we have:
3 Structured noise and least-square regression
When only the noise total variance is considered, as shown in Section 4.4, Corollary 2 recover existing (more general) results. Our framework however leads to improved result for structured noise processes frequent in machine learning, in particular in least-squares regression which we now consider but this goes beyond (see, e.g. Bach and Moulines, 2013).
For this particular structured noise we can take advantage of a large :
For and (which corresponds to averaged gradient descent), the second bound leads to . We recover a result from Bach and Moulines (2013, Theorem 1). Note that when , .
For (which corresponds to Nesterov’s acceleration), the first bound leads to , which is bounded but not converging to zero (as opposed to the the unstructured noise where the algorithm may diverge).
For with and , the first bound leads to . We thus obtain an explicit bias-variance trade-off by changing the value of .
When the values of the bias and the variance are known we can choose and with an optimized trade-off, as the following corrollary shows:
For and we have:
4 Related work
Several authors (Lan, 2012; Hu et al., 2009; Xiao, 2010) have shown that using a step-size proportional to accelerated methods with noisy gradients lead to the same convergence rate of O\big{(}\frac{L\|\theta_{0}-\theta_{*}\|^{2}}{N^{2}}+\frac{\|\theta_{0}-\theta_{*}\|\sqrt{\mathop{\rm tr}(C)}}{\sqrt{N}}\big{)} than in Corollary 2, for smooth functions. Thus, for unstructured noise, our analysis provides insights in the behavior of second-order algorithms, without improving bounds. We get significant improvements for structured noises.
When the noise is structured as in least-square regression and more generally in linear supervised learning, Bach and Moulines (2011) have shown that using averaged stochastic gradient descent with constant step-size leads to the convergence rate of O\big{(}\frac{L\|\theta_{0}-\theta_{0}\|^{2}}{N}+\frac{\sigma^{2}d}{N}\big{)}. It has been highlighted by Défossez and Bach (2014) that the bias term may often be the dominant one in practice. Our result in Corollary 3 leads to an improved bias term in with the price of a potentially slightly worse constant in the variance term. However, with optimal constants in Corollary 3, the new algorithm is always an improvement over averaged stochastic gradient descent in all situations. If constants are unknown, we may use with and and we choose depending on the emphasis we want to put on bias or variance.
For noisy quadratic problems, the convergence rate nicely decomposes into two terms, a bias term which corresponds to the noiseless problem and the variance term which corresponds to a problem started at . For each of these two terms, lower bounds are known. For the bias term, if , then the lower bound is, up to constants, (Nesterov, 2004, Theorem 2.1.7). For the variance term, for the general noisy gradient situation, we show in Appendix H that for , it is , while for least-squares regression, it is (Tsybakov, 2003). Thus, for the two situations, we attain the two lower bounds simultaneously for situations where respectively and . It remains an open problem to achieve the two minimax terms in all situations.
We also note as shown in Appendix G that in the special case of quadratic functions, the algorithms of Lan (2012); Hu et al. (2009); Xiao (2010) could be unified into our framework (although they have significantly different formulations and justifications in the smooth case).
Experiments
We compare our algorithm to other stochastic accelerated algorithms, that is, AC-SA (Lan, 2012), SAGE (Hu et al., 2009) and Acc-RDA (Xiao, 2010) which are presented in Appendix G. For all these algorithms (and ours) we take the optimal step-sizes defined in these papers. We show results averaged over 10 replications.
We first consider an i.i.d. zero mean noise whose covariance matrix is proportional to . We also consider a variant of our algorithm with an any-time step-size function of rather than (for which we currently have no proof of convergence). In Figure 3, we take into account two different set-ups. In the left plot, the variance dominates the bias (with ). We see that (a) Acc-GD does not converge to the optimum but does not diverge either, (b) Av-GD and our algorithms achieve the optimal rate of convergence of , whereas (c) other accelerated algorithms only converge at rate . In the right plot, the bias dominates the variance ( and ). In this situation our algorithm outperforms all others.
We now see how these algorithms behave for least-squares regressions and the regular (non-homoscedastic) stochastic gradients described in Section 4.3. We consider normally distributed inputs. The covariance matrix is the same as before. The outputs are generated from a linear function with homoscedatic noise with a signal-to-noise ratio of . We consider . We show results averaged over 10 replications. In Figure 4, we consider again a situation where the bias dominates (left) and vice versa (right). We see that our algorithm has the same good behavior than in the homoscedastic noise case and we conjecture that our bounds also hold in this situation.
Conclusion
We have provided a joint analysis of averaging and acceleration for non-strongly-convex quadratic functions in a single framework, both with noiseless and noisy gradients. This allows to define a class of algorithms that can benefit simultaneously of the known improvements of averaging and accelerations: faster forgetting of initial conditions (for acceleration), and better robustness to noise when the noise covariance is proportional to the Hessian (for averaging).
Our current analysis of our class of algorithms in Eq. (4), that considers two different affine combinations of previous iterates (instead of one for traditional acceleration), is limited to quadratic functions; an extension of its analysis to all smooth or self-concordant-like functions would widen its applicability. Similarly, an extension to least-squares regression with natural heteroscedastic stochastic gradient, as suggested by our simulations, would be an interesting development.
This work was partially supported by the MSR-Inria Joint Centre and a grant by the European Research Council (SIERRA project 239993). The authors would like to thank Aymeric Dieuleveut for helpful discussions.
References
Appendix A Additional experimental results
In this appendix, we provide additional experimental results to illustrate our theoretical results.
In Figure 5, we minimize a one-dimensional quadratic function for a fixed step-size and different step-sizes . In the left plot, we compare Acc-GD, HB and Av-GD. We see that HB and Acc-GD both oscillate and that Acc-GD leverages strong convexity to converge faster. In the right plot, we compare the behavior of the algorithm for different values of . We see that the optimal rate is achieved for defined to be the one for which there is a double coalescent eigenvalue, where the convergence is linear at speed . When , we are in the real case and when the algorithm oscillates to the solution.
Figure 6 shows interactions between different eigenspaces. In the left plot, we optimize a quadratic function of dimension . The first eigenvalue is and the second is . For Av-GD the convergence is of order since the problem is “not” strongly convex (i.e., not appearing as strongly convex since remains small). The convergence is at the beginning the same for HB and Acc-GD, with oscillation at speed , since the small eigenvalue prevents Acc-GD from having a linear convergence. Then for large , the convergence becomes linear for Acc-GD, since becomes large. In the right plot, we optimize a quadratic function in dimension with eigenvalues from to . We show the function values of the projections of the iterates on the different eigenspaces. We see that high eigenvalues first dominate, but converge quickly to zero, whereas small ones keep oscillating, and converge more slowly.
In Figure 7, we optimize two -dimensional quadratic functions with different eigenvalues with Av-GD, HB and Acc-GD for a fixed step-size . In the left plot, the eigenvalues are and in the right one, they are , for . We see that in both cases, Av-GD converges at a rate of and HB at a rate of . For Acc-GD the convergence is linear when is large (left plot) and becomes sublinear at a rate of when becomes small (right plot).
A.2 Noisy convergence with unstructured additive noise
We optimize the same quadratic function, but now with noisy gradients. We compare our algorithm to other stochastic accelerated algorithms, that is, AC-SA [Lan, 2012], SAGE [Hu et al., 2009] and Acc-RDA [Xiao, 2010], which are presented in Appendix G. For all these algorithms (and ours) we take the optimal step-sizes defined in these papers. We plot the results averaged over 10 replications.
We consider in Figure 8 an i.i.d. zero mean noise of variance . We see that all the accelerated algorithms achieve the same precision whereas Av-GD with constant step-size does not converge and Acc-Gd diverges. However SAGE and AC-SA are anytime algorithms and are faster at the beginning since their step-sizes are decreasing and not a constant (with respect to ) function of the horizon .
Appendix B Proofs of Section 2
And in connection with Eq. (16) we can rewrite and as:
Thus for , we have . Then and . Therefore
We let and so that we have:
B.2 Av-GD as two steps-algorithm
Appendix C Proof of Section 3
The discriminant is strictly positive when \big{(}\frac{\alpha+\beta}{2}\big{)}^{2}h_{i}-\alpha>0. This is always true for strictly negative. For positive and for , this is true for . Thus the discriminant is strictly positive for
Then we determine when the modulus of the eigenvalues is less than one (which corresponds to ).
Figure 9 (where we plot all the constraints we have so far) enables to conclude that the discriminant is strictly positive and the algorithm is stable when the following three conditions are satisfied:
For any of those et we will have:
Since , and for , ; we thus have:
C.2 Proof of Lemma 2
The discriminant is strictly negative if and only if \big{(}\frac{\alpha+\beta}{2}\big{)}^{2}h_{i}-\alpha<0. This implies . The modulus of the eigenvalues is . Thus the discriminant is strictly negative and the algorithm is stable for
For any of those et we have:
with , and . Since , and we have for , . Therefore
C.3 Coalescing eigenvalues
When , the discriminant is equal to zero and we have a double real eigenvalue:
Thus the algorithm is stable for . For any of those et we have:
This gives with , and . Therefore
In the presence of coalescing eigenvalues the convergence is linear if and , however one might worry about the behavior of when becomes small. Using the bound for , we have for :
Therefore we always have the following bound for :
Appendix D Proof of Theorem 2
We divide the domain of validity of Theorem 2 in three subdomains as explained in Figure 14. On the domain described in Figure 14 we have a first bound on the iterate :
For and , we have:
And on the domain described Figure 14 we also have:
For and we have:
These two lemmas enable us to prove the first bound of Theorem 2 since the domain of this theorem is included in the intersection of the two domains of these lemmas as shown in Figure 14.
Then we have the following bound on domain described in Figure 14:
For and , we have:
Since the domain of definition of Theorem 2 is included in the domain of definition of Lemma 5 (as shown in Figure 14), this lemma proves the last two bounds of the theorem.
D.2 Outline of the proofs of the Lemmas
We also prove that dominates when we want to have a bound on of the form .
For readability, we remove the index and take without loss of generality.
D.3 Proof of Lemma 3
We first consider a quadratic Lyapunov function with . We note that is symmetric positive semi-definite for . We recall .
For the result to be true we need for and two properties:
This especially shows Eq. (19) for the boundaries of the interval with .
This shows that for and :
D.4 Proof of Lemma 4
We consider now a second Lyapunov function . We have:
Where we have used twice and . Moreover can be rewritten as:
Thus for and we have:
Therefore for and , we have:
D.5 Proof of Lemma 5
Moreover for all and we have , since and . Thus
Therefore for and we have:
Appendix E Lower bound
We have the following lower-bound for the bound shown in Corollary 1, which shows that depending on which of the two terms dominates, we may always find a sequence of functions that makes it tight.
Let . For all sequences and , such that there exists a sequence of one-dimensional quadratic functions with second-derivative less than such that:
For all sequences and , such that , there exists a sequence of one-dimensional quadratic functions with second-derivative less than such that:
For the first lower bound we consider and , such that . We define and we consider the sequence of quadratic functions . We consider the iterate defined by our algorithm. We will show that
since . Also, , since . Moreover
thus and .
We consider now the situation where the second bound is active. Thus we take sequences and , such that . We define and consider the sequence of quadratic functions . We will show for the iterate defined by our algorithm that:
Thus and
Appendix F Proofs of Section 4
We decompose again vectors in an eigenvector basis of with and :
We denote by and we have the reduced equation:
Unfortunately is not Hermitian and this formulation will not be convenient for calculus. Without loss of generality, we assume even if it means having goes to in the final bound. Let be the transfer matrix of , i.e., with and . We can reparametrize the problem in the following way:
with now Hermitian (even diagonal).
Thus it is easier to tackle using standard techniques for stochastic approximation [see, e.g., Polyak and Juditsky, 1992, Bach and Moulines, 2011]:
This is a bias-variance decomposition; the left term only depends on the initial condition and the right term only depends on the noise process.
Moreover we have . Thus
This is the bias term we have studied in Section 3.3 which we bound with Theorem 2. The variance term is controlled by the next proposition.
We note that if we restrict to , then and the first bound of Proposition 2 is simplified to . This allows to conclude to prove Theorem 4.
F.2 Proof of Corollary 3
We let and consider three different regimes depending on and .
If , we have and thus and . Therefore
where we have used since .
If and , we have and . Therefore
where we have used since .
If , we have and . Therefore
where we have used that the real bound in Proposition 2 is in fact in , (see Lemma 6) and that since .
F.3 Proof of Proposition 2
To prove Proposition 2 we will use Lemmas 6, 7 and 8, that are stated and proved in Section F.3.2.
Thus, by bouding by , we get
Then, we have from Lemma 7 the inequality:
This allows to prove the first part of the bound. The other parts are much simpler and are done in Lemma 8. Thus, adding these bounds gives for and :
F.3.2 Some technical Lemmas
We first compute an explicit expansion of the noise term as a function of the eigenvalues of the dynamical system.
For all and we have
We first turn the Euclidean norm into a trace, using that for two matrices and and that for a real .
And the first part of Eq. (23) is equal to:
because and . Therefore:
In the following leamma, we bound a certain sum of powers of the roots.
For all and we have
We first note that when the two roots become close, the denominator and the numerator will go to zero, which prevents from bounding the numerator easily. We also note that this bound is very tight since the difference between the two terms goes to zero when goes to infinity.
We first expand the square of the difference of the powers of the roots and compute their sums.
with I_{n}=\bigg{[}\frac{{r_{i}^{+}}^{2n}}{1-{r_{i}^{+}}^{2}}+\frac{{r_{i}^{-}}^{2n}}{1-{r_{i}^{-}}^{2}}-2\frac{(r_{i}^{+}r_{i}^{-})^{n}}{1-(r_{i}^{+}r_{i}^{-})}\bigg{]}.
This sum is therefore equal to the sum of one term we will compute explicitly and one other term which will go to zero. We have for the first term:
with .
Then we simplify the first term of this sum using the explicit values of the roots. We recall , therefore
Even if will be asymptotically small, we want a non-asymptotic bound, thus we will show that is always positive.
and using we have
and using we have
However we can also bound roughly Eq. (22) using Theorem 2 since we recall we have . This gives us the following lemma which enables to prove the second part of Proposition 2.
For all and we have
Appendix G Comparison with additional other algorithms
When the objective function is quadratic and for correct choices of step-sizes, the AC-SA algorithm of Lan , the SAGE algorithm of Hu et al. and the Accelerated RDA algorithm of Xiao are all equivalent to:
where we use as an unbiased estimate of the gradient and as step-size which values will be specified later.
Lan and Hu et al. only consider bounded cases by projecting their iterates on a bounded space. Xiao deals with the unbounded case and prove the following convergence result:
This result is significantly more general than ours since it is valid for composite optimization and general noise on the gradients.
We now present the different algorithms and show they all share the same form.
G.2 AC-SA
AC-SA algorithm with step size and and gradient estimate is equivalent to:
Let the initial points , and the step-sizes and be given.
Step 1. Set ,
Step 3. Set and go to step 1.
When is quadratic we will have , thus , and:
These give the result for . ∎
G.3 SAGE
The algorithm SAGE with step-sizes and is equivalent to:
Let the initial points , and the step-sizes and be given.
Step 1. Set ,
Step 3. Set and go to step 1.
These give the result for . ∎
G.4 Accelerated RDA method
The algorithm AccRDA with step-sizes and is equivalent to:
with .
We recall the general Accelerated RDA method:
Step 1. Set and .
Step 2. Compute the query point
Step 5. Set .
Step 6. Set and go to step 1.
With we have and
Since , then
Appendix H Lower bound for stochastic optimization for least-squares
In this section, we show a lower bound for optimization of quadratic functions with noisy access to gradients. We follow very closely the framework of Agarwal et al. and use their notations. The only difference with their Theorem 1 in the different choice of two functions and , which we choose to be:
with a non-increasing sequence to be chosen later. The function that is optimized is thus:
This function is quadratic and its Hessian has eigenvalues equal to . Thus, its largest eigenvalue is , which we choose equal to .
Noisy gradients are obtained by sampling independent Bernoulli random variables , , with parameters and using the gradient of the random function \frac{1}{d}\sum_{i=1}^{d}\big{\{}b_{i}f_{i}^{+}(x)+(1-b_{i})f_{i}^{-}(x)\big{\}}. The variance of the random gradient is equal to
The function is minimized for , and the discrepancy measure between two functions and is greater than
Since the vectors are so that their Hamming distance for , we have a discrepancy measure greater than . Thus, for a an approximate optimality of , we have, following the proof of Theorem 1 (equation (29)) from Agarwal et al. , for iterations of any method that accesses a random gradient, we have:
Thus, for large, we get, up to constants, and thus .
For and for the remaining ones, we get (up to constants):
This leads to the desired result for .