mlsanityData to 14 Oct 2026

Log-Linear Attention

arXiv 2506.04761 ↗First posted 5 Jun 2025cs.LGcited by 40

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  4. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  6. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  7. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  8. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  9. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  10. 2016WaveNet: A Generative Model for Raw Audiocited by 1,722
  11. 2020Reformer: The Efficient Transformercited by 1,668
  12. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
38 more
  1. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  2. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  3. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
  4. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
  5. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  6. 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
  7. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  8. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  9. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 499
  10. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  11. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
  12. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  13. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  14. 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
  15. 2024xLSTM: Extended Long Short-Term Memorycited by 327
  16. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  17. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  18. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  19. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  20. 2022Transformer Quality in Linear Timecited by 191
  21. 2024The Illusion of State in State-Space Modelscited by 187
  22. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  23. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  24. 2024HGRN2: Gated Linear RNNs with State Expansioncited by 127
  25. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
  26. 2024Unlocking State-Tracking in Linear RNNs Through Negative Eigenvaluescited by 101
  27. 2023Uncovering mesa-optimization algorithms in Transformerscited by 100
  28. 2021Finetuning Pretrained Transformers into RNNscited by 96
  29. 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
  30. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  31. 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
  32. 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 53
  33. 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
  34. 2023GateLoop: Fully Data-Controlled Linear Recurrence for Sequence Modelingcited by 46
  35. 2023Toeplitz Neural Network for Sequence Modelingcited by 43
  36. 2019BP-Transformer: Modelling Long-Range Context via Binary Partitioningcited by 38
  37. 2023PolySketchFormer: Fast Transformers via Sketching Polynomial Kernelscited by 36
  38. 2024Compute Better Spent: Replacing Dense Layers with Structured Matricescited by 28

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 13; 2026: 27.

40 papers.

Sort:

By area:

  1. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  2. 2025Hierarchical Reasoning Modelcited by 177
  3. 2025Dynamic Chunking for End-to-End Hierarchical Sequence Modelingcited by 72
  4. 2025Jet-Nemotron: Efficient Language Model with Post Neural Architecture Searchcited by 41
  5. 2026Memory Caching: RNNs with Growing Memorycited by 15
  6. 2025Scaling Linear Attention with Sparse State Expansioncited by 13
  7. 2025Sequential-Parallel Duality in Prefix Scannable Modelscited by 8
  8. 2025TNT: Improving Chunkwise Training for Test-Time Memorizationcited by 8
  9. 2025Trainable Log-linear Sparse Attention for Efficient Diffusion Transformerscited by 6
  10. 2026Stem: Rethinking Causal Information Flow in Sparse Attentioncited by 5
  11. 2026Dynamic Linear Attentioncited by 5
  12. 2025T-SHRED: Symbolic Regression for Regularization and Model Discovery with Transformer Shallow Recurrent Decoderscited by 4
28 more
  1. 2026MDN: Parallelizing Stepwise Momentum for Delta Linear Attentioncited by 4
  2. 2026Memory for Large Language Modelscited by 4
  3. 2025RAT: Bridging RNN Efficiency and Attention Accuracy via Chunk-based Sequence Modelingcited by 3
  4. 2026Neural Attention Search Linear: Towards Adaptive Token-Level Hybrid Attention Modelscited by 3
  5. 2026KV Cache Optimization Strategies for Scalable and Efficient LLM Inferencecited by 3
  6. 2025Towards Interpretable and Efficient Attention: Compressing All by Contracting a Fewcited by 2
  7. 2026RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable Statecited by 2
  8. 2026Learning What to Remember: Test-Time Training via Context Distillationcited by 2
  9. 2026MARCH: Scaling Recurrent Memory with Content-Routed State Anchorscited by 2
  10. 2025Design Principles for Sequence Models via Coefficient Dynamicscited by 1
  11. 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attentioncited by 1
  12. 2026Length Generalization with Log-Depth Recurrent Unitscited by 1
  13. 2026Proteus: Incremental Memory Activation for Long-Context Sequence Modelingcited by 1
  14. 2026Safin-1: Safety from Within through Memory-Native State Evolutioncited by 1
  15. 2025A Vision Toward Energy-Efficient Domain-Specific Artificial Intelligence Models and Agentscited by 0
  16. 2026Power-based Partial Attention: Bridging Linear-Complexity and Full Attentioncited by 0
  17. 2026Stochastic Attention: Connectome-Inspired Randomized Routing for Expressive Linear-Time Attentioncited by 0
  18. 2026Long Context Pre-Training with Lighthouse Attentioncited by 0
  19. 2026Adaptive Memory Decay for Log-Linear Attentioncited by 0
  20. 2026Trading Complexity for Expressivity Through Structured Generalized Linear Token Mixingcited by 0
  21. 2026Online Neural Space Time Memory for Dynamic Novel View Synthesiscited by 0
  22. 2026Dynamic Compression in Recurrent Networkscited by 0
  23. 2026Latest Exact Match Attentioncited by 0
  24. 2026Multilinguality in Hybrid Attention LLMscited by 0
  25. 2026CyFA: Linear Sequence Modeling with Relative-Time-Partitioned Memorycited by 0
  26. 2026Switching Linear Attentioncited by 0
  27. 2026LampAttention: Look-Ahead Mixed-Precision FlashAttention for Dedicated Acceleratorscited by 0
  28. 2026The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging Trendscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025SCOUT: Toward Sub-Quadratic Attention via Segment Compression for Optimized Utility in Transformers
  2. 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures
  3. 2025LASP-2: Rethinking Sequence Parallelism for Linear Attention and Its Hybrid
  4. 2025ParallelFlow: Parallelizing Linear Transformers via Flow Discretization
  5. 2024Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences
  6. 2023Rethinking Attention: Exploring Shallow Feed-Forward Neural Networks as an Alternative to Attention Layers in Transformers
  7. 2024Attention as an RNN
  8. 2025Rethinking Transformer Connectivity: TLinFormer, A Path to Exact, Full Context-Aware Linear Attention