WSD (Warmup-Stable-Decay) is a learning rate scheduler that splits training into three phases, "warmup," "stable," and "decay," keeping the learning rate constant at its maximum for a long time and lowering it only in a short final phase (about 10% of the total). The MiniCPM paper (Hu et al., 2024) proposed it for pretraining small language models.
Until then, cosine annealing was widely used for language model pretraining. Cosine works best when the step at which the learning rate reaches its minimum matches the total number of steps , and results get worse if is either too short or too long (Figure 4 of the MiniCPM paper, consistent with observations by Kaplan et al. (2020) and Hoffmann et al. (2022)). As a result, the training length had to be decided in advance, and extending training later meant starting over from scratch.
With WSD, the constant phase has the same shape wherever it is stopped, so starting a decay phase from a model partway through it yields a "fully trained model" at any time. To keep training further, training can be resumed at the constant learning rate from the model before decay (the figure at the top).

