Hardness of Low Rank Approximation of Entrywise Transformed Matrix Products
Not on the map. Why?
Abstract (arXiv)
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 k approximation to f(U · V), where U, V^top ∈ ℝn × r are given, r = O(log(n)), and f(x) is a general scalar function. Previous work in sublinear low rank approximation has shown that if both (1) U = V^top and (2) f(x) is a PSD kernel function, then there is an O(nkω-1) time constant relative error approximation algorithm, where ω ≈ 2.376 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 n2-o(1) 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 f(UV) and the target rank are no(1), and when U = V^top. Furthermore, even when f(x) = xp is a simple polynomial, we give runtime lower bounds in the case when U neq V^top of the form Omega(min(n2-o(1), Omega(2p))). Lastly, we demonstrate that our lower bounds are tight by giving an O(n · poly(k, 2p, 1/ε)) time relative error approximation algorithm and a fast O(n · poly(k, p, 1/ε)) 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 f(UV)W, for even a small matrix W, requires Omega(n2-o(1)) time.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 20 of its 31 references that are in the map. First posted on arXiv 3 Nov 2023.
Builds on
20 of 31 references.
References · 20
- 2017Attention Is All You Needcited by 60,361
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2020Rethinking Attention with Performerscited by 1,601
- 2020Efficient Transformers: A Surveycited by 790
- 2014Sketching as a Tool for Numerical Linear Algebracited by 288
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
- 2022On The Computational Complexity of Self-Attentioncited by 139
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2021Hybrid Random Featurescited by 25
- 2020Algorithms and Hardness for Linear Algebra on Geometric Graphscited by 22
- 2022Chefs' Random Tables: Non-Trigonometric Random Featurescited by 21
- 2017Sublinear Time Low-Rank Approximation of Positive Semidefinite Matricescited by 18
8 more
- 2017On the Fine-Grained Complexity of Empirical Risk Minimization: Kernel Methods and Neural Networkscited by 16
- 2016Distributed Low Rank Approximation of Implicit Functions of a Matrixcited by 12
- 2019Polynomial Tensor Sketch for Element-wise Function of Low-Rank Matrixcited by 7
- 2019Robust and Sample Optimal Algorithms for PSD Low-Rank Approximationcited by 6
- 2018An Equivalence Class for Orthogonal Vectorscited by 5
- 2015A Generative Word Embedding Model and its Low Rank Positive Semidefinite Solutioncited by 3
- 2020Sketching Transformed Matrices with Applications to Natural Language Processingcited by 3
- 2021Single Pass Entrywise-Transformed Low Rank Approximationcited by 2
Built on by
Citing papers per year: 2024: 3.
3 papers.