张量列或矩阵乘积算子的并行收缩
Parallelized contraction of tensor trains or matrix product operators
AI总结:
针对张量列收缩中拟合算法计算成本高的问题,提出MPI分布式并行策略(逆规范/位点规范两种规范选择)和随机投影降维方法,实现近理想加速比并保持精度。
摘要:
张量列(TT),也称为矩阵乘积态(MPS)和矩阵乘积算子(MPO),为高维数据和算子提供了紧凑且结构化的表示。涉及张量列的最昂贵操作之一是收缩两个MPO。一种流行且准确的方法是拟合算法。然而,由于涉及双位点更新,该算法仍然相对昂贵。此外,用于MPO-MPO收缩的拟合算法的并行化受到的关注相对较少。在这项工作中,我们提出了两种可组合使用的加速拟合算法的策略:(1)我们使用基于MPI的分布式内存并行化,专门针对MPO-MPO收缩,采用两种MPO规范选择之一:(1a)逆规范,它在所有问题规模上实现近乎理想的并行加速比;以及(1b)位点规范,它避免了奇异值的求逆,但需要额外计算以确保全局一致性,因此仅对需要多次扫描才能收敛的大问题产生优异的并行加速比。(2)我们使用随机投影将局部更新的成本从双位点降低到单位点,同时保持双位点精度,并加速环境张量与MPO张量的收缩。
英文摘要:
Tensor Trains (TT), also known as Matrix Product States (MPS) and Matrix Product Operators (MPO), provide a compact and structured representation for high-dimensional data and operators. One of the most expensive manipulations involving tensor trains is the contraction of two MPOs. A popular and accurate method for mitigating this cost is the fit algorithm. However, it is still comparatively costly since it involves 2-site updates. Moreover, the parallelization of the fit algorithm when used for MPO-MPO contractions has received comparatively little attention. In this work, we present two strategies for accelerating the fit algorithm, usable in combination: (1) We use MPI-based distributed-memory parallelization tailored for MPO-MPO contractions, employing one of two MPO gauge choices: (1a) the inverse canonical gauge, which yields near-ideal parallelization speedup across all problem sizes; and (1b) the site-canonical gauge, which avoids the inversion of singular values but requires extra computations to ensure global consistency, thus yielding excellent parallelization speedup only for large problems requiring several sweeps before convergence. (2) We use randomized projections to reduce the cost of local updates from 2-site to 1-site costs while retaining 2-site accuracy, and to speed up contractions of environment tensors with MPO tensors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。