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

Hussam Al Daas,Grey Ballard,Laura Grigori,Suraj Kumar,Kathryn Rouse
DOI: https://doi.org/10.1137/22m1510443
IF: 1.908
2024-02-07
SIAM Journal on Matrix Analysis and Applications
Abstract:SIAM Journal on Matrix Analysis and Applications, Volume 45, Issue 1, Page 450-477, March 2024. 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 (under mild conditions) 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 when the input and output tensors vary greatly in size.
mathematics, applied
What problem does this paper attempt to address?