Scaling Context Requires Rethinking Attention
Not on the map. Why?
Abstract (arXiv)
We argue that neither transformers nor sub-quadratic architectures are well suited to training at long sequence lengths: the cost of processing the context is too expensive in the former, too inexpensive in the latter. Approaches such as sliding window attention which reduce the cost-per-token of a transformer impair in-context learning, and so are also unsuitable. To address these limitations, we introduce power attention, an architectural layer for linear-cost sequence modeling whose state size can be adjusted independently of parameters, unlocking the advantages of linear attention on practical domains. We develop and open-source a set of GPU kernels for efficient power attention, identifying a novel pattern of operation fusion to avoid memory and bandwidth bottlenecks. Our experiments on the in-context learning of power attention shows that these models dominate both exponential attention and linear attention at long-context training.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 28 of its 39 references that are in the map. First posted on arXiv 6 Jul 2025.
Builds on
28 of 39 references.
References · 28
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
16 more
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2014On the Properties of Neural Machine Translation: Encoder-Decoder Approachescited by 1,303
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
- 2024WebVoyager: Building an End-to-End Web Agent with Large Multimodal Modelscited by 424
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 200
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 197
- 2018Online normalizer calculation for softmaxcited by 154
- 2024Theory, Analysis, and Best Practices for Sigmoid Self-Attentioncited by 62
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 50
- 2021Deep neural network Based Low-latency Speech Separation with Asymmetric analysis-Synthesis Window Paircited by 6
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformerscited by 16
- 2026MeMo: Memory as a Modelcited by 4
- 2026Switching Linear Attentioncited by 0
- 2026Switching Linear Attention30 Sep 2026
- 2026MeMo: Memory as a Model14 May 2026
- 2026PISA: Piecewise Sparse Attention Is Wiser for Efficient Diffusion Transformers1 Feb 2026