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

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

We use lookup tables to design faster algorithms for important algebraic problems over finite fields. These faster algorithms, which only use arithmetic operations and lookup table operations, may help to explain the difficulty of determining the complexities of these important problems. Our results over a constant-sized finite field are as follows. The Walsh-Hadamard transform of a vector of length N can be computed using O(N log N / loglog N) bit operations. This generalizes to any transform defined as a Kronecker power of a fixed matrix. By comparison, the Fast Walsh-Hadamard transform (similar to the Fast Fourier transform) uses O(N log N) arithmetic operations, which is believed to be optimal up to constant factors. Any algebraic algorithm for multiplying two N × N matrices using O(N^ω) operations can be converted into an algorithm using O(N^ω / (log N)^ω/2 - 1) bit operations. For example, Strassen's algorithm can be converted into an algorithm using O(N^2.81 / (log N)^0.4) bit operations. It remains an open problem with practical implications to determine the smallest constant c such that Strassen's algorithm can be implemented to use c · N^2.81 + o(N^2.81) arithmetic operations; using a lookup table allows one to save a super-constant factor in bit operations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/22/2016

Faster integer multiplication using plain vanilla FFT primes

Assuming a conjectural upper bound for the least prime in an arithmetic ...
research
12/03/2019

The Polynomial Transform

We explore a new form of DFT, which we call the Polynomial Transform. It...
research
11/11/2022

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

We give algorithms with lower arithmetic operation counts for both the W...
research
07/18/2021

Elliptic Curve Fast Fourier Transform (ECFFT) Part I: Fast Polynomial Algorithms over all Finite Fields

For smooth finite fields F_q (i.e., when q-1 factors into small primes) ...
research
05/09/2019

A multidimensional analog to the Burrows-Wheeler transform

We show how to perform multidimensional pattern matching over an n-dimen...
research
08/27/2022

Practical applications of Set Shaping Theory in Huffman coding

One of the biggest criticisms of the Set Shaping Theory is the lack of a...
research
02/27/2023

In-place fast polynomial modular remainder

We consider the fast in-place computation of the Euclidean polynomial mo...

Please sign up or login with your details

Forgot password? Click here to reset