Sub-Sampled Newton Methods I: Globally Convergent Algorithms
Farbod Roosta-Khorasani, Michael W. Mahoney
Introduction
Large scale optimization problems arise frequently in machine learning and data analysis and there has been a great deal of effort to devise algorithms for efficiently solving such problems. Here, following many data-fitting applications, we consider the optimization problem of the form
The rest of this paper is organized as follows: in Section 1.1, we first give a very brief background on the general methodology for optimizing (1). The notation and the assumptions used in this paper are given in Section 1.2. The contributions of this paper are listed in Section 1.3. Section 1.4 surveys the related work. Section 2 gives global convergence results for the case where only the Hessian is sub-sampled while the full gradient is used. In particular, Section 2.1.1 gives a linearly convergent global algorithm with exact update, whereas Section 2.1.2 gives a similar result for the case when approximate solution of the linear system is used as search direction. The case where the gradient, as well as Hessian, is sub-sampled is treated in Section 3. More specifically, Section 3.1.1 gives a globally convergent algorithm with linear rate with exact update, whereas Section 3.1.2 addresses the algorithm with inexact updates. A few examples from generalized linear models (GLM), a very popular class of problems in machine learning community, as well as numerical simulations are given in Section 4. Conclusions and further thoughts are gathered in Section 5. All proofs are given in the appendix.
For optimizing (1), the standard deterministic or full gradient method, which dates back to Cauchy , uses iterations of the form
where is the step size at iteration . However, when , the full gradient method can be inefficient because its iteration cost scales linearly in . In addition, when or when each individual are complicated functions (e.g., evaluating each may require the solution of a partial differential equation), the mere evaluation of the gradient can be computationally prohibitive. Consequently, stochastic variant of full gradient descent, e.g., (mini-batch) stochastic gradient descent (SGD) was developed . In such methods a subset is chosen at random and the update is obtained by
When (e.g., for simple SGD), the main advantage of such stochastic gradient methods is that the iteration cost is independent of and can be much cheaper than the full gradient methods, making them suitable for modern problems with large .
The above class of methods are among what is known as first-order methods where only the gradient information is used at every iteration. One attractive feature of such class of methods is their relatively low per-iteration-cost. Despite the low per-iteration-cost of first order methods, in almost all problems, incorporating curvature information (e.g., Hessian) as a form of scaling the gradient, i.e.,
can significantly improve the convergence rate. Such class of methods which take the curvature information into account are known as second-order methods, and compared to first-order methods, they enjoy superior convergence rate in both theory and practice. This is so since there is an implicit local scaling of coordinates at a given , which is determined by the local curvature of . This local curvature in fact determines the condition number of a at . Consequently, by taking the curvature information into account (e.g., in the form of the Hessian), second order methods can rescale the gradient direction so it is a much more “useful” direction to follow. This is in contrast to first order methods which can only scale the gradient uniformly for all coordinates. Such second order information have long been used in many machine learning applications .
The canonical example of second order methods, i.e., Newton’s method , is with taken to be the inverse of the full Hessian and , i.e.,
However, when , the per-iteration-cost of such algorithm is significantly higher than that of first-order methods. As a result, a line of research is to try to construct an approximation of the Hessian in a way that the update is computationally feasible, and yet, still provides sufficient second order information. One such class of methods are quasi-Newton methods, which are a generalization of the secant method to find the root of the first derivative for multidimensional problems. In such methods, the approximation to the Hessian is updated iteratively using only first order information from the gradients and the iterates through low-rank updates. Among these methods, the celebrated Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm and its limited memory version (L-BFGS) , are the most popular and widely used members of this class. Another class of methods for approximating the Hessian is based on sub-sampling where the Hessian of the full function is estimated using that of the randomly selected subset of functions , . More precisely, a subset is chosen at random and, if the sub-sampled matrix is invertible, the update is obtained by
where and are sample sets used for approximating the Hessian and the gradient, respectively. The variants (2b) are what we call sub-sampled Newton methods in this paper.
This paper has a companion paper , henceforth called SSN2, which considers the technically-more-sophisticated local convergence rates for sub-sampled Newton methods (by local convergence, it is meant that the initial iterate is close enough to a local minimizer at which the sufficient conditions hold). However, here, we only concentrate on designing such algorithms with global convergence guarantees. In doing so, we need to ensure the following requirements:
Our sampling strategy needs to provide a sample size which is independent of , or at least smaller. Note that this is the same requirement as in SSN2 [40, (R.1)]. However, as a result of the simpler goals of the present paper, we will show that, comparatively, a much smaller sample size can be required here than that used in SSN2 .
In addition, any such method must, at least probabilistically, ensure that the sub-sampled matrix is invertible. If the gradient is also sub-sampled, we need to ensure that sampling is done in a way to keep as much of this first order information as possible. Note that unlike SSN2 [40, (R.2)] where we require a strong spectrum-preserving property, here, we only require the much weaker invertibility condition, which is enough to yield global convergence.
We need to ensure that our designed algorithms are globally convergent and approach the optimum starting from any initial guess. In addition, we require to have bounds which yield explicit convergence rate as opposed to asymptotic results. Note that unlike SSN2 [40, (R.3)] where our focus is on speed, here, we mainly require global convergence guarantees.
For , even when the sub-sampled Hessian is invertible, computing the update at each iteration can indeed pose a significant computational challenge. More precisely, it is clear from (2b) that to compute the update, sub-sampled Newton methods require the solution of a linear system, which regardless of the sample size, can be the bottleneck of the computations. Solving such systems inexactly can further improve the computational efficiency of sub-sampled algorithms. Hence, it is imperative to allow for approximate solutions and still guarantee convergence.
In this paper, we give global convergence rates for sub-sampled Newton methods, addressing challenges (R.1), (R.2), (R.3) and (R.4). As a result, the local rates of the companion paper, SSN2 , coupled with the global convergence guarantees presented here, provide globally convergent algorithms with fast and problem-independent local rates (e.g., see Theorems 2 and 7). To the best of our knowledge, the present paper and SSN2 are the very first to thoroughly and quantitatively study the convergence behavior of such sub-sampled second order algorithms, in a variety of settings.
2 Notation and Assumptions
Note that Assumption (3b) implies uniqueness of the minimizer, , which is assumed to be attained. The quantity
is known as the condition number of the problem.
For an integer , let be the set of indices corresponding to largest ’s and define the “sub-sampling” condition number as
It is easy to see that for any two integers and such that , we have . Finally, define
where and are as in (5).
3 Contributions
The contributions of this paper can be summarized as follows:
Under the above assumptions, we propose various globally convergent algorithms. These algorithms are guaranteed to approach the optimum, regardless of their starting point. Our algorithms are designed for the following settings.
Algorithm 1 practically implements (2a). In other words, we incorporate sub-sampled Hessian while the full gradient is used. Theorem 1 establishes the global convergence of Algorithm 1.
Algorithms 2 and 3, are modifications of Algorithm 1 in which the sub-sampled Hessian is regularized by modifying its spectrum or by Levenberg-type regularization (henceforth called ridge-type regularization), respectively. Such regularization can be used to guarantee global convergence, in the absence of positive definiteness of the full Hessian. Theorems 4 and 5 as well as Corollaries 1 and 2 guarantee global convergence of these algorithms.
Algorithm 4 is the implementation of the fully stochastic formulation (2b), in which the gradient as well the Hessian is sub-sampled. The global convergence of Algorithm 4 is guaranteed by Theorem 6.
For all of our algorithms, we present analysis for the case of inexact update where the linear system is solved only approximately, to a given tolerance. In addition, we establish criteria for the tolerance to guarantee faster convergence rate. The results of Theorems 3, 4, 5, and 8 give global convergence of the corresponding algorithms with inexact updates.
4 Related Work
The results of Section 3, can be applied to more general setting where can be arbitrarily large. This is so since sub-sampling the gradient, in addition to that of the Hessian, allows for iteration complexity, which can be much smaller than . Within the context of first order methods, there has been numerous variants of gradient sampling from a simple stochastic gradient descent, , to the most recent improvements by incorporating the previous gradient directions in the current update . For second order methods, such sub-sampling strategy has been successfully applied in large scale non-linear inverse problems . However, to the best of our knowledge, Section 3 offers the first quantitative and global convergence results for such sub-sampled methods.
Finally, inexact updates have been used in many second-order optimization algorithms; see and references therein.
Sub-Sampling Hessian
For the optimization problem (1), at each iteration, consider picking a sample of indices from , uniformly at random with or without replacement. Let and denote the sample collection and its cardinality, respectively and define
to be the sub-sampled Hessian. As mentioned before in Section 1.1, in order for such sub-sampling to be useful, we need to ensure that the sample size satisfies the requirement (R.1), while is invertible as mentioned in (R.2). Below, we make use of random matrix concentration inequalities to probabilistically guarantee such properties.
then for defined in (8), we have
where and are defined in (3b) and (5), respectively.
Hence, depending on , the sample size can be smaller than . In addition, we can always probabilistically guarantee that the sub-sampled Hessian is uniformly positive definite and, consequently, the direction given by it, indeed, yields a direction of descent.
It is important to note that the sufficient sample size, , here grows only linearly in , i.e., , as opposed to quadratically, i.e., , in . In fact, it might be worth elaborating more on the differences between the above sub-sampling strategy and that of SSN2 [40, Lemmas 1, 2, and 3]. These differences, in fact, boil down to the differences between the requirement (R.2) and the corresponding one in SSN2 [40, Section 1.1, (R.2)]. As a result of a “coarser-grained” analysis in the present paper and in order to guarantee global convergence, we only require that the sub-sampled Hessian is uniformly postive definite. Consequently, Lemma 1 require a smaller sample size, i.e., in the order of vs. for SSN2 [40, Lemma 1, 2, and 3], while delivering a much weaker guarantee about the invertibility of the sub-sampled Hessian. In contrast, for the finer-grained analysis in SSN2 , we needed a much stronger guarantee to preserve the spectrum of the true Hessian, and not just simple invertibility.
In Section 2.1.1, we first present an iterative algorithm in which, at every iteration, the linear system in (2a) is solved exactly. In Section 2.1.2, we then present a modified algorithm where such step is done only approximately and the update is computed inexactly, to within a desired tolerance. Finally, Section 2.2 will present algorithms in which the sub-sampled Hessian is regularized through modifying its spectrum or ridge-type regularization. For this latter section, the algorithms are given for the case of inexact update as extensions to exact solve is straightforward. The proofs of all the results are given in the appendix.
For the sub-sampled Hessian , consider the update
for some and . Recall that (11c) can be approximately solved using various methods such as Armijo backtracking line search .
Theorem 1 guarantees global convergence with at least a linear rate which depends on the quantities related to the specific problem. In SSN2 , we have shown, through a finer grained analysis, that the locally linear convergence rate of such sub-sampled Newton method with a constant step size is indeed problem independent. In fact, it is possible to combine both results to obtain a globally convergent algorithm with a locally linear and problem-independent rate, which is indeed much faster than what Theorem 1 implies.
Let Assumptions (3) hold and each have a Lipschitz continuous Hessian as
iterations, with probability we get “problem-independent” Q-linear convergence, i.e.,
In fact, it is even possible to obtain a globally convergent algorithm with locally superlinear rate of convergence using Algorithm 1 with iteration dependent as
where is chosen as in SSN2 [40, Theorem 3 or 4]. The details are similar to Theorem 2 and are omitted here.
1.2 Inexact update
In many situations, where finding the exact update, , in (11b) is computationally expensive, it is imperative to be able to calculate the update direction only approximately. Such inexactness can indeed reduce the computational costs of each iteration and is particularly beneficial when the iterates are far from the optimum. This makes intuitive sense because, if the current iterate is far from , it may be computationally wasteful to exactly solve for in (11b). Such inexact updates have been used in many second-order optimization algorithms, e.g. . Here, in the context of uniform sub-sampling, we give similar global results using inexact search directions inspired by .
For computing the search direction, , consider the linear system at iteration. Instead, in order to allow for inexactness, one can solve the linear system such that for some , satisfies
The condition (16a) is the usual relative residual of the approximate solution. However, for a given , any satisfying (16a) might not necessarily result in a descent direction. As a result, condition (16b) ensures that such a is always a direction of descent. Note that given any , one can always find a satisfying (16) (e.g., the exact solution always satisfies (16)).
Comment 2: The dependence of the guarantees of Theorem 3 on the inexactness parameters, and , is indeed intuitive. The minimum amount of decrease in the objective function is mainly dependent on , i.e., the accuracy of the the linear system solve. On the other hand, the dependence of the step size, , on indicates that the algorithm can take larger steps along a search direction, that points more accurately towards the direction of the largest rate of decrease, i.e., is more negative which means that points more accurately in the direction of . As a result, the more exactly we solve for , the larger the step that the algorithm might take and the larger the decrease in the objective function. However, the cost of any such calculation at each iteration might be expensive. As a result, there is a trade-off between accuracy for computing the update in each iteration and the overall progress of the algorithm.
2 Modifying the Sample Hessian
As mentioned in the introduction, if is not strongly convex, it is still possible to obtain globally convergent algorithms. This is done through regularization of the Hessian of to ensure that the resulting search direction is indeed a direction of descent. Even when is strongly convex, the use of regularization can still be beneficial. Indeed, the lower bound for the step size in Theorems 1 and 3 imply that a small can potentially slow down the initial progress of the algorithm. More specifically, small might force the algorithm to adopt small step sizes, at least in the early stages of the algorithm. This observation is indeed reinforced by the composite nature of error recursions obtained in SSN2 . In particular, it has been shown in SSN2 that in the early stages of the algorithm, when the iterates are far from the optimum, the error recursion is dominated by a quadratic term which transitions to a linear term as the iterates get closer to the optimum. However, unlike the linear term, the quadratic term is negatively affected by the small values of . In other words, small can hinder the initial progress and even using the full Hessian cannot address this issue. As a result, one might resort to regularization of the (estimated) Hessian to improve upon the initial slow progress. Here, we explore two strategies for such regularization which are incorporated as part of our algorithms. The results are given for when (11b) is solved approximately with a “small-enough” tolerance and for the case of sub-sampling without replacement. Extensions to arbitrary tolerance as well as sampling with replacement is as before and straightforward.
In this section, we follow the ideas presented in , by accounting for such a potentially negative factor , through a regularization of eigenvalue distribution of the sub-sampled Hessian. More specifically, for some , let
The operation (17b) can be equivalently represented as
with being the eigenvector of corresponding to the eigenvalue, . Operation (17b) can be performed using truncated SVD (TSVD). Note that although TSVD can be done through standard methods, faster randomized alternatives exist which provide accurate approximations to TSVD much more efficiently .
As a result of Steps 5–7 in Algorithm 2, the regularized sub-sampled matrix, , is always positive definite with minimum eigenvalue . Consequently, just to obtain global convergence, there is no need to resort to sampling Lemma 1 to ensure invertibility of the sub-sampled matrix. In fact, such regularization guarantees the global convergence of Algorithm 2, even in the absence of strong convexity assumption (3b). Theorem 4 gives such a result for Algorithm 2 in the case of inexact update.
where is defined as in (6). If in addition, Assumption (3b) holds, then we have (12) with
Moreover, for both cases, the step size is at least
where is defined as in (6). Moreover, with probability , the step size is at least
2.2 Ridge Regularization
As an alternative to the spectral regularization, we can consider the following simple ridge-type regularization
for some , similar to the Levenberg-Marquardt type algorithms . Such regularization might be preferable to the spectral regularization of Section 2.2.1, as it avoids the projection operation 17b at every iteration. Theorem 5 gives a global convergence guarantee for Algorithm 3 in the case of inexact update.
where is defined as in (6). If, in addition, Assumption (3b) holds, then we have (12) with
Moreover, for both cases, the step size is at least
As mentioned before in Section 2.2.1, under Assumption (3b), if the sample size is not chosen large enough then might (nearly) be singular. This can in turn cause a need for a larger or, alternatively, if , the accuracy tolerance and the step-size can be very small. However, by using the sample size given by Lemma 1, one can probabilistically guarantee a minimum step-size as well as a minimum sufficient upper bound for which are bounded away from zero even if .
where is defined as in (6). Moreover, with probability , the step size is at least
Sub-Sampling Hessian & Gradient
In order to compute the update in Section 2, full gradient was used. In many problems, this can be a major bottleneck and reduction in computational costs can be made by considering sub-sampling the gradient as well. This issue arises more prominently in high dimensional settings where and evaluating the full gradient at each iteration can pose a significant challenge. In such problems, sub-sampling the gradient can, at times, drastically reduce the computational complexity of many problems.
Consider selecting a sample collection from , uniformly at random with replacement and let
be the sub-sampled gradient. As mentioned before in the requirement (R.2), we need to ensure that sampling is done in a way to keep as much of the first order information from the full gradient as possible.
By a simple observation, the gradient can be written in matrix-matrix product from as
Hence, we can use approximate matrix multiplication results as a fundamental primitive in RandNLA , to probabilistically control the error in approximation of by , through uniform sampling of the columns and rows of the involved matrices above. As a result, we have the following lemma (a more general form of this lemma for the case of constrained optimization is given in the companion paper, SSN2 [40, Lemma 4]).
For any and , if
then for defined in (19), we have
Comment 4: In order to use the above result in our gradient sub-sampling, we need to be able to efficiently estimate at every iteration. Fortunately, in many different problems, this is often possible; for concrete examples, see Section 4.
We now show that by combining the gradient sub-sampling of Lemma 2 with Hessian sub-sampling of Lemma 1, we can still obtain global guarantees for some modification of Algorithm 1. This indeed generalizes our algorithms to fully stochastic variants where both the gradient and the Hessian are approximated.
In Section 3.1.1, we first present an iterative algorithm with exact update where, at every iteration, the linear system in (2a) is solved exactly. In Section 3.1.2, we then present a modified algorithm where such step is done only approximately and the update is computed inexactly, to within a desired tolerance. The proofs of all the results are given in the appendix.
For the sub-sampled Hessian, , and the sub-sampled gradient, , consider the update
we have the following with probability :
Theorem 6 guarantees global convergence with at least a linear rate which depends on the quantities related to the specific problem, i.e., condition number. As mentioned before, in SSN2 , we have shown, through a finer grained analysis, that the locally linear convergence rate of such sub-sampled Newton method with a constant step size is indeed problem independent. As in Theorem 2, it is possible to combine the two results and obtain a globally convergent algorithm with fast and problem-independent rate.
Let Assumptions (3) and (13) hold. Consider any such that , set
iterations, we have the following with probability :
otherwise, we get “problem-independent” linear convergence, i.e.,
1.2 Inexact update
As in Section 2.1.2, we now consider the inexact version of (21b), as a solution of
we have the following with probability :
Examples
In this Section, we present an instance of problems which are of the form (1). Specifically, examples from generalized linear models (GLM) are given in Sections 4.1, followed by some numerical simulations in Section 4.2.
Consider the problem of maximum a posteriori (MAP) estimation using any GLM with canonical link function and Gaussian prior. This problem boils down to minimizing the regularized negative log-likelihood as
As mentioned before in Section 3, in order to use Lemma 2, we need to be able to efficiently estimate at every iteration. For illustration purposes only, Table 1 gives some very rough estimates of for GLMs. In practice, as a pre-processing and before starting the algorithms, one can pre-compute the quantities which depend only on ’s. Then updating at every iteration is done very efficiently as it is just a matter of computing .
2 Numerical Simulations
Gradient Descent (GD) with constant step-size (the step-size was hand tuned to obtain the best performance),
Accelerated Gradient Descent (AGD), , which improves over GD by using a momentum term,
L-BFGS with Armijo line-search and using limited past memory of ,
Full Newton’s method with Armijo line-search,
SSN with inexact update (SSN-NX) with inexactness tolerances of for data sets and , and for .
We run the simulations for each method, starting from the same initial point, until or a maximum number of iterations is reached, and report the relative errors of the iterates, i.e., as well as the relative errors of the objective function, i.e., , both versus elapsed time (in seconds). The results are shown in Figure 1.
The first order methods, i.e., GD and AGD, in none of these examples, managed to converge to anything reasonable. For the ill-conditioned problems with data sets and , while all instances of SSN converged to the desired accuracy with no difficulty, no other method managed to go past a “single” digit of accuracy, in the same time-period, or anytime soon after! This is indeed expected, as SSN captures the regions with high and low curvature, and scales the gradient accordingly to make progress. These examples show that, when dealing with ill-conditioned problems, using only first order information is certainly not enough to obtain a reasonable solution. In these problems, employing a second-order algorithm such as SSN with inexact update not only yields the desired solution, but also does it very efficiently! In particular note the fast convergence of SSN-NX for both of these problems.
For the much better conditioned problem using the data set , BFGS and L-BFGS with the history size of outperform SSN-X with and sampling. This is also expected since solving the linear system exactly at every iteration is the bottleneck of computations for SSN-X, in comparison to matrix free BFGS and L-BFGS. However, even in such a well-conditioned problem where BFGS and L-BFGS appear very attractive, inexactness coupled with SSN can be more efficient. It is clear that all SSN-NX variants converge to the desired solution faster than either BFGS or its limited memory variant. For example, using , the speed-up of using SSN-NX with of the data over L-BFGS is at least times. Note also that for the very ill-conditioned problem with , larger sample size, i.e., , was required to obtain a fast convergence, illustrating that the sample size could grow with the condition number.
Conclusion
In this paper, we studied globally convergent sub-sampled Newton algorithms for unconstrained optimization in various settings. In the first part of the paper, we studied the case in which only the Hessian is sub-sampled and the full gradient is used. In this setting, we showed that using random matrix concentration result, it is possible to, probabilistically, guarantee that the sub-sampled Hessian yields a descent direction at every iteration. We then provided global convergence for modifications of this algorithms where the sub-sampled Hessian is regularized by changing its spectrum or ridge-type regularization. We argued that such regularization can only be beneficial at early stages of the algorithm and we need to revert to using the true sub-sampled Hessian (of course, if it is invertible) as iterates get closer to the optimum.
In the second part of the paper, we considered the global convergence of a fully stochastic algorithm in which both the Hessian and the gradients are sub-sampled, independently of each other, as way to further reduce the computational complexity per iteration. We use approximate matrix multiplication results from RandNLA to obtain the proper sampling strategy.
Although our main focus here was merely to provide global convergence guarantees for sub-sampled Newton methods under a variety of settings, admittedly, one major downside of the bounds presented in this paper is that they are all pessimistic. In fact, some of the bounds of the present paper exhibit a dependence on the condition-number which is very discouraging. However, the consolation lies in combining the global results presented here and the corresponding local convergence rates of the companion paper, SSN2 . Indeed, in SSN2 , we show that, using Newton’s “natural” step-size of , such sub-sampled Newton algorithms enjoy local convergence rates which are condition-number independent. In addition, we show that, through controlling the sub-sampling accuracy, one can make the local convergence speed of such algorithms as close to that of the full Newton’s method as desired (though we stay shy of obtaining its famous quadratic rate). Consequently through such combination of the results of the two companion papers, we guaranteed that, ultimately, the convergence rate of the algorithms of the present paper which use exact update, becomes condition-number independent. In addition, using the Armijo rule, the “natural” step size of will eventually be always accepted.
Finally, despite the fact that we considered the global convergence behavior of the algorithms which incorporate inexact updates, the local convergence properties of such algorithms are not known. The results of SSN2 only address such properties for the algorithms which use exact update. As a result, studying local convergence behavior of such inexact algorithms is left for future work. In addition, here, the global convergence have been established for algorithms for solving unconstrained optimization. SSN2 considers the general case of constrained optimization, but only in studying the local convergence rates of the presented algorithms. As a result, extensions of global convergence guarantees to convex constrained problems are important avenues for future research.
References
Appendix A Proofs
Consider i.i.d random matrices such that . Define
where is defined in (6). Hence we can apply Matrix Chernoff [48, Theorem 1.1] or [47, Theorem 2.2] for sub-sampling with or without replacement, respectively, to get
implies that and we can indeed obtain decrease in the objective function.
Now, it suffices to show that there exists an iteration-independent , such that the constrain in (11c) holds for any . For any , define . By Assumption (3b), we have
Now in order to pass the Armijo rule, we search for such that
This latter inequality is satisfied if we require that
satisfies the Armijo rule. So in particular, we can always find an iteration independent lower bound on step size such that the constrain in (11c) holds. On the other hand, for sampling without replacement and from we get
Similarly for sampling with replacement, we have
Now the result follows immediately by noting that Assumption (3b) implies (see [35, Theorem 2.1.10])
The choice of is to meet a requirement of SSN2 [40, Theorem 2] and account for the differences between Lemma 1 and SSN2 [40, Lemma 1].
The rest of the proof follows closely the line of argument in [9, Section 9.5.3]. define . From (13), it follows that
Defining , we have
as well as and
The last inequality follows since by the choice of and SSN2 [40, Lemma 5], we have
Hence, with and denoting , we have
Hence, noting that , if
which implies that (11c) is satisfied with .
The proof is complete if we can find such that both the sufficient condition of SSN2 [40, Theorem 2] as well as (25) is satisfied. First, note that from Theorem 1, Assumtpion (3b) and by using the iteration-independent lower bound on , it follows that
In order to satisfy (25), we require that
which yields (14). Again, from Theorem 1 and Assumtpion (3b),we get
and hence the sufficient condition of SSN2 [40, Theorem 2] is also satisfied and we get (15).
We give the proof only for the case of sampling without replacement. The proof for sampling with replacement is obtained similarly.
So, and we can indeed obtain decrease in the objective function. As in the proof of Theorem (1), we get
Hence, in order to pass the Armijo rule, we search for such that
it follows that the condition (16a), implies
Now the result follows, using Assumption (3b), as in the end of the proof of Theorem 1.
By the choice of and the convexity of , we have and, so by (16b) it gives
So it follows that and we can indeed obtain decrease in the objective function. Now as before, in order to pass the Armijo rule, we search for such that
Now the rest of the proof is similar to that of Theorem 3 by noting that
As before, by the choice of , convexity of , and (16b) we get
which implies that and we can indeed obtain decrease in the objective function. Similarly to the proof previous theorems, it is easy to see that
satisfies the Armijo rule. The rest of the results also follow as in the proof of Theorem 3 by noting that
A.2 Proofs of Section 3
The proof of the following lemma, in a more general format for constrained optimization, is given in the companion paper, SSN2 [40, Lemma 4]. However, it is given here as well for completeness.
As mentioned before, the full gradient, , can be equivalently written as a product of two matrices as , where
with probability . Now the result follows by requiring that
We give the proof only for the case of sampling without replacement. The proof for sampling with replacement is obtained similarly.
As in the proof of Theorem 1, we first need to show that there exists an iteration-independent step-size, , such that the constrain in (21c) holds for any . For any , define . By Assumption (3b), we have
which shows that and we can indeed obtain decrease in the objective function. Now, using the above, it follows that
As a result, we need to search for such that
Hence, from , it follows that in order to guarantee an iteration independent lower bound for as above, we need to have
which, by the choice of and , is imposed by the algorithm. If the stopping criterion succeeds, then by
However, if the stopping criterion fails and the algorithm is allowed to continue, then by
Hence, from , we get
Finally, using Assumption (3b), the desired result follows as in the end of the proof of Theorem 1.
The choice of and is to meet a requirement of SSN2 [40, Theorem 13] and account for the differences between Lemma 1 and SSN2 [40, Lemma 1].
In addition, from , we get and so
Finally, as in the proof of Theorem 2, we have
Hence, with and denoting , we have
where the last inequality follows from . Now denoting
Now, if the stopping criterion fails and the algorithm is allowed to continue, then by
As a result, in order to satisfy the right hand side of (28), we require that
which yields (22). Again, from Theorem 6 and Assumtpion (3b),we get
and hence the sufficient condition of SSN2 [40, Theorem 13] is also satisfied and we get (23).
The proof is given by combining the arguments used to prove Theorems 3 and 6, and is given here only for completeness. We also give the proof only for the case of sampling without replacement. The proof for sampling with replacement is obtained similarly.
Hence, and we can indeed obtain decrease in the objective function. For the Armijo rule to hold, we search for such that
Now implies
which, by the choice of and , is imposed by the algorithm. If the stopping criterion holds, then by
However, if the stopping criterion fails and the algorithm continues, then by
which, since , implies that
it follows that the condition (16a), implies
Now as in the proof of Theorem 3, we get that if
Since , we get
For part (ii), we note that by , we get
we then square both sides and use (29) to get
Now the result follows, using Assumption (3b), as in the end of the proof of Theorem 1.