Smoothness and strong convexity
Bracket curvature from above and below to predict stable step sizes, conditioning, and convergence rates.
On this page
The question for today
What you’ll understand
- Interpret Lipschitz gradients as an upper curvature bound.
- Use strong convexity to bound distance from an optimizer.
- Relate the condition number to different directional convergence rates.
Convexity tells us which answers can be certified. Quantitative curvature tells us how expensive finding those answers may be. A direction that is almost flat tolerates large movements but supplies little restoring force; a steep direction demands caution. Smoothness and strong convexity put numerical bounds on these effects. Their ratio explains why one coordinate of a perfectly convex problem can settle quickly while another continues making painfully small progress.
Smooth means a controlled gradient
In Euclidean geometry, an -smooth differentiable function has a gradient whose change is at most times the change in position. This is stronger than having derivatives everywhere and stronger than simply having a continuous gradient. The bound must hold on the region under discussion. A polynomial can be smooth on every bounded interval without admitting one finite global gradient-Lipschitz constant on the whole real line.
Integrating the gradient along a segment gives the descent lemma: the tangent approximation can underestimate the function by at most a quadratic correction. This upper model explains a safe gradient step. If curvature is bounded above by , choosing a step no larger than makes the model decrease. The statement uses an exact gradient and assumes the segment remains in the domain; noisy estimates and constraints require additional treatment.
Strong convexity supplies a lower bowl
A differentiable function is -strongly convex when every tangent plane can be raised by a quadratic bowl of curvature and still remain below the function. At an unconstrained minimizer the gradient vanishes, so the objective gap bounds squared distance. This is a quantitative version of uniqueness: a point far away must pay at least a specified increase in value. Strict convexity alone supplies no such uniform quadratic constant.
For twice continuously differentiable functions on an open convex domain, Hessian eigenvalues between and imply these lower and upper bounds. The ratio is a condition number for this geometry. Rescaling coordinates can change it, which is why feature scaling and preconditioning affect optimization. A small objective value is not automatically a small parameter error when the smallest curvature is tiny.
Translate bounds into an iteration
For a quadratic with positive definite Hessian, resolve the error into orthonormal eigenvectors. A gradient step multiplies each component by one minus the step size times that eigenvalue. A single shared step must accommodate the steepest direction, leaving flat directions to contract slowly. For globally -smooth, -strongly convex functions, the step gives the familiar objective-gap bound with factor per iteration.
The lab has only unit curvature, so both constants equal one. Use it to verify the multiplier in a single direction: with step 0.25, predict a factor 0.75 in position and 0.5625 in objective value each update. It cannot vary a Hessian spectrum or demonstrate ill-conditioning directly. The two-dimensional calculation below supplies that missing comparison and shows why a successful one-dimensional experiment does not establish a general iteration count.
Work it through
Two curvatures, one step
For , take one gradient step with from . Compare the two coordinate errors.
The Hessian is diagonal with eigenvalues one and nine. Hence , , and . The unique minimizer is and the initial value is .
The gradient at is . Subtracting one ninth of it gives . Equivalently, the x component contracts by while the y component is multiplied by zero.
The new value is . The general gap bound gives at most , which is valid but conservative. The steep coordinate disappears immediately, while the flat coordinate still needs repeated steps.
Curvature bounds predict unequal coordinate progress. A rate bound need not equal the observed objective ratio on a particular starting point.
The living notebook
Explore the model
Interactive lab · optimization
Measure the unit-curvature contraction
Set initial position to 4 and step size to 0.25. Predict x after two steps, then Step twice and inspect f(x). The fixed lab uses x²/2 and therefore L=μ=1; it cannot change condition number or display a two-dimensional Hessian.
- Position x0
- 2
- Objective x²/2
- 2
- Iteration behavior
- Stable step
Gradient descent on f(x) = x²/2: xₙ = (1 − η)ⁿx₀. Playback advances two discrete iterations per second. Values outside |x| ≤ 4 are explicitly reported. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forFor the unit quadratic, position contracts by 1−η and objective value by (1−η)² at every update.
Pause & reason
Check your understanding
Your turn
Try it yourself
For , identify tight and . Starting at , compute a step of size .
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
The derivative is 4x and its derivative is the constant four. Use that same constant for both curvature bounds.
Compare with the solution
Both tight constants equal four, so the condition number is one. The gradient at three is twelve; a step of size gives . The exact quadratic reaches its minimizer in one step because its only curvature equals L. This special equality is stronger than a generic convergence guarantee.
Keep the idea
Take it with you
- L-smoothness limits how badly a linear prediction can underestimate the objective.
- Strong convexity supplies a quadratic error bound and a positive lower curvature scale.
- The ratio L/μ explains why steep and flat directions compete for one step size.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.