mlsanityData to 14 Oct 2026

Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizations

arXiv 1903.05895 ↗First posted 14 Mar 2019cs.LG stat.MLcited by 76

Not on the map. Why?

Abstract (arXiv)

Fast linear transforms are ubiquitous in machine learning, including the discrete Fourier transform, discrete cosine transform, and other structured transformations such as convolutions. All of these transforms can be represented by dense matrix-vector multiplication, yet each has a specialized and highly efficient (subquadratic) algorithm. We ask to what extent hand-crafting these algorithms and implementations is necessary, what structural priors they encode, and how much knowledge is required to automatically learn a fast algorithm for a provided structured transform. Motivated by a characterization of fast matrix-vector multiplication as products of sparse matrices, we introduce a parameterization of divide-and-conquer methods that is capable of representing a large class of transforms. This generic formulation can automatically learn an efficient algorithm for many important transforms; for example, it recovers the O(N log N) Cooley-Tukey FFT algorithm to machine precision, for dimensions N up to 1024. Furthermore, our method can be incorporated as a lightweight replacement of generic matrices in machine learning pipelines to learn efficient and compressible transformations. On a standard task of compressing a single hidden-layer network, our method exceeds the classification accuracy of unconstrained matrices on CIFAR-10 by 3.9 points -- the first time a structured approach has done so -- with 4X faster inference speed and 40X fewer parameters.

Key facts. Cited by 76 papers in the map (data through 14 Oct 2026). First posted on arXiv 14 Mar 2019.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 6; 2022: 9; 2023: 17; 2024: 13; 2025: 18; 2026: 13.

76 papers.

Sort:

By area:

  1. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  2. 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
  3. 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsitycited by 217
  4. 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
  5. 2023Parameter-Efficient Orthogonal Finetuning via Butterfly Factorizationcited by 114
  6. 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
  7. 2023Learning to Grow Pretrained Models for Efficient Transformer Trainingcited by 83
  8. 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
  9. 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
  10. 2024Mixture-of-Subspaces in Low-Rank Adaptationcited by 47
  11. 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
  12. 2025Log-Linear Attentioncited by 40
38 more
  1. 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Corescited by 33
  2. 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 31
  3. 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 26
  4. 2021Rethinking Neural Operations for Diverse Taskscited by 18
  5. 2026Memory Caching: RNNs with Growing Memorycited by 15
  6. 2021Learning quantum data with the quantum Earth Mover's distancecited by 13
  7. 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matricescited by 13
  8. 2022ButterflyFlow: Building Invertible Layers with Butterfly Matricescited by 12
  9. 2025ButterflyQuant: Ultra-low-bit LLM Quantization through Learnable Orthogonal Butterfly Transformscited by 10
  10. 2023Simplex Random Featurescited by 9
  11. 2025Position: Curvature Matrices Should Be Democratized via Linear Operatorscited by 9
  12. 2025Reparameterized LLM Training via Orthogonal Equivalence Transformationcited by 9
  13. 2025Scaling Probabilistic Circuits via Monarch Matricescited by 9
  14. 2022Deformable Butterfly: A Highly Structured and Sparse Linear Transformcited by 8
  15. 2023CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebracited by 7
  16. 2024Symmetry-Based Structured Matrices for Efficient Approximately Equivariant Networkscited by 7
  17. 2023Training Energy-Based Normalizing Flow with Score-Matching Objectivescited by 6
  18. 2024SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAscited by 6
  19. 2024Two Sparse Matrices are Better than One: Sparsifying Neural Networks with Double Sparse Factorizationcited by 6
  20. 2025MoST: Efficient Monarch Sparse Tuning for 3D Representation Learningcited by 6
  21. 2023Exploiting Sparsity in Pruned Neural Networks to Optimize Large Model Trainingcited by 5
  22. 2023Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networkscited by 5
  23. 2025MonarchAttention: Zero-Shot Conversion to Fast, Hardware-Aware Structured Attentioncited by 5
  24. 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformationcited by 5
  25. 2026HARP: Hadamard-Preconditioned Adaptive Rotation Processor for Extreme LLM Quantizationcited by 5
  26. 2024Geometry is All You Need: A Unified Taxonomy of Matrix and Tensor Factorization for Compression of Generative Language Modelscited by 4
  27. 2025SPECTRE: An FFT-Based Efficient Drop-In Replacement to Self-Attention for Long Contextscited by 4
  28. 2024ReALLM: A general framework for LLM compression and fine-tuningcited by 3
  29. 2024BLAST: Block-Level Adaptive Structured Matrices for Efficient Deep Neural Network Inferencecited by 3
  30. 2025TreeQ: Pushing the Quantization Boundary of Diffusion Transformer via Tree-Structured Mixed-Precision Searchcited by 3
  31. 2021Efficient Identification of Butterfly Sparse Matrix Factorizationscited by 2
  32. 2023Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matricescited by 2
  33. 2024Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layerscited by 2
  34. 2024MoRe Fine-Tuning with 10x Fewer Parameterscited by 2
  35. 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Maskscited by 2
  36. 2025Revisiting Deep Information Propagation: Fractal Frontier and Finite-size Effectscited by 2
  37. 2021Identifiability in Two-Layer Sparse Matrix Factorizationcited by 1
  38. 2022Arithmetic Circuits, Structured Matrices and (not so) Deep Learningcited by 1

50 most cited of 76 All 76 (JSON)