One Token, Many Lessons: Sliding-Window Attention within Gated Delta Networks
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 37 of its 43 references that are in the map. Submitted 24 Nov 2026, announced 26 Nov 2026.
Builds on
37 of 43 references.
References · 37
- 2017Attention Is All You Needcited by 62,125
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 5,111
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
- 2020Longformer: The Long-Document Transformercited by 3,606
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,320
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,284
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,130
- 2020Rethinking Attention with Performerscited by 1,669
- 2019Root Mean Square Layer Normalizationcited by 1,624
25 more
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 1,077
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 662
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 571
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 554
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 455
- 2021Random Feature Attentioncited by 364
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 245
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 236
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 232
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 215
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 141
- 2021Finetuning Pretrained Transformers into RNNscited by 100
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 95
- 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 85
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 77
- 2024Just read twice: closing the recall gap for recurrent language modelscited by 70
- 2024RNNs are not Transformers (Yet): The Key Bottleneck on In-context Retrievalcited by 68
- 2021On the Connection between Local Attention and Dynamic Depth-wise Convolutioncited by 64
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 60
- 2026Gated DeltaNet-2: Decoupling Erase and Write in Linear Attentioncited by 57
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 35
- 2026Preconditioned DeltaNet: Curvature-aware Sequence Modeling for Linear Recurrencescited by 16
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 12
Built on by
Not cited yet.