Example: barber

SAGA: A Fast Incremental Gradient Method With Support for ...

saga : A fast Incremental Gradient Method WithSupport for Non-Strongly Convex CompositeObjectivesAaron DefazioAmbiata Australian National University, CanberraFrancis BachINRIA - Sierra Project-Team Ecole Normale Sup erieure, Paris, FranceSimon Lacoste-JulienINRIA - Sierra Project-Team Ecole Normale Sup erieure, Paris, FranceAbstractIn this work we introduce a new optimisation Method called saga in the spirit ofSAG, SDCA, MISO and SVRG, a set of recently proposed Incremental gradientalgorithms with fast linear convergence rates. saga improves on the theory be-hind SAG and SVRG, with better theoretical convergence rates, and has supportfor composite objectives where a proximal operator is used on the regulariser.

SAGA is preferred over SVRG both theoretically and in practice. For neural networks, where no theory is available for either method, the storage of gradients is generally more expensive than the

Tags:

  With, Methods, Support, Fast, Saga, Derating, Incremental, A fast incremental gradient method with support

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of SAGA: A Fast Incremental Gradient Method With Support for ...

1 saga : A fast Incremental Gradient Method WithSupport for Non-Strongly Convex CompositeObjectivesAaron DefazioAmbiata Australian National University, CanberraFrancis BachINRIA - Sierra Project-Team Ecole Normale Sup erieure, Paris, FranceSimon Lacoste-JulienINRIA - Sierra Project-Team Ecole Normale Sup erieure, Paris, FranceAbstractIn this work we introduce a new optimisation Method called saga in the spirit ofSAG, SDCA, MISO and SVRG, a set of recently proposed Incremental gradientalgorithms with fast linear convergence rates. saga improves on the theory be-hind SAG and SVRG, with better theoretical convergence rates, and has supportfor composite objectives where a proximal operator is used on the regulariser.

2 Un-like SDCA, saga supports non-strongly convex problems directly, and is adap-tive to any inherent strong convexity of the problem. We give experimental resultsshowing the effectiveness of our IntroductionRemarkably, recent advances [1, 2] have shown that it is possible to minimise strongly convexfinite sums provably faster in expectation than is possible without the finite sum structure. This issignificant for machine learning problems as a finite sum structure is common in the empirical riskminimisation setting. The requirement of strong convexity is likewise satisfied in machine learningproblems in the typical case where a quadratic regulariser is particular, we are interested in minimising functions of the formf(x) =1nn i=1fi(x),wherex Rd, eachfiis convex and has Lipschitz continuous derivatives with constantL.

3 We willalso consider the case where eachfiis strongly convex with constant , and the composite (orproximal) case where an additional regularisation function is added:F(x) =f(x) +h(x),whereh:Rd Rdis convex but potentially non-differentiable, and where the proximal operationofhis easy to compute few Incremental Gradient methods are applicable in this setting [3][4].Our contributions are as follows. In Section 2 we describe the saga algorithm, a novel incrementalgradient Method . In Section 5 we prove theoretical convergence rates for saga in the stronglyconvex case better than those for SAG [1] and SVRG [5], and a factor of 2 from the SDCA [2]convergence rates.

4 These rates also hold in the composite setting. Additionally, we show that The first author completed this work while under funding from NICTA. This work was partially supportedby the MSR-Inria Joint Centre and a grant by the European Research Council (SIERRA project 239993).1like SAG but unlike SDCA, our Method is applicable to non-strongly convex problems withoutmodification. We establish theoretical convergence rates for this case also. In Section 3 we discussthe relation between each of the fast Incremental Gradient methods , showing that each stems from avery small modification of saga AlgorithmWe start with some known initial vectorx0 Rdand known derivativesf i( 0i) Rdwith 0i=x0for eachi.

