Manuscript Offprint
arXiv:2610.10122What Can a Gaussian Process Design Test
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
Abstract
A Gaussian process (GP) model can agree with the data for two reasons: its assumptions are right, or the chosen inputs could never have shown that they are wrong. The distinction can be checked from the design before any responses are observed. Every model implies relations that its noiseless responses must satisfy at the chosen inputs, such as “the middle value lies on the line through its two neighbours”. For GPs built from finitely many features, these relations are exactly the null space of the kernel matrix. Gale duality gives them a geometric interpretation, in which each observation has a vector and the smallest groups of observations that can expose an error are the circuits. For other kernels the relations become soft: response patterns may be improbable under the prior rather than algebraically impossible. A standard test then combines two kinds of evidence. Structural evidence comes from a violated relation and grows without limit as the noise falls. Prior-based evidence only says that a departure is improbable under the prior. With all inputs at the two ends of an interval, for example, a GP can reject a straight line against a large curvature, but only because the implied intercept is improbable, never because curvature was seen. In simulations the predicted power matched the observed rejection rates. Choosing the next input by predicted power raised the power against a localised discrepancy from 0.48 to 0.72, against 0.51 when choosing by predictive variance, and a grid in two dimensions contained exact tests of additivity that a Latin hypercube lacked. The test itself is classical. The contribution is the prospective reading of that test: before observing the responses, the design already determines what kind of contradiction it can produce.
1 Introduction
Gaussian processes (GPs) are widely used as surrogate models when data are expensive, most prominently in Bayesian optimisation and active learning [54, 56, 30], with applications ranging from the calibration of measurement systems [21] to clinical assessment [23] and the tuning of accelerator beamlines [53]. Their appeal rests on calibrated uncertainty, but that calibration is conditional on the model. A GP model can pass the checks applied to the collected data for two very different reasons: because its assumptions are adequate, or because the data could never have contradicted them. Consider a straight-line model and a design that places all observations at the two ends of an interval. A straight line can always be drawn through the mean responses at two inputs, so the data agree with the model whatever the true curvature is, and no amount of further data at the same inputs can change this. Agreement with the data is then no evidence that the function is straight.
Diagnosing a model therefore involves two different questions, which this paper keeps apart. The first is detection: after the data are collected, are some observations incompatible with the model? Classical regression diagnostics and their GP counterparts answer this question [19, 9, 20, 7]. The second is testability: before the data are collected, which violations of the model could the design reveal at all, and with what probability? For linear models and a specified alternative, designs for detecting model inadequacy [12, 2, 40] and for discriminating between rival models [3, 25] answer this question. For GPs, designs that discriminate between specified rival models exist [29, 48]. This work makes explicit, for a single GP model, which departures a given design can detect and with what power. Such an account must handle correlated observations and kernels that need not correspond to a finite set of features. This matters because the designs used with GPs are usually chosen for other purposes. Observations placed where predictive uncertainty is largest need not be the ones that would most strongly challenge the model assumptions.
Figure 1 shows both points on simple examples. In panel (a), a straight-line model is tested against a curvature with 40 observations. When all inputs lie at the two ends of an interval, the residual test stays at its level for every curvature. A GP test would eventually reject a very large curvature at that design, but only because the intercept it implies is improbable under the prior, not because any relation is violated (Section 5). Moving four of the observations to the centre makes the same curvature structurally detectable. In panel (b), the next observation that would best test a GP against a narrow bump lies at the bump, where the predictive variance is small, and not at the boundary, where it is largest. Both answers are available before any response is measured.
(a) can the design test a straight line?

(b) where should the next observation go?
Figure 1: What a design can test, computed before any data are collected (details in Section 7). (a) Power of two tests of a straight-line model against a curvature , for 40 inputs at the two ends of , and for 36 inputs at the ends with 4 at the centre. Lines show predicted power, markers simulated rejection rates. The end-point design contains no consistency relation that involves curvature. (b) Power of a GP test against a narrow bump at (vertical line) after adding one observation at x (solid), and the current predictive variance (dashed, scaled). Ticks mark the current inputs, and the dotted line the current power.
A model can only produce certain response patterns. Every linear relation shared by all of those patterns gives a check on the data. We call such a relation a consistency relation. If a function is assumed to be a straight line, for example, then at three equally spaced inputs the middle value must equal the average of its neighbours. If the model is correct, a consistency relation can fail only by as much as the noise explains. At the two-ended design above, no consistency relation involves curvature, and that is why the design cannot test it.
For GPs built from finitely many features, the consistency relations are exactly the null space of the kernel matrix, the combinations of function values that the prior fixes at zero. We describe these relations geometrically with Gale duality [28, 63, 24]. It gives each observation a vector, its Gale vector, that describes its role in the relations, and it singles out the circuits, the smallest groups of observations that can expose a structural error. For other kernels, such as the radial basis function (RBF) kernel, no exact relations exist. Some patterns are then merely unlikely, and we use the spectrum of the kernel matrix to describe these soft restrictions. Gale duality is the language for the exact case, not the source of the algebra.
The relations span the same residual space as classical diagnostics. Our interest is therefore not in constructing another retrospective residual test, but in using that space prospectively. Before observing y, the model and the chosen inputs already determine which departures can leave a residual and which can be absorbed by the model. This makes testability a property of the design itself.
For a finite-rank GP, the exact relations are the null space of the kernel matrix. Gale duality provides a geometric representation of these relations and identifies their minimal supports through circuits. For a full-rank GP, no exact relations remain, but the kernel spectrum still separates strongly penalised response directions from flexible ones. The corresponding power calculation distinguishes evidence from a violated relation from evidence that is due only to prior improbability.
The residual projector, multiple-case diagnostic identities, noncentral chi-square power calculations and classical discrimination criteria used below are not new. The contribution is the way they are put together to answer a design question: what could this GP design actually contradict, and what kind of evidence would a rejection represent? Because this question can be answered before the responses are measured, it also gives a prospective criterion for choosing observations. The analysis assumes a fixed mean, kernel and noise variance; estimation from the same data and repeated testing are treated as limitations rather than folded into the exact theory.
The same distinction is already latent in the marginal likelihood. If , then . Our use of this decomposition is to attach those directions to exact or soft relations of the design and to compute, before measurement, the power against a specified departure. The experiments then ask whether that prospective calculation agrees with simulation and whether it selects different observations from predictive variance.
Closed-form leave-one-out (LOO) residuals for kriging and GP regression follow from the inverse covariance matrix [27, 58, 54]. Multiple-fold residuals and their covariances admit analogous block formulae [32]. Diagnostics for GP emulators of computer models, including Mahalanobis-type statistics and pivoted Cholesky errors, were systematised in [7]. The relative behaviour of maximum likelihood and cross-validation for hyperparameter estimation under misspecification is studied in [6]. Approximate LOO for non-Gaussian likelihoods is reviewed in [60]. The group tests of Section 5 are of this classical type. Here they are used prospectively: their power is computed from the design and interpreted through the model's consistency relations.
Instead of testing a fixed observation model, one can make it more flexible: Student-t likelihoods [41], input-dependent noise [33, 43], or data-point-specific noise variances selected by sequential relevance pursuit [1]. These approaches repair the model rather than diagnose it, and are natural alternatives once a test has identified an incompatibility.
In the calibration of computer models, systematic mismatch between a model and reality is represented by an explicit discrepancy term [42], and ignoring it can lead to biased and overconfident inference [16]. In Bayesian inference, model criticism through predictive checks goes back to [14] and was developed further in [31]. Our tests are frequentist checks of the hypothesis that the data come from a fully specified GP (Section 5), but they share the aim of separating criticism from estimation.
Designs that detect the inadequacy of a regression model go back to the treatment of bias from omitted terms in [12], and were developed into explicit design criteria in [2, 40]. Choosing experiments to discriminate between rival models has a similarly long history, from the entropy-based sequential designs of [13] and the T-optimality criterion of [3] to its later analysis and extensions [25, 44, 5]. In machine learning, active model selection chooses observations to discriminate between GP models [29], and GP surrogates make discrimination designs available for non-analytical models [48]. Section 5.5 positions our power results relative to this literature.
Gale duality originates in the study of convex polytopes [28] and is treated in standard texts [34, 63, 46, 24]. Algebraic statistics describes the identifiable polynomial models of a design through its design ideal [50, 51], and circuits have been used to generate randomisation schemes [49]. Classical geometric structure has been combined with GP models before, for example line geometry for surface approximation with GP latent variable models [22]. Here Gale duality serves as the language that makes the relations implied by a GP design, and their effect on the power of its tests, explicit.
3 Gale duality and model consistency relations
Consider first a linear regression model with a finite set of features. Its feature matrix spans the response vectors that the model can represent exactly. The orthogonal complement contains the linear relations that every noiseless response must satisfy. Gale duality organises those relations observation by observation and identifies their smallest supports.
3.1 Gale duality
We begin with the classical construction. Let be points whose affine hull is all of . An affine dependence of the configuration is a vector with
Informally, an affine dependence is a way of weighting the points so that both the weights and the weighted positions cancel. The affine dependences form a linear subspace of of dimension . They matter for data because an affine dependence annihilates the values of every affine function. If , then by (1). Example 1 works this out for three points on a line.
Choose a basis of this subspace and write it as the columns of a matrix . The rows of , with , form the Gale transform of the configuration: a second configuration of vectors, one per original point, in a space of complementary dimension [28, 34, 63, 46, 59]. The primal configuration records where the points are. The dual configuration records how they depend on each other. The power of the construction is that properties of the one can be read off from the other. In this paper the property read off is which sets of observations witness which relations (Proposition 1).
The same construction works far beyond points in space. Conditions (1) say that is orthogonal to every column of the matrix with rows , the vectors that describe the points. Replacing these rows by any feature vectors gives the version we use throughout.
We write for the input space and for the inputs, which together form the design. A feature map turns each input into features, and the feature matrix has one row per observation. Its rank is . The relations live in , a subspace of dimension .
Definition 1 (Gale representation of a feature configuration). A matrix whose columns form a basis of null( ) is a Gale representation of the configuration of rows of . Its ith row , with , is the Gale vector of observation .
For the affine feature map with , Definition 1 recovers the classical Gale transform.
Example 1 (Three points on a line). Take the three points 0, 1, 2 of the real line with the affine feature map, so that
with and . One checks that . Every affine dependence is a multiple of , since and , and this is the straight-line relation of the introduction. The values that a straight line takes at the three points satisfy , whereas the values , which no straight line passes through, give . The Gale vectors are the numbers and : the middle point plays the opposite role to its two neighbours.
A Gale representation is not unique. Another basis of null( ) replaces by for an invertible , which changes the Gale vectors but not the relations they encode. Unless stated otherwise we therefore take with orthonormal columns, , where is the identity matrix and without subscript is . Only rotations then remain free, so the lengths of the Gale vectors and the angles between them are meaningful.
Classically, the information of interest is combinatorial and is read off from the signs of the Gale vectors. In this paper we mainly use their lengths and inner products, because these determine the leverage of an observation (Section 3.3) and the power of the tests (Section 5.2).
3.2 Consistency relations of a model
Now attach a response to each input, and collect them in . Consider the linear-in-parameters model
with parameter vector and observation-noise variance . The column space contains every noiseless response vector that the model can represent. Each column of a Gale representation satisfies , and hence for every w. Every exactly representable response therefore satisfies . We call such a linear constraint a consistency relation of the model at the design. The vector
collects the values of a complete, non-redundant set of consistency relations. It vanishes for every response the model can represent exactly, and its departures from zero are attributable either to noise or to a violation of the model. In this picture, observation i contributes its Gale vector , weighted by its response, to the total failure of the relations. The Gale vectors are fixed by the model and the design before any response is observed. They determine how a departure at a given observation can show up in the tests.
3.3 Residual projector, leverage and noise
The Gale representation is closely tied to classical regression diagnostics. When has full column rank, the hat matrix projects orthogonally onto , and the residual projector is [20]. To avoid a full-rank assumption, for example when there are more features than distinct inputs, we write more generally
where is the Moore–Penrose pseudo-inverse. The matrix is the orthogonal projector onto for any , and it coincides with in the full-rank case. The second equality holds because both sides are the orthogonal projector onto . The vector is the ordinary residual vector, so the Gale coordinates are the residuals expressed in an orthonormal basis of the residual space. Under (2),
This is the familiar distribution of the residual sum of squares. The distributional statement requires the model and noise assumptions, not merely the existence of a null space: the null space tells us which relations to examine, and the noise model tells us how large their failures may be by chance.
The diagonal of (4) gives
where is the leverage of observation i [9], and the off-diagonal entries give . A point with large leverage has a short Gale vector and hence a small footprint in the residual space: the fitted model can absorb most of a perturbation at that point by adjusting its coefficients. Conversely, a long Gale vector means that a perturbation at that point is largely visible in the residuals. Leverage is thus a statement about the observability of a local departure, and this is how we shall use it. Example 2 illustrates these quantities.
Example 2 (A planar model on the unit square). Take the four corners , , , of the unit square, numbered 1 to 4, and the centre , numbered 5, with the planar model . Here , , and , so there are independent consistency relations. A convenient basis is
The first states that a plane has zero mixed difference, or ‘twist’, over the square: the change in one coordinate direction is the same on both sides of the square. The second states that the value of a plane at the centre is the average of its values at the corners. The two coefficient vectors are orthogonal, and normalising them gives with Gale vectors
shown in Figure 2. Hence for each corner and , that is, leverages 0.7 and 0.2. A perturbation at the centre violates only the second relation, and 80% of its squared size appears in the residuals. A perturbation at a corner violates both relations, but only 30% of its squared size remains visible, because a tilted plane can absorb most of it. Opposite corners have identical Gale vectors, so no test can tell an offset at one from an offset at the other. The Gale vectors sum to zero only because the model contains an intercept.

