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

稀疏张量的分布式Tucker分解优化

On Optimizing Distributed Tucker Decomposition for Sparse Tensors

Venkatesan T. Chakaravarthy, Jee W. Choi, Douglas J. Joseph, Prakash Murali, Shivmaran S. Pandian, Yogish Sabharwal, Dheeraj Sreedhar

摘要:

塔克分解将奇异值分解(SVD)的概念推广到张量,即矩阵的高维类似物。研究了利用HOOI方法构造分布式存储系统上稀疏张量的Tucker分解的问题,HOOI方法是一种流行的迭代法。用于在处理器(MPI等级)之间分配输入张量的方案严重影响HOOI执行时间。先前的工作提出了不同的分配方案:离线方案的基础上复杂的超图分区方法和简单,轻量级的替代品,可以实时使用。虽然基于超图的方案通常导致更快的HOOI执行时间,但由于复杂,用于确定分布所花费的时间比单个HOOI迭代的执行时间高一个数量级。我们的主要贡献是一个轻量级的分发方案,实现了两全其美。我们表明,该计划是近最佳的某些基本指标与HOOI程序,因此,近最佳的计算负载(FLOPs)。虽然该方案可能会产生更高的通信量,但计算时间是主要因素,因此,该方案在整体HOOI执行时间上实现了更好的性能。我们对大型现实张量(具有多达40亿个元素)的实验评估表明,该方案在HOOI执行时间上优于先前方案,最多可达3倍。另一方面,它的分发时间与先前的轻量级方案相当,并且通常小于单个HOOI迭代的执行时间。

英文摘要:

The Tucker decomposition generalizes the notion of Singular Value Decomposition (SVD) to tensors, the higher dimensional analogues of matrices. We study the problem of constructing the Tucker decomposition of sparse tensors on distributed memory systems via the HOOI procedure, a popular iterative method. The scheme used for distributing the input tensor among the processors (MPI ranks) critically influences the HOOI execution time. Prior work has proposed different distribution schemes: an offline scheme based on sophisticated hypergraph partitioning method and simple, lightweight alternatives that can be used real-time. While the hypergraph based scheme typically results in faster HOOI execution time, being complex, the time taken for determining the distribution is an order of magnitude higher than the execution time of a single HOOI iteration. Our main contribution is a lightweight distribution scheme, which achieves the best of both worlds. We show that the scheme is near-optimal on certain fundamental metrics associated with the HOOI procedure and as a result, near-optimal on the computational load (FLOPs). Though the scheme may incur higher communication volume, the computation time is the dominant factor and as the result, the scheme achieves better performance on the overall HOOI execution time. Our experimental evaluation on large real-life tensors (having up to 4 billion elements) shows that the scheme outperforms the prior schemes on the HOOI execution time by a factor of up to 3x. On the other hand, its distribution time is comparable to the prior lightweight schemes and is typically lesser than the execution time of a single HOOI iteration.

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

↑