The Hessian’s Role in First-Order Convergence
Gradient descent motivates its rule through a local descent step via the first-order Taylor approximation of a function:
This provides a little more sophistication than most initial introductions to GD, which simply state that “the gradient points in the direction of greatest ascent, so move in the negative gradient direction”, since the Taylor approximation is local, and prevents us from assuming that arbitrarily choosing and letting . This is bad because the Taylor has those higher-order terms tucked in, that grow (at least linearly) with .
The locality requirement can be made explicit by requiring that we minimize the first-order Taylor within a norm-ball:
which translates to
which, after an application of (the lower-bound of) Cauchy-Schwartz and controlling for equality, gives the steepest local descent step to be
While nowhere did we make explicit the Hessian of , as would have been necessary if we were to instead start with the second-order expansion, the convergence of first-order methods is still governed by how “good” each gradient step is, which means knowing whether the choice of was sufficiently local. This means we still need to look at at least the second-order Taylor term.
The question now becomes “what Hessian structure permits what rate for a given first-order method?”
Function Classes as Hessian Structure
Before looking at the algorithms, let’s see what claims we can make about the Hessian for the canonical set of function classes that we see during convergence rate analysis.
L-Smooth Functions
A L-smooth function is one whose gradient is L-Lipschitz continuous 1:
Proposition 1: L-smoothness as Hessian Ordering
A twice-differentiable function is L-smooth if and only if
Before proving this, it’s worth stating and proving a few useful lemmas:
Lemma 1
For symmetric , for all vectors .
Proof: While the use of operator norms makes this proof trivial, we can save on defining them by utilizing H’s eigendecomposition:
where . Setting , we get
Where we used the fact that the Loewner bounds on imply that 2.
Lemma 2: The Fundamental Theorem of Calculus
For , let and . Then
Where is the Jacobian of . When applied to gradients, this becomes
Proof of Proposition 1
Direction 1: L-smoothness implies Hessian bound:
Setting and for direction , we get
Letting , we get that the term within the norm on the LHS to be the directional derivative in the direction of , namely .
Therefore, we have
With Cauchy-Schwartz:
Since the choice of , was arbitrary, we have that for all , and thus that .
Direction 2: Hessian bound implies L-smoothness:
Applying Lemma 2 to the gradients, we have
Applying Lemma 1 to the integrand, we get
Thus, we can now claim that, if a twice-differentiable function has , then it is L-smooth.
Convex Functions
A function is convex over a convex set if for every in ,
where
For convex functions, we have the following
Proposition 2: Convexity as Hessian Positive Semi-Definiteness
A function is convex if and only if its Hessian is PSD, i.e.
The proof of this statement can be found here. Thus, we see that while smoothness supplies us with an upper-bound on the curvature, convexity gives us a lower-bound.
Strongly Convex Functions
A function is strongly convex if