使用MapReduce的维数无关矩阵平方
Dimension Independent Matrix Square using MapReduce
摘要:
我们计算的奇异值的$m \times n$稀疏矩阵$A$在分布式设置,没有通信依赖于$m$,这是非常大的$m$。特别地,我们给出了一个简单的非自适应采样方案,其中$A$的奇异值在相对误差内以恒定概率估计。我们证明的边界集中在MapReduce框架上,它已经成为处理无法通过单个机器存储甚至流式传输的大型矩阵的实际工具。同时给出了计算$A^TA$的一般方法。我们保留奇异值的$A^TA$与$ε$相对误差与洗牌大小$O(n^2/ε^2)$和减少关键的复杂性$O(n/ε^2)$。我们进一步表明,如果只需要特定的条目的$A^TA$和$A$有非负的条目,那么我们可以减少洗牌的大小为$O(n \log(n) / s)$和减少关键的复杂性为$O(\log(n)/s)$,其中$s$是最小的余弦相似性的条目估计。我们所有的边界都与更大的维度$m$无关。我们提供Spark和Scalding的开源实现,以及工业环境中的实验。
英文摘要:
We compute the singular values of an $m \times n$ sparse matrix $A$ in a distributed setting, without communication dependence on $m$, which is useful for very large $m$. In particular, we give a simple nonadaptive sampling scheme where the singular values of $A$ are estimated within relative error with constant probability. Our proven bounds focus on the MapReduce framework, which has become the de facto tool for handling such large matrices that cannot be stored or even streamed through a single machine. On the way, we give a general method to compute $A^TA$. We preserve singular values of $A^TA$ with $ε$ relative error with shuffle size $O(n^2/ε^2)$ and reduce-key complexity $O(n/ε^2)$. We further show that if only specific entries of $A^TA$ are required and $A$ has nonnegative entries, then we can reduce the shuffle size to $O(n \log(n) / s)$ and reduce-key complexity to $O(\log(n)/s)$, where $s$ is the minimum cosine similarity for the entries being estimated. All of our bounds are independent of $m$, the larger dimension. We provide open-source implementations in Spark and Scalding, along with experiments in an industrial setting.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。