Communication Lower Bounds of Bilinear Algorithms for Symmetric Tensor Contractions

07/14/2017
by   Edgar Solomonik, et al.
0

Accurate numerical calculations of electronic structure are often dominated in cost by tensor contractions. These tensors are typically symmetric under interchange of modes, enabling reduced-size representations as well as a reduced computation cost. Direct evaluation algorithms for such contractions use matrix and vector unfoldings of the tensors, computing and accumulating products of input elements. Symmetry preserving algorithms reduce the number of products by multiplying linear combinations of input elements. The two schemes can be encoded via sparse matrices as bilinear algorithms. We formulate a general notion of expansion for bilinear algorithms in terms of the rank of submatrices of the sparse matrix encoding. This expansion bounds the number of products that can be computed provided a bounded amount of data. Consequently, we derive communication lower bounds for any sequential or parallel schedule of a bilinear algorithm with a given expansion. After deriving such expansion bounds for the tensor contraction algorithms, we obtain new results that demonstrate asymptotic communication overheads associated with exploiting symmetries. Computing a nonsymmetric tensor contraction requires less communication than either method for symmetric contractions when either (1) computing a symmetrized tensor-product of tensors of different orders or (2) the tensor unfolding of the contraction corresponds to a matrix-vector product with a nonsquare matrix. Further, when the unfolding is a product of two non-square matrices, asymptotically more communication is needed by the symmetry preserving algorithm than the traditional algorithm, despite its lower computation cost.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/21/2021

Communication Lower Bounds for Nested Bilinear Algorithms

We develop lower bounds on communication in the memory hierarchy or betw...
research
07/21/2022

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

Multiple Tensor-Times-Matrix (Multi-TTM) is a key computation in algorit...
research
03/15/2021

Bilinear Complexity of 3-Tensors Linked to Coding Theory

A well studied problem in algebraic complexity theory is the determinati...
research
02/08/2022

Optimal Evaluation of Symmetry-Adapted n-Correlations Via Recursive Contraction of Sparse Symmetric Tensors

We present a comprehensive analysis of an algorithm for evaluating high-...
research
09/01/2021

Reducing Computational Complexity of Tensor Contractions via Tensor-Train Networks

There is a significant expansion in both volume and range of application...
research
05/26/2022

Cost-efficient Gaussian Tensor Network Embeddings for Tensor-structured Inputs

This work discusses tensor network embeddings, which are random matrices...
research
11/22/2022

Representations of the symmetric group are decomposable in polynomial time

We introduce an algorithm to decompose orthogonal matrix representations...

Please sign up or login with your details

Forgot password? Click here to reset