Lune

ICML2021Top-tier venue

Single Pass Entrywise-Transformed Low Rank Approximation

Yifei Jiang, Yi Li, Yiming Sun, Jiaxin Wang, David P. Woodruff

Abstract

In applications such as natural language processing or computer vision, one is given a large n×dn \times d matrix A=(ai,j)A = (a_{i,j}) and would like to compute a matrix decomposition, e.g., a low rank approximation, of a function f(A)=(f(ai,j))f(A) = (f(a_{i,j})) applied entrywise to AA. A very important special case is the likelihood function f(A)=log⁡(∣aij∣+1)f\left( A \right ) = \log{\left( \left| a_{ij}\right| +1\right)}. A natural way to do this would be to simply apply ff to each entry of AA, and then compute the matrix decomposition, but this requires storing all of AA as well as multiple passes over its entries. Recent work of Liang et al. shows how to find a rank-kk factorization to f(A)f(A) for an n×nn \times n matrix AA using only n⋅poly⁡(ϵ−1klog⁡n)n \cdot \operatorname{poly}(\epsilon^{-1}k\log n) words of memory, with overall error 10∥f(A)−[f(A)]k∥F2+poly⁡(ϵ/k)∥f(A)∥1,2210\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(\epsilon/k) \|f(A)\|_{1,2}^2, where [f(A)]k[f(A)]_k is the best rank-kk approximation to f(A)f(A) and ∥f(A)∥1,22\|f(A)\|_{1,2}^2 is the square of the sum of Euclidean lengths of rows of f(A)f(A). Their algorithm uses three passes over the entries of AA. The authors pose the open question of obtaining an algorithm with n⋅poly⁡(ϵ−1klog⁡n)n \cdot \operatorname{poly}(\epsilon^{-1}k\log n) words of memory using only a single pass over the entries of AA. In this paper we resolve this open question, obtaining the first single-pass algorithm for this problem and for the same class of functions ff studied by Liang et al. Moreover, our error is ∥f(A)−[f(A)]k∥F2+poly⁡(ϵ/k)∥f(A)∥F2\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(\epsilon/k) \|f(A)\|_F^2, where ∥f(A)∥F2\|f(A)\|_F^2 is the sum of squares of Euclidean lengths of rows of f(A)f(A). Thus our error is significantly smaller, as it removes the factor of 1010 and also ∥f(A)∥F2≤∥f(A)∥1,22\|f(A)\|_F^2 \leq \|f(A)\|_{1,2}^2. We also give an algorithm for regression, pointing out an error in previous work, and empirically validate our results.

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.

1 top-tier paper has 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

Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Hardness of Low Rank Approximation of Entrywise Transformed Matrix ProductsTamás Sarlós, Xingyou Song, David P. Woodruff, Richard ZhangNeurIPS 2023 · 5 citations

Builds on1

  1. Non-adaptive adaptive sampling on turnstile streamsSepideh Mahabadi, Ilya P. Razenshteyn, David P. Woodruff, Samson ZhouSTOC 2020 · 10 citations

Related papers

  1. Near-optimal Active Regression of Single-Index ModelsYi Li, Wai Ming TaiICLR 2025
  2. Krylov Methods are (nearly) Optimal for Low-Rank ApproximationAinesh Bakshi, Shyam NarayananFOCS 2023 · 14 citations
  3. Additive Error Guarantees for Weighted Low Rank ApproximationAditya Bhaskara, Aravinda Kanchana Ruwanpathirana, Maheshakya WijewardenaICML 2021 · 3 citations
  4. Low-rank approximation with 1/ε1/3 matrix-vector productsAinesh Bakshi, Kenneth L. Clarkson, David P. WoodruffSTOC 2022 · 5 citations
  5. Determinant Estimation under Memory Constraints and Neural Scaling LawsSiavash Ameli, Chris van der Heide, Liam Hodgkinson, Fred Roosta et al.ICML 2025
Dusk over the sea between two cliffs drawn in fine vertical lines