Hardness of Low Rank Approximation of Entrywise Transformed Matrix Products
Tamás Sarlós, Xingyou Song, David P. Woodruff, Richard Zhang
Abstract
Inspired by fast algorithms in natural language processing, we study low rank approximation in the entrywise transformed setting where we want to find a good rank approximation to , where are given, , and is a general scalar function. Previous work in sublinear low rank approximation has shown that if both (1) and (2) is a PSD kernel function, then there is an time constant relative error approximation algorithm, where is the exponent of matrix multiplication. We give the first conditional time hardness results for this problem, demonstrating that both conditions (1) and (2) are in fact necessary for getting better than time for a relative error low rank approximation for a wide class of functions. We give novel reductions from the Strong Exponential Time Hypothesis (SETH) that rely on lower bounding the leverage scores of flat sparse vectors and hold even when the rank of the transformed matrix and the target rank are , and when . Furthermore, even when is a simple polynomial, we give runtime lower bounds in the case when of the form . Lastly, we demonstrate that our lower bounds are tight by giving an time relative error approximation algorithm and a fast additive error approximation using fast tensor-based sketching. Additionally, since our low rank algorithms rely on matrix-vector product subroutines, our lower bounds extend to show that computing , for even a small matrix , requires time.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 33ed2dfa-a754-4f9a-bba2-74afbe983299Cited by top-tier papers2
- Metric Transforms and Low Rank Representations of Kernels for Fast AttentionTimothy Chu, Josh Alman, Gary L. Miller, Shyam Narayanan et al.NeurIPS 2024 · 4 citations
- LevAttention: Time, Space and Streaming Efficient Algorithm for Heavy AttentionsRavindran Kannan, Chiranjib Bhattacharyya, Praneeth Kacham, David P. WoodruffICLR 2025
Builds on10
- Transformers are RNNs: Fast Autoregressive Transformers with Linear AttentionAngelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François FleuretICML 2020 · 2,665 citations
- Rethinking Attention with PerformersKrzysztof Marcin Choromanski, Valerii Likhosherstov, David Dohan, Xingyou Song et al.ICLR 2021 · 122 citations
- Fast Attention Requires Bounded EntriesJosh Alman, Zhao SongNeurIPS 2023 · 115 citations
- Oblivious Sketching of High-Degree Polynomial KernelsThomas D. Ahle, Michael Kapralov, Jakob Bæk Tejs Knudsen, Rasmus Pagh et al.SODA 2020 · 42 citations
- Hybrid Random FeaturesKrzysztof Marcin Choromanski, Han Lin, Haoxian Chen, Arijit Sehanobish et al.ICLR 2022 · 27 citations
Related papers
- A PTAS for ℓ0-Low Rank Approximation: Solving Dense CSPs over RealsVincent Cohen-Addad, Chenglin Fan, Suprovat Ghoshal, Euiwoong Lee et al.SODA 2024
- Optimal ℓ1 Column Subset Selection and a Fast PTAS for Low Rank ApproximationArvind V. Mahankali, David P. WoodruffSODA 2021 · 12 citations
- Input-Sparsity Low Rank Approximation in Schatten NormYi Li, David P. WoodruffICML 2020 · 14 citations
- Fine-grained hardness of CVP(P) - Everything that we can prove (and nothing else)Divesh Aggarwal, Huck Bennett, Alexander Golovnev, Noah Stephens-DavidowitzSODA 2021 · 22 citations
- Optimal Algorithms for Linear Algebra in the Current Matrix Multiplication TimeYeshwanth Cherapanamjeri, Sandeep Silwal, David P. Woodruff, Samson ZhouSODA 2023 · 3 citations
