arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.07889cs.DScs.LG
收藏

单程逐入口变换的低秩近似

Single Pass Entrywise-Transformed Low Rank Approximation

Tandon School of Engineering, New York University(纽约大学坦登工程学院);School of Physical and Mathematical Sciences, Nanyang Technological University(南洋理工大学物理与数学科学学院);Department of Computer Science, Carnegie Mellon University(卡内基梅隆大学计算机科学系)

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

摘要:

在诸如自然语言处理或计算机视觉之类的应用中,给定一个大的$n \times d$矩阵$A = (a_{i,j})$,并且想要计算矩阵分解,例如,一个低秩近似,一个函数$f(A) = (f(a_{i,j}))$逐项应用于$A$。一个非常重要的特例是似然函数$f\left( A \right ) = \log{\left( \left| a_{ij}\right| +1\right)}$。一种自然的方法是简单地将$f$应用于$A$的每个条目,然后计算矩阵分解,但这需要存储所有$A$以及对其条目的多次传递。Liang et al.最近的工作显示了如何找到一个秩- $k$分解为$n \times n$矩阵$A$只使用$n \cdot \operatorname{poly}(ε^{-1}k\log n)$字的内存,总误差$10\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(ε/k) \|f(A)\|_{1,2}^2$,其中$[f(A)]_k$是最好的秩- $k$近似$f(A)$和$\|f(A)\|_{1,2}^2$是平方的欧几里德长度总和的行的$f(A)$。他们的算法在$A$的条目上使用三次传递。作者提出了一个开放的问题,获得一个算法与$n \cdot \operatorname{poly}(ε^{-1}k\log n)$字的内存只使用一个单一的通过$A$的条目。在本文中,我们解决了这个公开的问题,获得了第一个单遍算法,这个问题,并为同类的功能$f$梁等研究。此外,我们的错误是$\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(ε/k) \|f(A)\|_F^2$,其中$\|f(A)\|_F^2$是欧几里德行长度的平方和$f(A)$。因此,我们的误差明显更小,因为它去除了$10$和$\|f(A)\|_F^2 \leq \|f(A)\|_{1,2}^2$的因子。我们还给出了一个算法的回归,指出在以前的工作中的错误,并实证验证我们的结果。

英文摘要:

In applications such as natural language processing or computer vision, one is given a large $n \times d$ matrix $A = (a_{i,j})$ and would like to compute a matrix decomposition, e.g., a low rank approximation, of a function $f(A) = (f(a_{i,j}))$ applied entrywise to $A$. A very important special case is the likelihood function $f\left( A \right ) = \log{\left( \left| a_{ij}\right| +1\right)}$. A natural way to do this would be to simply apply $f$ to each entry of $A$, and then compute the matrix decomposition, but this requires storing all of $A$ as well as multiple passes over its entries. Recent work of Liang et al.\ shows how to find a rank-$k$ factorization to $f(A)$ for an $n \times n$ matrix $A$ using only $n \cdot \operatorname{poly}(ε^{-1}k\log n)$ words of memory, with overall error $10\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(ε/k) \|f(A)\|_{1,2}^2$, where $[f(A)]_k$ is the best rank-$k$ approximation to $f(A)$ and $\|f(A)\|_{1,2}^2$ is the square of the sum of Euclidean lengths of rows of $f(A)$. Their algorithm uses three passes over the entries of $A$. The authors pose the open question of obtaining an algorithm with $n \cdot \operatorname{poly}(ε^{-1}k\log n)$ words of memory using only a single pass over the entries of $A$. In this paper we resolve this open question, obtaining the first single-pass algorithm for this problem and for the same class of functions $f$ studied by Liang et al. Moreover, our error is $\|f(A)-[f(A)]_k\|_F^2 + \operatorname{poly}(ε/k) \|f(A)\|_F^2$, where $\|f(A)\|_F^2$ is the sum of squares of Euclidean lengths of rows of $f(A)$. Thus our error is significantly smaller, as it removes the factor of $10$ and also $\|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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