Optimizers & Training Recipes
The Data Mines · Pretraining, Data & ScalingThe update rules and schedules used to train (AdamW, Muon, learning-rate schedules).
Also called: optimizer, Muon, adamw, learning rate schedule, training recipe, training stability. In the glossary.
Optimizers & Training Recipes is cooling this week (×0.57 against the eight weeks before). What is moving.
How it works, as a machineThe Update Mint · updates
Follow one update from a batch's loss to weights the next batch reads, in an update mint beside a training hall, with the weight vault behind.
- Catch the gradient
- Blend the momentum
- Press the direction
- Set the step size
- Pull toward zero
- Write the weights
Optimizers & Training Recipes in plain words
An optimizer is the rule that adjusts a model's weights after each batch of training examples. It decides how big a step to take and in which direction, and a schedule changes the step size as training goes on. A better recipe reaches the same quality with less compute.
An analogy
Walking down a mountain in fog. Only the slope under the boots can be felt, so the rule is to head downhill, with long strides on the open slope and short ones near the valley floor. Stride too long and the walker overshoots the valley; too short and night falls first.