Low-Precision Arithmetic for Fast Gaussian Processes

Wesley J. Maddox, Andres Potapczynski, Andrew Gordon Wilson
7/14/2022
cs.LG

No official code found. Best implementation: AndPotap/halfpres_gps (16 stars, BSD-2-Clause, last commit 2023-04-02).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

BSD-2-Clause
162Python, Jupyter NotebookJun 14, 20223 years agoBSD-2-Clause

Similar Papers

Cite this paper

@article{maddox2022lowprecision,
  title  = {Low-Precision Arithmetic for Fast Gaussian Processes},
  author = {Wesley J. Maddox and Andres Potapczynski and Andrew Gordon Wilson},
  year   = {2022},
  eprint = {2207.06856},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06856v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.06856.svg)](https://codeofpaper.com/paper/2207.06856)

Discussion