Methods and design decisions¶
GPRidge has tried many ways to make the Gaussian process (GP) cheaper or more stable. Some are the default. Some are built and switched off. Some were measured and dropped. This section records which is which, so that nobody builds a technique again that is already in the tree or already closed.
Status: explanation. Every number on these pages names its source next to it: a commit, a test, a file in the repository, or an entry of the measured ledger. The ledger is a maintainer log that is not in the repository; its entries are cited by date and time. A number with no source here has no recorded source. Where the record has no number, the page says “no number recorded”.
How to read these pages¶
Each technique entry answers four questions in the same order.
What is it?
Is it on
develop, and how do you use it?What was measured, with the source?
Why was it kept, left off or dropped?
Status words¶
Word |
Meaning |
|---|---|
on develop, default |
The code runs in a normal search with no switch. |
on develop, opt-in |
The code runs only when a flag, key, option or call asks for it. |
on develop, built but unused |
The code is in the library and has tests, but no search path calls it. |
removed from develop |
The code existed and a later commit deleted it. |
measured, not adopted |
A measurement or a derivation closed the question. The reason is given. |
branch only |
The work exists only on a branch or in a ledger entry. It is not in |
“Measured, not adopted” can combine with another word. HS-SVD mode pruning is both opt-in and measured, not adopted: the switch exists and its default stays off.
What the record cannot show¶
The repository clone does not hold some branches that the ledger names. These ledger entries are the only evidence for their numbers, and the numbers cannot be reproduced from the tree.
improve/sparse-precision(commit11dabbfb7): Vecchia, SPDE, Wendland and link-cell nearest neighbours.improve/spectral-approx(fbe3a09b0): random features, structured interpolation and fast multipole against the dense Cholesky factor.improve/hmatrix(3223129f5),improve/structured-solves(ca8572cb3),improve/linop-core(a3d0d205),improve/prior-algebra(643a33c70) andimprove/cs-datastructures(25a200274).sparse-derivative-gp(a7e2b3ea,e906c7b4,bbef92ad,e81c25a5).
A few removals have no recorded reason: the HODLR and Nystrom backends
(commit d22aeeca8), the Vecchia experiment in the NEB loop and the SIDPP
hybrid. The pages say so where it applies. No benchmark output is recorded
for bench_vecchia_accuracy, bench_dskip_rank or bench_path_gmrf.
Closed questions¶
Read this table before you propose a new approximation. Each row is “measured, not adopted” or “removed from develop”. The page named in the last column has the numbers.
Idea |
Verdict and reason |
Page |
|---|---|---|
HODLR kernel factor |
Removed from develop ( |
|
Nystrom subset-of-data backend |
Removed from develop ( |
|
Low-rank preconditioners for CG |
Five failed on the derivative kernel: three at \(N=430\) ( |
|
Vecchia, SPDE, Wendland, link-cell kNN |
None beat the dense Cholesky at gpridge sizes (ledger 2026-11-13 16:36). Vecchia gradient error exceeded the tolerance. |
|
Sparse inverse Cholesky (Route 3) |
The inverse factor of the SE kernel is dense: 9.4 % error at 54 % fill ( |
|
Inducing directional derivatives (Route 2) |
Forces are not directionally low rank: 5 directions hold 43 % of the force energy ( |
|
D-SKI and D-SKIP |
Product rank reaches \(n\) by the fifth dimension at descriptor length scales ( |
|
Structured solves, Krylov recycling |
Search counts identical, host time 1 to 2 % lower (ledger 2026-11-13 17:50). |
|
Hierarchical matrices |
The link-cell cutoff keeps every pair, so the Gram matrix stays dense (ledger 2026-11-14 00:21). |
|
A-priori random-feature bound |
Needs \(10^{12}\) to \(10^{19}\) features on the measured surface (PR 223). |
|
Random features inside the dimer loop |
NaN curvature at 64 features; gradient error stays near 0.4 eV/A at 400 ( |
|
Radial far-field list |
Slower than the direct loop at every size measured, up to 32000 atoms ( |
|
HS-SVD mode pruning |
Keeps almost all 2925 modes; the rank collapse is column correlation, not eigenvalue size ( |
|
HS-SVD append and theta-skip |
GP optimisation time rose from 3.5 s to 14.0 s and the skip never fired ( |
|
Arrowhead append for the HS-SVD basis |
0.09 times the speed at \(k=62\) ( |
|
Nested delta uncertainty |
Nine cells more than two search calls worse (ledger 2026-11-13 18:47). |
|
Bare ZBL prior mean |
Roughens targets over the whole bonding manifold; replaced by the switched mean ( |
|
Probe preconditioning in the dimer |
Reverted ( |
|
Descriptor-blind variance floor |
No gain in search counts (ledger 2026-11-13 19:59). Not in the tree. |
Everything in one table¶
The table lists every technique in this section. “Use” gives the switch for
techniques that are on develop. A dash means there is no switch.
Technique |
Status |
Use |
|---|---|---|
Dense Cholesky with |
on develop, default |
|
Covariance operator layer, dense solver |
on develop, default |
none |
Krylov objective (mBCG, SLQ, Hutchinson) |
on develop, opt-in, C++ only |
|
Pivoted-Cholesky preconditioner |
on develop, opt-in |
inside the Krylov objective |
LOVE variance cache |
on develop, built but unused |
C++ |
Matrix-free PCG predict path |
on develop, opt-in at build time |
|
|
on develop, built but unused |
C++ |
|
on develop, built but unused |
C++ |
|
on develop, built but unused; measured, not adopted |
C++ |
|
on develop, built but unused |
C++ |
HODLR, Nystrom backends |
removed from develop |
none |
Nystrom-sketched L-BFGS start matrix |
on develop, opt-in |
|
Hutchinson trace for the hyperparameter gradient |
on develop, opt-in |
|
Random features, fixed count |
on develop, opt-in |
|
Random features, automatic count |
on develop, opt-in |
|
CUTLASS GEMM for the random-feature normal equations |
on develop, opt-in at build time |
|
Atomic inducing posterior |
on develop, opt-in, experimental, C++ and CLI |
|
Far-field kernel |
on develop, opt-in, C++ only |
|
Radial far-field list |
on develop, opt-in; measured, not adopted |
|
Local band ( |
on develop, opt-in |
|
|
branch only |
none |
HS-SVD stable basis |
on develop, default in |
|
Condition-floored noise in the stable basis |
on develop, default |
none |
Principled nugget |
on develop, default in |
|
Stable posterior variance (bordered pivots) |
branch only (PR 275 is open) |
|
Variance interval and noise-floor report |
branch only |
|
Derivative provider interface |
on develop, built but unused |
C++ |
Posterior-mean Hessian and Hessian action |
on develop, default |
|
Cholesky append and rank-one update |
on develop, default |
|
Theta-skip |
on develop, opt-in; measured, not adopted |
|
Compensated and exact sums |
on develop, default |
|
Ozaki Scheme I and II products |
on develop, opt-in |
|
Switched ZBL prior mean |
on develop, opt-in |
|
Teng Morse prior mean |
on develop, opt-in |
|
Laplace-slice, PSIS and delta arms |
on develop, opt-in |
|
Kernel algebra, multi-fidelity, gPoE |
branch only |
none |
Pages¶
Solvers: dense Cholesky and every alternative that was tried for the linear solve, from HODLR to the Krylov objective.
Approximations: random features, the atomic inducing posterior, the far-field kernel and the local band.
Numerics: HS-SVD, noise and variance, appends, mixed precision, priors, uncertainty arms and derivative providers.