Foundations to Frontier
Tests
A. Mathematical Foundations › A6 Optimization › Convex optimization

Strong Convexity and Smoothness

Two numbers summarize how easy a convex problem is: μ, how sharply it curves upward at least (strong convexity), and L, how sharply it can curve at most (smoothness). Together they sandwich the function between two parabolas, set the safe step size 1/L, give the linear convergence rate 1 − μ/L, and bound the distance to the optimum by the gradient. You will learn the equivalent definitions, the Polyak–Łojasiewicz inequality, how regularization creates strong convexity, and measure the conditioning-versus-regularization trade-off in ridge regression.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Not too flat, not too steep

Picture a valley. If its floor is too flat, you can wander a long way without the ground telling you where the bottom is. If its walls are too steep, a normal stride flies you up the other side. The friendliest valleys curve upward at least a little everywhere (that’s strong convexity, measured by μ) and never curve too sharply (that’s smoothness, measured by L).

The ratio L/μ (the condition number) tells you how many steps you’ll need. Close to 1 means quick; huge means slow.

Squeezed between two parabolas: μ-strong convexity and L-smoothness
on [−3, 3]: true μ = min f″ = 0.245, true L = max f″ = 0.450 · κ = 1.8 · lower bound holds · upper bound holds
Green dashed: f(x₀) + f′(x₀)(x − x₀) + μ/2 (x − x₀)². Orange dashed: the same with L. A function is μ-strongly convex and L-smooth exactly when it stays between them for every anchor. The ratio κ = L/μ sets gradient descent's speed. Huber and x⁴ have μ = 0 (flat tails or a flat bottom), so they're convex but not strongly convex. Adding a ridge term (logistic + 0.1x²) buys μ ≥ 0.2.
Why engineers care

μ and L decide the step size of every gradient method, the iteration count of an MPC solver’s inner loop, and whether a small gradient really means you’re near the answer. Regularization terms and preconditioning are engineering tools for improving them.

📝 Quick check (Level 0)
0/3 answered
  1. 1. Strong convexity (μ) measures the curvature that is…
  2. 2. Smoothness (L) limits how…
  3. 3. A huge L/μ means gradient descent is…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

Definitions (differentiable f)

  • L-smooth: ∥∇f(x)−∇f(y)∥≤L∥x−y∥\|\nabla f(x) - \nabla f(y)\|\le L\|x - y\|. Equivalently, f(y)≤f(x)+∇f(x)⊤(y−x)+L2∥y−x∥2f(y)\le f(x) + \nabla f(x)^\top(y - x) + \frac L2\|y - x\|^2.
  • μ-strongly convex: f(y)≥f(x)+∇f(x)⊤(y−x)+μ2∥y−x∥2f(y)\ge f(x) + \nabla f(x)^\top(y - x) + \frac\mu2\|y - x\|^2. Equivalently, f−μ2∥x∥2f - \frac\mu2\|x\|^2 is convex.
  • Twice differentiable: μI⪯∇2f(x)⪯LI\mu I\preceq\nabla^2f(x)\preceq LI for all xx.

Condition number κ=L/μ≥1\kappa = L/\mu\ge1. For f=12x⊤Axf = \frac12x^\top Ax: μ=λmin⁡(A)\mu = \lambda_{\min}(A) and L=λmax⁡(A)L = \lambda_{\max}(A).

Examples:

  • 1.5x21.5x^2: μ=L=3\mu = L = 3.
  • Logistic loss: L-smooth with L=14∥x∥2L = \frac14\|x\|^2 per sample, but not strongly convex.
  • Adding λ2∥w∥2\frac\lambda2\|w\|^2 makes anything convex λ\lambda-strongly convex.
  • Huber and x4x^4 are convex but not strongly convex.
📝 Quick check (Level 1)
0/3 answered
  1. 1. For f = ½xᵀAx, L equals…
  2. 2. Adding (λ/2)‖w‖² to a convex loss makes it…
  3. 3. Is x⁴ strongly convex on ℝ?

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.

