Stable Gated DeltaNet-2:理解并缓解循环状态不稳定性
Stable Gated DeltaNet-2: Understanding and Mitigating Recurrent State Instability
针对Gated DeltaNet-2(GDN-2)在长上下文训练中因擦除方向读写不对称导致状态指数增长、训练失败的问题,提出Stable Gated DeltaNet-2,采用对称擦除与衰减调节的残差写入,理论上给出循环状态增长的O(√T)上界并保留分块并行计算。
arXiv:2611.34051v1 Announce Type: new Abstract: Linear attention offers an efficient solution for long-sequence modeling via linear complexity and fixed-size recurrent states. Gated DeltaNet-2 (GDN-2) introduces independent channel-wise control over erasure and writing, enhancing state-update expressiveness and in-context retrieval, yet it suffers from training failures during long-context training. We trace these failures to the asymmetry between reading and modification directions during erasure, which yields non-normal erase operators whose directional gains accumulate across tokens, triggering exponential state growth even without new writes. To resolve this, we propose \model{}, employing symmetric erasure to ensure non-expansive state propagation and decay-regulated residual writing to preserve writing flexibility. Theoretically, we establish an $O(\sqrt{T})$ upper bound on recurrent state growth while retaining chunkwise parallel computation. Experiments on ~1.6B parameter models show that \model{} achieves stable training alongside improved long-context retrieval. Compared to GDN-2, it boosts the 128K average RULER score by 6.80 points in the recurrent setting and average accuracy across nine downstream tasks by 0.62 points in the hybrid setting.
来源:arXiv (AI + Vision + Imaging) · arxiv.org