稀疏矩阵的高效频繁方向算法
Efficient Frequent Directions Algorithm for Sparse Matrices
摘要:
本文介绍了稀疏频繁方向,频繁方向的变体,用于绘制稀疏矩阵。它在许多方面与原始算法相似:两者都在流设置中逐个接收输入矩阵$A^{n \times d}$的行,并计算一个小草图$B \in R^{\ell \times d}$。两者共享相同的强(可证明最优)渐近保证相对于空间精度权衡流设置。然而,与在$O(nd\ell)$时间中运行而不管输入矩阵$A$的稀疏性的频繁方向不同,稀疏频繁方向在$\tilde{O} (nnz(A)\ell + n\ell^2)$时间中运行。我们的分析放松了对计算奇异值分解(SVD)作为频繁方向算法中的黑盒的依赖。我们的边界需要最近的结果的快速近似SVD计算的性能。最后,我们的经验表明,这些渐近改进是实际的和显着的真实和合成数据。
英文摘要:
This paper describes Sparse Frequent Directions, a variant of Frequent Directions for sketching sparse matrices. It resembles the original algorithm in many ways: both receive the rows of an input matrix $A^{n \times d}$ one by one in the streaming setting and compute a small sketch $B \in R^{\ell \times d}$. Both share the same strong (provably optimal) asymptotic guarantees with respect to the space-accuracy tradeoff in the streaming setting. However, unlike Frequent Directions which runs in $O(nd\ell)$ time regardless of the sparsity of the input matrix $A$, Sparse Frequent Directions runs in $\tilde{O} (nnz(A)\ell + n\ell^2)$ time. Our analysis loosens the dependence on computing the Singular Value Decomposition (SVD) as a black box within the Frequent Directions algorithm. Our bounds require recent results on the properties of fast approximate SVD computations. Finally, we empirically demonstrate that these asymptotic improvements are practical and significant on real and synthetic data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。