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

用分层非对角低秩逼近求解GPU上的线性系

Solving Linear Systems on a GPU with Hierarchically Off-Diagonal Low-Rank Approximations

Chao Chen, Per-Gunnar Martinsson

摘要:

我们感兴趣的是解决线性系所产生的三个应用:(1)核方法在机器学习中,(2)离散化的边界积分方程从数学物理,(3)舒尔补形成在许多大型稀疏矩阵的因式分解。系数矩阵通常是数据稀疏的,因为它们的非对角块具有低的数值秩;具体来说,我们专注于“分层非对角低秩(HODLR)”矩阵。我们介绍了因式分解HODLR矩阵和在GPU上应用因式分解的算法。该算法利用了批处理稠密线性代数的效率,并且当数值秩固定时,它们与矩阵大小近似线性地缩放。HODLR矩阵近似的精度是一个可调参数,因此我们可以构造高精度的快速直接求解器或低精度的鲁棒预处理器。数值结果表明,我们可以在一个GPU上在几秒钟内解决数百万个未知数的问题。

英文摘要:

We are interested in solving linear systems arising from three applications: (1) kernel methods in machine learning, (2) discretization of boundary integral equations from mathematical physics, and (3) Schur complements formed in the factorization of many large sparse matrices. The coefficient matrices are often data-sparse in the sense that their off-diagonal blocks have low numerical ranks; specifically, we focus on "hierarchically off-diagonal low-rank (HODLR)" matrices. We introduce algorithms for factorizing HODLR matrices and for applying the factorizations on a GPU. The algorithms leverage the efficiency of batched dense linear algebra, and they scale nearly linearly with the matrix size when the numerical ranks are fixed. The accuracy of the HODLR-matrix approximation is a tunable parameter, so we can construct high-accuracy fast direct solvers or low-accuracy robust preconditioners. Numerical results show that we can solve problems with several millions of unknowns in a couple of seconds on a single GPU.

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

↑