Efficient approximations of matrix multiplication using truncated decompositions
Suvendu Kar, Hariprasad M., Sai Gowri J. N., Murugesan Venkatapathi
TL;DR
The paper develops practical, first-order methods to approximate products of large dense matrices by decomposing each factor into a small set of dominant components plus a residue, using truncated SVD, cycle, circulant, and Fourier-based decompositions. By combining dominant parts with cross-terms involving residues, and neglecting the residue-residue term, it achieves $O(n^2 \log n)$ arithmetic with relative errors near 1% for moderate tolerances, and provides a priori error estimates. The authors also present a thorough error analysis under different random-spectral models, along with extensive numerical results showing complementary strengths of SVD-based and circulant-based approaches, and situating sparsification within a first-order framework. They further compare run-time performance against randomized outer-product methods, demonstrating potential order-of-magnitude speedups on large matrices in practical settings. The work offers practical guidance for selecting decompositions, estimating errors, and implementing FFT-based acceleration for large-scale matrix multiplication tasks.
Abstract
We exploit the truncated singular value decomposition and the recently proposed circulant decomposition for an efficient first-order approximation of the multiplication of large dense matrices. A decomposition of each matrix into a sum of a sparse matrix with relatively few dominant entries and a dense residue can also use the above approach, and we present methods for multiplication using a Fourier decomposition and a cycle decomposition-based sparsifications. The proposed methods scale as $\mathcal{O}(n^2 \log n)$ in arithmetic operations for $n \times n$ matrices for usable tolerances in relative error $\sim$ 1\%. Note that different decompositions for the two matrices $A$ and $B$ in the product $AB$ are also possible in this approach, using efficient a priori evaluations for suitability, to improve further on the error tolerances demonstrated here.
