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

Xichong Zhang, Xixuan Hao, Zhichen Liu, Le Zhou, Zeyu Zhang, Boyu Chen, Mingfei Lu, Zehao Lin, Bo Tang, Yonggang Zhang, Linyun Liu, Feiyu Xiong, Jianlin Su, Zhiyu Li

arXiv:2611.34051 · 2026-11-27 공개 · arXiv · PDF

long-context linear-attention training-stability recurrent-models recurrent-state ruler-score chunkwise-parallel gated-deltanet-2

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 , employing symmetric erasure to ensure non-expansive state propagation and decay-regulated residual writing to preserve writing flexibility. Theoretically, we establish an O(T) upper bound on recurrent state growth while retaining chunkwise parallel computation. Experiments on ~1.6B parameter models show that 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.

한국어 요약

한 줄 요약

Stable GDN-2는 GDN-2의 비정상적 상태 증가 문제를 해결하여 128K 컨텍스트에서 RULER 점수를 6.80포인트 개선한 안정적인 장문 시퀀스 모델링 방법이다.

핵심 기여도

핵심 아이디어

GDN-2는 채널별로 독립적인 **에이저**(erase)와 **라이트**(write) 게이트를 도입하여 장문 컨텍스트에서 정보 유지와 수정을 더 세밀하게 제어할 수 있도록 설계되었다. 그러나 이 구조는 **에이저 단계에서 읽기와 수정 방향의 비대칭성**으로 인해 상태 벡터가 지수적으로 증가하는 문제를 일으켰다. 이는 **비정규**(non-normal) 에이저 연산자의 방향적 증폭 효과로 인해, 토큰 간에 누적되어 결국 수치 오버플로를 유발한다. 이를 해결하기 위해 **Symmetric erasure**를 도입하여 상태 전파가 **non-expansive**하도록 보장하고, **decay-regulated residual writing**을 통해 쓰기 유연성을 유지하면서 상태 에너지를 조절한다.

기술적 접근법

주요 결과

의의 및 한계

Stable GDN-2는 GDN-2의 핵심 문제인 비정상적 상태 증가를 이론적으로 분석하고, 이를 해결하는 구조적 방법을 제안함으로써 장문 시퀀스 모델링의 안정성을 크게 향상시켰다. 특히, **채널별 게이팅**을 유지하면서도 상태 증폭을 억제한 점이 학술적으로 의미가 크다. 그러나 **비정규 연산자의 영향**은 여전히 복잡한 상황에서 예측이 어려울 수 있으며, **초장문**(예: 1M 토큰 이상)에서는 추가 실험 필요. 또한, **Full-attention과의 결합**은 하이브리드 모델에서 일부 성능 저하를 유발할 수 있다.

실용적 활용

Stable GDN-2는 대규모 언어 모델의 **장문 이해 및 생성**, **문서 내 정보 추출**, **대화형 시스템** 등에서 안정적인 장문 처리가 필요한 산업과 연구 분야에 적용 가능하다. 특히, **128K 토큰 이상의 컨텍스트**를 다루는 시스템에서 효과적일 것으로 기대된다.