Lune

SODA2023Top-tier venue

Optimal Algorithms for Linear Algebra in the Current Matrix Multiplication Time

Yeshwanth Cherapanamjeri, Sandeep Silwal, David P. Woodruff, Samson Zhou

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 A ∈ R n×d with n > d. The input can be read in nnz(A) time, which denotes the number of nonzero entries of A. In this paper, we show that beyond the time required to read the input matrix, these fundamental linear algebra problems can be solved in d ω time, i.e., where ω ≈ 2.37 is the current matrix-multiplication exponent.

To do so, we introduce a constant-factor subspace embedding with the optimal m = O(d) number of rows, and which can be applied in time O nnz(A) α +d 2+α poly(log d) for any trade-off parameter α > 0, tightening a recent result by Chepurko et. al. [SODA 2022] that achieves an exp(poly(log log n)) distortion with m = d • poly(log log d) rows in O nnz(A) α + d 2+α+o(1) 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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • The Complexity of Dynamic Least-Squares Regression cites A Refined Laser Method and Faster Matrix Multiplication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. A Nearly-Optimal Bound for Fast Regression with ℓ∞ GuaranteeZhao Song, Mingquan Ye, Junze Yin, Lichen ZhangICML 2023 · 20 citations
  2. The Complexity of Dynamic Least-Squares RegressionShunhua Jiang, Binghui Peng, Omri WeinsteinFOCS 2023 · 1 citation

Builds on3

  1. A Refined Laser Method and Faster Matrix MultiplicationJosh Alman, Virginia Vassilevska WilliamsSODA 2021 · 275 citations
  2. Near-Optimal Algorithms for Linear Algebra in the Current Matrix Multiplication TimeNadiia Chepurko, Kenneth L. Clarkson, Praneeth Kacham, David P. WoodruffSODA 2022 · 3 citations
  3. Uniform approximations for Randomized Hadamard Transforms with applicationsYeshwanth Cherapanamjeri, Jelani NelsonSTOC 2022

Related papers

  1. Quantum-Inspired Algorithms from Randomized Numerical Linear AlgebraNadiia Chepurko, Kenneth L. Clarkson, Lior Horesh, Honghao Lin et al.ICML 2022 · 25 citations
  2. Optimal Embedding Dimension for Sparse Subspace EmbeddingsShabarish Chenakkod, Michal Derezinski, Xiaoyu Dong, Mark RudelsonSTOC 2024 · 5 citations
  3. Optimal Subspace Embeddings: Resolving Nelson-Nguyen Conjecture Up to Sub-Polylogarithmic FactorsShabarish Chenakkod, Michal Derezinski, Xiaoyu DongSODA 2026 · 1 citation
  4. In-Database Regression in Input Sparsity TimeRajesh Jayaram, Alireza Samadian, David P. Woodruff, Peng YeICML 2021 · 8 citations
  5. Optimal Randomized First-Order Methods for Least-Squares ProblemsJonathan Lacotte, Mert PilanciICML 2020 · 30 citations
Dusk over the sea between two cliffs drawn in fine vertical lines