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.

  1. What is it?

  2. Is it on develop, and how do you use it?

  3. What was measured, with the source?

  4. 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 develop.

“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 (commit 11dabbfb7): 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) and improve/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 (d22aeeca8). No reason is recorded. Dense factor stayed exact and cheap at gpridge sizes.

Solvers

Nystrom subset-of-data backend

Removed from develop (d22aeeca8). No reason is recorded. The spectrum of the derivative kernel is flat.

Solvers

Low-rank preconditioners for CG

Five failed on the derivative kernel: three at \(N=430\) (9fa28ef56), a deflated one (21cadced3) and block Jacobi at 8 ranks (19e8393c0). The spectrum has too much mass past rank \(k\).

Solvers

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.

Solvers

Sparse inverse Cholesky (Route 3)

The inverse factor of the SE kernel is dense: 9.4 % error at 54 % fill (70a89a96b).

Solvers

Inducing directional derivatives (Route 2)

Forces are not directionally low rank: 5 directions hold 43 % of the force energy (d27e4e6a6).

Solvers

D-SKI and D-SKIP

Product rank reaches \(n\) by the fifth dimension at descriptor length scales (6b51112b8).

Solvers

Structured solves, Krylov recycling

Search counts identical, host time 1 to 2 % lower (ledger 2026-11-13 17:50).

Solvers

Hierarchical matrices

The link-cell cutoff keeps every pair, so the Gram matrix stays dense (ledger 2026-11-14 00:21).

Solvers

A-priori random-feature bound

Needs \(10^{12}\) to \(10^{19}\) features on the measured surface (PR 223).

Approximations

Random features inside the dimer loop

NaN curvature at 64 features; gradient error stays near 0.4 eV/A at 400 (56ceb6425, 9201873bc).

Approximations

Radial far-field list

Slower than the direct loop at every size measured, up to 32000 atoms (docs/verification/far-field-ladder.txt).

Approximations

HS-SVD mode pruning

Keeps almost all 2925 modes; the rank collapse is column correlation, not eigenvalue size (85e5255e5).

Numerics

HS-SVD append and theta-skip

GP optimisation time rose from 3.5 s to 14.0 s and the skip never fired (e43efef3e).

Numerics

Arrowhead append for the HS-SVD basis

0.09 times the speed at \(k=62\) (7b0fdc184).

Numerics

Nested delta uncertainty

Nine cells more than two search calls worse (ledger 2026-11-13 18:47).

Numerics

Bare ZBL prior mean

Roughens targets over the whole bonding manifold; replaced by the switched mean (125842cd0).

Numerics

Probe preconditioning in the dimer

Reverted (aad413c45). No reason is recorded.

Numerics

Descriptor-blind variance floor

No gain in search counts (ledger 2026-11-13 19:59). Not in the tree.

Numerics

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 KernelInverse

on develop, default

-Dlinalg_backend

Covariance operator layer, dense solver

on develop, default

none

Krylov objective (mBCG, SLQ, Hutchinson)

on develop, opt-in, C++ only

gp.setObjectiveBackend(Backend::Auto)

Pivoted-Cholesky preconditioner

on develop, opt-in

inside the Krylov objective

LOVE variance cache

on develop, built but unused

C++ KrylovCovarianceSolver::quadraticDiagonal

Matrix-free PCG predict path

on develop, opt-in at build time

-Dgp_predict_via_pcg=true

LowRankCholesky (pivoted Cholesky, Woodbury)

on develop, built but unused

C++ gpr::LowRankCholesky

DerivativeVecchia

on develop, built but unused

C++ gpr::vecchia::evaluate

DerivativeSKI, D-SKIP

on develop, built but unused; measured, not adopted

C++ gpr::ski::DerivativeSKI

IterGP

on develop, built but unused

C++ gpr::itergp::IterGP::run

HODLR, Nystrom backends

removed from develop

none

Nystrom-sketched L-BFGS start matrix

on develop, opt-in

--neb-lbfgs-sketch-h0-rank N

Hutchinson trace for the hyperparameter gradient

on develop, opt-in

--gp-hutch-probes N (gprn)

Random features, fixed count

on develop, opt-in

--rff-features N, gpr_model_set_rff_features

Random features, automatic count

on develop, opt-in

--rff-features auto, rff_features”auto”=

CUTLASS GEMM for the random-feature normal equations

on develop, opt-in at build time

-Duse_cutlass=true

Atomic inducing posterior

on develop, opt-in, experimental, C++ and CLI

--gp-atomic-environments true

Far-field kernel

on develop, opt-in, C++ only

SexpatCF::setFarFieldRadius

Radial far-field list

on develop, opt-in; measured, not adopted

aux::Distance::setRadialFarFieldList

Local band (gp_local) and pair cutoff

on develop, opt-in

--nebmode gp_local, --gp-pair-cutoff

sparse-derivative-gp

branch only

none

HS-SVD stable basis

on develop, default in gprn and gprd

--gp-hssvd, gpr_model_set_hssvd_backend

Condition-floored noise in the stable basis

on develop, default

none

Principled nugget

on develop, default in gprn

--principled-nugget, --kappa-max

Stable posterior variance (bordered pivots)

branch only (PR 275 is open)

--stable-posterior-variance on the branch

Variance interval and noise-floor report

branch only

gpr_model_get_noise_floor_report on the branch

Derivative provider interface

on develop, built but unused

C++ gpr::derivatives::DerivativeProvider

Posterior-mean Hessian and Hessian action

on develop, default

gpr_model_predict_hessian_action, predict_hessian_action

Cholesky append and rank-one update

on develop, default

gpr_model_append_fixed_checked

Theta-skip

on develop, opt-in; measured, not adopted

--gp-skip-unchanged-subset-fit

Compensated and exact sums

on develop, default

--predict-sum

Ozaki Scheme I and II products

on develop, opt-in

--predict-sum, --training-product-library

Switched ZBL prior mean

on develop, opt-in

--gp-zbl-prior-mean true

Teng Morse prior mean

on develop, opt-in

--gp-ff-prior-mean true

Laplace-slice, PSIS and delta arms

on develop, opt-in

--uncertainty-mode

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.