Live data from Hacker News

How to Escape Saddle Points Efficiently

bair.berkeley.edu

11–20 of 39 posts

Re: How to Escape Saddle Points Efficiently

#11
post #4

I'm not an AI expert, but I'm decent with computers. Could anyone explain what is this about?

You're in the middle of a saddle shape (see the figure [1]). This is bad because you could be lower (the goal is to be at the lowest point). Moreover, getting out is apparently slow / difficult. The authors explain "how to escape" the saddle point in an efficient way.

[1]: http://bair.berkeley.edu/blog/assets/saddle_eff/strictsaddle...

Re: How to Escape Saddle Points Efficiently

#13

> Our sharp rate depends on a key observation — although we don’t know the shape of the stuck region, we know it is very thin. Oh... really? :) (After 12 years I finally get an excuse to show a fun side project I coauthored during my PhD...) http://graemebell.net/pubs/taros05-bl-embedded-preprint.pdf Check out Figure 5 / Section 3.4 The rest of the paper is an introduction to why saddle points can be surprisingly pro…

These results seem important for nonconvex optimization in general, but for ML applications where we usually use stochastic/batch gradient descent, I wonder if the the stochasticity adds enough perturbation for this to not really be that useful.

Re: How to Escape Saddle Points Efficiently

#14
post #13

> Our sharp rate depends on a key observation — although we don’t know the shape of the stuck region, we know it is very thin. Oh... really? :) (After 12 years I finally get an excuse to show a fun side project I coauthored during my PhD...) http://graemebell.net/pubs/taros05-bl-embedded-preprint.pdf Check out Figure 5 / Section 3.4 The rest of the paper is an introduction to why saddle points can be surprisingly pro…

These results seem important for nonconvex optimization in general, but for ML applications where we usually use stochastic/batch gradient descent, I wonder if the the stochasticity adds enough perturbation for this to not really be that useful.

Well, in general, no, there is no perturbation method large (or good) enough to get out of saddle points, including via stochastic gradient descent. It might work in a particularly specific problem, but not in general.

Re: How to Escape Saddle Points Efficiently

#15
post #14
post #13

Earlier quoted context omitted.

These results seem important for nonconvex optimization in general, but for ML applications where we usually use stochastic/batch gradient descent, I wonder if the the stochasticity adds enough perturbation for this to not really be that useful.

Well, in general, no, there is no perturbation method large (or good) enough to get out of saddle points, including via stochastic gradient descent. It might work in a particularly specific problem, but not in general.

Fine, but I mostly care about ML applications, where I'm wondering if this is expected to help at all.

Re: How to Escape Saddle Points Efficiently

#16
post #9
post #4

I'm not an AI expert, but I'm decent with computers. Could anyone explain what is this about?

I'm not an AI expert either, but let me give this a try. I assume you are vaguely familiar with gradient descent. In gradient descent, we are basically trying to find the sweet spot where the value of a function is minimized. We do this by calculating the derivative of the function at a certain point and then use it to take small steps in the direction where we believe the function will have a lower value. Gradient d…

Here's a section from the fast.ai course where Jeremy discusses learning rates and saddle points (about 2-3 minutes in)

https://youtu.be/V2h3IOBDvrA?t=26m5s

Re: How to Escape Saddle Points Efficiently

#17
post #15
post #14

Earlier quoted context omitted.

Well, in general, no, there is no perturbation method large (or good) enough to get out of saddle points, including via stochastic gradient descent. It might work in a particularly specific problem, but not in general.

Fine, but I mostly care about ML applications, where I'm wondering if this is expected to help at all.

ML is far too broad a category. Like I said, it will depend on the problem/function.

Re: How to Escape Saddle Points Efficiently

#18
post #5

Many nonconvex problems are solved with more sophisticated methods, like L-BFGS. Are perturbations still a good thing?

Such methods are usually not practical for deep learning

That is true, but I got the impression from the article that they had a wider range of problems in mind.

Re: How to Escape Saddle Points Efficiently

#20

It's interesting, I once tried injecting perturbations for a short period selectively when the norm of the gradient was near zero, and it gave me consistent improvement.

How do you select the average size/standard deviation of your perturbations? Too small and you get no benefit, or very little speed up, too large and you lose the ability to sensibly optimise, and if you attempt to make an adaptive function then you'll find yourself with another postdoc.

You could probably let the schedule of the perturbations be a sequence ε→0, such that ∑ε = ∞, and such that ∑ηε Note that, then it should in general be independent of the chosen parameter, since the added noise converges in probability to a constant whenever the distribution is close to uniform, but can sum to any real value with consistent bias.
Post reply on HN