(a) design in

(b) Gale vectors in
Figure 2: Example 2. (a) The design, five inputs in , with the leverage of each observation under the planar model. (b) The corresponding Gale vectors . Opposite corners share a Gale vector. The centre has the longest Gale vector and the smallest leverage, so departures there are the most visible in the residuals.
Among all consistency relations, those with minimal support play a special role. A non-zero is a circuit of the configuration if no other non-zero element of has a support strictly contained in that of [63, 10]. Circuits are the most local tests a design offers. Each involves as few observations as possible, so its failure involves only those observations, although it does not identify which of them is at fault. The relation of Example 1 is a circuit. Up to scaling, Example 2 has three circuits: the twist relation and the two diagonal relations and , which state that the value at the centre is the average of each pair of opposite corners. The centre relation of Example 2 is the sum of the two diagonal relations and is therefore not a circuit. Proposition 1 collects standard facts of matroid theory [10], stated in the form we use for experimental design.
Proposition 1 (Circuits are minimal witnesses). For a set of observations, write for the rows of indexed by .
(i) C supports a non-zero consistency relation exactly when the rows of are linearly dependent, that is, when .
(ii) The supports of the circuits are the minimal sets C with this property.
(iii) The circuits span null( ). A departure therefore violates some consistency relation, , exactly when it violates some circuit.
Proof. A relation supported on is a non-zero with for and , which exists exactly when the rows of are dependent. Part (ii) is the definition of a circuit. For (iii), let be a relation. Among the relations whose support lies in that of , one of minimal support is a circuit . For a coordinate in the support of , the relation has a strictly smaller support than , and induction on the size of the support writes as a combination of circuits. If every circuit annihilated , so would every relation.
A circuit support is thus the smallest set of measurements on which the model imposes a non-trivial exact constraint. Every proper subset of it permits arbitrary noiseless responses, whereas the responses on the full circuit must satisfy one consistency relation. By (iii), every structural contradiction that a design can produce is witnessed by such a minimal set. In Example 2 the twist is witnessed by the four corners alone, and the diagonal relations by three observations each. For polynomials of degree q in one dimension, any distinct inputs form a circuit, which is the minimal design of Example 3. This is the role of Gale duality in this paper: it organises the exact relations through their minimal supports, making the local structure of structural testability explicit.
3.4 Structural assumptions from feature maps
Definition 1 applies to any feature map, and the feature map determines which structural assumption the relations encode. For polynomial models the relevant feature map is the Veronese map. In one dimension a polynomial of degree at most q is a linear function of
and in dimensions of the vector of all monomials of degree at most , which is the affine form of the Veronese map of algebraic geometry [47]. The Gale representation of the configuration therefore contains exactly the linear relations that every polynomial of degree at most satisfies at the design. A departure of higher degree is structurally visible exactly when it violates one of them, that is, when it is not representable by a polynomial of degree at the design. Example 3 works this out for the question that runs through the paper.
Example 3 (A straight line against curvature). Take the straight-line model, , and a curvature . Suppose that the design has distinct inputs, each possibly repeated. Then , and there are consistency relations.
-
Two distinct inputs . Every relation compares replicates, for . Any function takes equal values at equal inputs, so no relation involves curvature. Indeed, the vector equals the straight line at both inputs, so it lies in and . No number of observations at the two inputs can reveal curvature.
-
Three distinct inputs . Besides the replicate comparisons there is one relation between the responses at the three inputs, , which for is the relation of Example 1. On the curvature it takes the value , so curvature always violates it, and more strongly the more the inputs are spread out.
The same argument settles degree against degree . If the design has at most distinct inputs, a polynomial of degree can interpolate at all of them, so the departure violates no relation. If it has distinct inputs, no such polynomial exists, since would then be a non-zero polynomial of degree with roots. A design can therefore test degree against degree exactly when it has at least distinct inputs. In several dimensions the number of distinct inputs is no longer enough, and their position matters. The twist , for example, cannot be tested against a plane on any design whose inputs all lie on one line parallel to an axis, since there it equals an affine function. Which departures a design can test is then a question about the Veronese configuration of the inputs, and Section 5.4 answers it with the Gale representation. Which polynomial terms a design can identify, and which are aliased with one another, is the subject of the algebraic theory of designs, in which the design is described by a polynomial ideal [50, 51]. This example is the simplest case of that theory. Our use of it is to carry the relations over to GP kernels and to their power.
Other structural hypotheses imply relations of the same kind.
Example 4 (Periodicity and additivity). A model with known period implies for the noiseless values whenever both inputs are observed. An additive model implies, on any grid of inputs , the mixed difference
and the twist relation of Example 2 is the special case in which both and are linear.
Changing the feature map therefore changes the assumptions being tested. A polynomial lift is appropriate for a polynomial hypothesis. It does not automatically describe the assumptions of a GP with a radial basis function (RBF) kernel. For this reason, Section 4 constructs the relations from the kernel itself.
4 Consistency tests for Gaussian processes
The same construction can be read directly from a GP kernel. For a finite-rank kernel, the null space of the kernel matrix is exactly the space of consistency relations. A strictly positive-definite kernel has no non-trivial null space at distinct inputs; in that case the relevant information is spectral rather than algebraic.
A Gaussian process (GP) is a probability distribution over functions such that, for any finite set of inputs, the vector of function values is jointly Gaussian [54]. A zero-mean GP is determined by its covariance function, or kernel, , and we write . The linear model of Section 3 is a special case. If the parameters in (2) receive a prior , with a positive definite , then is a (degenerate) GP with kernel . This kernel has finite rank, because it is built from features. Kernels such as the RBF kernel , with lengthscale and output scale , correspond to infinitely many features and encode smoothness rather than a finite-dimensional functional form [54]. Conditioning a GP on noisy observations gives a posterior mean and variance at every input in closed form, which is what makes GPs attractive as surrogate models. We now ask: which consistency relations does such a model imply at a design?
Model the responses as , with a latent function with kernel , and independent noise . We work with a fixed zero mean, or with responses centred by a specified mean function. Let be the positive-semidefinite kernel matrix, . Two further matrices appear throughout,
both in . The matrix is the covariance of the responses , and is its inverse, the precision matrix. Both depend on , and we write or only where that matters.
Unless stated otherwise, the kernel hyperparameters and the mean are fixed. Fitting them to the same observations changes the calibration of the tests, a point we return to in Section 5.
4.1 Finite-rank kernels: exact relations
For a finite-rank kernel with ,
since for any ,
The same identity holds for whenever is positive definite, as in the GP obtained from the Bayesian linear model (2) with prior . The exact consistency relations can therefore be recovered directly from , even when the feature map is unknown or has no convenient form.
The null space of also has a direct reading in terms of the prior. Write for the vector of latent values , so that . For any , , which vanishes exactly when . The null space of is therefore the set of linear combinations of function values that the prior fixes at zero with certainty, before any data are seen. For such , , so any systematic signal along these directions contradicts the model. The dimension counts the (linearly) independent checks that the data can run against the prior at this design. When it is zero, the data can challenge the model only in the soft sense of Section 4.2. A relation supported on a set of observations exists exactly when for some , that is, when the kernel matrix of those inputs is singular, so the circuits of Proposition 1 can also be found from alone.
Example 5 (Polynomial kernel). The polynomial kernel on is the kernel of a random polynomial of degree . Indeed, it factorises as with and a diagonal positive definite of binomial coefficients. It therefore has rank at most on any design. At distinct inputs its null space is spanned by a single relation, the divided difference of order , which for is the relation of Example 3. The kernel matrix alone thus recovers the test of polynomial degree, without any feature map.
For , , and at the inputs 0, 1, 2 the kernel matrix is
One checks directly that . The prior therefore insists that : the middle value is the average of the outer ones. With outer observations 1 and 5 the model expects a value of about 3 in the middle. An observed 4 gives . Under the model this combination has variance , so its size relative to decides whether it is plausibly noise or a failure of the straight-line assumption. The null space supplies the relation, while the data and the noise model supply the verdict.
For a strictly positive-definite kernel, such as the RBF or Matérn kernels, the kernel matrix at distinct inputs is nonsingular and the exact null space is trivial. Every response vector is then representable. This does not mean that every response is equally plausible under the prior, and the next subsection makes this precise. Repeated inputs are the exception for every kernel. If , rows and of coincide, so the vector with entries +1 at , -1 at and 0 elsewhere lies in null( ). The relation then tests the noise model alone, which is the classical pure-error check for replicated observations. Inputs that are close but not equal give small eigenvalues in (15) instead of zero ones.
Adding kernels keeps only the relations that both kernels share. For positive-semidefinite , exactly when , so null( ) null( ). This can still leave exact relations even when both kernels are flexible. For an additive kernel , with each depending on the th input only, the mixed difference (10) has zero variance under both components. It is therefore an exact relation even when and are RBF kernels, and an grid of inputs carries independent relations of this kind. Experiment E3 uses this.
4.2 Full-rank kernels: spectral coordinates
Exact Gale vectors exist only when K is singular. For a full-rank kernel we use instead the spectral coordinates of a residual matrix. They play the same role for lengths and inner products, but they are not an exact Gale transform, and the combinatorial reading of Section 3, through signs and circuits, does not carry over to them.
The posterior mean of at the training inputs is . Since , the corresponding residual is
We call the soft residual and the residual matrix. Let be an eigendecomposition, with orthogonal, columns , and , . Then
The residual matrix acts by spectral shrinkage: projects onto the eigenvectors of , damps the coordinate along by the factor , and maps the result back. The spectrum therefore sorts the directions of response space into three kinds, and we use the following vocabulary throughout.
-
: a hard structural relation. The prior fixes at zero, and all of passes to the residual.
-
: a soft prior restriction. The prior lets vary, but by much less than the noise, so almost all of passes to the residual. This is a statement about plausibility, not an algebraic constraint.
-
: a prior-flexible direction. The residual keeps only a small fraction of , because the model readily explains such patterns.
Figure 3 shows that for an RBF kernel the soft prior restrictions oscillate between neighbouring inputs and resemble higher-order finite differences, but unlike the relations of Section 3 they exclude no response pattern.
Unlike the exact projector , the residual matrix is generally not idempotent, and does not in general have a chi-square distribution. Since is symmetric and positive definite, it has the symmetric square root
Its rows , with , are the spectral coordinates of the observations. They play the role of Gale vectors for a general kernel. As for orthonormal Gale vectors, only their lengths and inner products matter, since any other factor of has the form with orthogonal. The length generalises (6): a perturbation of size one at observation leaves a soft residual of size at that observation.
Two quadratic quantities must be kept apart. The quadratic term of the marginal likelihood is , and the group test of Section 5 is built from it. The soft residual energy instead enters the noise estimate of Section 6. The two coincide for an exact projector but not for .
(a) spectrum of K

