Latest optimizer parameter.
Online weights and their moving average
θEMA ← 0.990 θEMA + 0.010 θonline
Smoothed shadow parameter.
Error for the selected evaluation weights.
Distance from online weights.
Smoothing trades variance for responsiveness.
High decay remembers longer
β near one suppresses update noise but needs more steps to follow a changing optimum.
Shadow state belongs in checkpoints
Save EMA weights, update count, decay schedule, optimizer state, and the online model so training can resume faithfully.
Evaluate the deployed choice
Raw and averaged weights are different models. Compare validation loss, calibration, robustness, and latency on the intended checkpoint.