Faster Walsh-Hadamard and Discrete Fourier Transforms from Matrix Non-rigidity
Josh Alman, Kevin Rao
Abstract
We give algorithms with lower arithmetic operation counts for both the Walsh-Hadamard Transform (WHT) and the Discrete Fourier Transform (DFT) on inputs of power-of-2 size N. For the WHT, our new algorithm has an operation count of 23 24 N log N +O(N). To our knowledge, this gives the first improvement on the N log N operation count of the simple, folklore Fast Walsh-Hadamard Transform algorithm. For the DFT, our new FFT algorithm uses 15 4 N log N + O(N) real arithmetic operations. Our leading constant 15 4 = 3.75 improves on the leading constant of 5 from the Cooley-Tukey algorithm from 1965, leading constant 4 from the split-radix algorithm of Yavne from 1968, leading constant 34 9 = 3.777 . . . from a modification of the split-radix algorithm by Van Buskirk from 2004, and leading constant 3.76875 from a theoretically optimized version of Van Buskirk's algorithm by Sergeev from 2017. Our new WHT algorithm takes advantage of a recent line of work on the non-rigidity of the WHT: we decompose the WHT matrix as the sum of a low-rank matrix and a sparse matrix, and then analyze the structures of these matrices to achieve a lower operation count. Our new DFT algorithm comes from a novel reduction, showing that parts of the previous best FFT algorithms can be replaced by calls to an algorithm for the WHT. Replacing the folklore WHT algorithm with our new improved algorithm leads to our improved FFT.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1dcdbeee-d6ce-40d1-88e1-cbfce709beabCited by top-tier papers2
- Improving the Leading Constant of Matrix MultiplicationJosh Alman, Hantao YuSODA 2025 · 2 citations
- Kronecker Powers, Orthogonal Vectors, and the Asymptotic SpectrumJosh Alman, Baitian LiFOCS 2025 · 2 citations
Builds on2
Related papers
- Fast Fourier transform via automorphism groups of rational function fieldsSongsong Li, Chaoping XingSODA 2024 · 3 citations
- Traversing the FFT Computation Tree for Dimension-Independent Sparse Fourier TransformsKarl Bringmann, Michael Kapralov, Mikhail Makarov, Vasileios Nakos et al.SODA 2023 · 1 citation
- Low Rank Matrix Rigidity: Tight Lower Bounds and Hardness AmplificationJosh Alman, Jingxun LiangSTOC 2025 · 2 citations
- SFC: Achieve Accurate Fast Convolution under Low-precision ArithmeticLiulu He, Yufei Zhao, Rui Gao, Yuan Du et al.ICML 2024 · 3 citations
- Smaller Low-Depth Circuits for Kronecker PowersJosh Alman, Yunfeng Guan, Ashwin PadakiSODA 2023 · 1 citation
