Log-Linear Attention
Not on the map. Why?
Abstract (arXiv)
The attention mechanism in Transformers is an important primitive for accurate and scalable sequence modeling. Its quadratic-compute and linear-memory complexity however remain significant bottlenecks. Linear attention and state-space models enable linear-time, constant-memory sequence modeling and can moreover be trained efficiently through matmul-rich parallelization across sequence length. However, at their core these models are still RNNs, and thus their use of a fixed-size hidden state to model the context is a fundamental limitation. This paper develops log-linear attention, an attention mechanism that balances linear attention's efficiency and the expressiveness of softmax attention. Log-linear attention replaces the fixed-size hidden state with a logarithmically growing set of hidden states. We show that with a particular growth function, log-linear attention admits a similarly matmul-rich parallel form whose compute cost is log-linear in sequence length. Log-linear attention is a general framework and can be applied on top of existing linear attention variants. As case studies, we instantiate log-linear variants of two recent architectures -- Mamba-2 and Gated DeltaNet -- and find they perform well compared to their linear-time variants.
Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 60 of its 79 references that are in the map. First posted on arXiv 5 Jun 2025.
Builds on
60 of 79 references.
References · 60
- 2017Attention Is All You Needcited by 60,361
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
- 2020Reformer: The Efficient Transformercited by 1,668
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
38 more
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
- 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
- 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
- 2022Transformer Quality in Linear Timecited by 191
- 2024The Illusion of State in State-Space Modelscited by 187
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
- 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
- 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
- 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
- 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
- 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
- 2021Finetuning Pretrained Transformers into RNNscited by 96
- 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
- 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 53
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
- 2023GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modelingcited by 46
- 2023Toeplitz Neural Network for Sequence Modelingcited by 43
- 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
- 2023PolySketchFormer: Fast Transformers via Sketching Polynomial Kernelscited by 36
- 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 28
50 most cited of 60 All 60 (JSON)
Built on by
Citing papers per year: 2025: 13; 2026: 27.
40 papers.
Sort:
By area:
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025Hierarchical Reasoning Modelcited by 177
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2025Scaling Linear Attention with Sparse State Expansioncited by 13
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
- 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformerscited by 6
- 2026Stem: Rethinking Causal Information Flow in Sparse Attentioncited by 5
- 2026Dynamic Linear Attentioncited by 5
- 2025T-SHRED: Symbolic Regression for Regularization and Model Discovery with Transformer Shallow Recurrent Decoderscited by 4
28 more
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 4
- 2026Memory for Large Language Modelscited by 4
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modelingcited by 3
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 3
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inferencecited by 3
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
- 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable Statecited by 2
- 2026Learning What to Remember: Test-Time Training via Context Distillationcited by 2
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 2
- 2025Design Principles for Sequence Models via Coefficient Dynamicscited by 1
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attentioncited by 1
- 2026Length Generalization with Log-Depth Recurrent Unitscited by 1
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
- 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
- 2025A Vision Toward Energy-Efficient Domain-Specific Artificial Intelligence Models and Agentscited by 0
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attentioncited by 0
- 2026Stochastic Attention: Connectome-Inspired Randomized Routing for Expressive Linear-Time Attentioncited by 0
- 2026Long Context Pre-Training with Lighthouse Attentioncited by 0
- 2026Adaptive Memory Decay for Log-Linear Attentioncited by 0
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixingcited by 0
- 2026Online Neural Space Time Memory for Dynamic Novel View Synthesiscited by 0
- 2026Dynamic Compression in Recurrent Networkscited by 0
- 2026Latest Exact Match Attentioncited by 0
- 2026Multilinguality in Hybrid Attention LLMscited by 0
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memorycited by 0
- 2026Switching Linear Attentioncited by 0
- 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Acceleratorscited by 0
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trendscited by 0
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trends30 Sep 2026
- 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Accelerators30 Sep 2026
- 2026Switching Linear Attention30 Sep 2026
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memory28 Sep 2026
- 2026Multilinguality in Hybrid Attention LLMs28 Sep 2026
- 2026Latest Exact Match Attention22 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026Dynamic Compression in Recurrent Networks18 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
28 more
- 2026Online Neural Space Time Memory for Dynamic Novel View Synthesis16 Jul 2026
- 2026Dynamic Linear Attention9 Jun 2026
- 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixing29 May 2026
- 2026Length Generalization with Log-Depth Recurrent Units25 May 2026
- 2026Adaptive Memory Decay for Log-Linear Attention7 May 2026
- 2026Long Context Pre-Training with Lighthouse Attention7 May 2026
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attention7 May 2026
- 2026Stochastic Attention: Connectome-Inspired Randomized Routing for Expressive Linear-Time Attention1 Apr 2026
- 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inference20 Mar 2026
- 2026Stem: Rethinking Causal Information Flow in Sparse Attention6 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State12 Feb 2026
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Models3 Feb 2026
- 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention2 Feb 2026
- 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attention24 Jan 2026
- 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformers18 Dec 2025
- 2025TNT: Improving Chunkwise Training for Test-Time Memorization10 Nov 2025
- 2025Kimi Linear: An Expressive, Efficient Attention Architecture30 Oct 2025
- 2025A Vision Toward Energy-Efficient Domain-Specific Artificial Intelligence Models and Agents24 Oct 2025
- 2025Design Principles for Sequence Models via Coefficient Dynamics10 Oct 2025
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Few21 Sep 2025
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Search21 Aug 2025
- 2025Scaling Linear Attention with Sparse State Expansion22 Jul 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modeling10 Jul 2025
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modeling6 Jul 2025
- 2025Hierarchical Reasoning Model26 Jun 2025
- 2025T-SHRED: Symbolic Regression for Regularization and Model Discovery with Transformer Shallow Recurrent Decoders18 Jun 2025
- 2025Sequential-Parallel Duality in Prefix Scannable Models12 Jun 2025
- 2025Hierarchical Reasoning Modelcited by 177
- 2026Stem: Rethinking Causal Information Flow in Sparse Attentioncited by 5
- 2026Stem: Rethinking Causal Information Flow in Sparse Attention6 Mar 2026
- 2025Hierarchical Reasoning Model26 Jun 2025
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025Kimi Linear: An Expressive, Efficient Attention Architecture30 Oct 2025
- 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
- 2025Sequential-Parallel Duality in Prefix Scannable Models12 Jun 2025
- 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
- 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2025Scaling Linear Attention with Sparse State Expansioncited by 13
- 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
- 2026Dynamic Linear Attentioncited by 5
- 2025T-SHRED: Symbolic Regression for Regularization and Model Discovery with Transformer Shallow Recurrent Decoderscited by 4
- 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 4
- 2026Memory for Large Language Modelscited by 4
- 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modelingcited by 3
- 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 3
- 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
12 most cited of 32 All 32 (JSON)
- 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trends30 Sep 2026
- 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Accelerators30 Sep 2026
- 2026Switching Linear Attention30 Sep 2026
- 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memory28 Sep 2026
- 2026Latest Exact Match Attention22 Sep 2026
- 2026Safin-1: Safety from Within through Memory-Native State Evolution31 Aug 2026
- 2026Dynamic Compression in Recurrent Networks18 Aug 2026
- 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modeling17 Aug 2026
- 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchors12 Aug 2026
- 2026Learning What to Remember: Test-Time Training via Context Distillation3 Aug 2026
- 2026Memory for Large Language Models28 Jul 2026
- 2026Online Neural Space Time Memory for Dynamic Novel View Synthesis16 Jul 2026
12 newest of 32 All 32 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformers
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
- 2025LASP-2: Rethinking Sequence Parallelism for Linear Attention and Its Hybrid
- 2025ParallelFlow: Parallelizing Linear Transformers via Flow Discretization
- 2024Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences
- 2023Rethinking Attention: Exploring Shallow Feed-Forward Neural Networks as an Alternative to Attention Layers in Transformers
- 2024Attention as an RNN
- 2025Rethinking Transformer Connectivity: TLinFormer, A Path to Exact, Full Context-Aware Linear Attention