Faster Walsh-Hadamard and Discrete Fourier Transforms From Matrix Non-Rigidity

11/11/2022
by   Josh Alman, et al.
0

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/24N 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/4N log N + O(N) real arithmetic operations. Our leading constant 15/4 = 3.75 is the first improvement in over 15 years; it improves on the prior best leading constant 34/9 = 3.777… by Van Buskirk from 2004, which in turn improved on the leading constant of 4 from the split-radix algorithm of Yavne from 1968 and the leading constant of 5 from the Cooley-Tukey algorithm from 1965. 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/30/2007

Type-II/III DCT/DST algorithms with reduced number of arithmetic operations

We present algorithms for the discrete cosine transform (DCT) and discre...
research
08/31/2007

Type-IV DCT, DST, and MDCT algorithms with reduced numbers of arithmetic operations

We present algorithms for the type-IV discrete cosine transform (DCT-IV)...
research
11/09/2022

Faster Walsh-Hadamard Transform and Matrix Multiplication over Finite Fields using Lookup Tables

We use lookup tables to design faster algorithms for important algebraic...
research
08/20/2020

A Simple and Fast Algorithm for Computing the N-th Term of a Linearly Recurrent Sequence

We present a simple and fast algorithm for computing the N-th term of a ...
research
03/03/2019

Deterministic Sparse Fourier Transform with an ell_infty Guarantee

In this paper we revisit the deterministic version of the Sparse Fourier...
research
05/31/2021

Circulant decomposition of a matrix and the eigenvalues of Toeplitz type matrices

We begin by showing that a n*n matrix can be decomposed into a sum of 'n...
research
08/02/2022

An Algorithm for Ennola's Second Theorem and Counting Smooth Numbers in Practice

Let Ψ(x,y) count the number of positive integers n≤ x such that every pr...

Please sign up or login with your details

Forgot password? Click here to reset