Metraipolis › archive › dc_26a5de26400b

The Role of Quantization in Loss Spikes — arXiv:2610.38277

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.38277
License (as archived)
CC0-1.0
Archived
2026-10-31T06:11:27.350Z
SHA-256 of the archived text
ffd57329cf56239eca9678b7d1d4bb44000d4d4641cb3813d3af8b9e8f1668e5
Stable URL of this page
https://metraipolis.com/documento/dc_26a5de26400b

How to cite

The Role of Quantization in Loss Spikes — arXiv:2610.38277 — arXiv (en), https://arxiv.org/abs/2610.38277 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_26a5de26400b (Metraipolis archive dc_26a5de26400b, sha256 ffd57329cf56239eca9678b7d1d4bb44000d4d4641cb3813d3af8b9e8f1668e5)
BibTeX
@misc{dc26a5de26400b,
  title = {The Role of Quantization in Loss Spikes — arXiv:2610.38277},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.38277},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_26a5de26400b; sha256 ffd57329cf56239eca9678b7d1d4bb44000d4d4641cb3813d3af8b9e8f1668e5},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.38277. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Loss spikes in language model pretraining can waste substantial compute and derail otherwise healthy training runs. A primary driver of these instabilities is the growth and divergence of output logits in the final language modeling (LM) head. In this work, we study a particularly costly form of this instability associated with output logit growth: delayed, terminal divergences that emerge only after prolonged training, which we call time-bomb spikes. We find that these instabilities are preceded by rapidly growing quantization error in the LM head, which eventually culminates in a loss spike. Crucially, reducing numerical precision accelerates time-bomb spikes, while increasing precision improves stability. We then propose a simple yet effective mitigation that replaces AdamW on the LM head with SGD with momentum, suppressing logit growth and improving stability over long training horizons. Finally, we find that existing mitigation techniques from the literature (along with our own) all reduce quantization error, suggesting a shared numerical mechanism behind their effectiveness. Together, our results identify finite precision error as a hidden driver of time-bomb spikes and show that suppressing this error is key to stable long-horizon pretraining.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.38277 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-31T06:07:08.642Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).