← Key papers

Paper review · November 28, 2026

Stable Gated DeltaNet-2: Diagnosing and Mitigating Recurrent State Instability

Stable Gated DeltaNet-2: Understanding and Mitigating Recurrent State Instability

Language modelsEfficiency & infra Advanced Upvotes 128 cs.CL MemTensor

The paper shows that GDN-2's asymmetric erase operation causes its recurrent state to blow up. It introduces symmetric erasure and a residual write controlled by decay, which stabilizes long-context training and improves retrieval performance.

Problem

Gated DeltaNet-2 (GDN-2), a linear attention model, uses per-channel erase and write gates to improve expressiveness and in-context retrieval. However, in long-context training such as 64K, training fails with the loss turning NaN. Even when training completes, the recurrent state values can become extremely large.

Method

The authors identify the cause as a mismatch in the erase step between the direction used to read the state (the gated key) and the direction used to modify it (the original key). This asymmetry makes the erase operator non-normal and introduces shear. They show theoretically that, as a result, gain can accumulate across tokens even without new writes, so the state can grow exponentially. Their fix, Stable GDN-2, splits the erase gate symmetrically across two factors of the key so that the read and modify directions match, and guarantees that state propagation is non-expansive. It also adds a residual write path whose magnitude is controlled by decay, preserving write flexibility. The authors prove an O(√T) upper bound on the recurrent state size, and chunkwise parallel computation still works unchanged.

Results

Limitations

The experiments are limited to about 1.6B parameters and a 64K pretraining context. It has not been confirmed whether the same effect holds for larger models or other training setups. Training failure rates were measured with only about 4 seed combinations per setting. The theory shows that diverging trajectories 'exist'; the authors also note that how often amplification happens in actual training depends on the data and the learned parameters. Because the provided text was cut off partway, detailed comparison numbers against existing stabilization techniques could not be checked.

Why it matters

Linear attention and hybrid architectures are increasingly used to process long contexts efficiently. This paper shows that architectural changes made to increase expressiveness can break numerical stability, and that the signal may not show up clearly in the loss curve. A practical takeaway is that internal metrics such as the recurrent state norm should also be monitored.

Key terms

Gated DeltaNet-2 (GDN-2)
A linear attention architecture that updates a fixed-size state matrix using the delta rule. It controls erasing (erase) and writing (write) separately with per-channel gates.
Non-normal operator
A matrix that does not commute with its own transpose. Even if all its eigenvalues have magnitude at most 1, it can amplify vectors in certain directions.
Symmetric erasure
An erase scheme in which the direction used to read the state matches the direction used to modify it. It guarantees that the erase operation cannot increase the size of the state.
RULER
A benchmark that evaluates, at different lengths, a model's ability to find and use information in long contexts.

Original

Authors: Xichong Zhang, Xixuan Hao, Zhichen Liu, Le Zhou, Zeyu Zhang, Boyu Chen, Mingfei Lu, Zehao Lin, et al. · Posted 2026-11-25 · License arXiv 비독점 배포 라이선스 · Based on the full text

This review is an AI-written summary of the paper. Please treat the original paper as the reference.