cs.LGSep 29, 2026

Why Adaptive Optimizers Underestimate Rare Tokens

Authors: Sangsidhya Kar

Organizations: Department of Statistics Presidency University, Kolkata

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))κ/(2(e^{κ/2}-1)). Here κκ is the mean number of steps between occurrences divided by the second-moment time constant 1/(1−β2)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.

Figures & tables

Explore similar work

CardsList
  1. Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalance

    Nov 30, 2025Robin Yadav, Shuo Xie, Tianhao Wang +1Sign-Based OptimizationClass-Imbalanced Learning

  2. Navigating LLM Valley: From AdamW to Memory-Efficient and Matrix-Based Optimizers

    May 9, 2026Aditya RanganathDeep Learning OptimizationLLM Input Optimization