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

Please sign up or login with your details

Continue with:
Or login with email
Enter Password
Re-enter Password

Forgot password? Click here to reset
Success!
Error Icon An error occurred

Sign in with Google

×

Use your Google Account to sign in to DeepAI

×
Pro

Consider DeepAI Pro

Subscribe to DeepAI Pro
DeepAI Pro
Provides a limited generation allowance each month. When exceeded, you are charged overage rates available at deepai.org/pricing. Also includes an ad-free experience and API access. Renews automatically until canceled. Non-refundable.
Subtotal
Total due today

Payment

Add DeepAI credits
DeepAI credits
One-time purchase. Credits are added to your wallet after payment.
Subtotal
Total due today

Payment