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.
μ 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.
- 1. Strong convexity (μ) measures the curvature that is…
- 2. Smoothness (L) limits how…
- 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: . Equivalently, .
- μ-strongly convex: . Equivalently, is convex.
- Twice differentiable: for all .
Condition number . For : and .
Examples:
- : .
- Logistic loss: L-smooth with per sample, but not strongly convex.
- Adding makes anything convex -strongly convex.
- Huber and are convex but not strongly convex.
- 1. For f = ½xᵀAx, L equals…
- 2. Adding (λ/2)‖w‖² to a convex loss makes it…
- 3. Is x⁴ strongly convex on ℝ?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.What μ and L buy you
- Unique minimizer, and .
- Gradient certifies distance: , and . A small gradient means you’re close. Without strong convexity it doesn’t (think of a flat valley).
- GD rate: with , . Accelerated methods improve this to (A6.3-3).
Polyak–Łojasiewicz (PL)
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 has . Increasing cuts iterations dramatically, but it also biases the solution. That’s a statistical cost paid for computational speed.
- 1. For μ-strongly convex f, ‖x − x*‖ ≤
- 2. The PL inequality can hold for…
- 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 over . The right side is minimized at , giving . ∎
Proof: linear convergence of GD
Descent lemma with : . PL gives . Combining: . ∎ Only PL and smoothness were used, not convexity.
Co-coercivity
For convex L-smooth f: . This is the key inequality behind proofs that GD with doesn’t increase the distance to the optimum.
Duality between μ and L
is μ-strongly convex iff its convex conjugate is -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²?
. So (approached in the tails), at , and .
- 1. The linear-rate proof of GD needs…
- 2. f is μ-strongly convex iff f* is…
- 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 guarantees . Each tenfold increase in roughly divides , and the GD iteration count, by ten. The iteration counts track . Choose by validation error, not by speed alone.
μ 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
- Y. Nesterov (2018). Lectures on Convex Optimization, 2nd ed. Springer. Ch. 2.
- S. Bubeck (2015). “Convex optimization: algorithms and complexity.” Foundations and Trends in Machine Learning, 8(3–4).
- B. Polyak (1963). “Gradient methods for minimizing functionals.” USSR Computational Mathematics and Mathematical Physics, 3(4).
- H. Karimi, J. Nutini, M. Schmidt (2016). “Linear convergence of gradient and proximal-gradient methods under the Polyak–Łojasiewicz condition.” ECML-PKDD.
- S. Boyd, L. Vandenberghe (2004). Convex Optimization. Cambridge University Press. §9.1.
- A. Beck (2017). First-Order Methods in Optimization. SIAM. Ch. 5.
- 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).
- 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.
- A. Hoerl, R. Kennard (1970). “Ridge regression: biased estimation for nonorthogonal problems.” Technometrics, 12(1).
- Y. Nesterov (2005). “Smooth minimization of non-smooth functions.” Mathematical Programming, 103.