FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores
Not on the map. Why?
Abstract (arXiv)
Convolution models with long filters have demonstrated state-of-the-art reasoning abilities in many long-sequence tasks but lag behind the most optimized Transformers in wall-clock time. A major bottleneck is the Fast Fourier Transform (FFT)--which allows long convolutions to run in O(N logN) time in sequence length N but has poor hardware utilization. In this paper, we study how to optimize the FFT convolution. We find two key bottlenecks: the FFT does not effectively use specialized matrix multiply units, and it incurs expensive I/O between layers of the memory hierarchy. In response, we propose FlashFFTConv. FlashFFTConv uses a matrix decomposition that computes the FFT using matrix multiply units and enables kernel fusion for long sequences, reducing I/O. We also present two sparse convolution algorithms--1) partial convolutions and 2) frequency-sparse convolutions--which can be implemented simply by skipping blocks in the matrix decomposition, enabling further opportunities for memory and compute savings. FlashFFTConv speeds up exact FFT convolutions by up to 7.93× over PyTorch and achieves up to 4.4× speedup end-to-end. Given the same compute budget, FlashFFTConv allows Hyena-GPT-s to achieve 2.3 points better perplexity on the PILE and M2-BERT-base to achieve 3.3 points higher GLUE score--matching models with twice the parameter count. FlashFFTConv also achieves 96.1% accuracy on Path-512, a high-resolution vision task where no model had previously achieved better than 50%. Furthermore, partial convolutions enable longer-sequence models--yielding the first DNA model that can process the longest human genes (2.3M base pairs)--and frequency-sparse convolutions speed up pretrained models while maintaining or improving model quality.
Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 79 of its 114 references that are in the map. First posted on arXiv 10 Nov 2023.
Builds on
79 of 114 references.
References · 79
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2017Neural Discrete Representation Learningcited by 4,650
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2022A ConvNet for the 2020scited by 3,545
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
38 more
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2017Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictionscited by 800
- 2020Efficient Transformers: A Surveycited by 784
- 2022Simplified State Space Layers for Sequence Modelingcited by 776
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
- 2020Jukebox: A Generative Model for Musiccited by 535
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
- 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
- 2019MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesiscited by 351
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2021Generative Spoken Language Modeling from Raw Audiocited by 336
- 2018WaveGlow: A Flow-based Generative Network for Speech Synthesiscited by 308
- 2022Long Range Language Modeling via Gated State Spacescited by 265
- 2017Learning to Prune Deep Neural Networks via Layer-wise Optimal Brain Surgeoncited by 219
- 2018Efficient Neural Audio Synthesiscited by 218
- 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
- 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
- 2023HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolutioncited by 187
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2022It's Raw! Audio Generation with State-Space Modelscited by 171
- 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
- 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
- 2018Online normalizer calculation for softmaxcited by 154
- 2022Liquid Structural State-Space Modelscited by 134
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
50 most cited of 79 All 79 (JSON)
Built on by
Citing papers per year: 2023: 1; 2024: 21; 2025: 6; 2026: 4.
32 papers.
Sort:
By area:
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
- 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 71
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
- 2024State-Free Inference of State-Space Models: The Transfer Function Approachcited by 18
- 2024SambaNova SN40L: Scaling the AI Memory Wall with Dataflow and Composition of Expertscited by 18
- 2024State Space Models on Temporal Graphs: A First-Principles Studycited by 16
- 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
- 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scalecited by 12
20 more
- 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernelscited by 12
- 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modelingcited by 10
- 2024Orchid: Flexible and Data-Dependent Convolution for Sequence Modelingcited by 6
- 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspectivecited by 6
- 2024SE(3)-Hyena Operator for Scalable Equivariant Learningcited by 6
- 2024Flash STU: Fast Spectral Transform Unitscited by 6
- 2024PACE: Pacing Operator Learning to Accurate Optical Field Simulation for Complicated Photonic Devicescited by 5
- 2024AcceleratedLiNGAM: Learning Causal DAGs at the speed of GPUscited by 4
- 2024A Fast Convoluted Story: Scaling Probabilistic Inference for Integer Arithmeticcited by 3
- 2024Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyondcited by 3
- 2024Reparameterized Multi-Resolution Convolutions for Long Sequence Modellingcited by 2
- 2025Recurrence-Complete Frame-based Action Modelscited by 2
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
- 2024Want to train KANS at scale? Now UKAN!cited by 1
- 2024Birdie: Advancing State Space Models with Reward-Driven Objectives and Curriculacited by 1
- 2026Otter Weather: Skillful and Computationally Efficient Medium-Range Weather Forecastingcited by 1
- 2025Enabling Long FFT Convolutions on Memory-Constrained FPGAs via Chunkingcited by 0
- 2026RubiConv -- Efficient Boundary-Respecting Convolutionscited by 0
- 2026Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutionscited by 0
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attentioncited by 0
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutions1 Jul 2026
- 2026Otter Weather: Skillful and Computationally Efficient Medium-Range Weather Forecasting24 Jun 2026
- 2026RubiConv -- Efficient Boundary-Respecting Convolutions8 May 2026
- 2025Enabling Long FFT Convolutions on Memory-Constrained FPGAs via Chunking28 Dec 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025Recurrence-Complete Frame-based Action Models8 Oct 2025
- 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modeling27 May 2025
- 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels18 Mar 2025
- 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scale25 Feb 2025
- 2024PACE: Pacing Operator Learning to Accurate Optical Field Simulation for Complicated Photonic Devices5 Nov 2024
- 2024Birdie: Advancing State Space Models with Reward-Driven Objectives and Curricula1 Nov 2024
20 more
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernels27 Oct 2024
- 2024Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyond16 Oct 2024
- 2024A Fast Convoluted Story: Scaling Probabilistic Inference for Integer Arithmetic16 Oct 2024
- 2024Flash STU: Fast Spectral Transform Units16 Sep 2024
- 2024Want to train KANS at scale? Now UKAN!20 Aug 2024
- 2024Reparameterized Multi-Resolution Convolutions for Long Sequence Modelling18 Aug 2024
- 2024GroupMamba: Efficient Group-Based Visual State Space Model18 Jul 2024
- 2024SE(3)-Hyena Operator for Scalable Equivariant Learning1 Jul 2024
- 2024State Space Models on Temporal Graphs: A First-Principles Study3 Jun 2024
- 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspective27 May 2024
- 2024SambaNova SN40L: Scaling the AI Memory Wall with Dataflow and Composition of Experts13 May 2024
- 2024State-Free Inference of State-Space Models: The Transfer Function Approach10 May 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Survey15 Apr 2024
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Models12 Apr 2024
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series22 Mar 2024
- 2024AcceleratedLiNGAM: Learning Causal DAGs at the speed of GPUs6 Mar 2024
- 2024Orchid: Flexible and Data-Dependent Convolution for Sequence Modeling28 Feb 2024
- 2024Hydragen: High-Throughput LLM Inference with Shared Prefixes7 Feb 2024
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
- 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
- 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modelingcited by 10
- 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modeling27 May 2025
- 2024GroupMamba: Efficient Group-Based Visual State Space Model18 Jul 2024
- 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challenges24 Apr 2024
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time series22 Mar 2024
- 2023Gated Linear Attention Transformers with Hardware-Efficient Training11 Dec 2023
- 2025Recurrence-Complete Frame-based Action Modelscited by 2
- 2025Recurrence-Complete Frame-based Action Models8 Oct 2025
- 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 71
- 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
- 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
- 2024State-Free Inference of State-Space Models: The Transfer Function Approachcited by 18
- 2024SambaNova SN40L: Scaling the AI Memory Wall with Dataflow and Composition of Expertscited by 18
- 2024State Space Models on Temporal Graphs: A First-Principles Studycited by 16
- 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scalecited by 12
- 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernelscited by 12
- 2024Orchid: Flexible and Data-Dependent Convolution for Sequence Modelingcited by 6
- 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspectivecited by 6
- 2024SE(3)-Hyena Operator for Scalable Equivariant Learningcited by 6
12 most cited of 26 All 26 (JSON)
- 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attention21 Sep 2026
- 2026Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutions1 Jul 2026
- 2026Otter Weather: Skillful and Computationally Efficient Medium-Range Weather Forecasting24 Jun 2026
- 2026RubiConv -- Efficient Boundary-Respecting Convolutions8 May 2026
- 2025Enabling Long FFT Convolutions on Memory-Constrained FPGAs via Chunking28 Dec 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernels18 Mar 2025
- 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scale25 Feb 2025
- 2024PACE: Pacing Operator Learning to Accurate Optical Field Simulation for Complicated Photonic Devices5 Nov 2024
- 2024Birdie: Advancing State Space Models with Reward-Driven Objectives and Curricula1 Nov 2024
- 2024ThunderKittens: Simple, Fast, and Adorable AI Kernels27 Oct 2024
- 2024Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyond16 Oct 2024
12 newest of 26 All 26 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024FlashMask: Efficient and Rich Mask Extension of FlashAttention
- 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
- 2026FlashDecoder: Real-Time Latent-to-Pixel Streaming Decoder with Transformers
- 2026FAST-Prefill: FPGA Accelerated Sparse Attention for Long Context LLM Prefill ↗
- 2024Efficient State Space Model via Fast Tensor Convolution and Block Diagonalization
- 2025FlashOmni: A Unified Sparse Attention Engine for Diffusion Transformers
- 2026FIS-DiT: Breaking the Few-Step Video Inference Barrier via Training-Free Frame Interleaved Sparsity
- 2025Flash-VStream: Efficient Real-Time Understanding for Long Video Streams