# Exploiting Symmetry in Tensors for High Performance

### Abstract

Symmetric tensor operations arise in a wide variety of computations. However, the benefits of exploiting symmetry in order to reduce storage and computation is in conflict with a desire to simplify memory access patterns. In this paper, we propose a blocked data structure (Blocked Compact Symmetric Storage) wherein we consider the tensor by blocks and store only the unique blocks of a symmetric tensor. We propose an algorithm-by-blocks, already shown of benefit for matrix computations, that exploits this storage format by utilizing a series of temporary tensors to avoid redundant computation. Further, partial symmetry within temporaries is exploited to further avoid redundant storage and redundant computation. A detailed analysis shows that, relative to storing and computing with tensors without taking advantage of symmetry and partial symmetry, storage requirements are reduced by a factor of $O(m!)$ and computational requirements by a factor of $O((m+1)!/2m)$, where $m$ is the order of the tensor. However, as the analysis shows, care must be taken in choosing the correct block size to ensure these storage and computational benefits are achieved (particularly for low-order tensors). An implementation demonstrates that storage is greatly reduced and the complexity introduced by storing and computing with tensors by blocks is manageable. Preliminary results demonstrate that computational time is also reduced. The paper concludes with a discussion of how insights in this paper point to opportunities for generalizing recent advances in the domain of linear algebra libraries to the field of multi-linear computation.

Type
Publication
SIAM Journal on Scientific Computing
Date
Tags
Citation
M. D. Schatz, T.-M. Low, R. A. van de Geijn, T. G. Kolda. Exploiting Symmetry in Tensors for High Performance. SIAM Journal on Scientific Computing, Vol. 36, No. 5, pp. C453-C479, 2014. https://doi.org/10.1137/130907215

### BibTeX

@article{ScLoVaKo14,
author = {Martin D. Schatz and Tze-Meng Low and van de Geijn, Robert A. and Tamara G. Kolda},
title = {Exploiting Symmetry in Tensors for High Performance},
journal = {SIAM Journal on Scientific Computing},
volume = {36},
number = {5},
pages = {C453--C479},
month = {September},
year = {2014},
doi = {10.1137/130907215},
}