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

双线性算法对称张量收缩的通信下界

Communication Lower Bounds of Bilinear Algorithms for Symmetric Tensor Contractions

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of California, Berkeley(加州大学伯克利分校);ETH Zurich(苏黎世联邦理工学院)

Edgar Solomonik, James Demmel, Torsten Hoefler

AI总结:

本文提出了一种新的理论框架,用于推导双线性算法中数据移动的下界。通过量化匹配子集列的最小矩阵秩,该框架为对称张量收缩算法提供了新的通信下界,揭示了张量对称性在减少表示大小和算术成本方面的优势,但同时也表明这些优势可能导致数据移动的增加。

摘要:

我们介绍了一种新的理论框架,用于推导双线性算法中数据移动的下界。双线性算法是快速计算双线性函数的通用表示,包括矩阵乘法、卷积和对称张量收缩。双线性算法由三个矩阵描述。我们的通信下界基于量化这些矩阵中匹配子集列的最小矩阵秩。这一基础设施为对称张量收缩算法提供了新的通信下界,提供了新的定性见解。张量对称性(在模式排列下的不变性)在许多张量应用中都很常见(例如,张量表示超图、数据分析高阶矩以及张量建模电子相互作用的计算化学)。张量对称性可以减少表示大小以及收缩的算术成本,以与等价排列数量成比例的因素。然而,我们推导出的下界表明,这些算术成本和内存减少可能需要数据移动的增加,以与张量大小成比例的因素。

英文摘要:

We introduce a new theoretical framework for deriving lower bounds on data movement in bilinear algorithms. Bilinear algorithms are a general representation of fast algorithms for bilinear functions, which include computation of matrix multiplication, convolution, and symmetric tensor contractions. A bilinear algorithm is described by three matrices. Our communication lower bounds are based on quantifying the minimal matrix ranks of matching subsets of columns of these matrices. This infrastructure yields new communication lower bounds for symmetric tensor contraction algorithms, which provide qualitative new insights. Tensor symmetry (invariance under permutation of modes) is common to many applications of tensor computations (e.g., tensor representation of hypergraphs, analysis of high order moments in data, as well as tensors modelling interactions of electrons in computational chemistry). Tensor symmetry enables reduction in representation size as well as arithmetic cost of contractions by factors that scale with the number of equivalent permutations. However, we derive lower bounds showing that these arithmetic cost and memory reductions can necessitate increases in data movement by factors that scale with the size of the tensors.

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

↑