# Near-Zero Token Embeddings Silently Stall Training in Gated Sequence Models

DevFeed: [Near-Zero Token Embeddings Silently Stall Training in Gated Sequence Models](<https://devfeed.tech/articles/near-zero-token-embeddings-silently-stall-training-in-gated-sequence-models-116941.md>)

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

Author: Xin Liu, Boyuan Sun, Yuxin Wang, Haoran Song, Mingjian Zhao, Mengyu Liu

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

Content type: article

Language: en

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

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Mamba](<https://devfeed.tech/topics/mamba.md>), [Nemotron](<https://devfeed.tech/topics/nemotron.md>)

Tags: [clipping](<https://devfeed.tech/tags/clipping.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [delta](<https://devfeed.tech/tags/delta.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [gradient](<https://devfeed.tech/tags/gradient.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [layer](<https://devfeed.tech/tags/layer.md>), [linear](<https://devfeed.tech/tags/linear.md>), [mamba](<https://devfeed.tech/tags/mamba.md>), [models](<https://devfeed.tech/tags/models.md>), [pretraining](<https://devfeed.tech/tags/pretraining.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [queries](<https://devfeed.tech/tags/queries.md>), [repositories](<https://devfeed.tech/tags/repositories.md>), [rms](<https://devfeed.tech/tags/rms.md>), [sequence](<https://devfeed.tech/tags/sequence.md>), [token](<https://devfeed.tech/tags/token.md>), [token-embeddings](<https://devfeed.tech/tags/token-embeddings.md>), [training](<https://devfeed.tech/tags/training.md>), [zero](<https://devfeed.tech/tags/zero.md>)

## AI overview

The abstract reports that near-zero reachable input embeddings appear in 20 of 38 surveyed untied gated or hybrid checkpoints, but none of the surveyed weight-tied models. In gated sequence models, such rows can suppress historical-state readout and trigger extreme backward-gradient amplification through Pre-RMSNorm. FP32 global-norm clipping may then overflow and zero a batch's gradients; in one Telugu continual-pretraining run, updates were lost on about 20% of steps and affected rows remained frozen. The authors propose GroupClip for released checkpoints, using a 64-bit or rescaled norm to avoid update loss and reportedly heal triggered rows in one step, and GateFloor for pretraining, which keeps gates positive at zero input and reduced near-zero gradients in experiments up to 370M parameters, with perplexity comparable to baseline. The abstract also says the failure was prevented in tested Transformer configurations by non-initial positions or a BOS token.

## Source excerpt

arXiv:2611.04449v1 Announce Type: new Abstract: Among 291 surveyed open-weight language model repositories (280 distinct embedding tables), 52.6% of untied gated and hybrid checkpoints (20/38) contain reachable input embeddings with norms below $10^{-6}$, compared with 0% of weight-tied models. Such near-zero rows can arise during pretraining when unseen rare or template tokens receive zero input gradients while AdamW weight decay shrinks untied embeddings. In tested Transformer configurations, non-initial positions or a BOS token prevent this failure mode. In gated sequence models (Mamba, Gated DeltaNet, xLSTM), a near-zero token can amplify input-embedding gradients by more than 30 orders of magnitude (up to 35). At zero input, current-token readout factors (SiLU gates or linear queries) vanish, suppressing historical-state readout. Residual RMS values can then fall below the square root of the RMSNorm floor across consecutive layers, causing Pre-RMSNorm to amplify backward gradients by up to $10^3$ per layer. When a gradient entry exceeds $1.84 \times 10^{19}$, FP32 global-norm clipping in PyTorch, Hugging Face Trainer, and FSDP2 can overflow to infinity and zero the current batch's gradients. In Telugu continual pretraining of Nemotron-3-Nano-4B, this discards updates on approximately 20% of steps and leaves triggered rows frozen. We propose two remedies. For released checkpoints, GroupClip decouples input-embedding clipping using a 64-bit or rescaled norm; its rescaled implementation eliminates update loss and heals triggered rows in one step with negligible measured end-to-end overhead. For pretraining, GateFloor ($\mathrm{SiLU}(z) + \delta$, $\delta \in [0.01, 0.1]$) keeps the gate positive at zero input, reducing near-zero gradients by 28 orders of magnitude in experiments up to 370M parameters, with perplexity comparable to the baseline.