一种用于GPU上的高效批量奇异值分解求解器
An Efficient Batch Solver for the Singular Value Decomposition on GPUs
AI总结:
本文提出一种针对GPU的高效批量SVD求解器,采用一侧雅可比算法实现细粒度并行,通过多项优化提升性能,实验显示其在不同数值特性、矩阵形状和精度下均表现稳健,显著优于现有商用和开源解决方案。
摘要:
奇异值分解(SVD)是现代数值线性代数中的强大工具,支撑着主成分分析(PCA)、低秩近似和随机算法等计算方法。许多实际场景需要解决多个小规模SVD问题,这被称为“批量SVD”模式。现有编程模型在并行CPU架构上能高效处理此问题,但GPU上的高性能解决方案仍不成熟。本文提出一种面向GPU的批量SVD求解器。该求解器利用一侧雅可比算法利用细粒度并行性,并通过多项算法和设计优化实现前所未有的性能。从基线求解器开始,依次应用一系列优化以获得逐步的性能提升。数值实验显示,新求解器在不同数值特性、矩阵形状和算术精度的问题上均表现出鲁棒性。在NVIDIA和AMD系统上的性能基准测试显示,该求解器在商用解决方案和现有开源求解器上均实现了显著的速度提升。
英文摘要:
The singular value decomposition (SVD) is a powerful tool in modern numerical linear algebra, which underpins computational methods such as principal component analysis (PCA), low-rank approximations, and randomized algorithms. Many practical scenarios require solving numerous small SVD problems, a regime generally referred to as "batch SVD". Existing programming models can handle this efficiently on parallel CPU architectures, but high-performance solutions for GPUs remain immature. A GPU-oriented batch SVD solver is introduced. This solver exploits the one-sided Jacobi algorithm to exploit fine-grained parallelism, and a number of algorithmic and design optimizations achieve unmatched performance. Starting from a baseline solver, a sequence of optimizations is applied to obtain incremental performance gains. Numerical experiments show that the new solver is robust across problems with different numerical properties, matrix shapes, and arithmetic precisions. Performance benchmarks on both NVIDIA and AMD systems show significant performance speedups over vendor solutions as well as existing open-source solvers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。