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

快速高斯过程的低精度算法

Low-Precision Arithmetic for Fast Gaussian Processes

New York University(纽约大学)

Wesley J. Maddox, Andres Potapczynski, Andrew Gordon Wilson

摘要:

低精度算法对神经网络的训练产生了变革性的影响,减少了计算、内存和能量需求。然而,尽管它的承诺,低精度算法很少受到关注的高斯过程(GP),主要是因为GP需要复杂的线性代数例程是不稳定的低精度。我们研究了在半精度训练GP时可能发生的不同故障模式。为了规避这些故障模式,我们提出了一个多方面的方法,涉及共轭梯度与重新正交化,混合精度,和预处理。我们的方法显着提高了数值稳定性和实际性能的共轭梯度在低精度在广泛的设置,使全球定位系统训练$1.8$百万数据点在$10$小时在一个单一的GPU上,没有任何稀疏近似。

英文摘要:

Low-precision arithmetic has had a transformative effect on the training of neural networks, reducing computation, memory and energy requirements. However, despite its promise, low-precision arithmetic has received little attention for Gaussian processes (GPs), largely because GPs require sophisticated linear algebra routines that are unstable in low-precision. We study the different failure modes that can occur when training GPs in half precision. To circumvent these failure modes, we propose a multi-faceted approach involving conjugate gradients with re-orthogonalization, mixed precision, and preconditioning. Our approach significantly improves the numerical stability and practical performance of conjugate gradients in low-precision over a wide range of settings, enabling GPs to train on $1.8$ million data points in $10$ hours on a single GPU, without any sparse approximations.

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

↑