Fast Search of the Optimal Contraction Sequence in Tensor Networks
Fast Search of the Optimal Contraction Sequence in Tensor Networks
复制标题
张量网络中最优收缩序列的快速搜索
DOI:
10.1109/jstsp.2021.3051231
复制
发表时间:
2021
影响因子:
7.5
通讯作者:
Xie, Yuan
中科院分区:
文献类型:
--
作者:
Liang, Ling;Xu, Jianyu;Deng, Lei;Yan, Mingyu;Hu, Xing;Zhang, Zheng;Li, Guoqi;Xie, Yuan
Tensor network and tensor computation are widely applied in scientific and engineering domains like quantum physics, electronic design automation, and machine learning. As one of the most fundamental operations for tensor networks, a tensor contraction eliminates the sharing orders among tensors and produces a compact sub-network. Different contraction sequence usually yields distinct storage and compute costs, and searching the optimal sequence is known as a hard problem. Prior work have designed heuristic and fast algorithms to solve this problem, however, several issues still remain unsolved. For example, the data format and data structure are not efficient, the constraints during modeling are impractical, the search of the optimal solution might fail, and the search cost is very high. In this paper, we first introduce aorder representation and design an adjacency matrix-based data structure to efficiently accelerate the search of the optimal contraction sequence. Then, we propose an outer product pruning method with acceptable overhead to reduce the search space. Finally, we use a multithread optimization in our implementation to further improve the execution performance. We also present in-depth analysis of factors that influence the search time. This work provides a full-stack solution for optimal contraction sequence search from both high-level data structure and search algorithm to low-level execution parallelism, and it will benefit a broad range of tensor-related applications.
登录
查看更多内容
DOI:
10.1142/s0129626497000176
发表时间:
1997
期刊:
Parallel Process. Lett.
影响因子:
--
作者:
Chi;P. Sadayappan;R. Wenger
通讯作者:
R. Wenger
DOI:
--
发表时间:
2013
期刊:
影响因子:
--
作者:
G. Evenbly;R. N. C. Pfeifer
通讯作者:
R. N. C. Pfeifer
影响因子:
8.6
作者:
G. Evenbly;G. Vidal
通讯作者:
G. Vidal
影响因子:
2.2
作者:
Szilárd Szalay;Max Pfeffer;V. Murg;Gergely Barcza;F. Verstraete;R. Schneider;O. Legeza
通讯作者:
Szilárd Szalay;Max Pfeffer;V. Murg;Gergely Barcza;F. Verstraete;R. Schneider;O. Legeza
DOI:
--
发表时间:
2006
期刊:
International Conference on Conceptual Structures
影响因子:
--
作者:
Albert Hartono;Q. Lu;X. Gao;S. Krishnamoorthy;M. Nooijen;Gerald Baumgartner;D. Bernholdt;Venkatesh Choppella;R. Pitzer;J. Ramanujam;A. Rountev;P. Sadayappan
通讯作者:
P. Sadayappan