mlsanityData to 14 Oct 2026

FLuRKA: Fast and accurate unified Low-Rank & Kernel Attention

arXiv 2306.15799 ↗First posted 27 Jun 2023cs.LG cs.CL cs.PFcited by 3

Not on the map. Why?

Abstract (arXiv)

Many efficient textitapproximate self-attention techniques have become prevalent since the inception of the transformer architecture. Two popular classes of these techniques are low-rank and kernel methods. Each of these methods has its strengths. We observe these strengths synergistically complement each other and exploit them to fuse low-rank and kernel methods, producing a new class of transformers: FLuRKA (Fast Low-Rank & Kernel Attention). FLuRKA are highly textittraining-efficient with faster model speeds textitand similar model qualities compared to constituent low-rank and kernel methods. We theoretically and empirically evaluate the speed and quality of FLuRKA. Our model speed analysis posits a variety of parameter configurations where FLuRKA exhibit speedups over low-rank and kernel approximations and our model quality analysis bounds the error of FLuRKA with respect to full-attention. Empirically, we instantiate three FLuRKA variants which experience speedups of up to 3.3x and 1.7x over low-rank and kernel methods respectively. This translates to speedups of up to 20x over models with flash-attention. Across a diverse set of tasks spanning language modeling, language understanding, long sequence modeling, machine translation, and image classification, FLuRKA achieve comparable accuracy with underlying low-rank and kernel approximations, occasionally surpassing both.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 34 of its 42 references that are in the map. First posted on arXiv 27 Jun 2023.

Builds on

34 of 42 references.

References · 34

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  9. 2020Longformer: The Long-Document Transformercited by 3,413
  10. 2016Pointer Sentinel Mixture Modelscited by 3,096
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  12. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
22 more
  1. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
  2. 2020Reformer: The Efficient Transformercited by 1,668
  3. 2020Rethinking Attention with Performerscited by 1,601
  4. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  5. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  6. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
  7. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  8. 2020Efficient Transformers: A Surveycited by 790
  9. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
  10. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
  11. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
  12. 2021Random Feature Attentioncited by 354
  13. 2020Sparse Sinkhorn Attentioncited by 251
  14. 2020Synthesizer: Rethinking Self-Attention in Transformer Modelscited by 205
  15. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  16. 2019Adaptively Sparse Transformerscited by 155
  17. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  18. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  19. 2020Train Large, Then Compress: Rethinking Model Size for Efficient Training and Inference of Transformerscited by 67
  20. 2021Skyformer: Remodel Self-Attention with Gaussian Kernel and Nystr"om Methodcited by 63
  21. 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
  22. 2023Efficient Attention via Control Variatescited by 23

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2.

3 papers.