One Token, Many Lessons: Sliding-Window Attention within Gated Delta Networks
Yuchen Song, Yangbin Chen
Key points
From the paper's conclusion- We apply this strategy to two Delta-Rule variants, GDN2 and KDA, and experimental results demonstrate that SWGDN outperforms the original Delta-Rule baseline across multiple benchmarks.
Abstract
Linear attention compresses historical context into a fixed-size recurrent state, reducing the computational and memory costs of long-sequence modeling. From the perspective of test-time regression (TTR), the state matrix can be viewed as an online-learned regression model, where keys and values serve as inputs and targets respectively, and queries are used to read from the model. From this perspective, the effectiveness of state learning depends not only on the update rule but also on how the key-value learning pairs used for state updates are constructed. While existing work has largely focused on how the state is updated and organized, we investigate how the learning pairs used for state updates are constructed. To this end, we propose Sliding-Window Gated DeltaNet (SWGDN), which replaces short convolutions in Delta-Rule linear attention with sliding-window attention to perform content-dependent local aggregation of projected queries, keys, and values. Our experiments show that SWGDN makes the key-value pairs used in consecutive updates more similar in both GDN2 and KDA. In SWGDN, carrying information from the same token across updates can help the recurrent state reinforce a previously learned association. The local mixing strategy can be incorporated into any Delta-Rule-based linear attention architecture without changing its state update equations or chunkwise parallel algorithms. We apply this strategy to two Delta-Rule variants, GDN2 and KDA, and experimental results demonstrate that SWGDN outperforms the original Delta-Rule baseline across multiple benchmarks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SDG: State-Dependent Gating at Chunk Boundaries for Linear AttentionarXiv · 2026
- Integral DeltaNet: Improved Linear Attention with Adaptive Memory IntegrationarXiv · 2026
- Stable Gated DeltaNet-2: Understanding and Mitigating Recurrent State InstabilityarXiv · 2026
- Gated Slot Attention-2: Two-Sided Associative Memory Correction in Linear AttentionarXiv · 2026
- Muir: Linear Attention with Sensitivity-Allocated Gating and Matched-Filter ReadoutarXiv · 2026
- Systolic Linear Attention: Co-Designing Tile-Grouped Gated Delta Attention for TPUsarXiv · 2026