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