Jargonautica
Maths and Statistics

Convexity

A shape with a single bottom, like a bowl. If your error landscape is that shape, walking downhill always gets you to the best answer. Neural network landscapes are nothing like it, full of ridges, valleys and plateaus, which is why training is unpredictable and why the same setup can produce different results on different runs.

Technical view

A convex function has a unique global minimum, and gradient descent converges to it. Linear and logistic regression with standard losses are convex; deep networks are emphatically not. In very high dimensions, however, most critical points are saddle points rather than poor local minima, and empirically the minima reached are usually of similar quality, which is why non-convexity is less catastrophic in practice than theory suggests.


Part of AI Terminology Index, section: Maths and Statistics.

How it connects

Convexity links to 6 other terms. The faint lines are links between those terms. See it in the full graph.

Loss FunctionLoss FunctionGradient DescentGradient DescentLinear and Logistic RegressionLinear and Logistic…Loss LandscapeLoss LandscapeNeural NetworkNeural NetworkDeterminism and SeedDeterminism and SeedConvexity