Convex and Non-convex Optimization Under Generalized Smoothness
Haochuan Li, Jian Qian, Yi Tian, Alexander Rakhlin, Ali Jadbabaie
Introduction
In this paper, we study the following unconstrained optimization problem
Recently, Zhang et al. (2019) proposed the more general -smoothness condition, which assumes for some constants , motivated by their extensive language model experiments. This notion generalizes the standard Lipschitz smoothness condition and also contains e.g. univariate polynomial and exponential functions. For non-convex and -smooth functions, they prove convergence of gradient descent (GD) and stochastic gradient descent (SGD) with gradient clipping and also provide a complexity lower bound for constant-stepsize GD/SGD without clipping. Based on these results, they claim gradient clipping or other forms of adaptivity provably accelerate the convergence for -smooth functions. Perhaps due to the lower bound, all the follow-up works under this condition that we are aware of limit their analyses to adaptive methods. Most of these focus on non-convex functions. See Section 2 for more discussions of related works.
Contributions. In light of the above discussions, we summarize our main contributions as follows.
We prove the convergence of constant-stepsize GD/SGD/NAG in the convex and non-convex settings, and obtain the classical rates for all of them, as summarized in Table 1.
Besides the generalized smoothness condition and the new approach, our results are also novel in the following aspects.
The convergence results of constant-stepsize methods challenge the folklore belief on the necessity of adaptive stepsize for generalized smooth functions.
We obtain new convergence results for GD and NAG in the convex setting under the generalized smoothness condition.
We relax the assumption of bounded noise to the weaker one of bounded variance of noise in the stochastic setting with the simple SGD method.
Related work
Gradient-based optimizaiton. The classical gradient-based optimization problems for the standard Lipschitz smooth functions have been well studied for both convex (Nemirovskij and Yudin, 1983; Nesterov, 2003; d’Aspremont et al., 2021) and non-convex functions. In the convex setting, the goal is to reach an -sub-optimal point satisfying . It is well known that GD achieves the gradient complexity and NAG achieves the accelerated complexity which is optimal among all gradient-based methods. For strongly convex functions, GD and NAG achieve the and complexity respectively, where is the condition number and the latter is again optimal. In the non-convex setting, the goal is to find an -stationary point satisfying , since finding a global minimum is NP-hard in general. It is well known that GD achieves the optimal complexity which matches the lower bound in (Carmon et al., 2017). In the stochastic setting for unbiased stochastic gradient with bounded variance, SGD achieves the optimal complexity (Ghadimi and Lan, 2013), matching the lower bound in (Arjevani et al., 2019). In this paper, we obtain the classical rates in terms of for all the above-mentioned methods and settings, under a far more general smoothness condition.
Generalized smoothness. The -smoothness condition proposed by Zhang et al. (2019) was studied by many follow-up works. Under the same condition, (Zhang et al., 2020) considers momentum in the updates and improves the constant dependency of the convergence rate for SGD with clipping derived in (Zhang et al., 2019). (Qian et al., 2021) studies gradient clipping in incremental gradient methods, (Zhao et al., 2021) studies stochastic normalized gradient descent, and (Crawshaw et al., 2022) studies a generalized SignSGD method, under the -smoothess condition. (Reisizadeh et al., 2023) studies variance reduction for -smooth functions. (Chen et al., 2023) proposes a new notion of -symmetric generalized smoothness, which is roughly as general as -smoothness. (Wang et al., 2022) analyzes convergence of Adam and provides a lower bound which shows non-adaptive SGD may diverge. In the stochastic setting, the above-mentioned works either consider the strong assumption of bounded gradient noise or require a very large batch size that depends on , which essentially reduces the analysis to the deterministic setting. (Faw et al., 2023) proposes an AdaGrad-type algorithm in order to relax the bounded noise assumption. Perhaps due to the lower bounds in (Zhang et al., 2019; Wang et al., 2022), all the above works study methods with an adaptive stepsize. In this and our concurrent work (Li et al., 2023), we further generalize the smoothness condition and analyze various methods under this condition through bounding the gradients along the trajectory.
Function class
In this section, we discuss the function class of interest where the objective function lies. We start with the following two standard assumptions in the literature of unconstrained optimization, which will be assumed throughout Sections 4 and 5 unless explicitly stated.
The objective function is differentiable and closed within its open domain .
The objective function is bounded from below, i.e., .
In this section, we formally define the generalized smoothness condition, and present its properties and examples.
Definitions 1 and 2 below are two equivalent ways of stating the definition, where we use to denote the Euclidean ball with radius centered at .
Next, we prove that the above two definitions are equivalent in the following proposition, whose proof is involved and deferred to Appendix A.2.
The condition in Definition 1 is simple and one can easily check whether it is satisfied for a given example function. On the other hand, Definition 2 is a local Lipschitz condition on the gradient that is harder to verify. However, it is useful for deriving several useful properties in the next section.
1.2 Properties
First, we provide the following lemma which is very useful in our analyses of all the methods considered in this paper. Its proof is deferred to Appendix A.3.
Lemma 3.3 states that, if the gradient at is bounded by some constant , then within its neighborhood with a constant radius, we can obtain (2), the same inequalities that were derived in the textbook analysis (Nesterov, 2003) under the standard Lipschitz smoothness condition. With (2), the analysis for generalized smoothness is not much harder than that for standard smoothness. Since we mostly choose and in the analysis, in order to apply Lemma 3.3, we need two conditions: and for some constant . The latter is usually directly implied by the former for most deterministic methods with a small enough stepsize, and the former can be obtained with our new approach that bounds the gradients along the trajectory.
With Lemma 3.3, we can derive the following useful lemma which is the reverse direction of a generalized Polyak-Lojasiewicz (PL) inequality, whose proof is deferred to Appendix A.3.
Therefore, in order to bound the gradients along the trajectory as we discussed below Lemma 3.3, it suffices to bound the function values, which is usually easier.
1.3 Examples
Convex setting
In this section, we present the convergence results of gradient descent (GD) and Nesterov’s accelerated gradient method (NAG) in the convex setting. Formally, we define convexity as follows.
We assume the existence of a global optimal point throughout this section, as in the following assumption. However, we want to note that, for gradient descent, this assumption is just for simplicity rather than necessary.
There exists a point such that .
The gradient descent method with a constant stepsize is defined via the following update rule
As discussed below Lemma 3.3, the key in the convergence analysis is to show for all and some constant . We will prove it by induction relying on the following lemma whose proof is deferred to Appendix B.
Lemma 4.1 suggests that for gradient descent (3) with a small enough stepsize, if the gradient norm at is bounded by , then we have , i.e., the gradient norm is also bounded by at . In other words, the gradient norm is indeed a non-increasing potential function for gradient descent in the convex setting. With a standard induction argument, we can show that for all . As discussed below Lemma 3.3, then we can basically apply the classical analysis to obtain the convergence guarantee in the convex setting as in the following theorem, whose proof is deferred to Appendix B.
Since is a constant independent of or , Theorem 4.2 achieves the classical rate, or gradient complexity to achieve an -sub-optimal point, under the generalized smoothness condition. Since strongly convex functions are a subset of convex functions, Lemma 4.1 still holds for them. Then we immediately obtain the following result in the strongly convex setting, whose proof is deferred to Appendix B.
2 Nesterov’s accelerated gradient method
It is easy to note that Theorem 4.4 achieves the accelerated convergence rate, or equivalently the gradient complexity to find an -sub-optimal point, which is optimal among gradient-based methods (Nesterov, 2003).
In order to prove Theorem 4.4, we also use induction to show the gradients along the trajectory of Algorithm 1 are bounded by . However, unlike gradient descent, the gradient norm is no longer a potential function or monotonically non-increasing, which makes the induction analysis more challenging. Suppose that we have shown for . To complete the induction, it suffices to prove . Since is a gradient descent step by Line 6 of Algorithm 1, Lemma 4.1 directly shows . In order to also bound , we try to control , which is the most challenging part of our proof. Since can be expressed as a linear combination of past gradients , it might grow linearly with if we simply apply for . Fortunately, Lemma 3.5 allows us to control the gradient norm with the function value. Thus if the function value is decreasing sufficiently fast, which can be shown by following the standard Lyapunov analysis of NAG, we are able to obtain a good enough bound on for , which allows us to control . We defer the detailed proof to Appendix C.
Non-convex setting
In this section, we present convergence results of gradient descent (GD) and stochastic gradient descent (SGD) in the non-convex setting.
Similar to the convex setting, we still want to bound the gradients along the trajectory. However, in the non-convex setting, the gradient norm is not necessarily non-increasing. Fortunately, similar to the classical analyses, the function value is still non-increasing and thus a potential function, as formally shown in the following lemma, whose proof is deferred to Appendix E.
Then using a standard induction argument, we can show for all . According to Corollary 3.6, it implies bounded gradients along the trajectory. Therefore, we can show convergence of gradient descent as in the following theorem, whose proof is deferred to Appendix E.
It is clear that Theorem 5.2 gives the classical gradient complexity to achieve an -stationary point, which is optimal as it matches the lower bound in (Carmon et al., 2017).
2 Stochastic gradient descent
In this part, we present the convergence result for stochastic gradient descent defined as follows.
where is an estimate of the gradient . We consider the following standard assumption on the gradient noise .
Under Assumption 4, we can obtain the following theorem.
As we choose , Theorem 5.3 gives the classical gradient complexity, where we ignore non-leading terms. This rate is optimal as it matches the lower bound in (Arjevani et al., 2019). The key to its proof is again to bound the gradients along the trajectory. However, bounding gradients in the stochastic setting is much more challenging than in the deterministic setting, especially with the heavy-tailed noise in Assumption 4. We briefly discuss some of the challenges as well as our approach below and defer the detailed proof of Theorem 5.3 to Appendix F.
First, due to the existence of heavy-tailed gradient noise as considered in Assumption 4, neither the gradient nor the function values is non-increasing. The induction analyses we have used in the deterministic setting hardly work. In addition, to apply Lemma 3.3, we need to control the update at each step and make sure . However, might be unbounded due to the potentially unbounded gradient noise.
To overcome these challenges, we define the following random variable .
3 Reconciliation with existing lower bounds
In this section, we reconcile our convergence results for constant-stepsize GD/SGD in the non-convex setting with existing lower bounds in (Zhang et al., 2019) and (Wang et al., 2022), based on which the authors claim that adaptive methods such as GD/SGD with clipping and Adam are provably faster than non-adaptive GD/SGD. This may seem to contradict our convergence results. In fact, we show that any gain in adaptive methods is at most by constant factors, as GD and SGD already achieve the optimal rates in the non-convex setting.
(Zhang et al., 2019) provides both upper and lower complexity bounds for constant-stepsize GD for -smooth functions, and shows that its complexity is , where
is the supremum gradient norm below the level set of the initial function value. If is very large, then the complexity can be viewed as a negative result, and as evidence that constant-stepsize GD can be slower than GD with gradient clipping, since in the latter case, they obtain the complexity without . However, based on our Corollary 3.6, their can be actually bounded by our , which is a constant. Therefore, the gain in adaptive methods is at most by constant factors.
(Wang et al., 2022) further provides a lower bound which shows non-adaptive GD may diverge for some examples. However, their counter-example does not allow the stepsize to depend on the initial sub-optimality gap. In contrast, our stepsize depends on the effective smoothness constant , which depends on the initial sub-optimality gap through . Therefore, there is no contradiction here either. We should point out that in the practice of training neural networks, the stepsize is usually tuned after fixing the loss function and initialization, so it does depend on the problem instance and initialization.
4 Lower bound
For -smooth functions with , it is easy to verify that the constant in both Theorem 5.2 and Theorem 5.3 is a polynomial function of problem-dependent parameters like , etc. In other words, GD and SGD are provably efficient methods in the non-convex setting for . In this section, we show that the requirement of is necessary in the non-convex setting with the lower bound for GD in the following Theorem 5.4, whose proof is deferred in Appendix G. Since SGD reduces to GD when there is no gradient noise, it is also a lower bound for SGD.
Given satisfying , for any , there exists a -smooth function that satisfies Assumptions 1 and 2, and initial point that satisfies and , such that gradient descent with stepsize (3) either cannot reach a -stationary point or takes at least steps to reach a -stationary point.
Conclusion
Acknowledgments
This work was supported, in part, by the MIT-IBM Watson AI Lab and ONR Grants N00014-20-1-2394 and N00014-23-1-2299. We also acknowledge support from DOE under grant DE-SC0022199, and NSF through awards DMS-2031883, DMS-1953181, and DMS-2022448 (TRIPODS program).
References
Appendix A Proofs related to generalized smoothness
In this section, we provide the proofs of propositions and lemmas related to the generalized smoothness condition in Definition 1 or 2. First, in Appendix A.1, we justify the examples we discussed in Section 3. Next, we provide the detailed proof of Proposition 3.2 in Appendix A.2. Finally, we provide the proofs of the useful properties of generalized smoothness in Appendix A.3, including Lemma 3.3, Lemma 3.5, and Corollary 3.6 stated in Section 3.1.2.
In this section, we justify the univariate examples of -smooth functions listed in Table 2 and also provide the proof of Propositions 3.7.
First, it is well-known that all quadratic functions have bounded Hessian and are Lipschitz smooth, corresponding to . Next, [Zhang et al., 2019, Lemma 2] shows that any univariate polynomial is -smooth, corresponding to . Then, regarding the exponential function where , we have and , which implies is -smooth. Similarly, by standard calculations, it is straight forward to verify that logarithmic functions and , are also -smooth with and respectively. So far we have justified all the examples in Table 2 except double exponential functions and rational functions, which will be justified rigorously by the two propositions below.
First, for double exponential functions in the form of where , we have the following proposition, which shows is -smooth for any .
For any , the double exponential function , where , is -smooth for some . However, it is not necessarily -smooth for any .
Next, to show is not necessarily -smooth, consider the specific double exponential function . Then we have
For any , we can show that
which shows is not smooth for any . ∎
In the next proposition, we show that any univariate rational function , where and are two polynomials, is -smooth with .
The rational function , where and are two polynomials, is -smooth for some . However, it is not necessarily -smooth for any and .
Let where and are two polynomials. Then the partial fractional decomposition of is given by
Then we have . We know that for any . Then we can show that
where the first equality is because one can easily verify that the first and second order derivatives of dominate those of all other terms when goes to , and the second equality is by standard calculations noting that . Note that (7) implies that, for any , there exists such that
Similarly, one can show , which implies there exists such that
We know is a compact set and therefore the continuous function is bounded within , i.e., there exists some constant such that
Combining (8), (9), and (10), we have shown
which completes the proof of the first part.
For the second part, consider the ration function . Then we know that and . Note that for any and , we have
which shows is not smooth for any and . ∎
Finally, we complete this section with the proof of Proposition 3.7, which shows self-concordant functions are -smooth for some .
Integrating both sides from to for , we have
Since , we have . Therefore, the above inequality shows that is -smooth with and . ∎
A.2 Proof of Proposition 3.2
In order to prove Proposition 3.2, we need the following several lemmas. First, the lemma below partially generalizes Grönwall’s inequality.
Let and be two continuous functions. Suppose almost everywhere over . Denote function . We have for all ,
Integrating both sides, noting that by (11), we obtain
Then it suffices to show . Note that the following inequality holds almost everywhere.
where the inequality is because by the assumption of this lemma and by (11). Since , we know for all , , which completes the proof. ∎
With Lemma A.3, one can bound the gradient norm within a small enough neighborhood of a given point as in the following lemma.
Denote for . Then we know for all by the assumption made in this lemma. Then we can also define for . Note that for any , by triangle inequality,
We know that is differentiable almost everywhere since is second order differentiable almost everywhere (Here we assume for without loss of generality. Otherwise, one can define and consider the interval instead). Then the following equality holds almost everywhere
Since is increasing, we have . ∎
With Lemma A.4, we are ready to prove Proposition 3.2.
We prove the two directions in this proposition separately.
For each fixed where exists and any unit-norm vector , by Definition 2, we know that for any ,
On the other hand, by the definition of , we know for every . Then by Lemma A.4, for all , we have . Therefore for all ,
which contradicts (13). Therefore we have shown . Since is chosen arbitrarily with the ball , we have . Then for any , we denote . Then we know for all and can obtain
where the last inequality is due to Lemma A.4. ∎
A.3 Proofs of lemmas implied by generalized smoothness
In this part, we provide the proofs of the useful properties stated in Section 3.1.2, including Lemma 3.3, Lemma 3.5, and Corollary 3.6.
Next, for the second inequality in (2), define for . We know . Note that we have shown
Then based on the definition of , we have . ∎
Appendix B Analysis of GD for convex functions
In this section, we provide the detailed convergence analysis of gradient descent in the convex setting, including the proofs of Lemma 4.1 and Theorem 4.2, for which the following lemma will be helpful.
Define the Bregman divergences and , which are both convex functions. Since , we have which implies as is convex. Similarly we have .
Note that for any as in the lemma statement,
where the first inequality uses triangle inequality and ; and the second inequality uses Definition 2. It implies that . Then we can obtain
where the last inequality uses (15) where we choose and . By the definition of , the above inequality is equivalent to
Similar argument can be made for to obtain
Summing up the two inequalities, we can obtain the desired result. ∎
With Lemma B.1, we prove Lemma 4.1 as follows.
where we choose . Thus by Lemma B.1, we have
where the first inequality uses Lemma B.1 and the last inequality chooses . ∎
With Lemma 4.1, we are ready to prove both Theorem 4.2 and Theorem 4.3.
Denote . Then we trivially have . Lemma 4.1 states that if for any , then we also have . By induction, we can show that for all . Then the rest of the proof basically follows the standard textbook analysis. We still provide the detailed proof below for completeness.
Note that , where we choose . Thus we can apply Lemma 3.3 to obtain
where the last inequality chooses . Meanwhile, by convexity between and , we have
Then reorganizing the terms of the above inequality, noting that
The above inequality implies is a non-increasing potential function, which directly implies the desired result. ∎
Since strongly convex functions are also convex, by the same argument as in the proof of Theorem 4.2, we have for all . Moreover, (B) still holds. For -strongly-convex function, we can obtain a tighter version of (17) as follows.
Let and for all . Combining (B) and (18), we have
Then reorganizing the terms of the above inequality, noting that
The above inequality means is a non-increasing potential function. Thus by telescoping we have
Appendix C Analysis of NAG for convex functions
Choose . Then the iterates of Algorithm 1 satisfy
Before proving Theorem C.1, we first present several additional useful lemmas. To start with, we provide two lemmas regarding the weights and used in Algorithm 1. The lemma below states that .
The weights in Algorithm 1 satisfy for all .
We prove this lemma by induction. First note that the inequality obviously holds for . Suppose its holds up to . Then we have
Lemma C.2 implies the following useful lemma.
The weights in Algorithm 1 satisfy that
First, note that it is easy to verify that , which implies each term in the LHS of the above inequality is non-negative. Then we have
The following lemma summarizes the results in the classical potential function analysis of NAG in [d’Aspremont et al., 2021]. In order to not deal with the generalized smoothness condition for now, we directly assume the inequality (20) holds in the lemma, which will be proved later under the generalized smoothness condition.
For any , if the following inequality holds,
These derivations below can be found in [d’Aspremont et al., 2021]. We present them here for completeness.
First, since is convex, the convexity between and gives
Similarly the convexity between and gives
Combining the above two inequalities as well as (20) assumed in this lemma, we have
Then we complete the proof noting that it is easy to verify
In the next lemma, we show that if , then the condition (20) assumed in Lemma C.4 is satisfied at time .
For any , if , then we have , and furthermore,
As disccued below Theorem C.1, the stepsize satisfies . Therefore we can apply Lemma 4.1 to show . For the second part, note that , we can apply Lemma 3.3 to show
With Lemma C.4 and Lemma C.5, we can show that for all , as in the lemma below.
For all , .
We will prove this lemma by induction. First, by Lemma 3.5 and the choice of , it is easy to verify that . Then for any fixed , suppose that for all . Then by Lemma C.4 and Lemma C.5, we know that for all , and that for all ,
By telescoping (24), we have for all ,
For , since , then Lemma 3.5 implies
Since and for , by Lemma 3.3, we have
Since and we just showed , by Lemma 3.3, we have
Then we complete the induction as well as the proof.
With the three lemmas above, it is straight forward to prove Theorem C.1.
Combining Lemmas C.4, C.5, and C.6, we know the following inequality holds for all .
Then by telescoping, we directly complete the proof.
Appendix D Analysis of NAG for strongly convex functions
In this section, we provide the convergence analysis of the modified version of Nesterov’s accelerated gradient method for -strongly-convex functions defined in Algorithm 2.
The convergence results is formally presented in the following theorem.
The iterates generated by Algorithm 2 satisfy
In what follows, we will provide the proof of Theorem D.1. We will always use the parameter choices in the theorem throughout this section.
In this part, we provide several useful lemmas for proving Theorem D.1. To start with, the following two lemmas provide two useful inequalities.
For any , we have .
For all and , we have
It is obvious that for . For , we have
In the next four lemmas, we provide several useful inequalities regarding the weights and used in Algorithm 2.
which implies
where in the inequality, we use the fact that is non-decreasing with . Therefore
If , then for any , we have
For , we have thus
Combined with Lemma D.5, we have the desired result. ∎
D.2 Proof of Theorem D.1
With all the useful lemmas in the previous section, we proceed to prove Theorem D.1, for which we need several additional lemmas. First, similar to Lemma C.4, the following lemma summarizes the results in the classical potential function analysis of NAG for strongly convex functions in [d’Aspremont et al., 2021].
For any , if the following inequality holds
These derivations can be found in d’Aspremont et al. . We present it here for completeness.
The strong convexity between and gives
The convexity between and gives
Combining the above two inequalities and the one assumed in this lemma, we have
Next, note that Lemma C.5 still holds in the strongly convex setting. We repeat it below for completeness.
For any , if , then we have , and furthermore,
With Lemma D.8 and Lemma D.9, we will show that for all by induction in the following lemma.
For all , we have .
We will prove this lemma by induction. First, by Lemma 3.5 and the choice of , it is easy to verify that . Then for any fixed , suppose that for all . Then by Lemma D.8 and Lemma D.9, we know that for all , and that for all ,
By telescoping (30), we have for all ,
For , since , then Lemma 3.5 implies
where the second inequality follows from Lemma D.4. We further control term by
Since and we just showed , by Lemma 3.3, we have
Then we complete the induction as well as the proof. ∎
Combining Lemmas D.8, D.9, and D.10, we know the following inequality holds for all .
Finally, applying Lemma D.5, we have . Thus completes the proof. ∎
Appendix E Analysis of GD for non-convex functions
In this section, we provide the proofs related to analysis of gradient descent for non-convex function, including those of Lemma 5.1 and Theorem 5.2.
First, based on Corollary 3.6, we know . Also note that
Then by Lemma 3.3 and Remark 3.4, we have and
By Lemma 5.1, using induction, we directly obtain for all . Then by Corollary 3.6, we have for all . Following the proof of Lemma 5.1, we can similarly show
Taking a summation over and rearanging terms, we have
Appendix F Analysis of SGD for non-convex functions
We first present some useful inequalities related to the parameter choices in Theorem 5.3.
Under the parameters choices in Theorem 5.3, the following inequalities hold.
First note that by Corollary 3.6, we know
i.e., . Then since we choose , we have
Under the parameters choices in Theorem 5.3, the following inequality holds
If , by the definition of , we know and , and the former also implies by Corollary 3.6. Then we can bound
where we use the choice of . Then based on Lemma 3.3 and Remark 3.4, for any , we have
where the equality is due to (4); the second inequality uses and Young’s inequality for any vectors ; and the last inequality chooses . Taking a summation over and rearanging terms, we have
Now we bound the last two terms on th RHS. First, for the last term, we have
where the first inequality uses by its defnition; and in the last inequality we use Assumption 4.
where the last inequality is due to Lemma F.1. ∎
With Lemma F.2, we are ready to prove Theorem 5.3.
We want to show the probability of is small, as its complement means for all which implies for all . Note that
Therefore we only need to bound the probability of each of these two events on the RHS.
where we choose . Then based on Lemma 3.3 and Remark 3.4, we have
where the first inequality is obtained following the same derivation as in (F); the last equality is due to Corollary 3.6. Therefore we can show that under the event ,
where the second inequality uses Markov’s inequality; the third inequality uses Lemma F.2; and in the last inequality we choose .
Appendix G Lower bound
In this section, we provide the proof of Theorem 5.4.
Let satisfy . Consider
where is a constant and is the fixed point of the iteration
and , are chosen in such a way that and are continuous. Specifically, choose and . Since , is symmetric about the line . In a small neighborhood, is symmetric about , so is continuous at .
Let us first consider the smoothness of . By symmetry, it suffices to consider . Then,
Note that has a stationary point . For stepsize satisfying , there exists such that and by symmetry, once , for all , making the GD iterations stuck. Now we choose a proper such that and are bounded.
We consider arriving at from above. That is, . Since in each update where ,
Hence, we can choose in such a way that . Then,
By definition, . Hence,
For stepsize , reaching below takes at least
steps to reach , where .
Now we set and and scale function to satisfy the parameter specifications . Define . Then, is -smooth. Since the gradient of is times , the above analysis for applies to by replacing with and with . To ensure that
it suffices to take . To ensure that
it suffices to take . To ensure that
Since we require , parameters and need to satisfy
that is, , which holds because . Take . Then, as long as , the requirement that is satisfied. Therefore, on with initial point , gradient descent with a constant stepsize either gets stuck, or takes at least
On the other hand, if , consider the function . For any , we always have , which means the iterates diverge to infinity. ∎