arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.05448cs.DS
收藏

在线行抽样

Online Row Sampling

Michael B. Cohen, Cameron Musco, Jakub Pachocki

摘要:

找到一个小的频谱近似高$n \times d$矩阵$A$是一个基本的数值原语。出于多种原因,人们经常寻求一种近似,其行是从$A$的行中采样的。行采样提高了可解释性,在$A$稀疏时节省空间,并保留行结构,这一点尤其重要,例如,当$A$表示图形时。然而,当矩阵很大并且不能在存储器中存储和处理时,从$A$中正确地采样行可能是昂贵的。因此,一些最近的出版物集中在流设置中的行采样,使用比存储输出近似值所需的空间多一点的空间[KL 13,KLM+14]。受到越来越多的机器学习和数据分析在线算法工作的启发,我们将这项工作扩展到更严格的在线设置:我们逐个读取$A$的行,并立即决定是否应将每行保留在谱近似中或丢弃,而不会收回这些决定。我们提出了一个非常简单的算法,近似$A$乘性错误$ε$和添加剂错误$δ$使用$O(d \log d \log(ε||A||_2/δ)/ε^2)$在线样本,与存储器开销成比例的频谱近似的存储成本。我们还提出了一个算法,使用$O(d^2$)内存,但只需要$O(d\log(ε||A||_2/δ)/ε^2)$的样本,我们表明是最佳的。我们的方法是干净和直观的,允许较低的内存使用比以前的工作,并揭示了新的理论性质的杠杆得分为基础的矩阵近似。

英文摘要:

Finding a small spectral approximation for a tall $n \times d$ matrix $A$ is a fundamental numerical primitive. For a number of reasons, one often seeks an approximation whose rows are sampled from those of $A$. Row sampling improves interpretability, saves space when $A$ is sparse, and preserves row structure, which is especially important, for example, when $A$ represents a graph. However, correctly sampling rows from $A$ can be costly when the matrix is large and cannot be stored and processed in memory. Hence, a number of recent publications focus on row sampling in the streaming setting, using little more space than what is required to store the outputted approximation [KL13, KLM+14]. Inspired by a growing body of work on online algorithms for machine learning and data analysis, we extend this work to a more restrictive online setting: we read rows of $A$ one by one and immediately decide whether each row should be kept in the spectral approximation or discarded, without ever retracting these decisions. We present an extremely simple algorithm that approximates $A$ up to multiplicative error $ε$ and additive error $δ$ using $O(d \log d \log(ε||A||_2/δ)/ε^2)$ online samples, with memory overhead proportional to the cost of storing the spectral approximation. We also present an algorithm that uses $O(d^2$) memory but only requires $O(d\log(ε||A||_2/δ)/ε^2)$ samples, which we show is optimal. Our methods are clean and intuitive, allow for lower memory usage than prior work, and expose new theoretical properties of leverage score based matrix approximation.

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

↑