cuFastTuckerPlus:使用GPU张量核心的随机并行稀疏FastTucker分解
cuFastTuckerPlus: A Stochastic Parallel Sparse FastTucker Decomposition Using GPU Tensor Cores
AI总结:
针对大规模稀疏张量分解,提出FastTuckerPlus算法,将问题分解为两个非凸问题并用随机梯度下降交替求解,同时设计基于GPU张量核心的细粒度并行实现cuFastTuckerPlus,实现3-5倍加速。
摘要:
稀疏张量在现实应用中普遍存在,通常具有大规模、高阶和高维的特点。由于涉及显著的内存和计算开销,直接处理原始张量是不切实际的。当前主流方法是对原始张量进行压缩或分解。一种流行的张量分解算法是Tucker分解。然而,现有的大规模Tucker分解最先进算法通常将原始优化问题放宽为多个凸优化问题以确保多项式收敛。不幸的是,这些算法往往收敛缓慢。相比之下,张量分解具有简单的优化景观,使得局部搜索算法能够更快地收敛到全局(近似)最优解。在本文中,我们提出了FastTuckerPlus算法,它将原始优化问题分解为两个非凸优化问题,并使用随机梯度下降方法交替求解。此外,我们引入了cuFastTuckerPlus,一种为GPU平台设计的细粒度并行算法,利用张量核心的性能。该算法最小化内存访问开销和计算成本,超越了最先进的算法。我们的实验结果表明,与最先进算法相比,我们的方法实现了3倍到5倍的加速。
英文摘要:
Sparse tensors are prevalent in real-world applications, often characterized by their large-scale, high-order, and high-dimensional nature. Directly handling raw tensors is impractical due to the significant memory and computational overhead involved. The current mainstream approach involves compressing or decomposing the original tensor. One popular tensor decomposition algorithm is the Tucker decomposition. However, existing state-of-the-art algorithms for large-scale Tucker decomposition typically relax the original optimization problem into multiple convex optimization problems to ensure polynomial convergence. Unfortunately, these algorithms tend to converge slowly. In contrast, tensor decomposition exhibits a simple optimization landscape, making local search algorithms capable of converging to a global (approximate) optimum much faster. In this paper, we propose the FastTuckerPlus algorithm, which decomposes the original optimization problem into two non-convex optimization problems and solves them alternately using the Stochastic Gradient Descent method. Furthermore, we introduce cuFastTuckerPlus, a fine-grained parallel algorithm designed for GPU platforms, leveraging the performance of tensor cores. This algorithm minimizes memory access overhead and computational costs, surpassing the state-of-the-art algorithms. Our experimental results demonstrate that our method achieves a speedup of $3X$ to $5X$ compared to state-of-the-art algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。