5 These derivatives are stored in a table data-structure of lengthn, or alternatively an dmatrix. For many problems of interest, such as binary classification and least-squares, only a singlefloating point value instead of a full Gradient vector needs to be stored (see Section 4). saga isinspired both from SAG [1] and SVRG [5] (as we will discuss in Section 3). saga uses a step sizeof and makes the following updates, starting withk= 0: saga Algorithm:Given the value ofxkand of eachf i( ki)at the end of iterationk, the updatesfor iterationk+ 1is as follows:1. Pick ajuniformly at Take k+1j=xk, and storef j( k+1j)in the table.

6 All other entries in the table remainunchanged. The quantity k+1jis not explicitly Updatexusingf j( k+1j),f j( kj)and the table average:wk+1=xk [f j( k+1j) f j( kj) +1nn i=1f i( ki)],(1)xk+1=proxh (wk+1).(2)The proximal operator we use above is defined asproxh (y) := argminx Rd{h(x) +12 x y 2}.(3)In the strongly convex case, when a step size of = 1/(2( n+L))is chosen, we have the followingconvergence rate in the composite and hence also the non-composite case:E xk x 2 (1 2( n+L))k[ x0 x 2+n n+L[f(x0) f (x ),x0 x f(x )]].We prove this result in Section 5. The requirement of strong convexity can be relaxed from needingto hold for eachfito just holding on average, but at the expense of a worse geometric rate (1 6( n+L)), requiring a step size of = 1/(3( n+L)).

7 In the non-strongly convex case, we have established the convergence rate in terms of the averageiterate, excluding step 0: xk=1k kt=1xt. Using a step size of = 1/(3L)we haveE[F( xk)] F(x ) 4nk[2Ln x0 x 2+f(x0) f (x ),x0 x f(x )].This result is proved in the supplementary material. Importantly, when this step size = 1/(3L)isused, our algorithmautomatically adaptsto the level of strong convexity >0naturally present,giving a convergence rate of (see the comment at the end of the proof of Theorem 1):E xk x 2 (1 min{14n, 3L})k[ x0 x 2+2n3L[f(x0) f (x ),x0 x f(x )]].

8 Although any Incremental Gradient Method can be applied to non-strongly convex problems via theaddition of a small quadratic regularisation, the amount of regularisation is an additional tunableparameter which our Method Related WorkWe explore the relationship between saga and the other fast Incremental Gradient methods in thissection. By using saga as a midpoint, we are able to provide a more unified view than is availablein the existing literature. A brief summary of the properties of each Method considered in this sectionis given in Figure 1. The Method from [3], which handles the non-composite setting, is not listed asits rate is of the slow type and can be up tontimes smaller than the one for saga or SVRG [5].

9 2 SAGASAGSDCASVRGFINITOS trongly Convex (SC)33333 Convex, Non-SC*337??Prox [6]37 Non-smooth77377 Low Storage Cost77737 Simple(-ish) Proof37333 Adaptive to SC337??Figure 1:Basic summary of Method properties. Question marks denote unproven, but not experimentallyruled out cases. (*) Note that any Method can be applied to non-strongly convex problems by adding a smallamount of L2 regularisation, this row describes methods that do not require this : midpoint between SAG and SVRG/S2 GDIn [5], the authors make the observation that the variance of the standard stochastic Gradient (SGD)update direction can only go to zero if decreasing step sizes are used, thus preventing a linear conver-gence rate unlike for batch Gradient descent.

10 They thus propose to use a variance reduction approach(see [7] and references therein for example) on the SGD update in order to be able to use constantstep sizes and get a linear convergence rate. We present the updates of their Method called SVRG(Stochastic Variance Reduced Gradient ) in (6) below, comparing it with the non-composite formof saga rewritten in (5). They also mention that SAG (Stochastic Average Gradient ) [1] can beinterpreted as reducing the variance, though they do not provide the specifics. Here, we make thisconnection clearer and relate it to first review a slightly more generalized version of the variance reduction approach (we allow theupdates to be biased).


Related search queries