Learning Fast Algorithms for Linear Transforms Using Butterfly Factorizations
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
Citing papers per year: 2021: 6; 2022: 9; 2023: 17; 2024: 13; 2025: 18; 2026: 13.
76 papers.
Sort:
By area:
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
- 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsitycited by 217
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
- 2023Parameter-Efficient Orthogonal Finetuning via Butterfly Factorizationcited by 114
- 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
- 2023Learning to Grow Pretrained Models for Efficient Transformer Trainingcited by 83
- 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2024Mixture-of-Subspaces in Low-Rank Adaptationcited by 47
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixerscited by 44
- 2025Log-Linear Attentioncited by 40
38 more
- 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Corescited by 33
- 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 31
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 26
- 2021Rethinking Neural Operations for Diverse Taskscited by 18
- 2026Memory Caching: RNNs with Growing Memorycited by 15
- 2021Learning quantum data with the quantum Earth Mover's distancecited by 13
- 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matricescited by 13
- 2022ButterflyFlow: Building Invertible Layers with Butterfly Matricescited by 12
- 2025ButterflyQuant: Ultra-low-bit LLM Quantization through Learnable Orthogonal Butterfly Transformscited by 10
- 2023Simplex Random Featurescited by 9
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operatorscited by 9
- 2025Reparameterized LLM Training via Orthogonal Equivalence Transformationcited by 9
- 2025Scaling Probabilistic Circuits via Monarch Matricescited by 9
- 2022Deformable Butterfly: A Highly Structured and Sparse Linear Transformcited by 8
- 2023CoLA: Exploiting Compositional Structure for Automatic and Efficient Numerical Linear Algebracited by 7
- 2024Symmetry-Based Structured Matrices for Efficient Approximately Equivariant Networkscited by 7
- 2023Training Energy-Based Normalizing Flow with Score-Matching Objectivescited by 6
- 2024SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAscited by 6
- 2024Two Sparse Matrices are Better than One: Sparsifying Neural Networks with Double Sparse Factorizationcited by 6
- 2025MoST: Efficient Monarch Sparse Tuning for 3D Representation Learningcited by 6
- 2023Exploiting Sparsity in Pruned Neural Networks to Optimize Large Model Trainingcited by 5
- 2023Differentiable Learning of Generalized Structured Matrices for Efficient Deep Neural Networkscited by 5
- 2025MonarchAttention: Zero-Shot Conversion to Fast, Hardware-Aware Structured Attentioncited by 5
- 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformationcited by 5
- 2026HARP: Hadamard-Preconditioned Adaptive Rotation Processor for Extreme LLM Quantizationcited by 5
- 2024Geometry is All You Need: A Unified Taxonomy of Matrix and Tensor Factorization for Compression of Generative Language Modelscited by 4
- 2025SPECTRE: An FFT-Based Efficient Drop-In Replacement to Self-Attention for Long Contextscited by 4
- 2024ReALLM: A general framework for LLM compression and fine-tuningcited by 3
- 2024BLAST: Block-Level Adaptive Structured Matrices for Efficient Deep Neural Network Inferencecited by 3
- 2025TreeQ: Pushing the Quantization Boundary of Diffusion Transformer via Tree-Structured Mixed-Precision Searchcited by 3
- 2021Efficient Identification of Butterfly Sparse Matrix Factorizationscited by 2
- 2023Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matricescited by 2
- 2024Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layerscited by 2
- 2024MoRe Fine-Tuning with 10x Fewer Parameterscited by 2
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Maskscited by 2
- 2025Revisiting Deep Information Propagation: Fractal Frontier and Finite-size Effectscited by 2
- 2021Identifiability in Two-Layer Sparse Matrix Factorizationcited by 1
- 2022Arithmetic Circuits, Structured Matrices and (not so) Deep Learningcited by 1
50 most cited of 76 All 76 (JSON)
- 2026SpectrumQuant: Spectrum Alignment for LLM Quantization14 Oct 2026
- 2026FORGE: Procedural Weight Generation for Sparse MoE Inference12 Oct 2026
- 2026Rationally Linearized MLPs9 Oct 2026
- 2026Riemannian Structure and Optimization for a Class of Low-Parametric Orthogonal Matrices23 Sep 2026
- 2026Reaching Every Position Without Searching: Rotating Sparse Wiring on the Hypercube as a Substitute for Attention16 Sep 2026
- 2026Quantum-Inspired Trainable and Parameter-Efficient Tensor Networks for Image Inpainting15 Sep 2026
- 2026HARP: Hadamard-Preconditioned Adaptive Rotation Processor for Extreme LLM Quantization28 May 2026
- 2026A Hamiltonian-Inspired Local-Operator Ansatz for Slimming Large Language Models25 May 2026
- 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformation5 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026Neural-HSS: Hierarchical Semi-Separable Neural PDE Solver20 Feb 2026
- 2026ButterflyMoE: Compression-Scalable Ternary Experts via Structured Butterfly Orbits20 Jan 2026
38 more
- 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmography7 Jan 2026
- 2025Rethinking Dense Linear Transformations: Stagewise Pairwise Mixing (SPM) for Near-Linear Training in Neural Networks30 Dec 2025
- 2025Governance-Aware Hybrid Fine-Tuning for Multilingual Large Language Models19 Dec 2025
- 2025TreeQ: Pushing the Quantization Boundary of Diffusion Transformer via Tree-Structured Mixed-Precision Search6 Dec 2025
- 2025CDFlow: Building Invertible Layers with Circulant and Diagonal Matrices29 Oct 2025
- 2025Efficient Tensor Completion Algorithms for Highly Oscillatory Operators20 Oct 2025
- 2025Efficient In-Memory Acceleration of Sparse Block Diagonal LLMs13 Oct 2025
- 2025ButterflyQuant: Ultra-low-bit LLM Quantization through Learnable Orthogonal Butterfly Transforms11 Sep 2025
- 2025Customizing the Inductive Biases of Softmax Attention using Structured Matrices9 Sep 2025
- 2025Revisiting Deep Information Propagation: Fractal Frontier and Finite-size Effects5 Aug 2025
- 2025Hybrid and Unitary PEFT for Resource-Efficient Large Language Models24 Jul 2025
- 2025Scaling Probabilistic Circuits via Monarch Matrices14 Jun 2025
- 2025Reparameterized LLM Training via Orthogonal Equivalence Transformation9 Jun 2025
- 2025Log-Linear Attention5 Jun 2025
- 2025MonarchAttention: Zero-Shot Conversion to Fast, Hardware-Aware Structured Attention24 May 2025
- 2025MoST: Efficient Monarch Sparse Tuning for 3D Representation Learning24 Mar 2025
- 2025SPECTRE: An FFT-Based Efficient Drop-In Replacement to Self-Attention for Long Contexts25 Feb 2025
- 2025Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity3 Feb 2025
- 2025Position: Curvature Matrices Should Be Democratized via Linear Operators31 Jan 2025
- 2024BLAST: Block-Level Adaptive Structured Matrices for Efficient Deep Neural Network Inference28 Oct 2024
- 2024Geometry is All You Need: A Unified Taxonomy of Matrix and Tensor Factorization for Compression of Generative Language Models3 Oct 2024
- 2024Searching for Efficient Linear Layers over a Continuous Space of Structured Matrices3 Oct 2024
- 2024Two Sparse Matrices are Better than One: Sparsifying Neural Networks with Double Sparse Factorization27 Sep 2024
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Masks23 Sep 2024
- 2024Symmetry-Based Structured Matrices for Efficient Approximately Equivariant Networks18 Sep 2024
- 2024MoRe Fine-Tuning with 10x Fewer Parameters30 Aug 2024
- 2024Hydra: Bidirectional State Space Models Through Generalized Matrix Mixers13 Jul 2024
- 2024Building on Efficient Foundations: Effectively Training LLMs with Structured Feedforward Layers24 Jun 2024
- 2024Mixture-of-Subspaces in Low-Rank Adaptation16 Jun 2024
- 2024SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs27 May 2024
- 2024Fast Inference with Kronecker-Sparse Matrices23 May 2024
- 2024ReALLM: A general framework for LLM compression and fine-tuning21 May 2024
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Survey1 Dec 2023
- 2023Dimension Mixer: Group Mixing of Input Dimensions for Efficient Function Approximation30 Nov 2023
- 2023Lite it fly: An All-Deformable-Butterfly Network14 Nov 2023
- 2023Parameter-Efficient Orthogonal Finetuning via Butterfly Factorization10 Nov 2023
- 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Cores10 Nov 2023
- 2023Factor Fitting, Rank Allocation, and Partitioning in Multilevel Low Rank Matrices30 Oct 2023
50 newest of 76 All 76 (JSON)
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Hyena Hierarchy: Towards Larger Convolutional Language Modelscited by 393
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 130
- 2023Parameter-Efficient Orthogonal Finetuning via Butterfly Factorizationcited by 114
- 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 106
- 2023Learning to Grow Pretrained Models for Efficient Transformer Trainingcited by 83
- 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2025Log-Linear Attentioncited by 40
- 2023FlashFFTConv: Efficient Convolutions for Long Sequences with Tensor Corescited by 33
- 2022Adaptable Butterfly Accelerator for Attention-based NNs via Hardware and Algorithm Co-designcited by 31
- 2023The Efficiency Spectrum of Large Language Models: An Algorithmic Surveycited by 26
12 most cited of 69 All 69 (JSON)
- 2026SpectrumQuant: Spectrum Alignment for LLM Quantization14 Oct 2026
- 2026Rationally Linearized MLPs9 Oct 2026
- 2026Riemannian Structure and Optimization for a Class of Low-Parametric Orthogonal Matrices23 Sep 2026
- 2026Reaching Every Position Without Searching: Rotating Sparse Wiring on the Hypercube as a Substitute for Attention16 Sep 2026
- 2026Quantum-Inspired Trainable and Parameter-Efficient Tensor Networks for Image Inpainting15 Sep 2026
- 2026HARP: Hadamard-Preconditioned Adaptive Rotation Processor for Extreme LLM Quantization28 May 2026
- 2026A Hamiltonian-Inspired Local-Operator Ansatz for Slimming Large Language Models25 May 2026
- 2026POET-X: Memory-efficient LLM Training by Scaling Orthogonal Transformation5 Mar 2026
- 2026Memory Caching: RNNs with Growing Memory27 Feb 2026
- 2026Neural-HSS: Hierarchical Semi-Separable Neural PDE Solver20 Feb 2026
- 2026ToTMNet: FFT-Accelerated Toeplitz Temporal Mixing Network for Lightweight Remote Photoplethysmography7 Jan 2026
- 2025Rethinking Dense Linear Transformations: Stagewise Pairwise Mixing (SPM) for Near-Linear Training in Neural Networks30 Dec 2025
12 newest of 69 All 69 (JSON)