arrow
返回

Input-Aware Sparse Tensor Storage Format Selection for Optimizing MTTKRP

delete2021-01-01
delete5
PRE
AI
Q
Qingxiao Sun
Y
Yi Liu
H
Hailong Yang *
M
Ming Dun
Z
Zhongzhi Luan
L
Lin Gan
G
Guangwen Yang
D
Depei Qian
DOI:10.1109/TC.2021.3113028delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Canonical polyadic decomposition (CPD) is one of the most common tensor computations adopted in many scientific applications. The major bottleneck of CPD is matricized tensor times Khatri-Rao product (MTTKRP). To optimize the performance of MTTKRP, various sparse tensor formats have been proposed such as CSF and HiCOO. However, due to the spatial complexity of the tensors, no single format fits all tensors. To address this problem, we propose SpTFS, a framework that automatically predicts the optimal storage format for an input sparse tensor. Specifically, SpTFS leverages a set of sampling methods to lower the sparse tensor to fixed-sized matrices and sparsity features. In addition, SpTFS adopts both supervised learning based and unsupervised learning based methods to predict the optimal sparse tensor storage formats. For supervised learning, we propose TnsNet that combines convolution neural network (CNN) and the feature layer, which effectively captures the sparsity patterns of the input tensors. Once trained, the TnsNet can be used with either density or histogram representation of the input tensor for optimal format prediction. Whereas for unsupervised learning, we propose TnsClustering that consists of a feature encoder using convolutional layers and fully connected layers, and a K-means++ model to cluster sparse tensors for optimal tensor format prediction, without massively profiling on the hardware platform. SpTFS can use the above two models to predict the optimal tensor storage format for accelerating MTTKRP accurately. The experimental results show that both TnsNet and TnsClustering can achieve higher prediction accuracy and performance speedup compared to the state-of-the-art works.
Keyword:
Tensors
Sparse matrices
Hardware
Convolutional neural networks
Matrix decomposition
Unsupervised learning
Task analysis
Tensor computation
MTTKRP
sparse tensor storage format
convolutional neural network
convolutional autoencoder

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

T
tsinghua university
学者数:
11.9W
论文数: 10.0W
被引数: 137
B
Beihang University
学者数:
5.2W
论文数: 4.1W
被引数: 37
引用论文

引用论文

Quantitative MRI texture analysis in chronic active multiple sclerosis lesions
err2021-06-01
err0
PREAI
errClaudia E. Weber; Matthias Wittayer; Matthias Kraemer; Andreas Dabringhaus; Michael Platten; Achim Gass; Philipp Eisele
err分享
err收藏
Prefrontal cortical-specific differences in behavior and synaptic plasticity between adolescent and adult mice
err2018-03-01
err0
errOAAI
errXanthippi Konstantoudaki; Kleanthi Chalkiadaki; Elisabeth Vasileiou; Katerina Kalemaki; Domna Karagogeos; Kyriaki Sidiropoulou
err分享
err收藏
Enacting musical emotions. sense-making, dynamic systems, and the embodied mind
err2016-07-22
err0
PREAI
errAndrea Schiavio; Dylan van der Schyff; Julian Cespedes-Guevara; Mark Reybrouck
err分享
err收藏
Tensor Decompositions and Applications张量分解及其应用
err2009-08-05
err7.5K
PREAI
errKolda, Tamara G.; Bader, Brett W.
err分享
err收藏
Co‐evolution of cerebral and cerebellar expansion in cetaceans
err2019-09-26
err0
errOAAI
errAmandine Sophie Muller; Stephen Hugh Montgomery
err分享
err收藏
学者 查看更多内容