Sparsifying the Operators of Fast Matrix Multiplication Algorithms

08/09/2020
by   Gal Beniamini, et al.
0

Fast matrix multiplication algorithms may be useful, provided that their running time is good in practice. Particularly, the leading coefficient of their arithmetic complexity needs to be small. Many sub-cubic algorithms have large leading coefficients, rendering them impractical. Karstadt and Schwartz (SPAA'17, JACM'20) demonstrated how to reduce these coefficients by sparsifying an algorithm's bilinear operator. Unfortunately, the problem of finding optimal sparsifications is NP-Hard. We obtain three new methods to this end, and apply them to existing fast matrix multiplication algorithms, thus improving their leading coefficients. These methods have an exponential worst case running time, but run fast in practice and improve the performance of many fast matrix multiplication algorithms. Two of the methods are guaranteed to produce leading coefficients that, under some assumptions, are optimal.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/30/2022

Matrix Multiplication with Less Arithmetic Complexity and IO Complexity

After Strassen presented the first sub-cubic matrix multiplication algor...
research
12/05/2018

Simple, Fast and Practicable Algorithms for Cholesky, LU and QR Decomposition Using Fast Rectangular Matrix Multiplication

This note presents fast Cholesky/LU/QR decomposition algorithms with O(n...
research
02/18/2022

Worst-Case to Average-Case Reductions via Additive Combinatorics

We present a new framework for designing worst-case to average-case redu...
research
05/04/2021

Finding Triangles or Independent Sets

(I) We revisit the algorithmic problem of finding all triangles in a gra...
research
06/24/2018

On Nondeterministic Derandomization of Freivalds' Algorithm: Consequences, Avenues and Algorithmic Progress

Motivated by studying the power of randomness, certifying algorithms and...
research
07/24/2023

Fast in-place accumulated bilinear formulae

Bilinear operations are ubiquitous in computer science and in particular...
research
05/17/2019

Randomization of Approximate Bilinear Computation for Matrix Multiplication

We present a method for randomizing a formula for bilinear computation o...

Please sign up or login with your details

Forgot password? Click here to reset