mlsanityData to 14 Oct 2026

Enhancing Linear Attention with Residual Learning

arXiv 2509.25223 ↗First posted 24 Sep 2025cs.LG cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Linear attention offers a linear-time alternative to self-attention but often struggles to capture long-range patterns. We revisit linear attention through a prediction-correction lens and show that prevalent variants can be written as a combination of a historical prediction and a single-token correction, which creates an expressivity bottleneck. To address this bottleneck, we introduce Residual Linear Attention (RLA), a framework that equips linear attention with an explicit residual-fitting mechanism. RLA maintains an auxiliary recurrent state that learns to accumulate residual errors over time and correct the base prediction. We further instantiate a delta-rule version, Residual Delta Net (RDN), incorporating adaptive gating and residual clipping for enhanced correction control and stability. Our implementation leverages highly optimized linear attention kernels and preserves linear time and memory. Across language modeling and recall-intensive evaluations, RLA and RDN consistently outperform their respective baselines and other modern linear-attention methods, narrowing the gap to standard Transformers while retaining linear scaling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 36 of its 42 references that are in the map. First posted on arXiv 24 Sep 2025.

Builds on

36 of 42 references.

References · 36

  1. 2017Attention Is All You Needcited by 60,361
  2. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  5. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  6. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  8. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,057
  9. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  10. 2016Pointer Sentinel Mixture Modelscited by 3,096
  11. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  12. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
24 more
  1. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  3. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  4. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
  5. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  6. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  7. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  8. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  9. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  10. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  11. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  12. 2024Titans: Learning to Memorize at Test Timecited by 328
  13. 2015A Critical Review of Recurrent Neural Networks for Sequence Learningcited by 224
  14. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  15. 2024A Survey on Large Language Model Acceleration based on KV Cache Managementcited by 131
  16. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  17. 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 102
  18. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  19. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  20. 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 64
  21. 2024Just read twice: closing the recall gap for recurrent language modelscited by 60
  22. 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
  23. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
  24. 2024Various Lengths, Constant Speed: Efficient Language Modeling with Lightning Attentioncited by 31

Built on by

Not cited yet.