Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes
Not on the map. Why?
Abstract (arXiv)
Deep neural networks exhibit periodic loss spikes during unregularized long-term training, a phenomenon known as the "Slingshot Mechanism." Existing work usually attributes this to intrinsic optimization dynamics, but its triggering mechanism remains unclear. This paper proves that this phenomenon is a result of floating-point arithmetic precision limits. As training enters a high-confidence stage, the difference between the correct-class logit and the other logits may exceed the absorption-error threshold. Then during backpropagation, the gradient of the correct class is rounded exactly to zero, while the gradients of the incorrect classes remain nonzero. This breaks the zero-sum constraint of gradients across classes and introduces a systematic drift in the parameter update of the classifier layer. We prove that this drift forms a positive feedback loop with the feature, causing the global classifier mean and the global feature mean to grow exponentially. We call this mechanism Numerical Feature Inflation (NFI). This mechanism explains the rapid norm growth before a Slingshot spike, the subsequent reappearance of gradients, and the resulting loss spike. We further show that NFI is not equivalent to an observed loss spike: in more practical tasks, partial absorption may not produce visible spikes, but it can still break the zero-sum constraint and drive rapid growth of parameter norms. Our results reinterpret Slingshot as a numerical dynamic of finite-precision training, and provide a testable explanation for abnormal parameter growth and logit divergence in late-stage training.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 48 of its 53 references that are in the map. First posted on arXiv 7 May 2026.
Builds on
48 of 53 references.
References · 48
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2019On the Convergence of Adam and Beyondcited by 834
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
36 more
- 2017The Implicit Bias of Gradient Descent on Separable Datacited by 649
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 413
- 2019Gradient Descent Maximizes the Margin of Homogeneous Neural Networkscited by 308
- 2019Representation Degeneration Problem in Training Natural Language Generation Modelscited by 250
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 182
- 2022Omnigrok: Grokking Beyond Algorithmic Datacited by 142
- 2020Neural collapse with unconstrained featurescited by 140
- 2017A Bayesian Perspective on Generalization and Stochastic Gradient Descentcited by 134
- 2022Adam Can Converge Without Any Modification On Update Rulescited by 112
- 2023Grokking as the Transition from Lazy to Rich Training Dynamicscited by 102
- 2020Traces of Class/Cross-Class Structure Pervade Deep Learning Spectracited by 94
- 2022The Slingshot Mechanism: An Empirical Study of Adaptive Optimizers and the Grokking Phenomenoncited by 90
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 88
- 2023Grokking modular arithmeticcited by 77
- 2023Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokkingcited by 76
- 2023Stable and low-precision training for large-scale vision-language modelscited by 74
- 2024Understanding Optimization in Deep Learning with Central Flowscited by 57
- 2023A Theory on Adam Instability in Large-Scale Machine Learningcited by 54
- 2024Implicit Bias of AdamW: ℓ_∞ Norm Constrained Optimizationcited by 54
- 2025Grokking at the Edge of Numerical Stabilitycited by 41
- 2025In Search of Adam's Secret Saucecited by 40
- 2020A Qualitative Study of the Dynamic Behavior for Adaptive Gradient Algorithmscited by 31
- 2024Neural Collapse for Cross-entropy Class-Imbalanced Learning with Unconstrained ReLU Feature Modelcited by 19
- 2025Provable Scaling Laws of Feature Emergence from Learning Dynamics of Grokkingcited by 14
- 2025Let Me Grok for You: Accelerating Grokking via Embedding Transfer from a Weaker Modelcited by 13
- 2024The Persistence of Neural Collapse Despite Low-Rank Biascited by 12
- 2025A Theoretical Framework for Grokking: Interpolation followed by Riemannian Norm Minimisationcited by 11
- 2025Why Low-Precision Transformer Training Fails: An Analysis on Flash Attentioncited by 11
- 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 10
- 2025Neural Thermodynamics: Entropic Forces in Deep and Universal Representation Learningcited by 8
- 2025Grokking and Generalization Collapse: Insights from textttHTSR theorycited by 8
- 2025Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokkingcited by 8
- 2024Progress Measures for Grokking on Real-world Taskscited by 7
- 2025Explaining Grokking and Information Bottleneck through Neural Collapse Emergencecited by 4
- 2026Output Embedding Centering for Stable LLM Pretrainingcited by 3
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Post-Grokking Collapse at the Representation-Readout Interface in Muon-Trained Transformerscited by 1
- 2026Automated Numerical Stability Analysis of Deep Learning Operatorscited by 0
- 2026Beyond Quadratic Loss: The Stability Phase Diagram of Adamcited by 0
- 2026Why Adaptive Optimizers Underestimate Rare Tokenscited by 0
- 2026Why Adaptive Optimizers Underestimate Rare Tokens29 Sep 2026
- 2026Beyond Quadratic Loss: The Stability Phase Diagram of Adam16 Sep 2026
- 2026Post-Grokking Collapse at the Representation-Readout Interface in Muon-Trained Transformers7 Aug 2026
- 2026Automated Numerical Stability Analysis of Deep Learning Operators28 Jul 2026