(b) RBF eigenvectors
(c) a soft relation

offset from (inputs)
Figure 3: Hard structural relations and soft prior restrictions on equally spaced inputs in , with noise variance . (a) Eigenvalues of the kernel matrix for the RBF kernel with lengthscale and unit output scale, and for the polynomial kernel . Values below machine precision relative to are shown at that level. The polynomial kernel has rank 4, so it imposes 36 exact relations. The RBF kernel has full rank, and the 29 eigendirections below are soft prior restrictions. (b) The leading eigenvector of the RBF kernel matrix and the first eigenvector whose eigenvalue lies below . (c) The row of the residual matrix at the central input, scaled to 1 at that input, next to the straight-line relation of Example 3. It compares with a weighted average of its neighbours.
4.3 The residual matrix in the small-noise limit
Lemma 1. For a fixed positive-semidefinite K,
where is the orthogonal projector onto null( ). For any factorisation with positive definite , this is the residual projector (4), since null( ) = null( ) by (12).
Proof. In (15), a zero eigenvalue has weight one for every , while each positive eigenvalue has weight . Since the matrix is finite dimensional, convergence holds in operator norm.
Together with (12), this shows that for a finite-rank kernel the residual matrix converges to the projector of the underlying feature configuration. This is a fixed-design limit. For full-rank the limit is zero, even when several eigenvalues are very small. Truncating the spectrum at a positive noise level is therefore an approximation, not an exact Gale transform of a full-rank kernel. Convergence of the matrix also does not make the GP test and the residual test identical, because their degrees of freedom can differ (Section 5.2).
4.4 Hard structural relations and soft prior restrictions
A finite-rank GP imposes hard structural relations, exactly as a linear model does. Four names used in this paper refer to this one object seen from different sides: the null space of K, the combinations of function values that the prior fixes at zero, the consistency relations of the model at the design, and the residual space null( ), whose orthonormal basis G has the Gale vectors as its rows. A full-rank GP imposes only soft prior restrictions. It can fit any data, but it pays a price in residual energy for patterns that its prior regards as implausible. Table 1 lists the corresponding objects. We write Gale vectors and structural only for the exact case, and spectral coordinates and soft for the general case.
| Finite-rank kernel (exact) | General kernel (spectral) | |
| Coordinates of observation | Gale vector , row of | spectral coordinates , row of |
| Residual operator | projector | residual matrix |
| Restriction | hard structural relation, for | soft prior restriction, |
| A departure along it is | a structural contradiction, | improbable under the prior, as |
| Visible fraction at | ||
| Minimal witnesses | circuits (Proposition 1) | no direct combinatorial analogue |
| Small-noise limit |
Table 1: Dictionary between the exact finite-rank construction and its spectral counterpart for general kernels. Here is the noncentrality of Section 5 and the noise variance.
5 Group consistency tests and their power
A departure can be detectable for two different reasons. It may violate an exact relation of the design, in which case its signal-to-noise ratio can grow without bound as the measurements become more precise. Or it may remain representable by the model and be rejected only because the prior assigns it little probability. The distinction is visible directly in the noncentrality of the test.
Before any test is chosen, the precision matrix already describes how sensitive a design is to every departure from the model. Suppose that the responses contain a deterministic discrepancy in addition to the GP and the noise, with . Section 5.2 shows that the test of all observations then has noncentrality
Here is the noncentrality parameter of the chi-square test: larger values mean that the alternative is more strongly separated from the null and is therefore easier to detect. The matrix and the eigenpairs of are those of Section 4, with .
The spectrum of shows where this detectability comes from (Figure 4). Along an eigenvector in , the contribution to is . This part of the departure violates an exact consistency relation, so its detectability grows without bound as the noise decreases. We call this structural detection. Along an eigenvector with , the contribution is bounded by as the noise decreases. Such a departure remains representable by the model and can only be judged improbable under the prior, so we call this prior-based detection.
A soft prior restriction, with , initially behaves like a structural direction because its contribution is approximately while the noise dominates . As , however, the contribution approaches and therefore remains bounded. We reserve the word structural for directions in .
At the end-point design of Figure 1(a), curvature lies entirely in the prior-based part. The GP can therefore reject a sufficiently large curvature even though no consistency relation involving curvature is violated (Figure 4(b)). We next express this distinction for tests of groups of observations and for families of departures.
(a) two parts of a departure

(b) straight line against curvature

