Gaussian process (GP) hyperparameters are routinely fitted by maximizing the marginal likelihood in IEEE double precision, although for smooth kernels and noiseless data the covariance matrix is often more ill conditioned than double precision can resolve. For a squared-exponential kernel on a design with a Bayesian-optimization cluster, refits over a range of significand widths, judged against a high-precision reference, show that the double-precision fit is a different model and that fits converge only once the width exceeds the base-2 logarithm of the covariance condition number, about 70 bits. Cholesky failure acts as an implicit conditioning constraint, caused mostly by rounding of the kernel entries; the constrained solution predicted from the working precision alone is within 20% of the best Powell fits at five of the six precisions from 40 to 64 bits, with a local expansion proved for the idealized problem. Across 43 kernels, designs and problem settings, including negative controls that double precision already resolves, the bits needed follow the log condition number at the reference optimum plus a tolerance-dependent offset, and at the loosest tolerance double precision suffices for the Matern 1.5 kernel but not for the squared-exponential kernel on clustered designs. Double-precision hyperparameters overstate the posterior standard deviation near the design cluster and, on a quadratic objective whose likelihood heads to the flat limit, stall closed-loop active learning. Promoting the whole likelihood to 80 significand bits recovers the reference accuracy on every fixed design tested, whereas a fixed jitter trades failures for a posterior bias.
Figures & tables
b
σf
ℓ1
ℓ2
σn
fail
Δ
loss
mean
g(θb)−b
16
2.02
0.230
0.230
0.0137
163
16.4
73.7
0.441
2.1
24
1.08
0.225
0.302
5.39×10−4
119
13.2
45.7
0.364
1.7
32
1.74
0.221
0.545
3.91×10−5
93
10.6
29.4
0.144
2.8
40
17.9
0.302
2.31
3.00×10−5
38
10.3
22.3
0.0455
2.7
48
2.42
0.246
0.924
2.46×10−7
87
5.51
16.4
0.0563
2.6
53
1.79
0.228
0.549
3.72×10−9
180
1.98
13.3
0.108
4.2
Table 1: Independent-protocol fits against significand bits b , judged at 384 bits ( section 3 ): failed Cholesky evaluations, Δ=maxi∣logθb,i−logθref,i∣ , likelihood loss (nats), relative L2 change of the posterior mean, and g(θb)−b with g=log2κ2(Aθ) computed at 384 bits. † : at a bound. The 384 -bit reference agrees with the last row in the four hyperparameter columns.
Figure 1: (a) Fraction of trials whose b -bit Cholesky factorization succeeds, against x=log2(λmin(Rθ)/u) binned over −6≤x<8 : per precision for b≤64 (every point factors from 68 bits) and pooled over b=40 – 72 (black). Dashed: largest x with a failure in the calibration subset ( 0.97 ), which sets the offsets of fig. 3 ; red dash-dotted: over all trials ( 1.19 , a held-out 48 -bit point); dotted: logistic 50% point of the calibration subset ( −1.42 ). (b) The same fraction for the arithmetic splits of appendix B ; gray: entries formed and factored at 384 bits, which succeeds at every point.
Figure 2: Constrained MLE at the level g(θ)≤g(θref)−rb with σn at its floor (dots) and free (squares). (a) Loss and the leading term rb2/(2q) , q=s⊤H−1s , of proposition 2 (dashed). (b) Displacement −(logθbc−logθref)i in (σf,ℓ1,ℓ2) and rbH−1s/q (dashed); θbc : constrained solution. (c) Free-branch σn over its floor. Dotted: first-order release estimate rb=0.93 .
Figure 3: Loss at 384 bits of the sweep’s Powell fits and of the best of ten rejecting-L-BFGS starts ( table 2 (b)), against the constrained solution predicted from b alone ( minNLL s.t. h(θ)≤b+β , σn free) at βstrict=−0.97 (solid) and β50=1.42 (dashed), shaded between them where both bind. Gray columns: θref is feasible at β50 (light) or at both levels (darker), so the predicted loss is zero.
b
40
48
53
56
60
64
72
(a) prediction and sweep
strict prediction
17.3
8.90
4.65
2.80
1.11
0.214
θref feasible
best Powell fit
19.6
16.4
4.72
3.13
1.32
0.202
3.9×10−3
L-BFGS-B, zero
37.9
23.1
23.1
23.1
23.1
8.7
6.0×10−5
(b) optimizer control
Powell
4.72 ( 13.8 )
0.202 ( 0.59 )
3.6×10−3
Table 2: Likelihood loss (nats). (a) Constrained solution predicted at h(θ)≤b+βstrict , best Powell fit of the sweep (either protocol; continuation at 40 , 53 and 56 bits) and SciPy L-BFGS-B over the sweep. (b) Optimizer control: best (median) over ten shared starts, eight for the gradient methods at 53 bits, where two starts fail Cholesky; “zero” returns a zero gradient on a Cholesky failure, “reject” rejects the failed trial point.
Figure 4: Optimizer control. (a) Loss at 384 bits of each of ten shared starts for the four methods of table 2 (b), omitting the two starts whose Cholesky factorization fails at 53 bits, from which the gradient methods return no fit (Powell, comparing only values, moves off them); gray: the predicted constrained loss at βstrict (solid) and β50 (dotted), drawn only where the level binds. (b) Failed Cholesky evaluations per start on a log axis: starts without failures are not shown, and none fails at 72 bits.
kernel
design
log2κ2
b∗(10−2)
b∗(10−4)
b∗(10−6)
Δ53
SE
clustered
69.1 ( 66.3 – 70.4 )
70 – 80
80 – 96
96
0.26 – 2.2
SE
Sobol
35.3 ( 29.2 – 39.0 )
38 – 44 ( 84 )
44 – 53 ( 84 )
56 – 72 ( 84 )
9×10−9 – 5×10−5
Matérn 3/2
clustered
33.7 ( 32.4 – 35.0 )
32 – 40
40 – 53
53 – 72
1×10−8 – 8×10−5
Matérn 3/2
Sobol
19.7 ( 17.7 – 20.7 )
32
32 – 48
48 – 53
3×10−12 – 3×10−7
Matérn 5/2
clustered
51.9 ( 48.5 – 52.3 )
52 – 56
52 – 64
60 – 64
2×10−5 – 5×10−2
Matérn 5/2
Sobol
26.8 ( 25.7 – 27.2 )
32
32 – 40
40 – 53
3×10−12 – 4×10−7
Table 3: Stage A: log2κ2(Aθref) (median and range over seeds 0 – 4 ), threshold b∗(τ) for ∥δθfree∥∞≤τ and the value Δ53 of ∥δθfree∥∞ at 53 bits (ranges over seeds). In parentheses: SE Sobol seed 3 , whose 72 - and 80 -bit fits land in a second mode.
Figure 5: Thresholds b∗ against log2κ2(Aθref) for (a, b) ∥δθfree∥∞≤10−2 and 10−4 , (c) likelihood loss ≤10−3 nats and (d) posterior-mean change ≤10−3 (relative L2 ). Color: kernel; filled: clustered, open: Sobol design; marker shape: Stage A or Stage B block; triangles on the top edge: censored ( b∗>256 ). The open SE circle at 84 bits and the censored case are the two multimodal cases.
R1
R2
criterion
c
MAR
MAR, excl.
max, excl.
MAR
∥δθfree∥∞≤10−2
5.4
4.2
2.7
9
4.5
∥δθfree∥∞≤10−4
12.0
7.1
6.0
17
7.1
∥δθfree∥∞≤10−6
26.2
7.9
7.4
22
7.7
Table 4: Rules R1 and R2: offset c of R1 (bits) and mean absolute residual (MAR, bits) on the held-out cases, 24 of the 25 because the censored d=4 Sobol case has no residual. “Excl.” also omits SE Sobol seed 3 ; “max” is the largest absolute residual.
Figure 6: Relative L2 error of the posterior mean against the number of evaluations (median and range over seeds 0 – 2 ). Vertical dotted lines: the reference’s median κ2(Aθ) first reaches 253 and 264 (the latter not reached on Branin).
quadratic
inactive
Branin
design, θ
b=53
b=64
b=53
b=64
b=53
Xb , θb ( b -bit run)
3.2×10−7
1.1×10−8
1.05×10−6
3.3×10−7
1.3×10−5
Xref , θb
1.3×10−7
6.3×10−9
1.8×10−6
3.0×10−7
8.3×10−6
Xb , refit θ
2.8×10−9
1.7×10−9
2.2×10−7
3.2×10−7
4.7×10−6
Xref , θref
1.5×10−9
1.5×10−9
2.0×10−7
2.0×10−7
4.0×10−6
Table 5: Final relative L2 error ( n=68 ), median over seeds 0 – 2 , with one ingredient of the b -bit run changed at a time. The first row is the b -bit run itself; the other rows are evaluated at 200 bits, the last being the reference run. “Refit” is an MLE at 200 bits warm-started at θb .
n=30 Branin
quadratic, X53
inactive, X53
Branin, X53
arm
loss
rec.
loss
rec.
loss
rec.
rec.
53 bits, j=0
13.3
0.147
166
4.3×10−7
32
1.05×10−6
2.4×10−5
53 , j=10−12
8.47
0.109
72
5.0×10−7
20
2.1×10−6
4.7×10−6
53 , j=10−10
5.57
0.0431
61
3.3×10−6
35
1.1×10−5
1.5×10−5
53 , j=10−8
2.18
0.0507
127
4.7×10−5
55
5.3×10−5
5.0×10−5
53 , j=10−6
1.87
0.0613
65
1.4×10−4
21
2.8×10−4
7.7×10−4
Table 6: Remedy arms (float64 Powell outer optimizer, two shared starts). Loss: likelihood loss of the intended (no-jitter) NLL at 384 bits (nats); rec.: relative L2 error of the arm’s own posterior mean. The n=68 columns are medians over seeds 0 – 2 . The “ 384 bits, shared starts” row is the reference arm; its loss on the inactive objective is explained in appendix C .
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
rb
0.01
0.1
0.3
0.6
1
2
4
12
20
fixed loss /(rb2/2q)
0.999
0.991
0.975
0.951
0.923
0.867
0.826
0.889
0.643
σn -bound multiplier
0.127
0.103
0.054
−0.011
−0.082
−0.195
−0.239
−0.017
−0.0003
free σn / floor
1
1
1
1.04
1.33
2.06
4.0
47
579
free loss / fixed loss
1
1
1
0.994
0.83
0.57
0.41
0.32
0.44
Appendix
Table 7: Constrained branches of fig. 2 : fixed-noise loss over rb2/(2q) , multiplier of the σn bound on the fixed-noise branch, and the free branch’s σn over its floor and loss over the fixed-noise loss.
b
64
72
80
96
128
160
200
256
∣εf∣
0.28
6.3×10−4
1.0×10−5
4.1×10−11
5.0×10−21
bound
0.65
0.031
4.0×10−3
7.9×10−6
observed
0.32
0.019
2.1×10−4
3.1×10−3
polished
3.7×10−20
8.8×10−30
1.2×10−41
1.5×10−58
Appendix
Table 8: Objective error at θref , the bound eq. 6 and the observed independent-protocol displacement along v1 , and the distance Δ of the Newton-polished fits (“polished”) from the reference.
case
A
K
b∗
m
case
A
K
b∗
m
anchor
69.6
70.0
74
72
n=50
73.6
101.8
74
72
radii ×0.1
69.1
87.2
76
74
d=1 , c
72.9
237.6
72
53
radii ×10
48.3
48.3
53
50
d=1 , s
72.6
146.3
72
32
floor 10−14
70.5
70.5
76
76
d=2 , c
57.4
57.4
61
61
floor 10−6
49.1
65.5
56
56
d=2 , s
18.7
18.7
32
32
obs. noise 10−6
49.0
65.3
55
53
d=4 , c
37.8
37.8
44
44
Appendix
Table 9: Stage B: log2κ2 of A and K at θref and thresholds b∗ for ∥δθfree∥∞≤10−2 and for a posterior-mean change ≤10−3 (m), for the seed- 3 SE problem (anchor) with one ingredient changed (radii: cluster radii scaled); d rows: synthetic objective, clustered (c) or Sobol (s) design.
Training Gaussian processes (GPs) at large scale is computationally challenging because evaluating the log-marginal likelihood and its gradients involves large, dense kernel matrices. We develop a scalable low-rank GP training approach that combines AnchorNet landmark selection with a fully independent training conditional (FITC) correction. The resulting objective and its analytic gradients can be evaluated using low-rank factors, diagonal quantities, and small dense matrices, without forming the full kernel matrix or its derivatives. The complete training procedure is implemented in single precision and evaluated on nine large-scale regression datasets. Across these problems, the method reaches the reference predictive accuracy while substantially reducing training time, although the required approximation rank varies across datasets. We also study the numerical behavior of the full-kernel predictive solve and show that single precision can become limiting for ill-conditioned problems. Finally, we investigate further reducing selected matrix operations to fp16 or TF32. These lower-precision variants provide only modest additional speedups and can become unreliable when the reduced system is poorly conditioned.
Moritz Poguntke, Eda Oktay, Yuanzhe Xi +2
Department of Mathematics, TU Chemnitz, Chemnitz, Germany · Max Planck Institute for the Dynamics of Complex Technical Systems, Magdeburg, Germany · Department of Mathematics, Emory University, USA +1
Machine learning (ML) has become an indispensable part of modern engineering design workflows. A crucial step in training an ML model is the selection of the loss function which can be systematically formulated via various techniques such as maximum likelihood estimation (MLE) and cross-validation . While MLE is one of the most popular, effective, and intuitive mechanisms for training ML models, it is brittle: if the assumptions underpinning it are not met, the trained ML model may generalize poorly. This brittleness affects even Gaussian processes (GPs) which are widely used in engineering design and are often (incorrectly) presumed to be very robust to overfitting. In this paper, we fundamentally evaluate the brittleness of MLE in the context of training GPs for probabilistic regression or classification tasks. We compare theoretically grounded metrics against MLE and propose practical solutions. Our extensive studies demonstrate the effectiveness of our solutions in downstream design tasks such as Bayesian optimization and provide a blueprint for practitioners to build accurate and robust GPs that can even outperform tabular foundation models in terms of prediction accuracy, uncertainty quantification, and inference cost. Our contributions are publicly available via GitHub at https://github.com/Bostanabad-Research-Group/GP-vs-TabPFN-vs-GPyTorch.
Tyler R. Johnson, Kian Ben-Jacob, Christopher P. Muller +1
Department of Mechanical and Aerospace Engineering, University of California, Irvine · Department of Civil and Environmental Engineering, University of California, Irvine
Kernels measure similarity or correlation in tasks such as regression and classification. The Gaussian kernel, other names of which include squared exponential and radial basis function kernel, is one of the most popular in Gaussian process regression. We argue that the Gaussian kernel is best avoided and should never be used as a default. The argument rests on two results demonstrating that the Gaussian kernel is extremely brittle. First, the Gaussian kernel gives rise to a conditional variance that is unrealistically small. If the variance is used to quantify predictive uncertainty, catastrophic overconfidence is almost inevitable. Second, a small variance goes hand in hand with numerical ill-conditioning, so that to use the Gaussian kernel in practice requires tricks such as nugget terms that effectively modify the underlying regression or classification model. These problems are caused by the unnatural smoothness of the Gaussian kernel, a fact we are far from the first to take notice of. The problem is not the Gaussian form itself but the analyticity of the kernel: Our argument is more broadly that analytic kernels are best avoided. For stationary kernels analyticity is essentially equivalent to an exponential decay of the spectral density.
Toni Karvonen, Chris J. Oates
School of Engineering Sciences Lappeenranta–Lahti University of Technology LUT Yliopistonkatu 34, 53850 Lappeenranta, Finland · School of Mathematics, Statistics & Physics Newcastle University Newcastle upon Tyne, NE1 7RU, United Kingdom