What μ and L buy you

  • Unique minimizer, and μ2∥x−x⋆∥2≤f(x)−f⋆≤L2∥x−x⋆∥2\frac\mu2\|x - x^\star\|^2\le f(x) - f^\star\le\frac L2\|x - x^\star\|^2.
  • Gradient certifies distance: ∥x−x⋆∥≤∥∇f(x)∥/μ\|x - x^\star\|\le\|\nabla f(x)\|/\mu, and f(x)−f⋆≤∥∇f(x)∥2/(2μ)f(x) - f^\star\le\|\nabla f(x)\|^2/(2\mu). A small gradient means you’re close. Without strong convexity it doesn’t (think of a flat valley).
  • GD rate: with η=1/L\eta = 1/L, f(xk+1)−f⋆≤(1−μ/L)(f(xk)−f⋆)f(x_{k+1}) - f^\star\le(1 - \mu/L)(f(x_k) - f^\star). Accelerated methods improve this to 1−μ/L1 - \sqrt{\mu/L} (A6.3-3).

Polyak–Łojasiewicz (PL)

12∥∇f(x)∥2≥μ (f(x)−f⋆)\tfrac12\|\nabla f(x)\|^2\ge\mu\,(f(x) - f^\star)

Strong convexity implies PL, but PL holds for some non-convex functions too: least squares with rank-deficient data, and some over-parameterized networks. GD still converges linearly under PL plus smoothness (Karimi, Nutini and Schmidt, 2016).

Regularization as conditioning

Ridge regression 12n∥Xw−y∥2+λ2∥w∥2\frac1{2n}\|Xw - y\|^2 + \frac\lambda2\|w\|^2 has κ=λmax⁡+λλmin⁡+λ\kappa = \frac{\lambda_{\max} + \lambda}{\lambda_{\min} + \lambda}. Increasing λ\lambda cuts iterations dramatically, but it also biases the solution. That’s a statistical cost paid for computational speed.

🐍 Exercise 1: the quadratic sandwich and the linear rate
Compute μ and L of a quadratic, verify the two-parabola sandwich on random pairs (and its failure with wrong constants), and check that GD with η = 1/L contracts f − f* by at least 1 − μ/L per step.
📝 Quick check (Level 2)
0/3 answered
  1. 1. For μ-strongly convex f, ‖x − x*‖ ≤
  2. 2. The PL inequality can hold for…
  3. 3. Ridge κ as λ grows…

Level 3: Advanced

★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.

Proof: strong convexity implies PL

Minimize both sides of f(y)≥f(x)+∇f⊤(y−x)+μ2∥y−x∥2f(y)\ge f(x) + \nabla f^\top(y - x) + \frac\mu2\|y - x\|^2 over yy. The right side is minimized at y=x−∇f/μy = x - \nabla f/\mu, giving f⋆≥f(x)−12μ∥∇f(x)∥2f^\star\ge f(x) - \frac1{2\mu}\|\nabla f(x)\|^2. ∎

Proof: linear convergence of GD

Descent lemma with η=1/L\eta = 1/L: f(xk+1)≤f(xk)−12L∥∇f(xk)∥2f(x_{k+1})\le f(x_k) - \frac1{2L}\|\nabla f(x_k)\|^2. PL gives ∥∇f∥2≥2μ(f−f⋆)\|\nabla f\|^2\ge2\mu(f - f^\star). Combining: f(xk+1)−f⋆≤(1−μ/L)(f(xk)−f⋆)f(x_{k+1}) - f^\star\le(1 - \mu/L)(f(x_k) - f^\star). ∎ Only PL and smoothness were used, not convexity.

Co-coercivity

For convex L-smooth f: (∇f(x)−∇f(y))⊤(x−y)≥1L∥∇f(x)−∇f(y)∥2(\nabla f(x) - \nabla f(y))^\top(x - y)\ge\frac1L\|\nabla f(x) - \nabla f(y)\|^2. This is the key inequality behind proofs that GD with η≤2/L\eta\le2/L doesn’t increase the distance to the optimum.

