Why Adaptive Optimizers Underestimate Rare Tokens
Sangsidhya Kar
Key points
From the paper's conclusion- We test these predictions both in a unigram model and in a small language model trained from a known generating distribution.
Abstract
In the softmax output layer, a rare token receives a small positive logit gradient on most steps and a much larger negative gradient on the few steps when it is the target. SGD simply adds these contributions. Coordinate-wise adaptive methods such as Adam, RMSProp, and sign descent instead divide each update by a running estimate of its magnitude, and that estimate is largest immediately after the token appears. This imbalance has two effects. At the level of the whole output layer, we characterize which optimizers preserve the mean output embedding: every method whose update is linear in past gradients does, as do Kronecker-factored and orthogonalized methods such as Shampoo and Muon. Adam, Adafactor, Lion, and sign descent do not, and for these methods we obtain an exact step-by-step expression for the change. At the level of an individual rare token, the same normalization shifts the training fixed point. In the unigram model, sign descent lowers the logit of every token that occurs in fewer than half of the minibatches at a constant expected rate. For RMSProp with periodic arrivals, we can solve the fixed point in closed form: if a token is absent for at least two consecutive minibatches, its equilibrium probability is strictly below its data frequency for every learning rate, and the ratio tends to $κ/(2(e^{κ/2}-1))$. Here $κ$ is the mean number of steps between occurrences divided by the second-moment time constant $1/(1-β_2)$. In the same model, SGD and AMSGrad retain the unbiased fixed point. We test these predictions both in a unigram model and in a small language model trained from a known generating distribution. With random arrivals, the bias is larger than the periodic formula predicts; in the language model, the optimizers with the biased fixed point also fit the generating distribution less well.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- AF-Muon: An AdamW-Free Muon Optimizer for Tied-Embedding ModelsarXiv · 2026
- Beyond Dense Adam States: Adaptive Log-Space Quantization for Memory-Efficient OptimizersarXiv · 2026
- The Best Optimizer Depends on Batch SizearXiv · 2026
- Adaptive Optimizers Can Get a Policy Ranking Wrong: Momentum, Dependent Data, and a Two-Run RemedyarXiv · 2026
- Pretraining Data Scale Reverses the Muon-AdamW Fine-Tuning GaparXiv · 2026
- What the Loss Curve Misses: FP4 Pretraining Slows the Acquisition of Rare FactsarXiv · 2026