14. Bayes goes linear: History matching#
“Those who cannot remember the past are condemned to repeat it.”
—George Santayana
In this chapter we will introduce Bayes linear methods and history matching in particular.
14.1. Bayes linear methods#
Bayes linear statistics
Bayes linear methods are subjective statistical analyses based on expectation and covariance structures, rather than on distributional assumptions.
The use of the word linear refers to Bruno de Finetti’s arguments that probability theory is a linear theory (he argued against the more common measure theory approach).
The full Bayesian approach requires a complete, probabilistic enumeration of all possible outcomes. In practice. for scientific applications, this usually translates to the use of probability distributions to capture all prior knowledge as well as the statistical model that goes into the data likelihood. Such a specification can often be largely arbitrary.
Bayes linear methodology is similar in spirit to the standard Bayes analysis, but is constructed so as to avoid much of the burden of specification and computation of a fully Bayesian analysis. The aim is to develop a methodology which allows to state and analyse relatively small, carefully chosen collections of quantitative judgements that are within our ability to specify in a meaningful way.
We will in particular restrict ourselves to specifying mean values and covariances for a set \(\mathcal{Z} = \{ Z_1, Z_2, \ldots, Z_M \}\) of (random) quantities, for which we shall make statements of uncertainty. For each \(Z_i, Z_j \in \mathcal{Z}\) we specify
The expectation \(\expect{Z_i}\), giving a simple quantification of our belief as to the magnitude of \(Z_i\);
The variance \(\var{Z_i}\), quantifying our uncertainty or degree of confidence in our judgements of the magnitude of \(Z_i\);
The covariance \(\cov{Z_i}{Z_j}\), expressing a judgement on the relationship between the quantities, quantifying the extent to which observation on \(Z_j\) may (linearly) influence our belief as to the size of \(Z_i\).
This restricted collection of belief statements then replaces the full specification of \(\p{\mathcal{Z}}\).
For a thorough reference on Bayes linear methods, see the textbook “Bayes Linear Statistics: Theory and Methods”* by Michael Goldstein and David Wooff [GW07].
Pukelsheim’s three-sigma rule#
While avoiding the full probabilistic treatment, it is still possible to make some quantitative statements using expectation values and (co)variances as ingredients in general probability inequalities. The most famous one is Pukelsheim’s three-sigma rule which we will now discuss. For a full derivation, the reader is encouraged to study Pukelheim’s paper from 1994 [Puk94] that also contains the original references. The original bound is due to Vysochanskii and Petunin (1980, 1983).
Consider a random varable \(X\) with mean value \(\mu = \expect{X}\) and variance \(\sigma^2 = \var{X}\). A very general inequality was provided by Bienaymé (1853) and Chebyshev (1867) about the probability that \(X\) falls outside of a radius \(r > 0\),
This is a rough bound. For example, we find that the probability of finding \(X\) outside of \(r = 3\sigma\) is smaller than or equal to \(1/9 \approx 11\%\).
It is possible to find a tighter constraint with an additional assumption. For a unimodal distribution, the probability density is non-decreasing up to the mode, and non-increasing after. For this class, the bound becomes more than halved
In particular, for \(r = 3\sigma\) we get the celebrated Pukelsheim’s three-sigma rule.
Pukelsheim’s three-sigma rule
The probability for a random quantity \(X\) to fall away from its mean \(\mu\) by more than three standard deviations \(3\sigma\) is at most 5%,
given that \(X\) is described by a unimodal probability density function.
14.2. Iterative history matching#
In these lectures we will introduce a very powerful, iterative approach known as history matching [H+22, VGB14, VGB10, VLG+18]. The power of this method lies in the iterative confrontation of a computational model with a set of (historical) data within the Bayes linear framework. Its applicability rests on the ability to solve the model with small computational cost at low fidelities, e.g. using emulators (see Bayes goes fast: Emulators).
Let us start with the statistical model (4.18), which we repeat below, that relates data with model predictions via random quantities that describe uncertainties in data and model, respectively
This relation, and our specification of probability distributions for the random quantities, usually leads to the data likelihood \(\pdf{\data}{\pars, I}\) that enters our Bayesian analysis. Here, however, we recognize the risk of arbitrariness when making such assignments. Instead, we rely on Bayes linear statistics and just specify the expectation values and covariances.
To be specific, let us consider a single observable \(Z_i\) with the corresponding model prediction \(M_i(\pars)\). With \(\expect{\delta Z_i} = \expect{\delta M_i} = 0\) and independent data and model uncertainties—\(\var{\delta Z_i} = \sigma_{Z,i}^2\) and \(\var{\delta M_i} = \sigma_{M,i}^2\), respectively—we would have
The aim of history matching is to identify the set \(\mathcal{Q}(\mathcal{z})\) of parameterizations \(\pars\), for which the evaluation of a model \(M(\pars)\) yields an acceptable—or at least not implausible—match to a set of observations \(\mathcal{z}\). The set \(Q\) will then translate into a non-implausible volume in the multi-dimensional parameter space. Let us stress that \(\mathcal{Z}\) is the set of observables while \(\mathcal{z} = \{ z_1, z_2, \ldots z_M \}\) is the actual set of (numerical) observations.
History matching has been employed in various studies involving complex computer models ranging from effects of climate modeling to systems biology, epidemiology, and nuclear physics.
We introduce the individual implausibility measure
which is a function over the input parameter space and quantifies the (mis-)match between our model output \({M}_i(\pars)\) and the observation \(z_i\) for an observable in the target set \(\mathcal{Z}\). Note that we can employ emulation of our model as long as we quantify the expected precision of our emulator (in terms of a variance) and include that in the total variance of the denominator.
A common choice is to employ a maximum implausibility measure to make the distinction between implausible and non-implausible parameter samples. Specifically, we consider a particular value for \(\pars\) as implausible if
We can choose \(c_I \equiv 3.0\), appealing to Pukelheim’s three-sigma rule [Puk94], or we can use other cutoff values depending on scientific need. An alternative approach is to consider the second or third highest implausibility values, denoted \(I_{2M}\) and \(I_{3M}\) respectively, ensuring that errors in uncertainty variance estimates do not lead to unfairly labeling parameter samples as implausible.
In accordance with the assumptions leading to (4.18), the variance in the denominator of (14.4) is a sum of independent squared errors. Generalizations of these assumptions are straightforward if additional information on error covariances or possible inaccuracies in our error model would become available.
An important strength of the history matching is that we can proceed iteratively, excluding regions of input space by imposing cutoffs on implausibility measures that can include additional observables \(Z_i\) and corresponding model outputs \(M_i\) with possibly refined emulators as the parameter volume is reduced. The history matching process is designed to be independent of the order in which observables are included. This is an important feature as it allows for efficient choices regarding such orderings.
The iterative history matching proceeds in waves according to a straightforward strategy that can be summarized as follows:
Algorithm 14.1 (The history-matching algorithm)
At wave \(j\): Evaluate a set of model runs over the current NI volume \(\mathcal{Q}_j\) using a space-filling design of sample values for the parameter inputs \(\pars\). Choose a rejection strategy based on implausibility measures for a set \(\mathcal{Z}_j\) of informative observables.
Construct or refine emulators for the model predictions across \(\mathcal{Q}_j\).
The implausibility measures are then calculated over \(\mathcal{Q}_j\) using the emulators, and implausibility cutoffs are imposed. This defines a new, smaller non-implausible volume \(\mathcal{Q}_{j+1}\) which should satisfy \(\mathcal{Q}_{j+1} \subset \mathcal{Q}_{j}\).
Unless (a) computational resources are exhausted, or (b) all considered points in the parameter space are deemed implausible, we may include additional informative observables in the considered set \(\mathcal{Z}_{j+1}\), and return to step 1.
If 4(a) is true we generate a number of acceptable runs from the final non-implausible volume \(\mathcal{Q}_\mathrm{final}\), sampled according to scientific need.
The strength of the history-matching scheme lies within its ability to achieve an iterative volume reduction. It is the removal of implausible regions that is the main goal. There are several ways in which that non-implausible volume may continue to shrink in subsequent waves:
The emulator is often refined as we reduce the parameter volume. Thereby, the variance in the denominator of (14.4) will decrease and the resolving power of the implausibility metric will increase.
The density of samples will increase as we reduce the parameter volume which allows to better identify the non-implausible volume. Furthermore, a larger density of samples allows to employ additional confirmation of non-implausible volumes from optical depths (which indicate the density of non-implausible samples; see Eqs. (25) and (26) in [VLG+18]).
Additional observables may be introduced in later waves. The parameter space is then further constrained by model predictions for these new observables.
One or more parameters can be set as inactive during early waves and then become activated as new observables are being introduced. There might be situations where the modeling output is independent of certain parameters, or it could be that the output is just not very sensitive to certain parameter variations. The modeling or emulation can then be performed without these parameters with an additional uncertainty that reflects the missing sensitivity. This is a well known emulation procedure called inactive parameter identification [VGB10].
The mapping of non-implausible samples to a non-implausible volume might be more sophisticated in later waves. The easiest mapping is from the non-implausible range found for each individual parameter to a hyperrectangle. This mapping allows a very strainghtforward space-filling design in the next wave. However, we would completely ignore possible correlation structures. A better approach is then to identify rotated hyperrectangles, or ellipsoids, that encompass the non-implausible samples. See for example Ref. [May22].
What next?#
The non-implausible samples do not offer a straightforward probabilistic interpretation. The author would just be comfortable with the following weak statement
where \(I\) contains all definitions of implausibility that have been employed through the analysis. What then are they good for?
The following is a (possible incomplete) list of possible uses of a history-matching analysis
The non-implausible samples summarise the parameter region of interest, and can directly aid insight regarding interdependencies between parameters induced by the match to observed data. This region is also where we would expect the bulk of the posterior distribution to reside.
Consequently, the non-implausible samples offer good starting points for a subsequent Bayesian analysis (assuming that we dare to make fully probabilistic statements concerning unknown quantities). The convergence of MCMC sampling will be much faster if it is initialized in the region of highest probability mass.
Furthermore, the efficient search of large, high-dimensional volumes can aid in identifying multiple regions of interest. The non-implausible samples do not necessarily reside in a single, connected domain but might represent multiple modes of a probability distribution.
Implausible regions will correspond to small likelihood densities. The history-matching procedure is therefore well suited to be combined with Sampling/Importance Resampling, see also Ref. [JForssen22].