Duality between μ and L

ff is μ-strongly convex iff its convex conjugate f∗f^* is (1/μ)(1/\mu)-smooth. Smoothing a non-smooth function (Nesterov smoothing, Moreau envelope) is the dual of adding strong convexity.

Exercise 3.1: μ and L of f(x) = log(1 + eˣ) + 0.1x²?

f′′=σ(x)(1−σ(x))+0.2∈(0.2,0.45]f'' = \sigma(x)(1 - \sigma(x)) + 0.2\in(0.2, 0.45]. So μ=0.2\mu = 0.2 (approached in the tails), L=0.45L = 0.45 at x=0x = 0, and κ=2.25\kappa = 2.25.

📝 Quick check (Level 3)
0/3 answered
  1. 1. The linear-rate proof of GD needs…
  2. 2. f is μ-strongly convex iff f* is…
  3. 3. Max curvature of the logistic loss log(1 + eˣ) is…

Level 4: Expert

★★★★★ Expert⏱ 35 minResearchers: original papers and open problems.

Ridge regression: buying speed with bias

Sensor features with singular values spread over 2.5 decades make the plain least-squares problem nearly degenerate (μ ≈ 0). Adding λ2∥w∥2\frac\lambda2\|w\|^2 guarantees μ≥λ\mu\ge\lambda. Each tenfold increase in λ\lambda roughly divides κ\kappa, and the GD iteration count, by ten. The iteration counts track κlog⁡(1/ε)\kappa\log(1/\varepsilon). Choose λ\lambda by validation error, not by speed alone.

🐍 Exercise 2 (research): conditioning vs regularization
Compute μ, L and κ for ridge regression on anisotropic features across λ. Count GD iterations to 10⁻⁶ relative accuracy and compare with κ·log(1/ε).

μ and L in AI, robotics and aerospace

  • MPC solvers precondition QPs to shrink κ and bound their iteration counts for real-time guarantees (Richter, Jones and Morari, 2012).
  • Deep learning: local smoothness and PL-type conditions help explain why over-parameterized networks train linearly fast (Liu, Zhu and Belkin, 2022).
  • Weight decay is ridge regularization: it improves conditioning as well as generalization.
  • Step-size rules such as η = 1/L, and adaptive estimation of L by backtracking, appear in every first-order solver (FISTA, OSQP, SCS).

References

  1. Y. Nesterov (2018). Lectures on Convex Optimization, 2nd ed. Springer. Ch. 2.
  2. S. Bubeck (2015). “Convex optimization: algorithms and complexity.” Foundations and Trends in Machine Learning, 8(3–4).
  3. B. Polyak (1963). “Gradient methods for minimizing functionals.” USSR Computational Mathematics and Mathematical Physics, 3(4).
  4. H. Karimi, J. Nutini, M. Schmidt (2016). “Linear convergence of gradient and proximal-gradient methods under the Polyak–Łojasiewicz condition.” ECML-PKDD.
  5. S. Boyd, L. Vandenberghe (2004). Convex Optimization. Cambridge University Press. §9.1.
  6. A. Beck (2017). First-Order Methods in Optimization. SIAM. Ch. 5.
  7. S. Richter, C. Jones, M. Morari (2012). “Computational complexity certification for real-time MPC with input constraints based on the fast gradient method.” IEEE Transactions on Automatic Control, 57(6).
  8. C. Liu, L. Zhu, M. Belkin (2022). “Loss landscapes and optimization in over-parameterized non-linear systems and neural networks.” Applied and Computational Harmonic Analysis, 59.
  9. A. Hoerl, R. Kennard (1970). “Ridge regression: biased estimation for nonorthogonal problems.” Technometrics, 12(1).
  10. Y. Nesterov (2005). “Smooth minimization of non-smooth functions.” Mathematical Programming, 103.