mlsanityData to 7 Oct 2026

Exact Linear Attention

arXiv 2605.18848 ↗First posted 13 May 2026cs.LG cs.AIcited by 0

On the map: Mixture-of-experts → Expert routing strategies

also in 1 more
Abstract (arXiv)

This paper introduces Exact Linear Attention (ELA), a mechanism that achieves linear computational complexity for Transformer attention by exploiting the exact decomposition property of kernel functions, thereby eliminating approximation error. We identify and address two key limitations of prior linear attention -- gradient explosion and token attention dilution -- by imposing kernel constraints that ensure non-negativity, discriminability, and geometric interpretability. Several kernel functions are proposed, including the Hadamard Exp Kernel, Summation Squared Euclidean Distance Kernel, and Subtraction Squared Euclidean Distance Kernel, each tailored for specific attention behaviors. Beyond the core attention formulation, the paper presents three engineering innovations: (1) a Hyper-Link structure that replaces traditional residual connections to mitigate gradient degradation; (2) a Memory Lobe module based on bidirectional linear attention, which captures "transformation flow" across layers to implement qualitative memory and an implicit reinforcement learning paradigm; and (3) a routing-score-based bias mechanism for Mixture-of-Experts (MoE) to improve interpretability and semantic alignment. Experimental results demonstrate that ELA achieves up to 6x faster decoding speed and 75% reduction in KV cache memory usage compared to full attention, while maintaining comparable or superior training performance. The proposed memory module accelerates convergence and enhances generalization. Furthermore, we extend the linear attention principle to vision models, yielding YOLO-LAT, which attains up to 4.3x GPU inference speedup and 7.9x parameter reduction with competitive detection accuracy. These results underline the broad applicability of exact linear attention for scaling Transformer models to ultra-long sequences and efficient visual tasks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Expert routing strategies, one of 12 directions in Mixture-of-experts. Builds on 36 of its 47 references that are in the map. First posted on arXiv 13 May 2026.

Builds on

36 of 47 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity11 Jan

Other references · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2020End-to-End Object Detection with Transformerscited by 7,384
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2015You Only Look Once: Unified, Real-Time Object Detectioncited by 4,829
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2022Training Compute-Optimal Large Language Modelscited by 2,927
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
23 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  2. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,573
  5. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  6. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
  7. 2022YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectorscited by 978
  8. 2019Attention is not Explanationcited by 916
  9. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
  10. 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
  11. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  12. 2014Neural Turing Machinescited by 630
  13. 2021Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LMcited by 621
  14. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
  15. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 471
  16. 2014Memory Networkscited by 354
  17. 2022cosFormer: Rethinking Softmax in Attentioncited by 212
  18. 2025MiniMax-01: Scaling Foundation Models with Lightning Attentioncited by 157
  19. 2022The Devil in Linear Transformercited by 98
  20. 2024Hyper-Connectionscited by 81
  21. 2026Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Modelscited by 78
  22. 2025mHC: Manifold-Constrained Hyper-Connectionscited by 76
  23. 2025The Linear Attention Resurrection in Vision Transformercited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025Rethinking Transformer Connectivity: TLinFormer, A Path to Exact, Full Context-Aware Linear Attention
  2. 2023Gated Linear Attention Transformers with Hardware-Efficient Training
  3. 2025Exact Flow Linear Attention: Exact Solution from Continuous-Time Dynamics
  4. 2026Kernelized Linear Attention: Breaking the Capacity Wall with Symmetric Cones
  5. 2024MetaLA: Unified Optimal Linear Approximation to Softmax Attention Map
  6. 2026HLA: Hadamard Linear Attention
  7. 2025Kimi Linear: An Expressive, Efficient Attention Architecture
  8. 2026A Provable Expressiveness Hierarchy in Hybrid Linear-Full Attention