arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.05238cs.DCcs.PF
收藏

在共享内存CPU架构与GPU架构上求解大规模秩亏线性最小二乘问题

Solving Large Rank-Deficient Linear Least-Squares Problems on Shared-Memory CPU Architectures and GPU Architectures

Mónica Chillarón, Gregorio Quintana-Ortí, Vicente Vidal, Per-Gunnar Martinsson

AI总结:

本文针对系数矩阵过大无法装入主存的秩亏最小二乘问题,提出基于randUTV完全正交分解的CPU和GPU新方法,实验证明其在磁盘数据上的精度与性能可与主存内最先进方法竞争。

摘要:

求解超大规模线性方程组是科学与技术中的一项关键计算任务。在许多情况下,线性系统的系数矩阵是秩亏的,导致系统可能是欠定的、不相容的,或两者兼有。在这种情况下,人们通常寻求计算使问题残差最小化的最小二乘解;当系数矩阵具有非平凡零空间时,该解可进一步定义为具有最小范数的解。本工作提出了若干新技术,用于求解涉及系数矩阵规模过大而无法装入主存的最小二乘问题。实现包括CPU和GPU两种变体。所有技术都依赖于完全正交分解,以保证无论矩阵的秩性质如何,最小二乘解的两个条件都得到满足。具体而言,它们依赖于最近提出的“randUTV”算法,该算法在强通信受限环境中尤其有效。详细的精度与性能研究表明,这些在磁盘存储数据上运行的新方法与将所有数据存储在主存中的最先进方法相比具有竞争力。

英文摘要:

Solving very large linear systems of equations is a key computational task in science and technology. In many cases, the coefficient matrix of the linear system is rank-deficient, leading to systems that may be underdetermined, inconsistent, or both. In such cases, one generally seeks to compute the least squares solution that minimizes the residual of the problem, which can be further defined as the solution with smallest norm in cases where the coefficient matrix has a nontrivial nullspace. This work presents several new techniques for solving least squares problems involving coefficient matrices that are so large that they do not fit in main memory. The implementations include both CPU and GPU variants. All techniques rely on complete orthogonal decompositions that guarantee that both conditions of a least squares solution are met, regardless of the rank properties of the matrix. Specifically, they rely on the recently proposed "randUTV" algorithm that is particularly effective in strongly communication-constrained environments. A detailed precision and performance study reveals that the new methods, that operate on data stored on disk, are competitive with state-of-the-art methods that store all data in main memory.

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

↑