arrow
返回

High-Performance Tensor-Train Primitives Using GPU Tensor Cores

delete2024-11-01
delete0
PRE
AI
X
Xiao-Yang Liu
H
Hao Hong
Z
Zeliang Zhang
W
Weiqin Tong
J
Jean Kossaifi
X
Xiaodong Wang *
A
Anwar Walid
DOI:10.1109/TC.2024.3441831delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Learning tensor-train (TT) structure (a.k.a matrix product state (MPS) representation) from large-scale high-dimensional data has been a common task in big data analysis, deep learning, and quantum machine learning. However, tensor-train algorithms are compute-intensive, which hinders their real-world applications. In this paper, we present high-performance tensor-train primitives using GPU tensor cores and demonstrate three applications. First, we use GPU tensor cores to optimize tensor-train primitives, including tensor contraction, singular value decomposition, and data transfer and computing. Second, we utilize the optimized primitives to accelerate tensor-train decomposition algorithms for big data analysis. Further, we propose a shard mode for high-order tensor computations on multiple GPUs. Third, we apply the optimized primitives to accelerate the tensor-train layer for compressing deep neural networks. Last, we utilize the optimized primitives to accelerate a quantum machine learning algorithm called Density Matrix Renormalization Group (DMRG). In performance evaluations, our third-order TT tensor decomposition achieves up to 3.34x and 6.91x speedups over two popular libraries (namely T3F and tntorch) on an A100 GPU, respectively. The proposed sixth-order tensor-train decomposition achieves up to a speedup of 5.01x over T3F on multiple A100 GPUs. Our tensor-train layer for a fully connected neural network achieves a compression ratio of 65.3x at the cost of 0.3% drop in accuracy and a speedup of 1.53x over a PyTorch implementation on CUDA cores. The optimized DMRG algorithm achieves up to a speedup of 14.0x over TensorNetwork, indicating the potential of the optimized tensor primitives for the classical simulation of quantum machine learning algorithms.
Keyword:
Tensors
Graphics processing units
Matrix decomposition
Machine learning algorithms
Big Data
Libraries
Matrix converters
Tensor-train
matrix product state
GPU tensor cores
big data
tensor layer
quantum machine learning

期刊

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

机构

C
Columbia University
学者数:
7.1W
论文数: 6.4W
被引数: 263
R
rensselaer polytechnic institute
学者数:
7.0K
论文数: 6.5K
被引数: 6
S
shanghai university
学者数:
3.9W
论文数: 2.7W
被引数: 52
学者 查看更多机构
引用论文

引用论文

A Planar Decanuclear Cobalt(II) Phosphonate
err2014-04-22
err0
PREAI
errDipankar Sahoo; Ramesh K. Metre; Wolfgang Kroener; Klaus Gieb; Paul Müller; Vadapalli Chandrasekhar
err分享
err收藏
High-Performance Tensor Learning Primitives Using GPU Tensor Cores使用GPU张量核的高性能张量学习原语
err2023-06-01
err3
PREAI
errLiu, Xiao-Yang; Zhang, Zeliang; Wang, Zhiyuan; Lu, Han; Wang, Xiaodong; Walid, Anwar
err分享
err收藏
Tensor Decompositions and Applications张量分解及其应用
err2009-08-05
err7.5K
PREAI
errKolda, Tamara G.; Bader, Brett W.
err分享
err收藏
Parallel time-dependent variational principle algorithm for matrix product states
err2020-06-05
err29
errOAAI
errSecular, Paul; Gourianov, Nikita; Lubasch, Michael; Dolgov, Sergey; Clark, Stephen R.; Jaksch, Dieter
err分享
err收藏
Tensor Decompositions for Signal Processing Applications
err2015-03-01
err1.0K
errOAAI
errCichocki, Andrzej; Mandic, Danilo P.; Anh Huy Phan; Caiafa, Cesar F.; Zhou, Guoxu; Zhao, Qibin; De Lathauwer, Lieven
err分享
err收藏
MIXED PRECISION BLOCK FUSED MULTIPLY-ADD: ERROR ANALYSIS AND APPLICATION TO GPU TENSOR CORES
err2020-05-27
err37
errOAAI
errBlanchard, Pierre; Higham, Nicholas J.; Lopez, Florent; Mary, Theo; Pranesh, Srikara
err分享
err收藏
学者 查看更多内容