arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1301.1071cs.DCcs.NAmath.NA
收藏

MapReduce架构中高瘦矩阵的直接QR分解

Direct QR factorizations for tall-and-skinny matrices in MapReduce architectures

Stanford University(斯坦福大学);Purdue University(普渡大学);University of California, Berkeley(加州大学伯克利分校)

Austin R. Benson, David F. Gleich, James Demmel

AI总结:

针对MapReduce环境,提出一种数值稳定的高瘦矩阵直接QR分解方法,仅需略多于两次数据遍历,并可与SVD兼容,性能优于传统Householder QR方法。

摘要:

QR分解和SVD是科学计算和数据分析中的两种基本矩阵分解。对于行数远多于列数的矩阵(即“高瘦矩阵”),存在一种数值稳定、高效且避免通信的QR分解算法,已用于传统高性能计算和网格计算环境。在MapReduce环境中,现有的QR分解方法使用数值不稳定的方法,依赖间接计算Q因子。在最佳情况下,这些方法仅需两次数据遍历。本文描述如何在MapReduce架构上以略多于两次数据遍历的方式计算稳定的高瘦QR分解。我们只需稍作修改即可计算SVD,且性能无差异。我们比较了新的直接TSQR方法、MapReduce的标准不稳定实现(Cholesky QR)以及经典稳定算法(Householder QR)的性能。发现新的稳定方法在理论性能模型和实际实现中均比Householder QR方法具有显著的性能优势。

英文摘要:

The QR factorization and the SVD are two fundamental matrix decompositions with applications throughout scientific computing and data analysis. For matrices with many more rows than columns, so-called "tall-and-skinny matrices," there is a numerically stable, efficient, communication-avoiding algorithm for computing the QR factorization. It has been used in traditional high performance computing and grid computing environments. For MapReduce environments, existing methods to compute the QR decomposition use a numerically unstable approach that relies on indirectly computing the Q factor. In the best case, these methods require only two passes over the data. In this paper, we describe how to compute a stable tall-and-skinny QR factorization on a MapReduce architecture in only slightly more than 2 passes over the data. We can compute the SVD with only a small change and no difference in performance. We present a performance comparison between our new direct TSQR method, a standard unstable implementation for MapReduce (Cholesky QR), and the classic stable algorithm implemented for MapReduce (Householder QR). We find that our new stable method has a large performance advantage over the Householder QR method. This holds both in a theoretical performance model as well as in an actual implementation.

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

↑