4
$\begingroup$

I was just looking at the docs on Pytorch for different available schedulers and I found one that I am having some trouble understanding here.

enter image description here

The others seem to make sense: As training progresses, the learning rate gradually decreases. But in my study so far, I am yet to come across a model that needs such a "kickstart" mechanism.

Could someone please help me figure out why we need this?

$\endgroup$
2
$\begingroup$

This technique of gradually increasing the learning rate linearly during early phase of training is called learning rate warmup.

This is typically needed in order to prevent overfitting during the initial phase of training where a certain subset of observations may significantly skew your model towards some features and push you towards a bad local optimum.

The rectified adam paper suggests that this warmup heuristic serves as a variance reduction technique.

Due to the lack of samples in the early stage, the adaptive learning rate has an undesirably large variance, which leads to suspicious/bad local optima

They perform a few experiments that validates their hypothesis.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.