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

多重张量时间矩阵计算的通信下界与优化算法

Communication Lower Bounds and Optimal Algorithms for Multiple Tensor-Times-Matrix Computation

Hussam Al Daas, Grey Ballard, Laura Grigori, Suraj Kumar, Kathryn Rouse

摘要:

多张量时间矩阵(Multiple Tensor-Times-Matrix,Multi-TTM)是多维数据分析中常用的Tucker张量分解算法中的一个关键运算。我们建立通信下限,确定需要多少数据移动来执行多TTM计算并行。证明的关键依赖于解析地解决约束的非线性优化问题。我们还提出了一种并行算法来执行此计算,该算法将处理器组织成一个逻辑网格,其模式是输入张量的两倍。我们表明,正确选择网格尺寸,算法的通信成本达到下界,因此是通信最优的。最后,我们表明,我们的算法可以显着减少通信相比,直接的方法表示的计算作为一个序列的张量倍矩阵运算。

英文摘要:

Multiple Tensor-Times-Matrix (Multi-TTM) is a key computation in algorithms for computing and operating with the Tucker tensor decomposition, which is frequently used in multidimensional data analysis. We establish communication lower bounds that determine how much data movement is required to perform the Multi-TTM computation in parallel. The crux of the proof relies on analytically solving a constrained, nonlinear optimization problem. We also present a parallel algorithm to perform this computation that organizes the processors into a logical grid with twice as many modes as the input tensor. We show that with correct choices of grid dimensions, the communication cost of the algorithm attains the lower bounds and is therefore communication optimal. Finally, we show that our algorithm can significantly reduce communication compared to the straightforward approach of expressing the computation as a sequence of tensor-times-matrix operations.

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

↑