arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.21379math.NAcs.NA
收藏

一种通过随机化实现的实用模式并行(H-)Tucker分解方法

A Practical Mode-parallel Implementation of the (H-)Tucker Decomposition via Randomization

Alma Mater Studiorum Università di Bologna(博洛尼亚大学);CINECA

Martina Iannacito, Sascha Portaro, Davide Palitta, Claudio Arlandini, Domitilla Brandoni

AI总结:

本文提出一种基于随机化技术的模式并行H-Tucker分解方法,通过并行处理各模式以减少计算时间和存储需求,展示了在HPC环境中的良好扩展性。

摘要:

在过去的几十年中,张量因其能够以紧凑且信息丰富的方式表示多维数据而受到重视。此外,通过执行此类张量的低秩分解,通常能够有效揭示数据中的潜在结构,主要是由于不同变量之间的意外依赖关系。然而,计算这些分解非常耗能且内存需求大,尤其对于高维张量(即具有大量模式的张量)而言。本文聚焦于两种最先进的张量分解:Tucker和H-Tucker分解。我们提出了一种新的数值策略,能够以模式并行的方式执行这些分解,即算法在所有模式上所需的操作均并行执行。这与文献中许多方法不同,这些方法在每个模式上并行化某些操作(如张量-矩阵乘法步骤),但仍然以顺序方式访问每个模式。我们的策略利用了最新的随机化技术,包括纤维采样和随机化范围查找步骤。我们提供了所提出分解的误差期望值的上界,并通过一系列数值结果展示了我们的方法在减少整个过程的运行时间和存储需求方面的潜力。此外,在HPC环境中进行的实验展示了我们模式并行方法的良好扩展性。

英文摘要:

In the last decades, tensors have emerged as the right tool to represent multidimensional data in a compact yet informative manner. Moreover, it is well-known that by performing low-rank factorizations of such tensors one is often able to effectively unveil possible hidden structure in data, mainly due to unexpected dependencies among the different variables encoded in the given tensor. However, computing these factorizations is extremely energy-consuming and memory-demanding, especially for high-dimensional tensors, namely those with a large number of modes. In this paper we focus on two state-of-the-art tensor decompositions: the Tucker and H-Tucker decompositions. We propose novel numerical strategies able to perform these factorizations in a mode-parallel fashion, that is the operations required by the algorithm along all modes are performed in parallel. This is in contrast to what is achieved by many procedures available in the literature that parallelize some of the operations along each mode, e.g., tensor-times-matrix steps, while still visiting one mode at the time in a sequential manner. Our strategies make use of cutting-edge randomization techniques comprising fiber sampling and randomized range-finding steps. In case of Tucker decomposition, we provide upper bounds on the expected value of the error provided sufficiently large sampling parameters have been adopted. A panel of numerical results showcases the potential of our approach in reducing both the running time and the storage demand of computing Tucker and H-Tucker decompositions. Moreover, experiments carried out in HPC environments illustrate the good scaling of our mode-parallel approach.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