计算大型矩阵对数行列式的并行矩阵压缩
Parallel Matrix Condensation for Calculating Log-Determinant of Large Matrix
摘要:
计算矩阵的对数行列式对于机器学习中使用的统计计算是有用的,例如生成学习,其使用协方差矩阵的对数行列式来计算模型混合物的对数似然。随着变量数量的增加,对数行列式计算变得具有挑战性。因此,找到一个实际的加速计算可能是有用的。在这项研究中,我们提出了一种用于计算大型矩阵的对数行列式的并行矩阵凝聚算法。我们证明,在分布式环境中,并行矩阵凝聚有几个优点,著名的并行高斯消除。本发明的优点包括:数据分发效率高,数据通信操作少。我们测试我们的并行矩阵凝聚对自我实现的并行高斯消除以及ScaLAPACK(可扩展线性代数包)在1000 × 1000到8000 × 8000的1,2,4,8,16,32,64和128处理器。结果表明,在所有测试算法中,矩阵压缩产生最好的加速。代码可在https://github.com/vbvg2008/MatrixCondensation上获得
英文摘要:
Calculating the log-determinant of a matrix is useful for statistical computations used in machine learning, such as generative learning which uses the log-determinant of the covariance matrix to calculate the log-likelihood of model mixtures. The log-determinant calculation becomes challenging as the number of variables becomes large. Therefore, finding a practical speedup for this computation can be useful. In this study, we present a parallel matrix condensation algorithm for calculating the log-determinant of a large matrix. We demonstrate that in a distributed environment, Parallel Matrix Condensation has several advantages over the well-known Parallel Gaussian Elimination. The advantages include high data distribution efficiency and less data communication operations. We test our Parallel Matrix Condensation against self-implemented Parallel Gaussian Elimination as well as ScaLAPACK (Scalable Linear Algebra Package) on 1000 x1000 to 8000x8000 for 1,2,4,8,16,32,64 and 128 processors. The results show that Matrix Condensation yields the best speed-up among all other tested algorithms. The code is available on https://github.com/vbvg2008/MatrixCondensation
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。