Foundations / Optimization
verifiedConvexity
A bowl has one bottom. A function is convex if the straight line between any two points on its graph never dips below the graph itself, and one consequence carries the whole idea: every local minimum is the global minimum, so an optimiser that has stopped moving has finished. Almost nothing in deep learning is convex, and most of the field's inherited intuitions were formed when things were.
What matters practically is what you give up. A convex problem comes with a unique answer, a guarantee of reaching it from any starting point — the rate still depends on how far away you began, but there is no other basin to be caught in — and a duality theory that turns hard questions into easier ones. Non-convex optimisation surrenders every one of them, and the working substitute is measurement — run it and look. That is why so much of this field is empirical rather than proved, and why a result about non-convex training almost always describes a regime rather than the problem.
The definition quantifies over every pair of points, which is what makes it strong and what makes it rare: the function at a weighted average of two inputs is at most the same weighted average of the two outputs. In second-order terms it is the Hessian being positive semi-definite everywhere — no direction of negative curvature anywhere in the space. A network with a single hidden layer fails this immediately, and for a reason needing no experiment: permuting the hidden units gives a different parameter vector with identical loss, so the surface has many separated minima of equal value, and a convex function cannot have two.
nonconvex-points holds 17% of the budget; rest holds the remaining 83%.
Points in the space where some direction curves downward, against points where every direction curves up, in points. Drag the non-convex share up — though the lesson is where the bar starts, not where it ends, since convexity is a claim about every point at once and the guarantee is gone at the first one.
Reviewed by opendroid · 2026-08-19
- arXiv:1412.0233 — The Loss Surfaces of Multilayer Networks
- arXiv:1712.09913 — Visualizing the Loss Landscape of Neural Nets