Optimal Algorithms for Linear Algebra in the Current Matrix Multiplication Time
Abstract
We study fundamental problems in linear algebra, such as finding a maximal linearly independent subset of rows or columns (a basis), solving linear regression, or computing a subspace embedding. For these problems, we consider input matrices with . The input can be read in time, which denotes the number of nonzero entries of . In this paper, we show that beyond the time required to read the input matrix, these fundamental linear algebra problems can be solved in time, i.e., where is the current matrix-multiplication exponent. To do so, we introduce a constant-factor subspace embedding with the optimal number of rows, and which can be applied in time for any trade-off parameter , tightening a recent result by Chepurko et. al. [SODA 2022] that achieves an distortion with rows in time. Our subspace embedding uses a recently shown property of stacked Subsampled Randomized Hadamard Transforms (SRHT), which actually increase the input dimension, to "spread" the mass of an input vector among a large number of coordinates, followed by random sampling. To control the effects of random sampling, we use fast semidefinite programming to reweight the rows. We then use our constant-factor subspace embedding to give the first optimal runtime algorithms for finding a maximal linearly independent subset of columns, regression, and leverage score sampling. To do so, we also introduce a novel subroutine that iteratively grows a set of independent rows, which may be of independent interest.
Cite
@article{arxiv.2211.09964,
title = {Optimal Algorithms for Linear Algebra in the Current Matrix Multiplication Time},
author = {Yeshwanth Cherapanamjeri and Sandeep Silwal and David P. Woodruff and Samson Zhou},
journal= {arXiv preprint arXiv:2211.09964},
year = {2023}
}
Comments
SODA 2023