>Just because you can prove convergence for convex functions does not mean you can't prove it for non-convex functions.
I don't understand. How do you prove a gradient descent is guaranteed to escape local minima?
I don't understand. How do you prove a gradient descent is guaranteed to escape local minima?
Define the epigraph of a function to be the set given by {(x, t) | f(x) ≤ t}. Then, we say f is a convex function iff the epigraph is a convex set.
This is equivalent (exercise for the reader!) to the usual definition that a function f is convex iff f((1-t)x + ty) ≤ (1-t)f(x) + tf(y), for all 0 ≤ t ≤ 1, with x, y in the domain of f.
Note that neither of these two definitions require differentiability (or twice-differentiability), but the definitions are equivalent in this case.[0]
---
[0] For proofs of all of these statements see B&V's Convex Optimization.