Warmup
Approach in training: the learning rate starts at zero and smoothly increases to the target value over the first few steps. After warmup, it usually decreases according to a scheduler.
Why is it needed
At the beginning of training, gradients are large and noisy. If the full learning rate is set immediately, the weights may 'explode' and training will fail. Warmup gives the model time to stabilize and smooth out the initial steps.
Typical Scheme
learning rate
/\
/ \ <- plateau
/ \
/ \ <- decrease (cosine)
____/ \____
warmup
Initially, an increase (warmup), followed by a plateau or gradual decrease.
Where it is applied
Standard for training transformers and modern LLM. Without warmup, large models often fail to converge at all.