Figure 4: Structural and prior-based detection for a finite-rank kernel. (a) A departure splits into a part that the model can represent, in , and a part that violates consistency relations, in . The first can be detected only through the prior, with a noncentrality that stays bounded as the noise decreases. The second is detected structurally, with a noncentrality proportional to . (b) Noncentrality (18) of the test of all 40 observations against a unit curvature , under the straight-line kernel , as a function of the noise standard deviation , for the two designs of Figure 1(a). At the end-point design the curvature is an intercept shift, and its noncentrality stays close to 1. With four inputs at the centre it grows as .
5.1 The group test
The group test asks a simple question. Can the responses of a group of observations be predicted from all the other responses, within the uncertainty of that prediction? If not, the group is incompatible with the model.
To make this precise, split the observation indices into a set of candidate observations, which we test, and the set of the remaining, retained observations. A subscript selects entries: contains the responses with , and is the block of with rows in and columns in , so that, after reordering,
For a fixed noise variance , Gaussian conditioning (Appendix A) gives the prediction of from and its uncertainty,
The prediction error is the cross-validation residual of the group [27, 58, 32]. The group test statistic measures its size against its covariance,
In words, measures how surprising the responses in are, given all other responses, after accounting for the uncertainty of the prediction and for the correlations within the group. Appendix A shows two equivalent forms. With the representer weights of the posterior mean [54], . The last form uses only the soft residual and the residual matrix, so a test computed in spectral coordinates is exactly the classical multiple-case test, and changing coordinates cannot change which groups are rejected.
Two different null hypotheses can be tested, and they must be kept apart. The structural null of a linear model states only that the noiseless responses lie in , with fixed but unknown coefficients. Its residual test uses the consistency relations alone. The GP null defined next also fixes a prior on the coefficients or the function, the mean and the noise. A rejection of the GP null can therefore come from the prior, the mean or the noise specification, and it does not by itself show that a structural assumption, such as the degree of a polynomial, is violated.
We call the model fully specified when its mean function, its kernel including all hyperparameters, and its noise variance are fixed in advance rather than estimated from the data under test. The GP null is the null hypothesis that the responses were generated by this model, that is, with the specified kernel and noise variance. Under the fully specified GP null,
exactly, for a fixed candidate group. Hyperparameters estimated from the same data generally destroy this exact calibration [6], and Section 6 shows that a fitted noise variance can absorb the very discrepancy under test, so known measurement noise, replicates or a separate reference set are preferable.
5.2 Power of the group test
The power of a test is the probability that it rejects the model when the model is wrong. For chi-square tests it is governed by a single number, the noncentrality. Proposition 2 is a classical consequence of Gaussian conditioning and of the distribution of quadratic forms in normal variables, stated in the form needed here. Its proof is in Appendix B.
Proposition 2. Let , with , , and a deterministic discrepancy , and compute in (21) with the same kernel and the true noise variance . Then, conditionally on , and hence also unconditionally, has a noncentral chi-square distribution with degrees of freedom and noncentrality
where is the part of the discrepancy on that the remaining observations do not predict. If is zero outside , then and .
In words, the test is more likely to reject the larger the part of the discrepancy that the other observations cannot predict, measured against the uncertainty of that prediction. For , and (23) reduces to (18). The power at significance level is under the noncentral chi-square distribution, where denotes the q-quantile of the chi-square distribution with degrees of freedom. It holds for every kernel and every noise level, and it depends only on the kernel, the noise variance, the design and the discrepancy, so it can be computed before any response is observed.
5.3 Geometric meaning
Proposition 2 has a geometric form (Appendix B),
(24) where contains the spectral coordinates , , of (16) as its rows, and is the orthogonal projector onto their span. Each observation has a vector , and the discrepancy is represented by the weighted sum
The noncentrality, and hence the power, is determined by how much of this discrepancy vector lies in the span of the spectral coordinates of the tested observations, relative to the noise level. Short spectral coordinates make local departures less visible, while nearly aligned coordinates provide similar rather than independent directions of detection.
For finite-rank kernels the picture becomes exact. For a discrepancy supported on and a fixed finite-rank kernel, Lemma 1 gives as , where contains the Gale vectors of the observations in as its rows. Hence
so that for small noise whenever . This is the noncentrality of the residual test in the linear model (2). The two tests still differ. The GP test has degrees of freedom and the residual test rank , so their thresholds and their power differ even when their noncentralities agree. In both cases the power depends on the design only through the lengths of, and the angles between, the vectors of the affected observations. These are Gale vectors for a finite-rank kernel and spectral coordinates otherwise. Three consequences follow. We state them for exact Gale vectors and the residual tests of the linear model.
-
A departure that the model can represent violates no relation. At the end-point design of Figure 1(a), the curvature takes the same value c at both inputs, so it equals an intercept shift, and no residual test can see it, however large c is. The GP test can still reject, because a large intercept is improbable under the prior on the coefficients. This prior-based power grows with c but not as the noise decreases, and it says nothing about curvature (experiment E1).
-
Offsets at observations with high leverage are hard to detect. Such observations have short Gale vectors. In Example 2, an offset at a corner keeps 30% of its squared size in the tests, and an offset at the centre 80%.
-
Observations with identical Gale vectors cannot be told apart. In Example 2, offsets c at corners 1 and 3 produce the same failures of the relations as an offset 2c at corner 1.
5.4 Structured departures
A structural hypothesis is usually tested against a family of departures rather than a single one, such as all curvatures or all interactions. Let the departures of interest be for a matrix , whose columns are basis directions such as a curvature or an interaction, and an unknown .
Proposition 3. Under the assumptions of Proposition 2, the noncentrality of against is the quadratic form with , where denotes the columns of indexed by . The least detectable unit departure has noncentrality , and for the mean noncentrality is . For the test of all observations, , , and for a fixed finite-rank kernel
The departures violate no consistency relation of the design and are invisible to every residual test. The family is structurally testable in every direction exactly when has full column rank p, that is, when no non-zero departure in the family is representable by the model at the design.
In words, for a whole family of departures one small matrix says which members a design can detect structurally and which only through the prior. Both quantities depend on how the columns of are scaled, so they are comparable only under a stated amplitude convention, and we take the columns of to be linearly independent. The mean noncentrality is not the average power. Average power averages the noncentral chi-square tail probability over the departures, as in experiment E2, and need not rank designs in the same order. Both are nevertheless computable from the design before any response is observed. Structural testability is characterised by the rank of . The GP test still gives every non-zero departure a positive noncentrality, since is positive definite, but for this is the prior-based part of Section 5: it does not grow as the noise decreases, as at the end-point design.
The columns of are the Gale images of the basis directions of the family, so the Gale configuration shows which structured departures a design can detect structurally. It also defines a minimal structurally informative design, the smallest design for which has full column rank. For a polynomial of degree q against a departure of degree , this is any design with distinct inputs (Example 3). Failure to reject may consequently reflect an untestable discrepancy, insufficient power, or genuine consistency. Propositions 2 and 3 do not decide between these from the data, but they identify in advance which discrepancies no consistency relation of the design can reveal and which it can detect only weakly. Because adding an observation changes the configuration, (23) also gives the power that the test would have after a candidate new observation, before that observation is made. Experiments E1 to E3 use this to choose where to observe.
5.5 Relation to discrimination design and Fisher information
Choosing observations to maximise the power of a lack-of-fit test is a classical idea. Designs that detect the inadequacy of a regression model were constructed in [2, 40], building on the treatment of bias from omitted terms in [12]. The best-known criterion is T-optimality [3]. One of two rival regression models is assumed to be true, with known parameters, and the design maximises the sum of squared deviations between the true model and the best fit of the rival model. When the rival is the linear model (2) and the true model differs from it by , this sum is , which is times the noncentrality of the residual test, the limit in (25). A T-optimal design therefore maximises the length of the Gale image of the departure. In plain terms, T-optimality asks whether the specified departure can still be mimicked by the null model on the chosen design. If the minimum is zero, the design cannot distinguish the two models structurally, and if it is large, the departure necessarily leaves a large residual. At the end-point design of Figure 1(a), cannot be told apart from an intercept shift, so the T-optimality criterion is zero, and adding centre points makes the curvature leave a non-zero residual. Like experiment E1, it requires the departure to be specified in advance. Properties of such designs are studied in [25], extensions to non-normal models in [44], and the general theory in [5]. Sequential and Bayesian approaches choose experiments to discriminate between mechanistic models [13] or, with GP models and GP surrogates, between kernels and between mechanistic models [29, 48].
Two further classical quantities coincide with these noncentralities. For a fixed discrepancy, the conditional distributions of given under the alternative and under the null are Gaussian with the same covariance and means that differ by , so is twice their Kullback–Leibler divergence. For the family and the test of all observations, the responses are distributed as , whose Fisher information about is . The worst-case criterion of Proposition 3 is therefore E-optimality for the departure parameters [5], and the structural part of this information is the part that grows as the noise decreases.
For finite-rank models and a specified alternative, maximising the structural noncentrality is therefore classical discrimination design. It is T-optimality, and for Gaussian models with a common covariance it is also maximisation of the projected Kullback–Leibler divergence [44], . The rival model is fitted by its best coefficients in this quantity. The full-GP divergence is different because the GP prior also penalises coefficients within the representable subspace.
This difference is the point of the decomposition used here. It records whether the noncentrality comes from a component outside the model's representable space or from a component that remains representable but is improbable under the prior. For general kernels the same distinction is read spectrally, while in the finite-rank case the circuits identify the smallest sets of observations on which an exact contradiction can occur. At the end-point design of experiment E1, the T-optimality criterion and the projected divergence are zero for curvature because is representable there as an intercept shift. The GP test and the full-GP divergence can nevertheless be large because that intercept is improbable under the prior.
6 Fitted noise as aggregate test failure
The calibration above assumes that the noise variance is known. When it is estimated from the same observations that are being tested, discrepancy energy can instead be absorbed into the fitted noise level. For fixed , let maximise the log marginal likelihood, and write , and . At any positive interior maximum (Appendix C),
In words, the fitted noise variance is the leftover misfit divided by the effective number of directions that the model cannot fit. The numerator is the total soft residual energy, that is, the aggregate failure of the hard relations and the soft prior restrictions. The denominator is an effective number of residual degrees of freedom, minus the effective number of parameters of a linear smoother [36, 61]. Equation (27) is the GP form of MacKay's evidence fixed point [45]. For a finite-rank kernel it approaches the classical estimator when is small compared with the non-zero eigenvalues of . A discrepancy with energy along hard relations or soft prior restrictions passes almost unattenuated into the numerator and leaves the denominator nearly unchanged, so it can inflate (Appendix C). The inflated value then enters the predictive variance at every input, and it also shrinks the statistic of the test of all observations, and typically the group statistics, so fitting the noise to the data under test can switch the checks off. In experiment S1 (Appendix F), three shifted observations among 40 raise the fitted noise variance to almost four times its true value (Table 4).
Tests computed with a fitted noise variance therefore tend to reject less often when the model is wrong, and a non-rejection is weaker evidence than it appears. The consequences for deleting data are examined in Appendix E.
7 Experiments
Three experiments test the claims of Section 5 on controlled problems with known discrepancies. E1 asks whether a test can reject a model without testing the assumption in question, and whether the observation that best tests a GP is the one of largest predictive variance. E2 asks whether prospective power still helps when the location of the discrepancy is unknown. E3 asks which two-dimensional designs can test additivity. In all three the null model is fully specified, so Proposition 2 applies exactly, and predicted powers are checked against rejection rates in 4000 simulated data sets. All tests have level 0.05. Full settings are given in Appendix D, and a simulation study of detection and forgetting is in Appendix F.
7.1 Structural contradiction or prior improbability (E1)
Question. Can a test reject a model without testing the assumption in question? Set-up. The null model is the straight-line GP with kernel of Example 5, whose prior on the intercept and slope is implied by the kernel, with noise variance . The alternative adds a curvature . We compare the GP test of all 40 observations, which tests the GP null, with the exact residual test , which tests the structural null and does not depend on the prior. The designs are 20 inputs at each end of , 18 at each end with 4 at the centre, and 40 equally spaced inputs.
Results. At the end-point design, the 38 consistency relations compare replicates only, and the residual test has power equal to its level at every curvature, up to (Figure 5). The GP test does reject eventually, with power 0.74 at and essentially 1 at , which is 200 noise standard deviations. It rejects because a curvature at two inputs is an intercept shift that the prior finds improbable, a rejection that is valid for the GP null but says nothing about curvature. Over the range its power is at most 0.051. With four inputs at the centre, the design contains circuits such as , with one observation at each of , and , and both tests detect the curvature through them, with power 0.69 and 0.68 at . Equally spaced inputs give 0.75 and 0.73. Adding centre points to a two-level design in order to test for curvature is standard practice in response-surface methodology [15], so the structural half of this result is classical. What the GP adds is the other half: the GP test does reject the end-point design for a large curvature, and the decomposition of Section 5 shows that this rejection comes from the prior, not from a violated relation. Conclusion. A rejection by the GP test does not show that the suspected assumption is wrong, and the design that is optimal for estimating a straight line contains no relation that tests whether the line is straight.
(a) three designs

(b) two ends only, large curvature
Figure 5: E1, testing a straight-line assumption against a curvature . Solid lines show the power of the GP test predicted by Proposition 2, dashed lines the power of the exact residual test, and markers the rejection rates in 4000 simulated data sets. The dotted line marks the level 0.05. (a) Three designs of 40 inputs. (b) The end-point design for large curvatures. The residual test stays at the level for every curvature, because no consistency relation of the end-point design involves curvature. The GP test eventually detects a very large curvature, as an intercept shift that is improbable under the prior.
7.2 Choosing for power, for discrimination or for predictive variance (E1, continued)
Question. Is the observation that best tests a GP the one of largest predictive variance, and how does a classical discrimination criterion compare? Set-up. The null model is a GP with an RBF kernel of lengthscale 0.3 and unit output scale, zero mean and noise variance , on designs of 40 inputs in , of which 36 are drawn uniformly and 4 lie in a cluster at 0.2. The alternative is a narrow bump of width at a specified location , tested with the group of observations within 0.1 of . Each of 401 candidate inputs is scored in three ways:
• the power rule: the power the test would have after adding the candidate, from (23);
- the KL rule: the full-GP Kullback–Leibler divergence between alternative and null after adding it;
• the variance rule: its current predictive variance.
We compare the choices over 20 designs and 19 bump locations, first with the true hyperparameters, and then with the lengthscale or the noise standard deviation wrong by a factor of 2 when choosing.
Results. Figure 6(b) first verifies the power formula against common offsets at four kinds of group. The simulated rejection rates agree with the prediction to within 0.022 in every case, and an offset of four noise standard deviations is detected with probability 0.65 at the boundary observation and 0.95 at an interior one, because a GP absorbs an offset at the boundary more easily ( against 0.79). For the bump at (Figure 1(b)), the current design has power 0.11. Adding the observation of largest predictive variance, at the boundary, leaves the power at 0.11. Adding the observation of largest predicted power, at , raises it to 0.64, although the predictive variance there is fourteen times smaller. Table 2 shows that this is typical. Averaged over designs and locations, the power rule raises the power from 0.48 to 0.72, whereas the variance rule gives 0.51 and a random candidate 0.49. The KL rule gives 0.72 as well and chooses the same input as the power rule in 77% of the cases. The two are close because both reward noncentrality against the specified bump. They differ because the power rule scores the conditional test of the group near , whose membership and degrees of freedom change with the candidate, whereas the KL rule scores all observations of the augmented design. When the hyperparameters assumed for choosing are wrong, the power rule still gives 0.67 to 0.72 under the true model, and its paired advantage over the variance rule stays between 0.16 and 0.22. Here only the choice uses the wrong hyperparameters. A test that used them as well would no longer be exactly calibrated (Section 8). Conclusion. An observation that reduces predictive uncertainty is, in general, not the observation that tests the model. The prospective-power choice agrees with classical discrimination where it should, and it degrades gracefully when the lengthscale or noise level are misspecified by a factor of two.
7.3 Discrepancies of unknown location (E2)
Question. Does prospective power still help when the location of the discrepancy is unknown? Set-up. The null model and the 20 starting designs are those of E1. The alternative is a family of bumps of height 0.2 and width 0.04 whose centre lies in [0.3, 0.9], with prior weights from a normal density centred at 0.6, and the test is the group test of all observations in that region. Five observations are added one at a time from 61 candidates in the region, either by maximising the prior-weighted mean of the rejection probabilities over the family (average power) or their minimum (worst case), or by one of five baselines: the prior-weighted
(a) one simulated data set on the design

