Interesting, but it does not seem to be an overview of gradient optimisers, but rather gradient optimisers in ML, as I see no mentions of BFGS and the likes.
I'm also curious about gradient-less algorithms For non deep learning applications, Nelder-Mead saved my butt a fees times
An overview of gradient descent optimization algorithms (2016)
21–29 of 29 posts
Re: An overview of gradient descent optimization algorithms (2016)
#22Interesting, but it does not seem to be an overview of gradient optimisers, but rather gradient optimisers in ML, as I see no mentions of BFGS and the likes.
I'm also curious about gradient-less algorithms For non deep learning applications, Nelder-Mead saved my butt a fees times
Re: An overview of gradient descent optimization algorithms (2016)
#23Interesting, but it does not seem to be an overview of gradient optimisers, but rather gradient optimisers in ML, as I see no mentions of BFGS and the likes.
I think the big difference is dimensionality. If the dimensionality is low, then taking account of the 2nd derivatives becomes practical and worthwhile.
Re: An overview of gradient descent optimization algorithms (2016)
#24Earlier quoted context omitted.
That’s how interviews go though, it’s not like I’ve ever had to use Bayes rule at work but for a few years everyone loved asking about it in screening rounds.
I'd still expect an MLE to know it though.
An MLE should be able to look up and understand the differences between optimizers but memorizing that information is extremely low priority compared with other information they might be asked.
Re: An overview of gradient descent optimization algorithms (2016)
#25Earlier quoted context omitted.
That’s how interviews go though, it’s not like I’ve ever had to use Bayes rule at work but for a few years everyone loved asking about it in screening rounds.
Everyone’s experience is different but I’ve been in dozens of MLE interviews (some of which I passed!) and have never once been asked to explain the internals of an optimizer. The interviews were all post 2020, though. Unless someone had a very good reason I would consider it weird to use anything other than AdamW. The compute you could save on a slightly better optimizer pale in comparison to the time you will spend…
As a model is trained, the gradient variance typically falls.
Those optimizers all work to reduce the variance of the updates in various ways.
Re: An overview of gradient descent optimization algorithms (2016)
#26Earlier quoted context omitted.
I think the big difference is dimensionality. If the dimensionality is low, then taking account of the 2nd derivatives becomes practical and worthwhile.
What is it that makes higher order derivatives less useful at high dimensionality? Is it related to the Curse of Dimensionality, or maybe something like exploding gradients at higher orders?
In practice, clever optimisation algorithms that use the 2nd derivative won't actually form this matrix.
Re: An overview of gradient descent optimization algorithms (2016)
#27Earlier quoted context omitted.
I'm also curious about gradient-less algorithms For non deep learning applications, Nelder-Mead saved my butt a fees times
SAMBO does a good job of finding the global optimum in a black-box manner even compared to Nelder-Mead, according to its own benchmark ... https://sambo-optimization.github.io
Re: An overview of gradient descent optimization algorithms (2016)
#28Article is from 2016. It only mentions AdamW at the very end in passing. These days I rarely see much besides AdamW in production. Messing with optimizers is one of the ways to enter hyperparameter hell: it’s like legacy code but on steroids because changing it only breaks your training code stochastically. Much better to stop worrying and love AdamW.
Luckily we have Shampoo, SOAP, Modula, Schedule-free variants, and many more these days being researched! I am very very excited by the heavyball library in particular
Re: An overview of gradient descent optimization algorithms (2016)
#29Earlier quoted context omitted.
Luckily we have Shampoo, SOAP, Modula, Schedule-free variants, and many more these days being researched! I am very very excited by the heavyball library in particular
Been out of the loop for while, anything exciting?