Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.When the slope has a corner
The function |x| has a sharp corner at 0. There’s no single slope there; anything between −1 and +1 “fits under” the corner. Optimizing functions with corners needs special care. The payoff is huge, because corners are what make a model choose exactly zero for unimportant things. That’s how sparse models pick out the few terms that matter.
A proximal step says: take a normal step for the smooth part, then “snap” to the best nearby point for the cornered part. For |x|, snapping means shrinking toward zero and landing exactly on zero if you’re close enough.
Sparse models identify which few physical terms govern a system (SINDy), which sensors have failed, and which features matter. Compressed sensing reconstructs images from few measurements. Constraints become indicator functions handled by projections. All of these rely on non-smooth optimization done right.
- 1. At its corner, |x| has…
- 2. Snapping small values to exactly zero produces…
- 3. A proximal step handles the cornered part…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.Subgradients
For convex , is a subgradient at if for all . The set of them is the subdifferential . If is differentiable, . For : if , and at 0.
Optimality: minimizes convex iff .
The proximal operator
- (or ): soft-thresholding .
- : .
- the indicator of a convex set : projection .
- 1. ∂|x| at x = 0 is…
- 2. S₁(3) =
- 3. The prox of a set's indicator function is…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 45 minUndergraduate students and practising engineers.The subgradient method
with . It’s not a descent method, so track the best value. With diminishing steps , . That’s slow, and it can’t produce exact zeros.
Proximal gradient (ISTA) for composite problems
For with L-smooth and convex with a cheap prox:
This converges at , like GD on smooth problems. The non-smooth part costs nothing extra. For the lasso, , each step is a gradient step followed by soft-thresholding at . Projected gradient is the special case where is an indicator function.
FISTA (Beck and Teboulle, 2009)
Add Nesterov momentum: evaluate the prox-gradient step at an extrapolated point , with . The rate becomes , which is optimal for first-order methods on this class.
- 1. The subgradient method's rate is…
- 2. ISTA's rate on the lasso is…
- 3. FISTA improves the rate to…
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.Deriving soft-thresholding
Minimize . The optimality condition is .
- If : , valid when .
- If : , valid when .
- If : we need .
Together this is . ∎
Why ISTA works
The step minimizes the upper model , which majorizes by the descent lemma. So , and a telescoping argument gives . ∎ A fixed point satisfies , the optimality condition.
Moreau envelope
is a smooth approximation of with gradient . For it’s the Huber function: for , else .
Exercise 3.1: Show 0 ∈ ∂f(x*) characterizes minimizers of convex f
If , the subgradient inequality with gives for all . Conversely, if is a minimizer, then satisfies the inequality.
- 1. S_λ(v) = 0 exactly when…
- 2. The Moreau envelope of |x| is…
- 3. ISTA's step minimizes…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Discovering an oscillator’s equations from data
A flexible appendage or sloshing mode with stiffening behaves like a Duffing oscillator. Measure states and derivatives, build a library of 10 candidate polynomial terms per equation, and solve a lasso per state. That’s SINDy, sparse identification of nonlinear dynamics (Brunton, Proctor and Kutz, 2016). FISTA picks exactly the four true terms, and . Plain least squares gives every term a small spurious coefficient. Interpretable, physically meaningful models fall out of non-smooth optimization.
Non-smooth optimization in AI, robotics and aerospace
- SINDy and its variants discover models of fluid flows, spacecraft dynamics and robot mechanics (Brunton et al., 2016; Kaiser, Kutz and Brunton, 2018, SINDy-MPC).
- Compressed sensing recovers MRI images, radar returns and hyperspectral cubes from few measurements (Candès, Romberg and Tao, 2006; Donoho, 2006).
- Fault isolation: sparse residual vectors pinpoint the few failed sensors or thrusters.
- Proximal policy and network pruning: L1/group-lasso penalties prune neural networks for embedded flight computers.
References
- N. Parikh, S. Boyd (2014). “Proximal algorithms.” Foundations and Trends in Optimization, 1(3).
- A. Beck, M. Teboulle (2009). “A fast iterative shrinkage-thresholding algorithm for linear inverse problems.” SIAM Journal on Imaging Sciences, 2(1).
- R. Tibshirani (1996). “Regression shrinkage and selection via the lasso.” JRSS B, 58(1).
- I. Daubechies, M. Defrise, C. De Mol (2004). “An iterative thresholding algorithm for linear inverse problems with a sparsity constraint.” Communications on Pure and Applied Mathematics, 57(11).
- N. Shor (1985). Minimization Methods for Non-Differentiable Functions. Springer.
- S. Brunton, J. Proctor, J. N. Kutz (2016). “Discovering governing equations from data by sparse identification of nonlinear dynamical systems.” PNAS, 113(15).
- E. Kaiser, J. N. Kutz, S. Brunton (2018). “Sparse identification of nonlinear dynamics for model predictive control in the low-data limit.” Proceedings of the Royal Society A, 474.
- E. Candès, J. Romberg, T. Tao (2006). “Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency information.” IEEE Transactions on Information Theory, 52(2).
- D. Donoho (2006). “Compressed sensing.” IEEE Transactions on Information Theory, 52(4).
- J.-J. Moreau (1965). “Proximité et dualité dans un espace hilbertien.” Bulletin de la SMF, 93.