Switch language한국어
Back to the list

Stochastic Gradient Descent (SGD’s) Frequency Bias and How Adam Fixes It

TL;DR AI

Key summary

2 min read
  1. A controlled NumPy experiment trained a linear model on tokens spanning four orders of magnitude in frequency.

  2. The results showed SGD favors frequent tokens, giving them far more learning progress than rare ones.

  3. Adam, by using per-parameter gradient history, effectively increases step sizes for infrequently updated weights.

  4. The finding explains why adaptive optimizers can help language models learn rare but important tokens faster.

Read the original