(b) same offset, different locations
Figure 6: E1, design-dependent power. (a) One data set simulated from the GP null on the design used in (b) and in Figure 1(b), with the latent function (solid), the latent function plus the bump at (dashed), and the observations without discrepancy (dots). Circles mark the boundary observation, an interior observation and the cluster. The arrow shows the offset , four noise standard deviations, added at the boundary observation. (b) Verification: power of the group test against a common offset at four kinds of group in this design. Lines show the power predicted by Proposition 2, markers the rejection rate in 4000 simulated data sets. The dotted line marks the level 0.05. The candidate scores for the bump at are shown in Figure 1(b).
| Assumed when choosing | Power rule ↑ | KL rule ↑ | Variance rule ↑ | Power – variance ↑ |
|---|---|---|---|---|
| True hyperparameters | 0.72 | 0.72 | 0.51 | 0.217 ± 0.008 |
| Lengthscale ×0.5 | 0.67 | 0.67 | 0.51 | 0.156 ± 0.008 |
| Lengthscale ×2 | 0.71 | 0.70 | 0.50 | 0.208 ± 0.008 |
| Noise s.d. ×0.5 | 0.72 | 0.71 | 0.50 | 0.217 ± 0.008 |
| Noise s.d. ×2 | 0.72 | 0.72 | 0.50 | 0.218 ± 0.008 |
Table 2: E1, power of the group test against a bump of specified location after one added observation, averaged over 20 designs and 19 bump locations. The rules choose under the hyperparameters in the first column, and every choice is evaluated under the true model (lengthscale 0.3, noise variance 0.0025). The current design has mean power 0.48. The KL rule maximises the Kullback–Leibler divergence between the alternative and the null for all observations, and chooses the same input as the power rule in 77% of the cases with the true hyperparameters. The last column is the paired difference between the power and variance rules, averaged per design, with one standard error over the 20 designs.
mean Kullback–Leibler divergence (KL), largest predictive variance, largest prior-weighted squared bump height (amplitude), equally spaced inputs (space-filling) and random inputs. The additions do not depend on any response, since the power depends only on the design. Averaging the power keeps the criterion tied to the test. A Bayesian design would instead maximise an expected information gain [17].
Results. After five observations the average-power rule reaches a mean power of 0.52, the best of the six rules in each of the 20 designs (Figure 7(a)). The strongest baseline is space-filling, at 0.46, and the average-power rule exceeds it by , paired over designs (one standard error). The KL rule reaches 0.520, against 0.523, so the two criteria choose nearly the same designs.
Two limits remain. The power against the least detectable bump stays at most 0.16 for every rule (Figure 7(b)), and Proposition 2 shows this before any observation is made. When the true bump differs from the assumed one (Table 3), the average-power rule stays the best, but its gain over space-filling falls from 0.03–0.06 for narrower or higher bumps to 0.01–0.02 for wider or lower ones. Conclusion. Prospective power remains useful within a specified family of alternatives, it agrees with a classical discrimination criterion, and its advantage shrinks as the alternative is misspecified.
(a) average over locations

(b) worst location
average power
worst-case
space-filling
variance
random
amplitude
Figure 7: E2, choosing five observations against a bump of unknown location in [0.3, 0.9], averaged over 20 designs. (a) Prior-weighted mean power over the family of bump locations. (b) Power against the least detectable bump. The average-power and worst-case rules use Proposition 2. The other rules are baselines described in the text. The KL rule is not shown, since its curve is indistinguishable from that of the average-power rule.
7.4 Testing additivity in two dimensions (E3)
Question. Which two-dimensional designs can test additivity? Set-up. The null model is an additive GP on , with kernel , where and are RBF kernels with lengthscale 0.5 and unit output scale, and noise variance . Although both components have full rank, their sum imposes exact relations (Section 4), so this is a GP with genuine exact structure that is not a polynomial regression. The alternative is an interaction . We compare designs of 16 inputs: a grid, Latin hypercube samples and uniformly random inputs (50 draws each), and a design chosen greedily from a candidate grid by the noncentrality of the GP test against .
Results. The grid carries the mixed-difference relations (10). They are spanned by the mixed differences of its subgrids, and each of these is a circuit of four
| True discrepancy | Average power ↑ | Gain over space-filling ↑ | Gain over variance ↑ | Gain over random ↑ |
|---|---|---|---|---|
| as assumed | 0.52 | 0.059 ± 0.005 | 0.110 ± 0.009 | 0.102 ± 0.007 |
| narrower bump (width 0.02) | 0.44 | 0.057 ± 0.004 | 0.111 ± 0.006 | 0.081 ± 0.004 |
| wider bump (width 0.08) | 0.24 | 0.017 ± 0.002 | 0.025 ± 0.003 | 0.029 ± 0.003 |
| lower bump (height 0.1) | 0.14 | 0.011 ± 0.001 | 0.022 ± 0.002 | 0.019 ± 0.001 |
| higher bump (height 0.3) | 0.87 | 0.062 ± 0.010 | 0.112 ± 0.017 | 0.125 ± 0.017 |
| uniform location prior | 0.46 | 0.034 ± 0.004 | 0.060 ± 0.007 | 0.057 ± 0.005 |
Table 3: E2, sensitivity to a misspecified alternative. The designs were chosen for bumps of height 0.2 and width 0.04 with a normal location prior centred at 0.6, and are evaluated here under the true discrepancy in the first column, without re-selection. The second column is the prior-weighted mean power of the average-power rule after five additions. The other columns are paired differences in mean power between the average-power rule and each baseline, with one standard error over the 20 starting designs.
observations: any assignment of values on three of the four inputs can be matched by an additive function, whereas the values on all four must satisfy the mixed-difference relation. The GP test of the grid detects with probability 0.81, all of it structurally (Figure 8). A Latin hypercube has no two inputs that share a coordinate, so for every set of its inputs is non-singular and no set supports a circuit. The Latin hypercube and random designs detect the same interaction with probability 0.09 and 0.08 on average, through the prior and soft prior restrictions only. The power-optimised design places its inputs on the two lines , which forms an grid with 7 relations, and it detects with probability 0.999. On the grid and on the power-optimised design, simulated rejection rates agree with the prediction to within 0.002. Conclusion. A design whose inputs share coordinates contains circuits that test additivity, which a Latin hypercube lacks, and a design chosen for power finds such circuits by itself, at the price of being tailored to the interaction it was chosen for.
(a) designs of 16 inputs

(b) additivity against

