November 17, 2019
Conference Paper

An Efficient Mixed-Mode Representation of Sparse Tensors

Abstract

The Compressed Sparse Fiber (CSF) representation for sparse tensors is a generalization of the Compressed Sparse Row (CSR) format for sparse matrices. For a tensor with d modes, typical tensor methods such as CANDECOMP/PARAFAC decomposition (CPD) require a sequence of d tensor computations, where efficient memory access with respect to different modes is required for each of them.The straightforward solution is to use d distinct representations of the tensor, with each one being efficient for one of the d computations. However, a d-fold space overhead is often unacceptable in practice, especially with memory-constrained GPUs. In this paper, we present a mixed-mode tensor representation that partitions the tensor’s nonzero elements into disjoint sections, each of which is compressed to create fibers along a different mode. Experimental results on the latest generation of GPU device demonstrate that better performance can be achieved by using the mixed-mode representation, while utilizing only a small fraction of the space required to keep d distinct CSF representations.

Revised: January 2, 2020 | Published: November 17, 2019

Citation

Nisa I., J. Li, A. Sukumaran-Rajan, P. Rawat, S. Krishnamoorthy, and P. Sadayappan. 2019. An Efficient Mixed-Mode Representation of Sparse Tensors. In International Conference on High Performance Computing, Networking, Storage and Analysis, November 17-22, 2019, Denver, CO, Article No. a49. Los Alamitos, California:IEEE Computer Society. PNNL-SA-142737. doi:10.1145/3295500.3356216