Skip to content

Commit f2a561b

Browse files
Merge pull request #785 from stan-dev/gp_computation_cost_warning
warn about the computation cost of GPs
2 parents 0078953 + 5eedb5e commit f2a561b

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

src/bibtex/all.bib

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,3 +1816,12 @@ @article{zhang_pathfinder:2022
18161816
url = {http://jmlr.org/papers/v23/21-0889.html}
18171817
}
18181818

1819+
@article{Riutort-Mayol:2023:HSGP,
1820+
title={Practical {Hilbert} space approximate {Bayesian} {Gaussian} processes for probabilistic programming},
1821+
author={Riutort-Mayol, Gabriel and B{\"u}rkner, Paul-Christian and Andersen, Michael R and Solin, Arno and Vehtari, Aki},
1822+
journal={Statistics and Computing},
1823+
volume={33},
1824+
number={1},
1825+
pages={17},
1826+
year={2023}
1827+
}

src/stan-users-guide/gaussian-processes.qmd

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,16 @@ Gaussian processes are general, and by necessity this chapter
4444
only touches on some basic models. For more information, see
4545
@RasmussenWilliams:2006.
4646

47+
Note that fitting Gaussian processes as described below using exact
48+
inference by computing Cholesky of the covariance matrix scales
49+
cubicly with the size of data. Due to how Stan autodiff is
50+
implemented, Stan is also slower than Gaussian process specialized
51+
software. It is likely that Gaussian processes using exact inference
52+
by computing Cholesky of the covariance matrix with $N>1000$ are too
53+
slow for practical purposes in Stan. There are many approximations to
54+
speed-up Gaussian process computation, from which the basis function
55+
approaches for 1-3 dimensional $x$ are easiest to implement in Stan
56+
(see, e.g., @Riutort-Mayol:2023:HSGP).
4757

4858
## Gaussian process regression
4959

0 commit comments

Comments
 (0)