Figure 8: E3, testing an additive GP against an interaction with 16 inputs. (a) The grid, one Latin hypercube draw and the power-optimised design. (b) Power of the GP test (solid) and of the exact residual test on the null space of (dashed), with the number of exact consistency relations of each design. Latin hypercube and random curves are means over 50 draws and have no residual test. Markers show simulated rejection rates of the GP test.
8 Discussion
8.1 What the experiments show
Experiment E1 exposes a distinction that is easy to miss when power is treated as a single number. At the end-point design, the GP can reject a sufficiently large curvature even though the observations contain no structural information about curvature. The curvature is representable there as an intercept shift, and the rejection comes from that shift being improbable under the prior. Moving only four observations to the centre changes the nature of the evidence: curvature then violates an exact consistency relation.
The same issue appears in two dimensions. The grid in E3 contains mixed-difference circuits that test additivity directly, while a Latin hypercube of the same size contains none. Both designs may still assign low probability to an interaction under the GP prior, but only the grid contains an exact algebraic check of additivity. This is why a scalar discrimination score can be insufficient for interpretation: the full-GP KL criterion can be large even when the projected KL and T-optimality criteria are zero.
The prospective power calculation itself behaved as expected. Proposition 2 tracked the simulated rejection probabilities closely. In E1, choosing the next observation by predicted power increased average power from 0.48 to 0.72, compared with 0.51 for predictive variance, and most of the advantage remained when the lengthscale or noise level used for choosing was wrong by a factor of two. Where the problem reduces to classical discrimination, as in E1 and E2, the resulting choices agree closely with those criteria.
8.2 Limits of the present analysis
The exact calibration assumes a fixed mean, kernel and noise variance with Gaussian homoscedastic noise. E1 suggests that the choice of design is not overly fragile to moderate hyperparameter misspecification, but the nominal test level is no longer exact when those hyperparameters are estimated from the observations being tested. Section 6 gives one concrete failure mode: discrepancy energy can inflate the fitted noise variance and weaken the test.
The power calculation also requires a specified discrepancy or family of discrepancies. This is useful when a scientifically meaningful failure mode is known, but it can lead to designs that are deliberately specialised. The optimised design in E3 is a clear example. E2 shows a milder gain when the discrepancy location is unknown.
Two further restrictions are structural. The present results concern a fixed design tested once; repeated testing as observations arrive requires control of false rejections over time. They also concern linear consistency relations. Rank constraints and other algebraic hypotheses lead to determinantal or more general non-linear relations and need a different treatment. Finally, all experiments here are synthetic and low-dimensional. A rejection should therefore be read only as incompatibility with the specified model, not as identification of a faulty observation or assumption. Model repair—through a robust likelihood [41, 43, 1], an explicit discrepancy term [42], or a physically informed mean [21, 53]—is a separate decision.
8.3 Implications for sequential design
A model can fit the data because it is adequate or because the design never challenged it [52, 14]. Testability is also different from usefulness for the optimisation task. In Bayesian optimisation, an evaluation used to challenge the model is an evaluation not used directly to improve the objective [57, 11]. The distinction can be summarised as
fit ≠ testability ≠ decision value.
(28)
The results here make the middle term computable for a fixed design. Extending this to a sequence of decisions raises several separate problems. Repeated tests need time-uniform error control, for example through confidence sequences [39]. Non-linear structural hypotheses, such as low-rank interactions, replace null-space relations by algebraic varieties; for a Segre-type rank model, distances to the relevant secant variety and its Euclidean distance degree [47, 26] are natural analogues of the projector used here. An optimisation algorithm must also decide whether the next evaluation is worth spending on testing rather than on improvement. Finally, uncertainty in the discrepancy family and in the GP hyperparameters must be propagated into that decision rather than treated as fixed. These questions are deliberately left open here.
9 Conclusion
A GP can reject a departure even when the design never observed the structure that was supposedly violated. The end-point example makes this concrete: curvature can be rejected through an improbable intercept although no consistency relation of that design involves curvature.
For finite-rank kernels, the null space separates these cases exactly. Gale duality then shows which observations participate in the structural relations and which minimal subsets can witness a contradiction. For general kernels, the same question becomes spectral rather than algebraic. In both cases the calculation is available before the responses are measured, so testability can be inspected as a property of the design rather than inferred only after a failed model check.
What remains is the sequential problem. During optimisation the design, the GP and the structural hypothesis all evolve. Deciding when a new evaluation should improve the objective and when it should challenge the model requires error control, uncertainty over the assumed structure and a decision rule that trades testing against optimisation.
Funding
Ivan De Boi is funded by the Research Foundation – Flanders (FWO) through postdoctoral fellowship 1217125N.
Data availability
The data supporting the findings of this study are available upon reasonable request from the corresponding author.
A Block deletion identities
Order the indices as and write , and for the blocks of . The Schur complement of is , and
Hence , and reading off the block of gives , which establishes (20) and . Since and , also . Expanding the quadratic form,
(30) so is the drop in the quadratic term of the log marginal likelihood when is deleted, and gives the corresponding change in the log determinant.
B Proofs
Proof of Proposition 2. The discrepancy shifts the conditional mean of given by and its prediction by , so the mean of in (20) becomes , while its covariance is unchanged. Hence , and is noncentral chi-square with noncentrality . The block inverse in Appendix A gives , which yields the second form. For the geometric form (24), gives and , so the second form equals . If , then , and .
Proof of Proposition 3. By linearity, , and (23) gives . The minimum over unit is the smallest eigenvalue, and the mean of a quadratic form in is . For , , and as by Lemma 1. Finally, exactly when .
C The noise fixed point
For fixed K, the log marginal likelihood as a function of the noise variance is
with derivative . Setting , multiplying by and using and gives (27). The second form follows from . Both sides depend on , so (27) is a stationarity identity rather than a closed-form estimator. It holds for the maximum of the marginal likelihood. The experiments of Appendix F fit the noise by maximum a posteriori estimation with a weak prior, for which it holds only approximately.
Now let , where is represented well by the model, is a deterministic discrepancy and . At any fixed value of ,
A discrepancy with energy along hard relations or soft prior restrictions passes almost unattenuated into the residual. At a fixed noise level it increases the expected numerator of (27) while leaving the denominator essentially unchanged, so it can raise above . This is not a general monotone result. The effect depends on the direction of the discrepancy, on its cross term with , and on how and the denominator change with the fitted variance.
D Experimental details
E1. The null model is a zero-mean GP with kernel , , and noise variance . A design consists of inputs in , of which 36 are drawn uniformly and 4 lie in a tight cluster at . The check of Figure 6(b) adds a common offset , up to six noise standard deviations, to four kinds of group in one design: the observation at the right boundary, an interior observation near , one member of the cluster, and the whole cluster. The predicted power is compared with the rejection rate in 4000 data sets for each offset. For the bump, which is small but not zero outside the tested group, the power is computed from the general form (23). The candidates are 401 equally spaced inputs in , and one observation is added. A candidate joins the tested group when it lies within 0.1 of , so the degrees of freedom and the rejection threshold are recomputed for each candidate, and candidates are scored by power rather than by noncentrality. The predictive variance is that of the latent function, and the random choice is the mean power over all candidates. The detailed example uses , and the sweep combines 20 designs with . For the mismatch check, the rules choose with lengthscale 0.15 or 0.6, or with noise variance or 0.01, and each chosen design is evaluated, and tested, with the true hyperparameters. The straight-line part uses the kernel , curvatures for all three designs and for the end-point design. The residual test has degrees of freedom at all three designs.
E2. The bump centres lie on a grid of 31 points in [0.3, 0.9], with prior weights proportional to a normal density with mean 0.6 and standard deviation 0.15. The tested group contains all observations in the region, including those that will be added. The random baseline is averaged over 10 draws. The KL rule maximises the prior-weighted mean of over the family, for all observations of the augmented design. For the final design of the average-power rule in the first case, simulated rejection rates at five bump locations agree with the predicted power to within 0.01. The sensitivity scenarios of Table 3 keep the designs and change the width, height or location prior of the true bump.
E3. The Latin hypercube samples place one input in each of 16 equal strips of each coordinate. The greedy design starts from the empty design and adds, at each step, the candidate that maximises the noncentrality of the test of all observations against , without repeating a candidate. An eigenvalue of is treated as zero when it is below times the largest. The smallest eigenvalue of over all Latin hypercube and random draws is about times the largest, far below , so these designs do have soft prior restrictions, but the interaction has little energy along them.
Computation. Every power evaluation solves a linear system of size n, and choosing an observation repeats this for every candidate. This is cheap for the designs used here, with at most 45 observations, but not for large designs without low-rank or incremental updates.
E Background material
This appendix collects background material that the main text shortened.
The F2I objective. Forgetting to Improve (F2I) [62] selects a retained set of observations that minimises the predictive variance over a finite target set ,
where has entries for , is the kernel matrix of the retained inputs, and is the noise variance refitted on them. By the noise fixed point (27), every observation with a large soft residual raises the fitted noise, including honest observations whose residuals are large by chance. An objective that rewards a small therefore also rewards removing the upper tail of the honest noise distribution, which leads to overconfidence. A smaller predicted variance is not evidence that the model has become more correct.
Deletion at fixed noise. Deleting observations interacts with this mechanism. For a prediction input , let have entries for , let be the conditional covariance between and given , with as in (20), and let denote the posterior variance of given , all at the same noise variance .
Proposition 4. The latent posterior variances satisfy
Proof. Conditioning first on and then on , Gaussian conditioning on subtracts the displayed quadratic form from the variance. The matrix is positive definite because .
At fixed kernel and noise, deleting data therefore never reduces uncertainty. Any improvement after deletion must come from re-estimating model quantities, here the noise variance, rather than from the deletion itself. Deleting observations that carry discrepancy energy removes more from the numerator of (27) than from its denominator, and so tends to lower .
This explains both the appeal and the risk of deleting data to reduce uncertainty, as in F2I. Every observation with a large soft residual raises the fitted noise, including unperturbed observations whose residuals are large by chance, and the two cannot be told apart one observation at a time. A rejection says only that a group of observations is incompatible with the specified model. It does not show that these observations are wrong, and when they reflect real behaviour of the function, revising the model is preferable to deleting them. Appendix F shows that a greedy deletion rule of our own, which is not the published F2I implementation, becomes overconfident in this way (Tables 4 and 5).
Masking. Closely spaced observations with a common bias predict each other well when each is held out alone. The other members of the group pull each leave-one-out prediction towards the biased value, and every individual residual is small. Holding out the whole group removes this mutual support, and the group residual of (20) reveals the shared offset. This is the masking problem of classical multiple-outlier diagnostics [8, 37, 35]. In the language of (21), masking is a cancellation within . The individual statistic of observation is , and under a common offset on the mean of is . For nearby observations the off-diagonal entries , and hence the inner products of their spectral coordinates, are typically negative, so this sum is small and the offset largely cancels in every individual statistic. The joint statistic uses the whole block and does not suffer this cancellation. The remedy is therefore the joint hypothesis, and it is available without any change of coordinates.
Several candidate groups. With several candidate groups, a Bonferroni or Holm correction [38] controls the probability of any false rejection for a fixed family. Adaptive remove-and-refit searches, such as those of S1–S3, require further care [18], which is why their calibration is checked empirically below.
Exact and truncated coordinates. The last form of (21) shows that the group test computed in spectral coordinates is identical to the classical multiple-case test. A difference between the two can arise only from approximating the residual matrix, for instance by a hard truncation of the spectrum of K. The method “Group test, Gale coordinates” below measures what such a truncation costs.
Soft relations as stencils. For smooth stationary kernels and closely spaced inputs, the eigenvectors of K with small eigenvalues typically oscillate across neighbouring inputs, so the soft relations behave like approximate higher-order finite differences. The first eigenvector below the noise level in Figure 3 alternates in sign between neighbouring inputs. A row of the residual matrix S is a local stencil: it compares with a weighted average of its neighbours, much like the straight-line relation, and it nearly annihilates constant, linear and quadratic trends.
A classical use of Gale duality. Properties of a point configuration can be read off from its Gale transform. For example, a subset of the points is the set of points lying on some face of their convex hull exactly when the origin lies in the relative interior of the convex hull of the Gale vectors of the remaining points. This makes Gale duality particularly effective for configurations with only a few more points than dimensions, where the dual space is small.
Affine and projective Veronese maps. The feature map (9) of all monomials of degree at most is the affine form of the Veronese map [47]. The classical Veronese map is projective and uses the monomials of degree exactly in homogeneous coordinates . Setting turns these into the monomials of degree at most in , so the two descriptions give the same consistency relations.
F Supplementary experiments: detection and forgetting
This appendix reports a simulation study of detection and forgetting, with three supplementary experiments numbered S1–S3.
Experiments S1–S3 turn from testability to detection and forgetting. They check the claims of Section 6 that a local discrepancy inflates the fitted noise everywhere and that uncertainty-minimising deletion removes this inflation at the price of overconfidence, and they compare this deletion rule with the test-based rules of Section 5. The three experiments share one data model, pipeline and set of methods, and differ only in the kind of discrepancy: a few shifted observations (S1), a region that the kernel genuinely cannot represent (S2), and a batch of shifted observations that mask one another (S3).
Data. Experiments S1, S2 and S3 use training inputs in , Gaussian measurement noise with variance , the target region , and 200 held-out test inputs drawn uniformly in . Each configuration is repeated for 20 random seeds.
-
S1, structured function with a cluster. The latent function is the cubic , with inputs drawn uniformly. The three observations nearest to , just outside , are shifted by +0.4, which is eight noise standard deviations.
-
S2, genuine model mismatch. The latent function is for and for . On it oscillates far faster than an RBF kernel with a single lengthscale can follow. The roughly 13 observations with are correct measurements of , but they are counted as misfit observations because the kernel cannot represent them.
-
S3, a masked batch. The latent function is the cubic of S1. There are 40 - k inputs drawn uniformly and a batch of k inputs at , just outside A, whose observations are all shifted by +0.3. This mimics a mis-calibrated sensor during a run of repeated measurements. We vary . A variant places the batch inside the target region, at .
Pipeline. The pipeline is identical for every method, so that differences between methods are attributable to the deletion rule alone. (i) The lengthscale , output scale and noise variance of the RBF kernel are fitted by maximum a posteriori (MAP) estimation on all 40 observations, with a log-normal prior restricted to , a flat prior on , and a Gamma prior with shape 2 and rate 0.15 on . The lower bound on expresses the modelling assumption of a smooth latent function. Without it, the fit in S2 selects in most seeds, chases the fast oscillation, and generalises poorly in for every method. (ii) The method returns the observations to keep. (iii) The noise variance alone is refitted by MAP on the kept observations, with the kernel fixed. (iv) The GP predicts at the test inputs.
Methods. The tables compare six methods, named as in the table rows. The first two are references that bracket the comparison, and the other four are deletion rules.
-
Full GP. Keep every observation. This shows the effect of the misfit observations when nothing is done about them.
-
Oracle. Delete exactly the planted misfit observations and nothing else. No real method can know which observations these are, so the oracle is a best-case reference rather than a competitor.
-
F2I-style. Greedy deletion on the objective (33), the total predictive variance over a grid of 30 inputs in A. At every step each single deletion is evaluated with an exact refit of the noise variance, the best one is applied, and the search stops when no deletion lowers (33). This uses the published objective [62] with exact refits instead of first-order influence approximations, and is not the authors' implementation.
-
Single-observation test. Repeatedly delete the observation with the largest standardised leave-one-out residual , recomputed after every deletion, while it exceeds the Bonferroni threshold , the corresponding quantile of the standard normal distribution.
-
Group test, classical. The test (21) applied greedily. Candidate groups are all single observations and all runs of 2 to neighbouring inputs, with in S1 and S2 and in S3. At every step the candidate with the smallest p-value under (22) is deleted, and the search stops when that p-value exceeds 0.05/M, where M is the number of remaining candidates.
-
Group test, Gale coordinates. The same candidates, search and stopping rule, but with the test computed in a Gale basis. The basis consists of the eigenvectors of whose eigenvalues do not exceed the reference noise, a hard-threshold approximation of the soft construction of Section 4. With and , a group is scored by the increase in explained test failure , which is the hard-truncated Gale form of (21). With the exact soft operator in place of , this method would coincide with the classical group test (Section 5). It is included to measure what the truncation costs.
All three tests use the same reference noise variance: the MAP noise of the GP restricted to the training observations inside A. This avoids judging failures against a noise estimate inflated by the very discrepancy under test (Section 5), but it assumes that the model is adequate inside A.
Metrics. On the test inputs in we report the mean squared error (MSE) of the predictive mean against the latent function, the empirical coverage of the predictive intervals for new noisy observations (ideally 0.95), the negative log predictive density (NLPD) of those observations, and the mean predictive variance (sharpness), which is the F2I objective divided by the number of target inputs. On the training set we report the fraction of misfit observations deleted (higher is better), the fraction of honest observations deleted (lower is better), and the refitted noise variance , whose true value is . All numbers are produced by the code accompanying this paper.
Noise inflation and overconfidence. Tables 4 and 5 confirm the mechanism of Section 6. In S1, three shifted observations raise the fitted noise variance of the full GP to , almost four times the true value. In S2 the rough region raises it to 0.22, about ninety times the true value. Because the same noise enters every prediction, the intervals in the target region are far too wide, and their coverage is 1.00 instead of 0.95.
F2I-style deletion removes this inflation but does not stop there. It keeps only about 12 of the 40 observations, deletes roughly two thirds of the honest ones, and drives the fitted noise variance to about , two orders of magnitude below the truth. Its predictions are the sharpest of all methods, yet only 9 to of new observations fall inside its nominal intervals, and its NLPD exceeds 100, against values between and for every other method. Figure 10 shows this trade-off for all three experiments: F2I-style deletion wins on sharpness, the criterion it optimises, and loses on calibration. Figure 9 shows typical fits. The test-based methods delete at most of the honest observations, recover a noise variance close to the truth (with one exception, discussed below), and keep the coverage between 0.93 and 0.97.
S2 is the hardest case for every method. The rough region contains stretches where the fast oscillation happens to look smooth, so even the best test finds only about of the misfit observations. Nevertheless the remaining misfit has little influence on the target region, and the accuracy of every test-based method there is within of the oracle.
| Method | Kept | MSE () | Coverage | NLPD | Misfit del. | Honest del. | |
|---|---|---|---|---|---|---|---|
| Full GP | 40.0 | 9.78 | -1.18 | 0.00 | 0.000 | ||
| Oracle | 37.0 | 2.60 | -1.46 | 1.00 | 0.000 | ||
| F2I-style | 12.2 | 0.01 | 154.46 | 0.85 | 0.681 | ||
| Single-observation test | 37.5 | 3.11 | -1.43 | 0.65 | 0.014 | ||
| Group test, classical | 37.0 | 2.54 | -1.45 | 0.95 | 0.003 | ||
| Group test, Gale coordinates | 37.2 | 2.66 | -1.45 | 0.80 | 0.011 |
Table 4: S1, a cubic function with a cluster of three shifted observations just outside the target region. Means over 20 seeds, one standard deviation across seeds. The true noise variance is . Rows: Full GP keeps all observations. Oracle deletes exactly the planted misfit observations, which no real method can know, and serves as a best-case reference. F2I-style deletes greedily to minimise predictive variance in . The remaining three rows are the single-observation test and the group test in classical and in Gale coordinates. Columns: number of observations kept, refitted noise variance, mean squared error and NLPD in , coverage of the predictive intervals, and the fractions of misfit and of honest observations deleted. Arrows indicate whether lower or higher values are better. Bold marks the best deletion rule in each column, where best means closest to the true noise variance and to the nominal coverage 0.95. The Full GP and Oracle rows are references and are not marked.
Deletion trajectories. Figure 11 follows F2I-style deletion one step at a time, refitting the noise and evaluating the predictions in after every single deletion, in order to see where it goes wrong. Each column is one experiment, and the horizontal axis counts the observations
| Method | Kept | MSE () | Coverage | NLPD | Misfit del. | Honest del. | |
|---|---|---|---|---|---|---|---|
| Full GP | 40.0 | 222.49 | 0.21 | 0.00 | 0.000 | ||
| Oracle | 26.7 | 2.45 | -1.45 | 1.00 | 0.000 | ||
| F2I-style | 11.9 | 0.03 | 143.86 | 0.80 | 0.648 | ||
| Single-observation test | 30.7 | 3.77 | -1.41 | 0.64 | 0.032 | ||
| Group test, classical | 28.5 | 2.86 | -1.43 | 0.81 | 0.027 | ||
| Group test, Gale coordinates | 29.6 | 10.44 | -1.22 | 0.75 | 0.015 |
Table 5: S2, a function that oscillates faster than the kernel can follow for . Same layout as Table 4.

