mlsanityData to 14 Oct 2026

Quasi Linear Kernel Attention with Infinite Capacity

arXiv 2609.35349 ↗First posted 28 Sep 2026cs.LG cs.NA math.NAcited by 0

Not on the map. Why?

Abstract (arXiv)

The evaluation cost of transformers with softmax attention scales quadratically with sequence length. Kernel attention addresses this by replacing softmax with a more general kernel function. In this paper, we aim to identify kernels that retain the expressivity of attention while enabling quasi linear computation. To quantify expressivity, we introduce a capacity for each kernel, measuring the maximum sequence length for which the attention matrix can approximate the identity. A higher capacity thus indicates greater expressivity. We show that expressive kernels like softmax, Gauss, and Laplace have infinite capacity. In contrast, common quasi linear kernels, such as those derived from finite dimensional feature maps, exhibit finite capacity. As a solution, we propose additive kernels constructed from univariate spline and polynomial exponential kernels. We prove that these maintain infinite capacity while allowing quasi linear computation via sorting. Finally, we implement additive sorting kernels efficiently and benchmark them against modern softmax backends, demonstrating advantages for long sequences.

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

Builds on

33 of 44 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2020Longformer: The Long-Document Transformercited by 3,413
  6. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  7. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  8. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  9. 2020Reformer: The Efficient Transformercited by 1,668
  10. 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
  11. 2020Efficient Transformers: A Surveycited by 790
  12. 2022MTEB: Massive Text Embedding Benchmarkcited by 640
21 more
  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  2. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  3. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  4. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
  5. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  6. 2021Random Feature Attentioncited by 354
  7. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 265
  8. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  9. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  10. 2024Simple linear attention language models balance the recall-throughput tradeoffcited by 208
  11. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  12. 2020Kernel Operations on the GPU, with Autodiff, without Memory Overflowscited by 104
  13. 2024Transformers are Universal In-context Learnerscited by 43
  14. 2023Generative Sliced MMD Flows with Riesz Kernelscited by 37
  15. 2024Benchmarking and Building Long-Context Retrieval Models with LoCo and M2-BERTcited by 21
  16. 2024Fast Kernel Summation in High Dimensions via Slicing and Fourier Transformscited by 8
  17. 2024Fast Summation of Radial Kernels via QMC Slicingcited by 7
  18. 2020Fast multivariate empirical cumulative distribution function with connection to kernel density estimationcited by 5
  19. 2025Fast Large Deformation Matching with the Energy Distance Kernelcited by 4
  20. 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernelcited by 3
  21. 2025Sliced ReLU attention: Quasi-linear contextual expressivity via sortingcited by 2

Built on by

Not cited yet.