On the Convergence of Adam and Beyond
Sashank J. Reddi, Satyen Kale, Sanjiv Kumar
Introduction
Stochastic gradient descent (Sgd) is the dominant method to train deep networks today. This method iteratively updates the parameters of a model by moving them in the direction of the negative gradient of the loss evaluated on a minibatch. In particular, variants of Sgd that scale coordinates of the gradient by square roots of some form of averaging of the squared coordinates in the past gradients have been particularly successful, because they automatically adjust the learning rate on a per-feature basis. The first popular algorithm in this line of research is Adagrad (Duchi et al., 2011; McMahan & Streeter, 2010), which can achieve significantly better performance compared to vanilla Sgd when the gradients are sparse, or in general small.
Although Adagrad works well for sparse settings, its performance has been observed to deteriorate in settings where the loss functions are nonconvex and gradients are dense due to rapid decay of the learning rate in these settings since it uses all the past gradients in the update. This problem is especially exacerbated in high dimensional problems arising in deep learning. To tackle this issue, several variants of Adagrad, such as RMSprop (Tieleman & Hinton, 2012), Adam (Kingma & Ba, 2015), Adadelta (Zeiler, 2012), Nadam (Dozat, 2016), etc, have been proposed which mitigate the rapid decay of the learning rate using the exponential moving averages of squared past gradients, essentially limiting the reliance of the update to only the past few gradients. While these algorithms have been successfully employed in several practical applications, they have also been observed to not converge in some other settings. It has been typically observed that in these settings some minibatches provide large gradients but only quite rarely, and while these large gradients are quite informative, their influence dies out rather quickly due to the exponential averaging, thus leading to poor convergence.
In this paper, we analyze this situation in detail. We rigorously prove that the intuition conveyed in the above paragraph is indeed correct; that limiting the reliance of the update on essentially only the past few gradients can indeed cause significant convergence issues. In particular, we make the following key contributions:
We elucidate how the exponential moving average in the RMSprop and Adam algorithms can cause non-convergence by providing an example of simple convex optimization problem where RMSprop and Adam provably do not converge to an optimal solution. Our analysis easily extends to other algorithms using exponential moving averages such as Adadelta and Nadam as well, but we omit this for the sake of clarity. In fact, the analysis is flexible enough to extend to other algorithms that employ averaging squared gradients over essentially a fixed size window (for exponential moving averages, the influences of gradients beyond a fixed window size becomes negligibly small) in the immediate past. We omit the general analysis in this paper for the sake of clarity.
The above result indicates that in order to have guaranteed convergence the optimization algorithm must have “long-term memory” of past gradients. Specifically, we point out a problem with the proof of convergence of the Adam algorithm given by Kingma & Ba (2015). To resolve this issue, we propose new variants of Adam which rely on long-term memory of past gradients, but can be implemented in the same time and space requirements as the original Adam algorithm. We provide a convergence analysis for the new variants in the convex setting, based on the analysis of Kingma & Ba (2015), and show a data-dependent regret bound similar to the one in Adagrad.
We provide a preliminary empirical study of one of the variants we proposed and show that it either performs similarly, or better, on some commonly used problems in machine learning.
Preliminaries
Optimization setup.
Generic adaptive methods setup.
and for all . While the decreasing step size is required for convergence, such an aggressive decay of learning rate typically translates into poor empirical performance. The key idea of adaptive methods is to choose averaging functions appropriately so as to entail good convergence. For instance, the first adaptive method Adagrad (Duchi et al., 2011), which propelled the research on adaptive methods, uses the following averaging functions:
and step size for all . In contrast to a learning rate of in Sgd, such a setting effectively implies a modest learning rate decay of for . When the gradients are sparse, this can potentially lead to huge gains in terms of convergence (see Duchi et al. (2011)). These gains have also been observed in practice for even few non-sparse settings.
Adaptive methods based on Exponential Moving Averages.
Exponential moving average variants of Adagrad are popular in the deep learning community. RMSprop, Adam, Nadam, and Adadelta are some prominent algorithms that fall in this category. The key difference is to use an exponential moving average as function instead of the simple average function used in Adagrad. AdamHere, for simplicity, we remove the debiasing step used in the version of Adam used in the original paper by Kingma & Ba (2015). However, our arguments also apply to the debiased version as well., a particularly popular variant, uses the following averaging functions:
for some . This update can alternatively be stated by the following simple recursion:
The Non-Convergence of Adam
With the problem setup in the previous section, we discuss fundamental flaw in the current exponential moving average methods like Adam. We show that Adam can fail to converge to an optimal solution even in simple one-dimensional convex settings. These examples of non-convergence contradict the claim of convergence in (Kingma & Ba, 2015), and the main issue lies in the following quantity of interest:
This quantity essentially measures the change in the inverse of learning rate of the adaptive method with respect to time. One key observation is that for Sgd and Adagrad, for all . This simply follows from update rules of Sgd and Adagrad in the previous section. In particular, update rules for these algorithms lead to “non-increasing” learning rates. However, this is not necessarily the case for exponential moving average variants like Adam and RMSprop i.e., can potentially be indefinite for . We show that this violation of positive definiteness can lead to undesirable convergence behavior for Adam and RMSprop. Consider the following simple sequence of linear functions for :
where . For this function sequence, it is easy to see that the point provides the minimum regret. Suppose and . We show that Adam converges to a highly suboptimal solution of for this setting. Intuitively, the reasoning is as follows. The algorithm obtains the large gradient once every 3 steps, and while the other 2 steps it observes the gradient , which moves the algorithm in the wrong direction. The large gradient is unable to counteract this effect since it is scaled down by a factor of almost for the given value of , and hence the algorithm converges to rather than . We formalize this intuition in the result below.
There is an online convex optimization problem where Adam has non-zero average regret i.e., as .
We relegate all proofs to the appendix. A few remarks are in order. One might wonder if adding a small constant in the denominator of the update helps in circumventing this problem i.e., the update for Adam in Algorithm 1 of is modified as follows:
The algorithm in (Kingma & Ba, 2015) uses such an update in practice, although their analysis does not. In practice, selection of the parameter appears to be critical for the performance of the algorithm. However, we show that for any constant , there exists an online optimization setting where, again, Adam has non-zero average regret asymptotically (see Theorem 6 in Section F of the appendix).
The above examples of non-convergence are catastrophic insofar that Adam and RMSprop converge to a point that is worst amongst all points in the set $\alpha_{t}=\alpha\beta_{2}\beta_{2}\beta_{1}\beta_{2}\beta_{1}<\sqrt{\beta_{2}}$, we can design an example where Adam has non-zero average rate asymptotically.
For any constant such that , there is an online convex optimization problem where Adam has non-zero average regret i.e., as .
The above results show that with constant and , momentum or regularization via will not help in convergence of the algorithm to the optimal solution. Note that the condition is benign and is typically satisfied in the parameter settings used in practice. Furthermore, such condition is assumed in convergence proof of Kingma & Ba (2015). We can strengthen this result by providing a similar example of non-convergence even in the easier stochastic optimization setting:
For any constant such that , there is a stochastic convex optimization problem for which Adam does not converge to the optimal solution.
These results have important consequences insofar that one has to use “problem-dependent” and in order to avoid bad convergence behavior. In high-dimensional problems, this typically amounts to using, unlike the update in Equation (3), a different and for each dimension. However, this defeats the purpose of adaptive methods since it requires tuning a large set of parameters. We would also like to emphasize that while the example of non-convergence is carefully constructed to demonstrate the problems in Adam, it is not unrealistic to imagine scenarios where such an issue can at the very least slow down convergence.
We end this section with the following important remark. While the results stated above use constant and , the analysis of Adam in (Kingma & Ba, 2015) actually relies on decreasing over time. It is quite easy to extend our examples to the case where is decreased over time, since the critical parameter is rather than , and as long as is bounded away from , our analysis goes through. Thus for the sake of clarity, in this paper we only prove non-convergence of Adam in the setting where is held constant.
A New Exponential Moving Average Variant: AMSGrad
In this section, we develop a new principled exponential moving average variant and provide its convergence analysis. Our aim is to devise a new strategy with guaranteed convergence while preserving the practical benefits of Adam and RMSprop. To understand the design of our algorithms, let us revisit the quantity in (2). For Adam and RMSprop, this quantity can potentially be negative. The proof in the original paper of Adam erroneously assumes that is positive semi-definite and is hence, incorrect (refer to Appendix D for more details). For the first part, we modify these algorithms to satisfy this additional constraint. Later on, we also explore an alternative approach where can be made positive semi-definite by using values of and that change with .
AMSGrad uses a smaller learning rate in comparison to Adam and yet incorporates the intuition of slowly decaying the effect of past gradients on the learning rate as long as is positive semi-definite. Algorithm 2 presents the pseudocode for the algorithm. The key difference of AMSGrad with Adam is that it maintains the maximum of all until the present time step and uses this maximum value for normalizing the running average of the gradient instead of in Adam. By doing this, AMSGrad results in a non-increasing step size and avoids the pitfalls of Adam and RMSprop i.e., for all even with constant . Also, in Algorithm 2, one typically uses a constant in practice (although, the proof requires a decreasing schedule for proving convergence of the algorithm).
To gain more intuition for the updates of AMSGrad, it is instructive to compare its update with Adam and Adagrad. Suppose at particular time step and coordinate , we have , then Adam aggressively increases the learning rate, however, as we have seen in the previous section, this can be detrimental to the overall performance of the algorithm. On the other hand, Adagrad slightly decreases the learning rate, which often leads to poor performance in practice since such an accumulation of gradients over a large time period can significantly decrease the learning rate. In contrast, AMSGrad neither increases nor decreases the learning rate and furthermore, decreases which can potentially lead to non-decreasing learning rate even if gradient is large in the future iterations. For rest of the paper, we use to denote the matrix obtained by concatenating the gradient sequence. We prove the following key result for AMSGrad.
Let and be the sequences obtained from Algorithm 2, , , for all and . Assume that has bounded diameter and for all and . For generated using the AMSGrad (Algorithm 2), we have the following bound on the regret
The following result falls as an immediate corollary of the above result.
Suppose in Theorem 4, then we have
The above bound can be considerably better than regret of Sgd when and (Duchi et al., 2011). Furthermore, in Theorem 4, one can use a much more modest momentum decay of and still ensure a regret of . We would also like to point out that one could consider taking a simple average of all the previous values of instead of their maximum. The resulting algorithm is very similar to Adagrad except for normalization with smoothed gradients rather than actual gradients and can be shown to have similar convergence as Adagrad.
Experiments
In this section, we present empirical results on both synthetic and real-world datasets. For our experiments, we study the problem of multiclass classification using logistic regression and neural networks, representing convex and nonconvex settings, respectively.
Synthetic Experiments: To demonstrate the convergence issue of Adam, we first consider the following simple convex setting inspired from our examples of non-convergence:
with the constraint set . We first observe that, similar to the examples of non-convergence we have considered, the optimal solution is ; thus, for convergence, we expect the algorithms to converge to . For this sequence of functions, we investigate the regret and the value of the iterate for Adam and AMSGrad. To enable fair comparison, we set and for Adam and AMSGrad algorithm, which are typically the parameters settings used for Adam in practice. Figure 1 shows the average regret () and value of the iterate () for this problem. We first note that the average regret of Adam does not converge to with increasing . Furthermore, its iterates converge to , which unfortunately has the largest regret amongst all points in the domain. On the other hand, the average regret of AMSGrad converges to and its iterate converges to the optimal solution. Figure 1 also shows the stochastic optimization setting:
Similar to the aforementioned online setting, the optimal solution for this problem is . Again, we see that the iterate of Adam converges to the highly suboptimal solution .
Logistic Regression: To investigate the performance of the algorithm on convex problems, we compare AMSGrad with Adam on logistic regression problem. We use MNIST dataset for this experiment, the classification is based on 784 dimensional image vector to one of the 10 class labels. The step size parameter is set to for both Adam and AMSGrad in for our experiments, consistent with the theory. We use a minibatch version of these algorithms with minibatch size set to . We set and is chosen from the set , but they are fixed throughout the experiment. The parameters and are chosen by grid search. We report the train and test loss with respect to iterations in Figure 2. We can see that AMSGrad performs better than Adam with respect to both train and test loss. We also observed that AMSGrad is relatively more robust to parameter changes in comparison to Adam.
Neural Networks: For our first experiment, we trained a simple 1-hidden fully connected layer neural network for the multiclass classification problem on MNIST. Similar to the previous experiment, we use and is chosen from . We use a fully connected 100 rectified linear units (ReLU) as the hidden layer for this experiment. Furthermore, we use constant throughout all our experiments on neural networks. Such a parameter setting choice of Adam is consistent with the ones typically used in the deep learning community for training neural networks. A grid search is used to determine parameters that provides the best performance for the algorithm.
Finally, we consider the multiclass classification problem on the standard CIFAR-10 dataset, which consists of 60,000 labeled examples of images. We use Cifarnet, a convolutional neural network (CNN) with several layers of convolution, pooling and non-linear units, for training a multiclass classifer for this problem. In particular, this architecture has 2 convolutional layers with 64 channels and kernel size of followed by 2 fully connected layers of size 384 and 192. The network uses max pooling and layer response normalization between the convolutional layers (Krizhevsky et al., 2012). A dropout layer with keep probability of 0.5 is applied in between the fully connected layers (Srivastava et al., 2014). The minibatch size is also set to 128 similar to previous experiments. The results for this problem are reported in Figure 2. The parameters for Adam and AMSGrad are selected in a way similar to the previous experiments. We can see that AMSGrad performs considerably better than Adam on train loss and accuracy. Furthermore, this performance gain also translates into good performance on test loss.
An alternative approach is to use an increasing schedule of in Adam. This approach, unlike Algorithm 2 does not require changing the structure of Adam but rather uses a non-constant and . The pseudocode for the algorithm, AdamNc, is provided in the appendix (Algorithm 3). We show that by appropriate selection of and , we can achieve good convergence rates.
Let and be the sequences obtained from Algorithm 3, , and for all . Assume that has bounded diameter and for all and . Furthermore, let be such that the following conditions are satisfied:
for some and all , .
for all and .
Then for generated using the AdamNc (Algorithm 3), we have the following bound on the regret
The above result assumes selection of such that for all . However, one can generalize the result to deal with the case where this constraint is violated as long as the violation is not too large or frequent. Following is an immediate consequence of the above result.
Suppose and in Theorem 5, then we have
The above corollary follows from a trivial fact that for all when . This corollary is interesting insofar that such a parameter setting effectively yields a momentum based variant of Adagrad. Similar to Adagrad, the regret is data-dependent and can be considerably better than regret of Sgd when (Duchi et al., 2011). It is easy to generalize this result for setting similar settings of . Similar to Corollary 1, one can use a more modest decay of and still ensure a data-dependent regret of .
Discussion
In this paper, we study exponential moving variants of Adagrad and identify an important flaw in these algorithms which can lead to undesirable convergence behavior. We demonstrate these problems through carefully constructed examples where RMSprop and Adam converge to highly suboptimal solutions. In general, any algorithm that relies on an essentially fixed sized window of past gradients to scale the gradient updates will suffer from this problem.
We proposed fixes to this problem by slightly modifying the algorithms, essentially endowing the algorithms with a long-term memory of past gradients. These fixes retain the good practical performance of the original algorithms, and in some cases actually show improvements.
The primary goal of this paper is to highlight the problems with popular exponential moving average variants of Adagrad from a theoretical perspective. RMSprop and Adam have been immensely successful in development of several state-of-the-art solutions for a wide range of problems. Thus, it is important to understand their behavior in a rigorous manner and be aware of potential pitfalls while using them in practice. We believe this paper is a first step in this direction and suggests good design principles for faster and better stochastic optimization.
References
Appendix
Appendix A Proof of Theorem 1
We consider the setting where are linear functions and . In particular, we define the following function sequence:
where . For this function sequence, it is easy to see that the point provides the minimum regret. Without loss of generality, assume that the initial point is . This can be assumed without any loss of generality because for any choice of initial point, we can always translate the coordinate system such that the initial point is in the new coordinate system and then choose the sequence of functions as above in the new coordinate system. Also, since the problem is one-dimensional, we drop indices representing coordinates from all quantities in Algorithm 1. Consider the execution of Adam algorithm for this sequence of functions with
where . Note that since gradients of these functions are bounded, has bounded diameter and . Hence, the conditions on the parameters required for Adam are satisfied (refer to (Kingma & Ba, 2015) for more details).
From update of Adam in Equation (1), we obtain
The equality follows from the induction hypothesis. We observe the following:
The second inequality follows from the step size choice that . Therefore, we have and hence . Furthermore, after the and updates of Adam in Equation (1), we have the following:
Since , it is easy to see that . To complete the proof, we need to show that . In order to prove this claim, we show that , which readily translates to because and here is the simple Euclidean projection (note that in one-dimension, ). We observe the following:
The above equality is due to the fact that and property of projection operation onto the set . We consider the following two cases:
Suppose , then it is easy to see from the above equality that .
Suppose , then we have the following:
The third equality is due to the fact that . Thus, to prove , it is enough to the prove:
We have the following bound on term from Equation (4):
Furthermore, we lower bound in the following manner:
for the choice of . Therefore, we have and hence, .
Therefore, for every 3 steps, Adam suffers a regret of at least . More specifically, . Since , this regret can be very large and furthermore, as , which completes the proof. ∎
Appendix B Proof of Theorem 2
The proof generalizes the optimization setting used in Theorem 1. Throughout the proof, we assume , which is also a condition (Kingma & Ba, 2015) assume in their paper. In this proof, we consider the setting where are linear functions and . In particular, we define the following function sequence:
where . It is not hard to see that these conditions hold for large constant that depends on and . Since the problem is one-dimensional, we drop indices representing coordinates from all quantities in Algorithm 1. For this function sequence, it is easy to see that the point provides the minimum regret since . Furthermore, the gradients have the following form:
If , it can be easily shown that for our selection of in Equation (7) by using the principle of mathematical induction. With this observation we continue to the main part of the proof. Let be such that for all where . All our analysis focuses on iterations . Note that any regret before is just a constant because is independent of and thus, the average regret is negligible as . Consider an iterate at time step of the form after . Our claim is that
for some . To see this, consider the updates of Adam for the particular sequence of functions we considered are:
For , we use the following notation:
Note that if for some then for all . This follows from the fact that the gradient is negative for all time steps . Using Lemma 6 for and , we have the following:
Let . In order to prove our claim in Equation (10), we need to prove the following:
The first equality follows from the definition of . The first inequality follows from the fact that when (see Equation (9) and arguments based on it). The second inequality follows from the definition of that for all . The third inequality is due to the fact that . The last inequality follows from our choice of . The fourth inequality is due to the following upper bound that applies for all :
The first inequality follows from online problem setting for the counter-example i.e., gradient is once every iterations and for the rest. The last inequality follows from the fact that and . Furthermore, from the above inequality, we have
Note that from our choice of , it is easy to see that . Also, observe that is independent of . Thus, . From this fact, we also see the following:
If , then for all such that .
There exists constant such that where .
The first point simply follows from the relation . The second point is due to divergent nature of the sum . Therefore, we have
where . Thus, when , for every C steps, Adam suffers a regret of at least . More specifically, . Thus, as , which completes the proof. ∎
Appendix C Proof of Theorem 3
Let be an arbitrary small positive constant, and be a large enough constant chosen as a function of that will be determined in the proof.
Consider the following one dimensional stochastic optimization setting over the domain $tf_{t}(x)$ is chosen i.i.d. as follows:
The expected function is ; thus the optimum point over $x^{\star}=-1tg_{t}Cp-11-p$. Thus, the step taken by Adam is
We will bound the expectation of the terms , and above separately.
Let denote the event that for every , . Note that . Assuming happens, we can bound as follows:
With probability at most , the event doesn’t happen. In this case, we bound as follows. We first bound in terms of using the Cauchy-Schwarz inequality as follows:
Thus, . Thus, we have
The last inequality follows by using the facts , and the random variables are i.i.d., and so
It is evident that for large enough (as a function of ), the above expression can be made non-negative. ∎
Appendix D Proof of Theorem 4
The proof of Theorem 4 presented below is along the lines of the Theorem 4.1 in (Kingma & Ba, 2015) which provides a claim of convergence for Adam. As our examples showing non-convergence of Adam indicate, the proof in (Kingma & Ba, 2015) has problems. The main issue in their proof is the incorrect assumption that defined in their equation (3) is positive semidefinite, and we also identified problems in lemmas 10.3 and 10.4 in their paper. The following proof fixes these issues and provides a proof of convergence for AMSGrad.
Furthermore, for all . In this proof, we will use to denote the coordinate of . Using Lemma 4 with and , we have the following:
Rearranging the above inequality, we have
The second inequality follows from simple application of Cauchy-Schwarz and Young’s inequality. We now use the standard approach of bounding the regret at each step using convexity of the function in the following manner:
The first inequality is due to convexity of function . The second inequality follows from the bound in Equation (D) and the fact that . For further bounding this inequality, we need the following intermediate result.
For the parameter settings and conditions assumed in Theorem 4, we have
The first inequality follows from the definition of , which is maximum of all until the current time step. The second inequality follows from the update rule of Algorithm 2. We further bound the above inequality in the following manner:
The first inequality follows from Cauchy-Schwarz inequality. The second inequality is due to the fact that for all . The third inequality follows from the inequality . By using similar upper bounds for all time steps, the quantity in Equation (17) can further be bounded as follows:
The third inequality follows from the fact that . The fourth inequality is due to simple application of Cauchy-Schwarz inequality. The final inequality is due to the following bound on harmonic sum: . This completes the proof of the lemma. ∎
We now return to the proof of Theorem 4. Using the above lemma in Equation (16)For the sake of clarity, we provide more details of the proof here compared to the original version. Also, the original proof had a missing constant factor of in the regret bound, which has been addressed here. , we have:
The second inequality uses the fact that , and the observations that and
In order to further simplify the bound in Equation (18), we need to use telescopic sum. Using the above fact and bound on the feasible region and making use of the above property in Equation (18), we have:
The equality follows from simple telescopic sum, which yields the desired result. One important point to note here is that the regret of AMSGrad can be bounded by . This can be easily seen from the proof of the aforementioned lemma where in the analysis the term can also be bounded by . Thus, the regret of AMSGrad is upper bounded by minimum of and the bound in the Theorem 4 and therefore, the worst case dependence of regret on in our case is . ∎
Appendix E Proof of Theorem 5
Using similar argument to proof of Theorem 4 until Equation (D), we have the following
The second inequality follows from simple application of Cauchy-Schwarz and Young’s inequality. We now use the standard approach of bounding the regret at each step using convexity of the function in the following manner:
The inequalities follow due to convexity of function and the fact that . For further bounding this inequality, we need the following intermediate result.
For the parameter settings and conditions assumed in Theorem 5, we have
The first inequality follows from the update rule of Algorithm 2. We further bound the above inequality in the following manner:
The first inequality follows from Cauchy-Schwarz inequality. The second inequality is due to the fact that for all . The third inequality follows from the inequality . Using similar argument for all time steps, the quantity in Equation (21) can be bounded as follows:
The final inequality is due to Lemma 5. This completes the proof of the lemma. ∎
Using the above lemma in Equation (20) , we have:
The first inequality and second inequality use the fact that and argument similar to that in Theorem 4. Furthermore, from the theorem statement, we know that that are selected such that the following holds:
Using the bound on the feasible region and making use of the above property in Equation (22), we have:
The equality follows from simple telescopic sum, which yields the desired result. ∎
Appendix F Proof of Theorem 6
For any , Adam with the modified update in Equation (3) and with parameter setting such that all the conditions in (Kingma & Ba, 2015) are satisfied can have non-zero average regret i.e., as for convex with bounded gradients on a feasible set having bounded diameter.
Let us first consider the case where (in fact, the same setting works for any ). The general case can be proved by simply rescaling the sequence of functions by a factor of . We show that the same optimization setting in Theorem 1 where are linear functions and , hence, we only discuss the details that differ from the proof of Theorem 1. In particular, we define the following function sequence:
where . Similar to the proof of Theorem 1, we assume that the initial point is and the parameters are:
The last inequality follows by simply dropping term and using the relation that . Therefore, we have and hence . Furthermore, after the and updates of Adam in Equation (1), we have the following:
Since , it is easy to see that . To complete the proof, we need to show that . The only change here from the proof of Theorem 1 is that we need to show the following:
Therefore, for every 3 steps, Adam suffers a regret of at least . More specifically, . Since , this regret can be very large and furthermore, as , which completes the proof of the case where . For the general case, we consider the following sequence of functions:
The functions are essentially rescaled in a manner so that the resultant updates of Adam correspond to the one in the optimization setting described above. Using essentially the same argument as above, it is easy to show that the regret and thus, the average regret is non-zero asymptotically, which completes the proof. ∎
Appendix G Auxiliary Lemma
We provide the proof here for completeness. Since and and from the property of projection operator we have the following:
Combining the above inequalities, we have
The above inequality can be obtained from the fact that as and rearranging the terms. Combining the above inequality with Equation (24), we have the required result. ∎
For any non-negative real numbers , the following holds:
for all the , and furthermore, there exists such that for all and for all . Then we have,
It is first easy to see that since for all . Furthermore, also observe that since for all . Combining the above two inequalities gives us the desired result. ∎