3
$\begingroup$

I found this term "training warmup steps" in some of the papers, what exactly does this term mean? Has it got anything to do with "learning rate"? If so, how does it affect?

$\endgroup$
3
$\begingroup$

This usually means that you use a very low learning rate for a set number of training steps (warmup steps). After your warmup steps you use your "regular" learning rate or learning rate scheduler. You can also gradually increase your learning rate over the number of warmup steps.

As far as I know, this has the benefit of slowly starting to tune things like attention mechanisms in your network.

$\endgroup$
  • 1
    $\begingroup$ But isn't it the normal trend to use learning rate decay, which reduces the learning rate over sent of epochs or training steps? $\endgroup$ – Ashwin Geet D'Sa Jul 19 at 14:43
  • 1
    $\begingroup$ Yes. The idea is to use some warmup steps to increase the learning rate up to a certain point and then use your normal learning rate decay afterwards. The google transformer notebook has aa good example in the optimizer setting: tensorflow.org/beta/tutorials/text/transformer#optimizer $\endgroup$ – Ron Schwessinger Jul 20 at 16:25
1
$\begingroup$

Warm up steps is just a parameter in most of the learning algorithms which is used to lower the learning rate in order to reduce the impact of deviating the model from learning on sudden new data set exposure.

For eg:- If you are giving warm up steps as 500 for a iteration of 10,000 epochs, For the first 500 iterations the model will learn the corpus with minimal learning rate than the rate which you've specified in the model. From 501 th iteration model will use the learning rate as itself which given.

$\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.