The Role of Quantization in Loss Spikes
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 27 of its 41 references that are in the map. Submitted 28 Oct 2026.
Builds on
27 of 41 references.
References · 27
- 2025Qwen3 Technical Reportcited by 9,994
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 2,058
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 2,029
- 2019Root Mean Square Layer Normalizationcited by 1,624
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,356
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 863
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 720
- 2024OLMo: Accelerating the Science of Language Modelscited by 665
- 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
- 20218-bit Optimizers via Block-wise Quantizationcited by 430
- 2020Query-Key Normalization for Transformerscited by 322
15 more
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 269
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 206
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 105
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 98
- 2025Model Merging in Pre-training of Large Language Modelscited by 43
- 2025SPAM: Spike-Aware Adam with Momentum Reset for Stable LLM Trainingcited by 34
- 2026Quantized Reasoning Models Think They Need to Think Longer, but They Do Notcited by 20
- 2026HRM-Text: Efficient Pretraining Beyond Scalingcited by 15
- 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikescited by 8
- 2025Better Embeddings with Coupled Adamcited by 6
- 2025Characterization and Mitigation of Training Instabilities in Microscaling Formatscited by 5
- 2026Output Embedding Centering for Stable LLM Pretrainingcited by 5
- 2026A Fix for Softmax and Cross-Entropycited by 5
- 2026Optimizer Memory Schedules for Outscaling the Overtraining Axiscited by 3
- 2026Broken Symmetry in BF16 Attention: Why FlashAttention Gradients Blow Up Late in Trainingcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Training Dynamics Impact Post-Training Quantization Robustness
- 2023Spike No More: Stabilizing the Pre-training of Large Language Models
- 2026Quantization Degradation in Large Language Models: A Signal-Noise Perspective
- 2026From Signal Degradation to Computation Collapse: Uncovering the Two Failure Modes of LLM Quantization
- 2026Why Does Post-Training Quantization Work?
- 2026Effective Learning Rate Governs Loss Dynamics in Language Model Pretraining
- 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resets
- 2025AdaGC: Enhancing LLM Pretraining Stability via Adaptive Gradient Clipping