Sub-Linear Memory: How to Make Performers SLiM
Not on the map. Why?
Abstract (arXiv)
The Transformer architecture has revolutionized deep learning on sequential data, becoming ubiquitous in state-of-the-art solutions for a wide variety of applications. Yet vanilla Transformers are notoriously resource-expensive, requiring O(L2) in serial time and memory as functions of input length L. Recent works proposed various linear self-attention mechanisms, scaling only as O(L) for serial computation. We perform a thorough analysis of recent Transformer mechanisms with linear self-attention, Performers, in terms of overall computational complexity. We observe a remarkable computational flexibility: forward and backward propagation can be performed with no approximations using sublinear memory as a function of L (in addition to negligible storage for the input sequence), at a cost of greater time complexity in the parallel setting. In the extreme case, a Performer consumes only O(1) memory during training, and still requires O(L) time. This discovered time-memory tradeoff can be used for training or, due to complete backward-compatibility, for fine-tuning on a low-memory device, e.g. a smartphone or an earlier-generation GPU, thus contributing towards decentralized and democratized deep learning.
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 5; 2024: 2; 2025: 1; 2026: 4.
18 papers.
Sort:
By area:
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022On The Computational Complexity of Self-Attentioncited by 137
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 123
- 2023S3: Increasing GPU Utilization during Generative Inference for Higher Throughputcited by 81
- 2024Accelerating Transformers with Spectrum-Preserving Token Mergingcited by 35
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2021PermuteFormer: Efficient Relative Position Encoding for Long Sequencescited by 14
- 2023Simplex Random Featurescited by 9
- 2023Mnemosyne: Learning to Train Transformers with Transformerscited by 9
- 2025How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need?cited by 4
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operatorscited by 3
6 more
- 2026Manifold Random Featurescited by 1
- 2026SLAY: Geometry-Aware Spherical Linearized Attention with Yat-Kernelcited by 1
- 2022Multiple View Performers for Shape Completioncited by 0
- 2023Less is More! A slim architecture for optimal language translationcited by 0
- 2024Linear Attention is Enough in Spatial-Temporal Forecastingcited by 0
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decouplingcited by 0
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decoupling8 Apr 2026
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operators17 Mar 2026
- 2026SLAY: Geometry-Aware Spherical Linearized Attention with Yat-Kernel4 Feb 2026
- 2026Manifold Random Features3 Feb 2026
- 2025How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need?7 Nov 2025
- 2024Linear Attention is Enough in Spatial-Temporal Forecasting17 Aug 2024
- 2024Accelerating Transformers with Spectrum-Preserving Token Merging25 May 2024
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Merging2 Dec 2023
- 2023S3: Increasing GPU Utilization during Generative Inference for Higher Throughput9 Jun 2023
- 2023Less is More! A slim architecture for optimal language translation18 May 2023
- 2023Mnemosyne: Learning to Train Transformers with Transformers2 Feb 2023
- 2023Simplex Random Features31 Jan 2023
6 more
- 2022Multiple View Performers for Shape Completion13 Sep 2022
- 2022On The Computational Complexity of Self-Attention11 Sep 2022
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness27 May 2022
- 2022A Fast Transformer-based General-Purpose Lossless Compressor30 Mar 2022
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximation28 Oct 2021
- 2021PermuteFormer: Efficient Relative Position Encoding for Long Sequences6 Sep 2021
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022On The Computational Complexity of Self-Attentioncited by 137
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
- 2022A Fast Transformer-based General-Purpose Lossless Compressorcited by 26
- 2021PermuteFormer: Efficient Relative Position Encoding for Long Sequencescited by 14
- 2023Simplex Random Featurescited by 9
- 2023Mnemosyne: Learning to Train Transformers with Transformerscited by 9
- 2025How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need?cited by 4
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operatorscited by 3
- 2026Manifold Random Featurescited by 1
- 2026SLAY: Geometry-Aware Spherical Linearized Attention with Yat-Kernelcited by 1
- 2022Multiple View Performers for Shape Completioncited by 0
12 most cited of 15 All 15 (JSON)
- 2026Efficient Learned Data Compression via Dual-Stream Feature Decoupling8 Apr 2026
- 2026GIST: Gauge-Invariant Spectral Transformers for Scalable Graph Neural Operators17 Mar 2026
- 2026SLAY: Geometry-Aware Spherical Linearized Attention with Yat-Kernel4 Feb 2026
- 2026Manifold Random Features3 Feb 2026
- 2025How Many Tokens Do 3D Point Cloud Transformer Architectures Really Need?7 Nov 2025
- 2024Linear Attention is Enough in Spatial-Temporal Forecasting17 Aug 2024
- 2023Less is More! A slim architecture for optimal language translation18 May 2023
- 2023Mnemosyne: Learning to Train Transformers with Transformers2 Feb 2023
- 2023Simplex Random Features31 Jan 2023
- 2022Multiple View Performers for Shape Completion13 Sep 2022
- 2022On The Computational Complexity of Self-Attention11 Sep 2022
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness27 May 2022
12 newest of 15 All 15 (JSON)