arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.06434cs.DC
收藏

一种实用的GPU加速正交匹配追踪实现

A Practical GPU-Accelerated Implementation of Orthogonal Matching Pursuit

Johns Hopkins University(约翰斯·霍普金斯大学);DTU Compute(丹麦理工大学计算学院)

Ariel Lubonja, Sebastian Kazmarek Praesius, Trac Duy Tran

AI总结:

本文提出一种高效的GPU加速正交匹配追踪算法,利用Cholesky逆性质和GPU加速,实现比Scikit-Learn快310倍、比SPAMS快26倍的性能提升。

摘要:

在给定容差的情况下,寻找欠定系统y=Ax的稀疏解被证明是NP难的。许多近似解存在,正交匹配追踪(OMP)是最常用的之一。然而,现有OMP实现未充分利用矩阵属性或现代CPU和GPU基于线性代数内核。本文实现了一种高效的OMP实现,利用Cholesky逆性质和GPU的威力,实现比Scikit-Learn快310倍、比SPAMS快26倍的加速。该包发布在PyPI(pip install batched-omp)并完全兼容Scikit-Learn。

英文摘要:

Finding the sparsest solution to the underdetermined system $\mathbf{y}=\mathbf{Ax}$, given a tolerance, is known to be NP-hard. Many approximate solutions to this problem exist, and Orthogonal Matching Pursuit (OMP) is one of the most widely used. However, existing OMP implementations don't take full advantage of matrix properties or modern CPU and GPU-based Linear Algebra kernels. For this paper, we implemented an efficient implementation of OMP that leverages Cholesky inverse properties as well as the power of GPUs to deliver up to \textbf{310x speedup over Scikit-Learn} and \textbf{26x over SPAMS}. The package is published on PyPI (\texttt{pip install batched-omp}) and is fully scikit-learn compatible.

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

↑