Scatterbrain: Unifying Sparse and Low-rank Attention Approximation
Not on the map. Why?
Abstract (arXiv)
Recent advances in efficient Transformers have exploited either the sparsity or low-rank properties of attention matrices to reduce the computational and memory bottlenecks of modeling long sequences. However, it is still challenging to balance the trade-off between model quality and efficiency to perform a one-size-fits-all approximation for different tasks. To better understand this trade-off, we observe that sparse and low-rank approximations excel in different regimes, determined by the softmax temperature in attention, and sparse + low-rank can outperform each individually. Inspired by the classical robust-PCA algorithm for sparse and low-rank decomposition, we propose Scatterbrain, a novel way to unify sparse (via locality sensitive hashing) and low-rank (via kernel feature map) attention for accurate and efficient approximation. The estimation is unbiased with provably low error. We empirically show that Scatterbrain can achieve 2.1x lower error than baselines when serving as a drop-in replacement in BigGAN image generation and pre-trained T2T-ViT. On a pre-trained T2T Vision transformer, even without fine-tuning, Scatterbrain can reduce 98% of attention memory at the cost of only 1% drop in accuracy. We demonstrate Scatterbrain for end-to-end training with up to 4 points better perplexity and 5 points better average accuracy than sparse or low-rank efficient transformers on language modeling and long-range-arena tasks.
Key facts. Cited by 130 papers in the map (data through 14 Oct 2026). Builds on 50 of its 77 references that are in the map. First posted on arXiv 28 Oct 2021.
Builds on
50 of 77 references.
References · 50
- 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
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
38 more
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 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
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,101
- 2020Efficient Transformers: A Surveycited by 790
- 2018Image Transformercited by 772
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 700
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
- 2020Hopfield Networks is All You Needcited by 475
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 471
- 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 471
- 2019Pay Less Attention with Lightweight and Dynamic Convolutionscited by 211
- 2019Adaptive Attention Span in Transformerscited by 149
- 2020Sparse GPU Kernels for Deep Learningcited by 141
- 2018ListOps: A Diagnostic Dataset for Latent Tree Learningcited by 129
- 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
- 2015Practical and Optimal LSH for Angular Distancecited by 106
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2018Learning long-range spatial dependencies with horizontal gated-recurrent unitscited by 98
- 2021Luna: Linear Unified Nested Attentioncited by 96
- 2019Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizationscited by 76
- 2019SLIDE : In Defense of Smart Algorithms over Hardware Acceleration for Large-Scale Deep Learning Systemscited by 46
- 2020SMYRF: Efficient Attention using Asymmetric Clusteringcited by 43
- 2015Structured Transforms for Small-Footprint Deep Learningcited by 42
- 2020Kaleidoscope: An Efficient, Learnable Representation For All Structured Linear Mapscited by 36
- 2014Global Convergence of Stochastic Gradient Descent for Some Non-convex Matrix Problemscited by 25
- 2020Simplified Self-Attention for Transformer-based End-to-End Speech Recognitioncited by 20
- 2018Learning Compressed Transforms with Low Displacement Rankcited by 19
- 2020Sub-Linear Memory: How to Make Performers SLiMcited by 18
- 2019Butterfly Transform: An Efficient FFT Based Neural Architecture Designcited by 16
- 2021Scalable Optimal Transport in High Dimensions for Graph Distances, Embedding Alignment, and Morecited by 11
- 2020Climbing the WOL: Training for Cheaper Inferencecited by 5
- 2020A Tale of Two Efficient and Informative Negative Sampling Distributionscited by 5
- 2017Unique Entity Estimation with Application to the Syrian Conflictcited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 14; 2023: 39; 2024: 36; 2025: 26; 2026: 14.
130 papers.
Sort:
By area:
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 294
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023A Cookbook of Self-Supervised Learningcited by 250
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2023Fast Attention Requires Bounded Entriescited by 102
38 more
- 2023Modeling Dense Multimodal Interactions Between Biological Pathways and Histology for Survival Predictioncited by 92
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 68
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 67
- 2023KDEformer: Accelerating Transformers via Kernel Density Estimationcited by 58
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 52
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
- 2022Rank Diminishing in Deep Neural Networkscited by 47
- 2024Why Larger Language Models Do In-context Learning Differently?cited by 45
- 2024SLTrain: a sparse plus low-rank approach for parameter and memory efficient pretrainingcited by 45
- 2024Post-Training Sparse Attention with Double Sparsitycited by 45
- 2023Solving Regularized Exp, Cosh and Sinh Regression Problemscited by 44
- 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
- 2023The Closeness of In-Context Learning and Weight Shifting for Softmax Regressioncited by 41
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
- 2024SampleAttention: Near-Lossless Acceleration of Long Context LLM Inference with Adaptive Structured Sparse Attentioncited by 39
- 2022Compute-Efficient Deep Learning: Algorithmic Trends and Opportunitiescited by 38
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2023Randomized and Deterministic Attention Sparsification Algorithms for Over-parameterized Feature Dimensioncited by 37
- 2024Transformers are Minimax Optimal Nonparametric In-Context Learnerscited by 37
- 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Corescited by 33
- 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
- 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 31
- 2023Neuron Structure Modeling for Generalizable Remote Physiological Measurementcited by 31
- 2022ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attentioncited by 29
- 2023A Mathematical Abstraction for Balancing the Trade-off Between Creativity and Reality in Large Language Modelscited by 29
- 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Modelscited by 27
- 2023On Efficient Training of Large-Scale Deep Learning Models: A Literature Reviewcited by 26
- 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26
- 2023Cuttlefish: Low-Rank Model Training without All the Tuningcited by 25
- 2023Efficient Attention via Control Variatescited by 23
- 2025Block-Sparse Global Attention for Efficient Multi-View Geometry Transformerscited by 23
- 2023Solving Attention Kernel Regression Problem via Pre-conditionercited by 20
- 2024SLoPe: Double-Pruned Sparse Plus Lazy Low-Rank Adapter Pretraining of LLMscited by 20
50 most cited of 130 All 130 (JSON)
- 2026Accelerating Cross-Model LLM Inference via Attention Map Reuse10 Oct 2026
- 2026Intrinsic Interaction Geometry Controls the Low-Rank Complexity of Softmax Attention28 Aug 2026
- 2026ClusterAttention: A training-free speedup of bidirectional attention27 Aug 2026
- 2026Compression Trinity: Exploring Sparsity, Quantization, and Low-Rank Approximations for LLM Compression25 Aug 2026
- 2026ELSAA: Efficient Low-Rank and Sparse Attention Approximation for Training Transformers22 Jul 2026
- 2026Structural Correspondence and Universal Approximation in Diagonal plus Low-Rank Neural Networks7 May 2026
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference24 Apr 2026
- 2026DASH-KV: Accelerating Long-Context LLM Inference via Asymmetric KV Cache Hashing21 Apr 2026
- 2026Swift-SVD: Theoretical Optimality Meets Practical Efficiency in Low-Rank LLM Compression2 Apr 2026
- 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformation5 Mar 2026
- 2026MonarchRT: Efficient Attention for Real-Time Video Generation12 Feb 2026
- 2026WildCat: Near-Linear Attention in Theory and Practice10 Feb 2026
38 more
- 2026KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMs5 Feb 2026
- 2026Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity30 Jan 2026
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025Analyzing the Mechanism of Attention Collapse in VGGT from a Dynamics Perspective25 Dec 2025
- 2025Inpainting the Neural Picture: Inferring Unrecorded Brain Area Dynamics from Multi-Animal Datasets13 Oct 2025
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse11 Oct 2025
- 2025Towards Sampling Data Structures for Tensor Products in Turnstile Streams4 Oct 2025
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matrices9 Sep 2025
- 2025Block-Sparse Global Attention for Efficient Multi-View Geometry Transformers8 Sep 2025
- 2025SpikingBrain: Spiking Brain-inspired Large Models5 Sep 2025
- 2025Representation Shift: Unifying Token Compression with FlashAttention1 Aug 2025
- 2025Improved Algorithms for Kernel Matrix-Vector Multiplication Under Sparsity Assumptions31 Jul 2025
- 2025Reparameterized LLM Training via Orthogonal Equivalence Transformation9 Jun 2025
- 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas3 Jun 2025
- 2025LoLA: Low-Rank Linear Attention With Sparse Caching29 May 2025
- 2025TuneComp: Joint Fine-tuning and Compression for Large Foundation Models27 May 2025
- 2025MonarchAttention: Zero-Shot Conversion to Fast, Hardware-Aware Structured Attention24 May 2025
- 2025ProxySPEX: Inference-Efficient Interpretability via Sparse Feature Interactions in LLMs23 May 2025
- 2025Generalized Neighborhood Attention: Multi-dimensional Sparse Attention at the Speed of Light23 Apr 2025
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Eviction18 Apr 2025
- 2025Lattice: Learning to Efficiently Compress the Memory8 Apr 2025
- 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decoding14 Mar 2025
- 2025Radar: Fast Long-Context Decoding for Any Transformer13 Mar 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2025SPEX: Scaling Feature Interaction Explanations for LLMs19 Feb 2025
- 2025Low-Rank Thinning17 Feb 2025
- 2025Unveiling Simplicities of Attention: Adaptive Long-Context Head Identification11 Feb 2025
- 2025CEReBrO: Compact Encoder for Representations of Brain Oscillations Using Efficient Alternating Attention18 Jan 2025
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024Selective Attention: Enhancing Transformer through Principled Context Control19 Nov 2024
- 2024MagicPIG: LSH Sampling for Efficient LLM Generation21 Oct 2024
- 2024LoLCATs: On Low-Rank Linearizing of Large Language Models14 Oct 2024
- 2024Unified Error Correction Code Transformer with Low Complexity4 Oct 2024
- 2024GLMHA A Guided Low-rank Multi-Head Self-Attention for Efficient Image Restoration and Spectral Reconstruction1 Oct 2024
- 2024Transformers are Minimax Optimal Nonparametric In-Context Learners22 Aug 2024
- 2024Practical token pruning for foundation models in few-shot conversational virtual assistant systems21 Aug 2024
- 2024S3Attention: Improving Long Sequence Attention with Smoothed Skeleton Sketching16 Aug 2024
- 2024Post-Training Sparse Attention with Double Sparsity11 Aug 2024
50 newest of 130 All 130 (JSON)
- 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 439
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2024Get More with LESS: Synthesizing Recurrence with KV Cache Compression for Efficient LLM Inferencecited by 75
- 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Evictioncited by 13
- 2024NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free Attentioncited by 12
- 2024Pruning One More Token is Enough: Leveraging Latency-Workload Non-Linearities for Vision Transformers on the Edgecited by 9
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2025Representation Shift: Unifying Token Compression with FlashAttentioncited by 5
- 2026KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMscited by 5
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Servingcited by 3
12 most cited of 17 All 17 (JSON)
- 2026Accelerating Cross-Model LLM Inference via Attention Map Reuse10 Oct 2026
- 2026DASH-KV: Accelerating Long-Context LLM Inference via Asymmetric KV Cache Hashing21 Apr 2026
- 2026Swift-SVD: Theoretical Optimality Meets Practical Efficiency in Low-Rank LLM Compression2 Apr 2026
- 2026KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMs5 Feb 2026
- 2025Representation Shift: Unifying Token Compression with FlashAttention1 Aug 2025
- 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Eviction18 Apr 2025
- 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decoding14 Mar 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2024Practical token pruning for foundation models in few-shot conversational virtual assistant systems21 Aug 2024
- 2024Pruning One More Token is Enough: Leveraging Latency-Workload Non-Linearities for Vision Transformers on the Edge1 Jul 2024
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion26 May 2024
- 2024The CAP Principle for LLM Serving: A Survey of Long-Context Large Language Model Serving18 May 2024
12 newest of 17 All 17 (JSON)
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2024ThinK: Thinner Key Cache by Query-Driven Pruningcited by 68
- 2024Titans: Learning to Memorize at Test Time31 Dec 2024
- 2024ThinK: Thinner Key Cache by Query-Driven Pruning30 Jul 2024
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reusecited by 16
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse11 Oct 2025
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2024FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisioncited by 519
- 2023SqueezeLLM: Dense-and-Sparse Quantizationcited by 294
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023A Cookbook of Self-Supervised Learningcited by 250
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2023Modeling Dense Multimodal Interactions Between Biological Pathways and Histology for Survival Predictioncited by 92
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
12 most cited of 105 All 105 (JSON)
- 2026Intrinsic Interaction Geometry Controls the Low-Rank Complexity of Softmax Attention28 Aug 2026
- 2026ClusterAttention: A training-free speedup of bidirectional attention27 Aug 2026
- 2026Compression Trinity: Exploring Sparsity, Quantization, and Low-Rank Approximations for LLM Compression25 Aug 2026
- 2026ELSAA: Efficient Low-Rank and Sparse Attention Approximation for Training Transformers22 Jul 2026
- 2026Structural Correspondence and Universal Approximation in Diagonal plus Low-Rank Neural Networks7 May 2026
- 2026SpikingBrain2.0: Brain-Inspired Foundation Models for Efficient Long-Context and Cross-Platform Inference24 Apr 2026
- 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformation5 Mar 2026
- 2026WildCat: Near-Linear Attention in Theory and Practice10 Feb 2026
- 2026Fast Forward: Accelerating LLM Prefill with Predictive FFN Sparsity30 Jan 2026
- 2025Trellis: Learning to Compress Key-Value Memory in Attention Models29 Dec 2025
- 2025Analyzing the Mechanism of Attention Collapse in VGGT from a Dynamics Perspective25 Dec 2025
- 2025Inpainting the Neural Picture: Inferring Unrecorded Brain Area Dynamics from Multi-Animal Datasets13 Oct 2025
12 newest of 105 All 105 (JSON)