Back to AI News
arxiv

DAMI: Dual-Axis Memory Initialization Boosts Long-Context Retrieval in Gated Linear Attention

DAMI is a new initialization method for gated linear attention models that configures gate parameters and input activations before training to improve long-context retrieval. It assigns geometric timescales across heads and a low-high-low input-sensitivity profile across layers, calibrated with a small activation sample. Across five model families, DAMI improves RULER-style retrieval accuracy by 5.29 to 16.71 percentage points over random initialization baselines, while keeping language modeling and reasoning performance comparable.

AI Brief

This paper presents a practical, training-free initialization technique that yields significant retrieval gains across multiple state-of-the-art linear attention models, offering immediate value for researchers and practitioners working on long-context AI.

arXiv:2610.41994v1 Announce Type: new Abstract: Linear attention scales linearly with sequence length, but its finite-state memory can limit long-context retrieval. In gated linear recurrences, memory retention depends on state decay, which is shaped jointly by gate parameters A_log and dt_bias and by input activations. In controlled Gated DeltaNet (GDN) experiments, both parameters remain highly correlated with their initial values after training, highlighting the importance of initialization. Therefore, we introduce Dual-Axis Memory Initialization (DAMI), which jointly configures these parameters before training. DAMI assigns geometric timescales across heads for varied retrieval distances and a low-high-low input-sensitivity profile across layers. A small activation sample calibrates the GDN-family implementation to match both behavioral targets without adding trainable parameters. Across GDN, KDA, GDN2, Mamba-2, and RWKV-7, DAMI improves average RULER-style retrieval accuracy by 5.29 to 16.71 percentage points over the corresponding random-initialization baselines. Performance on language modeling, commonsense reasoning, and 2K real-world retrieval remains broadly comparable to those baselines. Our code is available at https://speedai.com/research/dami.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!