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

HiGP: 一种高性能的Python包用于高斯过程

HiGP: A high-performance Python package for Gaussian Process

Georgia Institute of Technology(佐治亚理工学院);Emory University(埃默里大学)

Hua Huang, Tianshi Xu, Yuanzhe Xi, Edmond Chow

AI总结:

HiGP是一种高性能的Python包,通过先进的数值线性代数和层次化核表示,解决高斯过程在大规模应用中的计算瓶颈问题。

摘要:

高斯过程(GPs)是一种灵活的非参数贝叶斯模型,因其能够捕捉复杂的数据模式并量化预测不确定性而被广泛用于回归和分类。然而,核矩阵运算的O(n^3)计算成本对大规模应用构成了主要障碍。HiGP是一种高性能的Python包,通过先进的数值线性代数和层次化核表示来克服这些可扩展性限制。它集成了H^2矩阵以实现空间数据在存储和计算上的近线性复杂度,支持按需核评估以避免在大规模问题中显式存储,还结合了稳健的自适应因子化Nyström(AFN)预条件器,加速了迭代求解器在广泛核谱范围内的收敛速度。这些计算内核用C++实现以获得最大性能,并通过Python接口暴露,使无缝集成现代机器学习工作流成为可能。HiGP还包含解析导出的梯度计算以实现高效的超参数优化,避免了迭代求解器中自动微分的低效性。通过作为可重用的数值引擎,HiGP补充了现有的GP框架,如GPJax、KeOps和GaussianProcesses.jl,为大规模高斯过程回归和分类提供了可靠的可扩展计算基础。

英文摘要:

Gaussian Processes (GPs) are flexible, nonparametric Bayesian models widely used for regression and classification because of their ability to capture complex data patterns and quantify predictive uncertainty. However, the O(n^3) computational cost of kernel matrix operations poses a major obstacle to applying GPs at scale. HiGP is a high-performance Python package designed to overcome these scalability limitations through advanced numerical linear algebra and hierarchical kernel representations. It integrates H^2 matrices to achieve near-linear complexity in both storage and computation for spatial datasets, supports on-the-fly kernel evaluation to avoid explicit storage in large-scale problems, and incorporates a robust Adaptive Factorized Nyström (AFN) preconditioner that accelerates convergence of iterative solvers across a broad range of kernel spectra. These computational kernels are implemented in C++ for maximum performance and exposed through Python interfaces, enabling seamless integration with modern machine learning workflows. HiGP also includes analytically derived gradient computations for efficient hyperparameter optimization, avoiding the inefficiencies of automatic differentiation in iterative solvers. By serving as a reusable numerical engine, HiGP complements existing GP frameworks such as GPJax, KeOps, and GaussianProcesses.jl, providing a reliable and scalable computational backbone for large-scale Gaussian Process regression and classification.

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

↑