# Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes

DevFeed: [Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes](<https://devfeed.tech/articles/grokking-or-glitching-how-low-precision-drives-slingshot-loss-spikes-120412.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.06152>)

Author: Hanqing Liu, Jianjun Cao, Yuanze Li, Zijian Zhou

Published: 2026-11-06T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [floating-point](<https://devfeed.tech/topics/floating-point.md>), [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [absorption](<https://devfeed.tech/tags/absorption.md>), [backpropagation](<https://devfeed.tech/tags/backpropagation.md>), [constraint](<https://devfeed.tech/tags/constraint.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [deep-neural-networks](<https://devfeed.tech/tags/deep-neural-networks.md>), [feature](<https://devfeed.tech/tags/feature.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [growth](<https://devfeed.tech/tags/growth.md>), [inflation](<https://devfeed.tech/tags/inflation.md>), [math-oc](<https://devfeed.tech/tags/math-oc.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [precision](<https://devfeed.tech/tags/precision.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [training](<https://devfeed.tech/tags/training.md>)

## AI overview

The paper attributes Slingshot loss spikes to finite-precision arithmetic. In high-confidence training, the correct-class logit can exceed an absorption-error threshold, causing its gradient to round to zero while incorrect-class gradients remain nonzero. This breaks the gradients' zero-sum constraint and creates classifier-update drift. The authors call the resulting positive feedback with features Numerical Feature Inflation (NFI): classifier and feature means grow exponentially, norms rise, gradients later reappear, and a loss spike can follow. NFI is not equivalent to a visible spike; partial absorption may drive rapid parameter-norm growth without an observable loss spike.

## Source excerpt

arXiv:2605.06152v5 Announce Type: replace Abstract: 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.