S2: F2I-style,
S2: Group test, classical,

S3 : F2I-style,
S3 : Group test, classical,

Figure 9: One seed of each experiment. Left: F2I-style deletion. Right: the classical group test. Dots are kept observations and crosses deleted ones. Red marks the planted misfit observations, and the dashed curve is the latent function. Lines and bands show the predictive mean and the predictive interval for new observations. The target region is shaded. F2I-style deletion removes most honest observations and leaves intervals that are far too narrow. The group test removes the misfit observations and little else.

Figure 10: Sharpness against calibration in S1, S2 and S3 (k = 4). Each marker is the mean over 20 seeds for one method and one experiment. The dotted line marks the nominal coverage of 0.95. A small predictive variance is only useful if the coverage remains close to this line.
deleted so far. The top row shows, for each step, the fraction of seeds in which the observation deleted at that step is a planted misfit one, so a bar near 1 means that a misfit observation was removed and a bar near 0 that an honest one was. The middle row shows the refitted noise variance relative to the truth, where 1 is correct, and the bottom row the coverage of the 95% predictive intervals in A, where 0.95 is ideal. Thin lines are individual seeds and thick lines their median. The dashed vertical line marks the number of planted misfit observations, which is where a method that deleted exactly the misfit observations would stop. The green lines follow the classical group test in the same way, one selected group at a time in its own order of selection, and markers show where each method stops in each seed, red for F2I-style deletion and green for the group test, so that its path and stopping point can be compared with those of F2I-style deletion and with the ideal stopping point. The group test stops after a few deletions, mostly of misfit observations, so its noise variance ends close to the truth and its coverage close to 0.95. The early deletions mostly hit misfit observations: about 70% of the first deletions in each experiment are misfit ones. When as many observations have been deleted as there are misfit ones, the median fitted noise variance in S1 and S3 is within 2% of the true value, and the median coverage is 0.94. At that point F2I-style deletion is essentially as good as the oracle. It does not stop there, however, because every further deletion still lowers its objective. Removing an honest observation whose residual is large by chance lowers the refitted noise, and hence the predictive variance in A, just as removing a misfit one does. F2I-style deletion stops only when so few observations remain that losing another raises the predictive variance more than the smaller noise lowers it. The group test stops for a different reason: it deletes a group only if that group is statistically surprising under the reference noise, and once the misfit observations are gone no remaining group passes the Bonferroni threshold. One rule stops when deleting no longer pays, the other when nothing left is surprising. It goes on to delete between 17 and 25 honest observations on average, the fitted noise falls two to three orders of magnitude below the truth, and coverage collapses. The group test stops close to the point where F2I-style deletion should have stopped (green markers). The failure of F2I-style deletion is therefore not in what it deletes first, but in the absence of a stopping rule.
that distinguishes a misfit observation from an honest one with a large residual. A test-based stopping rule supplies such a rule, approximately calibrated, as the next paragraph shows.
Calibration of the complete pipeline. Equation (22) is exact only for a fixed group and a specified covariance, whereas S1–S3 estimate the kernel from the same data, estimate the reference noise, and select and remove groups adaptively. Table 6 therefore runs the complete pipeline on 1000 data sets per configuration that contain no misfit observations, generated from the cubic of S1 with uniform inputs or with the cluster of S3. Any deletion is then a false rejection. The pipeline is moderately liberal. At least one observation is deleted in 6.7 to 7.6% of the data sets by the group tests and in 8.8 to 9.4% by the single-observation test, against a nominal 5%, and on average fewer than 1% of the observations are deleted. The data are generated from a fixed cubic rather than drawn from the GP, so this benchmark does not isolate the calibration of the test under its own null hypothesis. The excess over the nominal level may reflect both the plug-in of estimated hyperparameters [6] and the mismatch between the cubic and the GP prior. Table 7 separates the two effects with data drawn from the GP itself, 1000 data sets per design. With the true kernel and noise variance, the single-observation test deletes something in 4.8 to 5.3% of the data sets, close to the nominal 5%, and the group tests in 1.5 to 3.2%, because the Bonferroni correction over overlapping candidate groups is conservative. With hyperparameters estimated from the same data, the rates rise to 6.3 to 8.5%. The excess over the nominal level in Table 6 is therefore mainly caused by estimating the hyperparameters, not by the mismatch between the cubic and the GP prior. It is small compared with the deletions of F2I-style selection, but the stopping rule should be read as approximately rather than exactly calibrated.
| Method | Uniform inputs | With a cluster | ||
|---|---|---|---|---|
| Any deletion ↓ | Deleted ↓ | Any deletion ↓ | Deleted ↓ | |
| Single-observation test | 0.088 | 0.0036 | 0.094 | 0.0044 |
| Group test, classical | 0.073 | 0.0059 | 0.067 | 0.0082 |
| Group test, Gale coordinates | 0.076 | 0.0060 | 0.072 | 0.0087 |
Table 6: Calibration of the complete deletion pipeline of S1–S3 when the data contain no misfit observations, over 1000 seeds per configuration. “Any deletion” is the fraction of seeds in which at least one observation is deleted, which the Bonferroni stopping rule is meant to keep near 0.05. “Deleted” is the mean fraction of the 40 observations deleted. Bold marks the best value in each column.
| Method | Uniform inputs | With a cluster | ||
|---|---|---|---|---|
| Fixed | Estimated | Fixed | Estimated | |
| Single-observation test | 0.053 | 0.084 | 0.048 | 0.085 |
| Group test, classical | 0.025 | 0.072 | 0.015 | 0.063 |
| Group test, Gale coordinates | 0.032 | 0.076 | 0.023 | 0.067 |
Table 7: Calibration under a true GP null: fraction of 1000 data sets drawn from the GP in which at least one observation is deleted, against a nominal 0.05. “Fixed” uses the true kernel and noise variance, “Estimated” the pipeline of S1–S3 with hyperparameters fitted to the same data.
Masking. Table 8 and Figure 12 show the masked batch of S3. Each observation in the batch is predicted well by its shifted neighbours when it is held out alone, so the single-observation test finds only 68% of a batch of four, and its error in the target region is 2.4 times that of

Figure 11: Deletion trajectories of F2I-style deletion, from no deletion until its stopping point. Top: fraction of seeds in which the observation deleted at that step is a misfit one. Middle: refitted noise variance relative to the truth (logarithmic scale). Bottom: coverage of the 95% predictive intervals in A. Thin lines are individual seeds and thick lines the median. The dashed vertical line marks the number of misfit observations, and the dotted horizontal lines mark the ideal values. Green lines follow the classical group test one selected group at a time. Markers show where each method stops in each seed, red for F2I-style deletion and green for the group test.
the group tests. The gap widens with the batch size. At the single-observation test finds half of the batch, while the group tests still find 78%. When the batch lies inside the target region, every test fails to find it, and the error in is about twenty times that of the oracle. The reason is the reference noise. It is estimated from the observations in , which now include the batch, and its mean of is about six times the value in the other S3 runs. Against this inflated reference nothing looks surprising. This is a genuine limitation of a target-region reference, discussed in Section 5.
Gale coordinates against the classical group test. Table 9 compares the two group tests directly. In S3 they make identical decisions in 99 of the 100 runs, including the run with the batch inside A. The gain over single-observation tests in S3 is therefore entirely a gain of
| Method | Kept | MSE () | Coverage | NLPD | Misfit del. | Honest del. | |
|---|---|---|---|---|---|---|---|
| Full GP | 40.0 | 8.33 | -1.11 | 0.00 | 0.000 | ||
| Oracle | 36.0 | 2.31 | -1.50 | 1.00 | 0.000 | ||
| F2I-style | 11.8 | 0.01 | 649.65 | 0.91 | 0.682 | ||
| Single-observation test | 36.8 | 3.03 | -1.32 | 0.68 | 0.014 | ||
| Group test, classical | 36.1 | 2.47 | -1.45 | 0.90 | 0.008 | ||
| Group test, Gale coordinates | 36.1 | 2.47 | -1.45 | 0.90 | 0.008 |
Table 8: S3, a masked batch of shifted observations just outside the target region. Same layout as Table 4.

