Simple fix for training collapse: momentum SGD on the LM head only

micahgoldblum · x · 2026-11-03

Part 10 of Goldblum's thread: the fix is to swap AdamW for momentum SGD only on the LM head, keeping AdamW elsewhere. SGD-M preserves the gradient's zero-sum structure, avoiding Adam-induced drift in the mean output embedding. Context: FP32 logits still grow but loss doesn't diverge; in BF16, quantization error grows by orders of magnitude before failure.

Original post →

More from Research

Research channel →