cu_FastTucker:多GPU上并行稀疏Tucker分解的快速稳定随机优化算法
cu_FastTucker: A Faster and Stabler Stochastic Optimization for Parallel Sparse Tucker Decomposition on Multi-GPUs
摘要:
高阶、高维和稀疏张量(HOHDST)数据源于实际的工业应用,即,社交网络、推荐系统、生物信息和交通信息。稀疏张量分解(STD)可以将HOHDST数据投影到低秩空间。本文提出了一种新的Kruskal逼近核张量的STD方法和逼近整体梯度的随机策略,该方法包括以下两个部分:(1)核张量的Kruskal积的矩阵化展开顺序遵循因子矩阵的乘法顺序,从而将指数运算量降为线性运算量;(2)随机策略采用一步随机抽样集来逼近整个梯度,抽样集的体积远小于原始样本集的体积。同时,该方法可以保证收敛性,节省内存开销。由于同阶矩阵乘法的紧凑性和随机策略的并行访问,cuFastTucker的速度可以通过GPU进一步增强。此外,针对大规模HOHDST数据无法在单个GPU上容纳的问题,提出了cuFastTucker的数据划分和通信策略,用于多GPU上的数据容纳。cuFastTucker可以实现最快的速度,并保持相同的精度和比SOTA算法低得多的内存开销,例如,P $-$ Tucker、Vest和SGD $\_$ Tucker。代码和部分数据集可在“https://github.com/ZixuanLi-China/FastTucker”上免费获得。
英文摘要:
High-Order, High-Dimension, and Sparse Tensor (HOHDST) data originates from real industrial applications, i.e., social networks, recommender systems, bio-information, and traffic information. Sparse Tensor Decomposition (STD) can project the HOHDST data into low-rank space. In this work, a novel method for STD of Kruskal approximating the core tensor and stochastic strategy for approximating the whole gradient is proposed which comprises of the following two parts: (1) the matrization unfolding order of the Kruskal product for the core tensor follows the multiplication order of the factor matrix and then the proposed theorem can reduce the exponential computational overhead into linear one; (2) stochastic strategy adopts one-step random sampling set, the volume of which is much smaller than original one, to approximate the whole gradient. Meanwhile, this method can guarantee the convergence and save the memory overhead. Due to the compactness of the same order matrix multiplication and parallel access from stochastic strategy, the speed of cuFastTucker can be further reinforced by GPU. Furthermore, %because large-scale HOHDST data cannot be accommodated in a single GPU, a data division and communication strategy of cuFastTucker is proposed for data accommodation on Multi-GPU. cuFastTucker can achieve the fastest speed and keep the same accuracy and much lower memory overhead than the SOTA algorithms, e.g., P$-$Tucker, Vest, and SGD$\_$Tucker. The code and partial datasets are publically available on "https://github.com/ZixuanLi-China/FastTucker".
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。