Oracle
F2I-style
Single-observation test
Group test, classical
Group test, Gale coordinates
Figure 12: S3, a masked batch of shifted observations. Left: mean squared error in the target region, with error bars of one standard error over 20 seeds (logarithmic scale). Right: fraction of the batch deleted. The two group tests coincide.
testing groups, which the classical test delivers without any Gale vocabulary. In S1 and S2 the two tests differ more often, because the Gale version uses a hard spectral threshold that approximates the soft operator of Section 4. These differences never favour the Gale version: in S1 it finds fewer misfit observations (80% against 95%), and in S2 it leaves a noise variance nearly four times larger, with equal accuracy. These results quantify what the hard truncation costs. Together with the identity of Section 5, they show that, for data already collected, the improvement comes from testing the right group jointly, not from the coordinates in which the test is expressed. The Gale view does not detect more discrepancies in such data. Its contribution is the prospective one shown in E1 to E3: before data are collected, it says which assumptions a design can test and with what power.
| Experiment | Identical decisions | MSE, single () | MSE, classical () | MSE, Gale () |
|---|---|---|---|---|
| S1 | 17/20 | 7.0 | 5.6 | 6.6 |
| S2 | 3/20 | 6.3 | 5.7 | 5.6 |
| S3, | 20/20 | 5.7 | 5.5 | 5.5 |
| S3, | 20/20 | 13.0 | 6.3 | 6.3 |
| S3, | 20/20 | 17.8 | 7.3 | 7.3 |
| S3, | 19/20 | 19.8 | 9.7 | 9.8 |
| S3, , batch inside | 20/20 | 99.6 | 99.6 | 99.6 |
Table 9: Group tests in Gale coordinates against classical group tests with the same candidate groups, reference noise and stopping rule. “Identical decisions” counts the seeds in which both delete exactly the same observations. The single-observation test is shown for comparison. Means over 20 seeds. Bold marks a method whose MSE is smaller than that of at least one other method by more than two paired standard errors over the seeds, and not significantly larger than that of any. Arrows indicate that lower values are better.
References
[1] S. Ament, E. Santorella, D. Eriksson, B. Letham, M. Balandat, and E. Bakshy. Robust Gaussian processes via relevance pursuit. In Advances in Neural Information Processing Systems 37, 2024.
[2] A. C. Atkinson. Planning experiments to detect inadequate regression models. Biometrika, 59(2):275–293, 1972.
[3] A. C. Atkinson and V. V. Fedorov. The design of experiments for discriminating between two rival models. Biometrika, 62(1):57–70, 1975.
[4] A. C. Atkinson and M. Riani. Robust Diagnostic Regression Analysis. Springer, 2000.
[5] A. C. Atkinson, A. N. Donev, and R. D. Tobias. Optimum Experimental Designs, with SAS. Oxford University Press, 2007.
[6] F. Bachoc. Cross validation and maximum likelihood estimations of hyper-parameters of Gaussian processes with model misspecification. Computational Statistics & Data Analysis, 66:55–69, 2013.
[7] L. S. Bastos and A. O'Hagan. Diagnostics for Gaussian process emulators. Technometrics, 51(4):425–438, 2009.
[8] R. J. Beckman and R. D. Cook. Outlier.....s. Technometrics, 25(2):119–149, 1983.
[9] D. A. Belsley, E. Kuh, and R. E. Welsch. Regression Diagnostics: Identifying Influential Data and Sources of Collinearity. Wiley, 1980.
[10] A. Björner, M. Las Vergnas, B. Sturmfels, N. White, and G. M. Ziegler. Oriented Matroids. Second edition. Encyclopedia of Mathematics and its Applications 46, Cambridge University Press, 1999.
[11] I. Bogunovic and A. Krause. Misspecified Gaussian process bandit optimization. In Advances in Neural Information Processing Systems 34, 2021.
[12] G. E. P. Box and N. R. Draper. A basis for the selection of a response surface design. Journal of the American Statistical Association, 54(287):622–654, 1959.
[13] G. E. P. Box and W. J. Hill. Discrimination among mechanistic models. Technometrics, 9(1):57–71, 1967.
[14] G. E. P. Box. Sampling and Bayes' inference in scientific modelling and robustness (with discussion). Journal of the Royal Statistical Society, Series A, 143(4):383–430, 1980.
[15] G. E. P. Box and N. R. Draper. Empirical Model-Building and Response Surfaces. Wiley, 1987.
[16] J. Brynjarsdóttir and A. O'Hagan. Learning about physical parameters: the importance of model discrepancy. Inverse Problems, 30(11):114007, 2014.
[17] K. Chaloner and I. Verdinelli. Bayesian experimental design: a review. Statistical Science, 10(3):273–304, 1995.
[18] S. Chen and J. Bien. Valid inference corrected for outlier removal. Journal of Computational and Graphical Statistics, 29(2):323–334, 2020.
[19] R. D. Cook. Detection of influential observation in linear regression. Technometrics, 19(1):15–18, 1977.
[20] R. D. Cook and S. Weisberg. Residuals and Influence in Regression. Chapman and Hall, 1982.
[21] I. De Boi, S. Sels, and R. Penne. Semidata-driven calibration of galvanometric setups using Gaussian processes. IEEE Transactions on Instrumentation and Measurement, 71:1–8, 2022.
[22] I. De Boi, C. H. Ek, and R. Penne. Surface approximation by means of Gaussian process latent variable models and line element geometry. Mathematics, 11(2):380, 2023.
[23] I. De Boi, E. Embrechts, Q. Schatteman, R. Penne, S. Truijen, and W. Saeys. Assessment and treatment of visuospatial neglect using active learning with Gaussian processes regression. Artificial Intelligence in Medicine, 149:102770, 2024.
[24] J. A. De Loera, J. Rambau, and F. Santos. Triangulations: Structures for Algorithms and Applications. Springer, 2010.
[25] H. Dette and S. Titoff. Optimal discrimination designs. Annals of Statistics, 37(4):2056–2082, 2009.
[26] J. Draisma, E. Horobet, G. Ottaviani, B. Sturmfels, and R. R. Thomas. The Euclidean distance degree of an algebraic variety. Foundations of Computational Mathematics, 16(1):99–149, 2016.
[27] O. Dubrule. Cross validation of kriging in a unique neighborhood. Mathematical Geology, 15(6):687–699, 1983.
[28] D. Gale. Neighboring vertices on a convex polyhedron. In H. W. Kuhn and A. W. Tucker, editors, Linear Inequalities and Related Systems, Annals of Mathematics Studies 38, pp. 255–263. Princeton University Press, 1956.
[29] J. R. Gardner, G. Malkomes, R. Garnett, K. Q. Weinberger, D. Barbour, and J. P. Cunningham. Bayesian active model selection with an application to automated audiometry. In Advances in Neural Information Processing Systems 28, 2015.
[30] R. Garnett. Bayesian Optimization. Cambridge University Press, 2023.
[31] A. Gelman, X.-L. Meng, and H. Stern. Posterior predictive assessment of model fitness via realized discrepancies. Statistica Sinica, 6(4):733–807, 1996.
[32] D. Ginsbourger and C. Schärer. Fast calculation of Gaussian process multiple-fold cross-validation residuals and their covariances. Journal of Computational and Graphical Statistics, 34(1):1–14, 2025.
[33] P. W. Goldberg, C. K. I. Williams, and C. M. Bishop. Regression with input-dependent noise: a Gaussian process treatment. In Advances in Neural Information Processing Systems 10, pp. 493–499, 1998.
[34] B. Grünbaum. Convex Polytopes. Second edition, prepared by V. Kaibel, V. Klee and G. M. Ziegler. Graduate Texts in Mathematics 221, Springer, 2003.
[35] A. S. Hadi and J. S. Simonoff. Procedures for the identification of multiple outliers in linear models. Journal of the American Statistical Association, 88(424):1264–1272, 1993.
[36] T. J. Hastie and R. J. Tibshirani. Generalized Additive Models. Chapman and Hall, 1990.
[37] D. M. Hawkins, D. Bradu, and G. V. Kass. Location of several outliers in multiple-regression data using elemental sets. Technometrics, 26(3):197–208, 1984.
[38] S. Holm. A simple sequentially rejective multiple test procedure. Scandinavian Journal of Statistics, 6(2):65–70, 1979.
[39] S. R. Howard, A. Ramdas, J. McAuliffe, and J. Sekhon. Time-uniform, nonparametric, nonasymptotic confidence sequences. Annals of Statistics, 49(2):1055–1080, 2021.
[40] E. R. Jones and T. J. Mitchell. Design criteria for detecting model inadequacy. Biometrika, 65(3):541–551, 1978.
[41] P. Jylänki, J. Vanhatalo, and A. Vehtari. Robust Gaussian process regression with a Student-t likelihood. Journal of Machine Learning Research, 12:3227–3257, 2011.
[42] M. C. Kennedy and A. O'Hagan. Bayesian calibration of computer models. Journal of the Royal Statistical Society, Series B, 63(3):425–464, 2001.
[43] K. Kersting, C. Plagemann, P. Pfaff, and W. Burgard. Most likely heteroscedastic Gaussian process regression. In Proceedings of the 24th International Conference on Machine Learning, pp. 393–400, 2007.
[44] J. López-Fidalgo, C. Tommasi, and P. C. Trandafir. An optimal experimental design criterion for discriminating between non-normal models. Journal of the Royal Statistical Society, Series B, 69(2):231–242, 2007.
[45] D. J. C. MacKay. Bayesian interpolation. Neural Computation, 4(3):415–447, 1992.
[46] J. Matoušek. Lectures on Discrete Geometry. Graduate Texts in Mathematics 212, Springer, 2002.
[47] M. Michałek and B. Sturmfels. Invitation to Nonlinear Algebra. Graduate Studies in Mathematics 211, American Mathematical Society, 2021.
[48] S. Olofsson, M. P. Deisenroth, and R. Misener. Design of experiments for model discrimination hybridising analytical and data-driven approaches. In Proceedings of the 35th International Conference on Machine Learning, pp. 3908–3917, 2018.
[49] E. Pesce, F. Rapallo, E. Riccomagno, and H. P. Wynn. Generation of all randomizations using circuits. Annals of the Institute of Statistical Mathematics, 75:683–704, 2023.
[50] G. Pistone and H. P. Wynn. Generalised confounding with Gröbner bases. Biometrika, 83(3):653–666, 1996.
[51] G. Pistone, E. Riccomagno, and H. P. Wynn. Algebraic Statistics: Computational Commutative Algebra in Statistics. Chapman & Hall/CRC, 2001.
[52] K. R. Popper. The Logic of Scientific Discovery. Hutchinson, 1959.
[53] S. Ramos Garces, I. De Boi, J. P. Ramos, M. Dierckx, L. Popescu, and S. Derammelaere. Efficient tuning of an isotope separation online system through safe Bayesian optimization with simulation-informed Gaussian process for the constraints. Mathematics, 12(23):3696, 2024.
[54] C. E. Rasmussen and C. K. I. Williams. Gaussian Processes for Machine Learning. MIT Press, 2006.
[55] P. J. Rousseeuw and A. M. Leroy. Robust Regression and Outlier Detection. Wiley, 1987.
[56] B. Shahriari, K. Swersky, Z. Wang, R. P. Adams, and N. de Freitas. Taking the human out of the loop: a review of Bayesian optimization. Proceedings of the IEEE, 104(1):148–175, 2016.
[57] N. Srinivas, A. Krause, S. M. Kakade, and M. Seeger. Gaussian process optimization in the bandit setting: no regret and experimental design. In Proceedings of the 27th International Conference on Machine Learning, pp. 1015–1022, 2010.
[58] S. Sundararajan and S. S. Keerthi. Predictive approaches for choosing hyperparameters in Gaussian processes. Neural Computation, 13(5):1103–1118, 2001.
[59] R. R. Thomas. Lectures in Geometric Combinatorics. Student Mathematical Library 33, American Mathematical Society, 2006.
[60] A. Vehtari, T. Mononen, V. Tolvanen, T. Sivula, and O. Winther. Bayesian leave-one-out cross-validation approximations for Gaussian latent variable models. Journal of Machine Learning Research, 17(103):1–38, 2016.
[61] G. Wahba. Spline Models for Observational Data. CBMS-NSF Regional Conference Series in Applied Mathematics 59, SIAM, 1990.
[62] M. Wendl, E. Englesson, A. Krause, and C. H. Ek. Forgetting to Improve: principled data removal in active learning. ICML 2026 Workshop on Decision-Making from Offline Datasets to Online Adaptation: Black-Box Optimization to Reinforcement Learning, 2026.
[63] G. M. Ziegler. Lectures on Polytopes. Graduate Texts in Mathematics 152, Springer, 1995.