mlsanityData to 7 Oct 2026

FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores

arXiv 2311.05908 ↗First posted 10 Nov 2023cs.LGcited by 32

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  5. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  6. 2017Neural Discrete Representation Learningcited by 4,650
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  8. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  9. 2022A ConvNet for the 2020scited by 3,545
  10. 2020Longformer: The Long-Document Transformercited by 3,362
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
  12. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
38 more
  1. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  2. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  3. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  4. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
  5. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  6. 2016WaveNet: A Generative Model for Raw Audiocited by 1,710
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2020Reformer: The Efficient Transformercited by 1,658
  9. 2020Rethinking Attention with Performerscited by 1,584
  10. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  11. 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
  12. 2017Natural TTS Synthesis by Conditioning WaveNet on Mel Spectrogram Predictionscited by 800
  13. 2020Efficient Transformers: A Surveycited by 784
  14. 2022Simplified State Space Layers for Sequence Modelingcited by 776
  15. 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
  16. 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 627
  17. 2020Jukebox: A Generative Model for Musiccited by 535
  18. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  19. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 418
  20. 2020Movement Pruning: Adaptive Sparsity by Fine-Tuningcited by 398
  21. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 388
  22. 2019MelGAN: Generative Adversarial Networks for Conditional Waveform Synthesiscited by 351
  23. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  24. 2021Generative Spoken Language Modeling from Raw Audiocited by 336
  25. 2018WaveGlow: A Flow-based Generative Network for Speech Synthesiscited by 308
  26. 2022Long Range Language Modeling via Gated State Spacescited by 265
  27. 2017Learning to Prune Deep Neural Networks via Layer-wise Optimal Brain Surgeoncited by 219
  28. 2018Efficient Neural Audio Synthesiscited by 218
  29. 2019Sparse Networks from Scratch: Faster Training without Losing Performancecited by 210
  30. 2023TPU v4: An Optically Reconfigurable Supercomputer for Machine Learning with Hardware Support for Embeddingscited by 198
  31. 2023HyenaDNA: Long-Range Genomic Sequence Modeling at Single Nucleotide Resolutioncited by 187
  32. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  33. 2022It's Raw! Audio Generation with State-Space Modelscited by 171
  34. 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 161
  35. 2021Charformer: Fast Character Transformers via Gradient-based Subword Tokenizationcited by 158
  36. 2018Online normalizer calculation for softmaxcited by 154
  37. 2022Liquid Structural State-Space Modelscited by 134
  38. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128

50 most cited of 79 All 79 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 1; 2024: 21; 2025: 6; 2026: 4.

32 papers.

Sort:

By area:

  1. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  2. 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
  3. 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 71
  4. 2024Mamba-360: Survey of State Space Models as Transformer Alternative for Long Sequence Modelling: Methods, Applications, and Challengescited by 63
  5. 2024State Space Model for New-Generation Network Alternative to Transformers: A Surveycited by 59
  6. 2024CATS: Contextually-Aware Thresholding for Sparsity in Large Language Modelscited by 41
  7. 2024ThunderKittens: Simple, Fast, and Adorable AI Kernelscited by 34
  8. 2024State-Free Inference of State-Space Models: The Transfer Function Approachcited by 18
  9. 2024SambaNova SN40L: Scaling the AI Memory Wall with Dataflow and Composition of Expertscited by 18
  10. 2024State Space Models on Temporal Graphs: A First-Principles Studycited by 16
  11. 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
  12. 2025Systems and Algorithms for Convolutional Multi-Hybrid Language Models at Scalecited by 12
20 more
  1. 2025Tiled Flash Linear Attention: More Efficient Linear RNN and xLSTM Kernelscited by 12
  2. 2025Parallelization of Non-linear State-Space Models: Scaling Up Liquid-Resistance Liquid-Capacitance Networks for Efficient Sequence Modelingcited by 10
  3. 2024Orchid: Flexible and Data-Dependent Convolution for Sequence Modelingcited by 6
  4. 2024Unlocking the Secrets of Linear Complexity Sequence Model from A Unified Perspectivecited by 6
  5. 2024SE(3)-Hyena Operator for Scalable Equivariant Learningcited by 6
  6. 2024Flash STU: Fast Spectral Transform Unitscited by 6
  7. 2024PACE: Pacing Operator Learning to Accurate Optical Field Simulation for Complicated Photonic Devicescited by 5
  8. 2024AcceleratedLiNGAM: Learning Causal DAGs at the speed of GPUscited by 4
  9. 2024A Fast Convoluted Story: Scaling Probabilistic Inference for Integer Arithmeticcited by 3
  10. 2024Flash Inference: Near Linear Time Inference for Long Convolution Sequence Models and Beyondcited by 3
  11. 2024Reparameterized Multi-Resolution Convolutions for Long Sequence Modellingcited by 2
  12. 2025Recurrence-Complete Frame-based Action Modelscited by 2
  13. 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attentioncited by 2
  14. 2024Want to train KANS at scale? Now UKAN!cited by 1
  15. 2024Birdie: Advancing State Space Models with Reward-Driven Objectives and Curriculacited by 1
  16. 2026Otter Weather: Skillful and Computationally Efficient Medium-Range Weather Forecastingcited by 1
  17. 2025Enabling Long FFT Convolutions on Memory-Constrained FPGAs via Chunkingcited by 0
  18. 2026RubiConv -- Efficient Boundary-Respecting Convolutionscited by 0
  19. 2026Native Multi-Dimensional Subquadratic Operators via Input Dependent Long Convolutionscited by 0
  20. 2026FlashBoB: I/O-Efficient Exact Backward-over-Backward for Softmax Attentioncited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024FlashMask: Efficient and Rich Mask Extension of FlashAttention
  2. 2025Chipmunk: Training-Free Acceleration of Diffusion Transformers with Dynamic Column-Sparse Deltas
  3. 2026FlashDecoder: Real-Time Latent-to-Pixel Streaming Decoder with Transformers
  4. 2026FAST-Prefill: FPGA Accelerated Sparse Attention for Long Context LLM Prefill ↗
  5. 2024Efficient State Space Model via Fast Tensor Convolution and Block Diagonalization
  6. 2025FlashOmni: A Unified Sparse Attention Engine for Diffusion Transformers
  7. 2026FIS-DiT: Breaking the Few-Step Video Inference Barrier via Training-Free Frame Interleaved Sparsity
  8. 2025Flash-VStream: Efficient Real-Time Understanding for Long Video Streams