Introduction
Computer simulation models are widely adopted in engineering, digital twins, environmental science, and biomedicine to describe, analyze, and predict the behavior of complex physical systems [19 ] . The response of a simulation depends deterministically on specified conditions. These conditions are generally divided into two categories: input variables, which are controllable or measurable in the real system, and parameters, which cannot be directly controlled or measured but significantly affect system behavior. A central task in computer experiments is to infer such unknown parameters by combining observations from the physical system with outputs from the computer model. This process is known as calibration and is often viewed as an inverse problem; the associated unknown parameters are referred to as calibration parameters .
Calibration parameters can be classified into two types: physical parameters and tuning parameters [10 ] . Physical parameters have specific scientific meanings within the underlying physical system, and learning their values can enhance our understanding of that system. For example, Sansó et al. [18 ] use climate observations and model simulations to infer climate sensitivity, the rate of deep-ocean heat uptake governed by effective ocean diffusivity, and aerosol forcing. These parameters describe aspects of the climate system’s response to external forcing. By contrast, tuning parameters have no direct physical meaning and are used only for model construction. The present work focuses on calibrating physical parameters.
Calibration aims to learn unknown model parameters from physical observations and improve predictions of the physical system [20 ] . However, even a computer model evaluated at the true physical parameter values may differ from reality because its construction involves idealizations and approximations. This difference is referred to as model discrepancy . Brynjarsdóttir and O’Hagan [4 ] show that ignoring model discrepancy can lead to biased and overconfident parameter estimates and predictions. They also emphasize that recovering physical parameter values and obtaining reliable extrapolations require meaningful information about the discrepancy. Characterizing model discrepancy is therefore a central challenge in computer model calibration.
Among the existing approaches, the Bayesian calibration framework proposed by Kennedy and O’Hagan [14 ] (abbreviated as KOH) is particularly influential. KOH explicitly accounts for model discrepancy, uncertainty in calibration parameters, and observation error. Gaussian process models are used for the simulator response and the discrepancy function, allowing posterior inference and discrepancy-adjusted predictions of the physical system. Higdon et al. [11 ] develop Bayesian methods for combining field observations and computer simulations for calibration and prediction, while Bayarri et al. [2 ] develop a Bayesian and likelihood-based validation framework illustrated with resistance spot welding. Related work includes the probabilistic formulation for linking imperfect simulators to physical systems in Goldstein and Rougier [7 ] and the sequential empirical Bayes adjustments to engineering models in Joseph and Melkote [12 ] . Applications of Bayesian modeling that explicitly account for model discrepancy or structural model uncertainty include eutrophication modeling (Arhonditsis et al., [1 ] ) and probabilistic climate prediction (Murphy et al., [16 ] ).
Despite its success, KOH suffers from an identifiability problem. Specifically, for a given computer model, the distribution of the observed physical data generally does not uniquely determine the corresponding calibration parameter, which may lead to unreasonable parameter estimates (Brynjarsdóttir and O’Hagan, [4 ] ). Plumlee [17 ] addresses this problem by imposing orthogonality between the discrepancy prior and the gradient of the computer model. Tuo and Wu [24 ] analyze parameter identifiability and the limiting behavior of a simplified KOH calibration procedure, and Tuo and Wu [23 ] develop L 2 L_2 L 2 calibration. The L 2 L_2 L 2 target is the parameter that minimizes the L 2 L_2 L 2 distance between the physical response and the computer model. Under suitable regularity and uniqueness assumptions, this definition supports identifiable and semiparametrically efficient estimation (Tuo and Wu, [23 ] ).
Methods associated with the L 2 L_2 L 2 calibration target include projected kernel calibration (Tuo, [22 ] ), penalized projected kernel calibration (Wang, [25 ] ), and Bayesian projected calibration (Xie and Xu, [27 ] ). The scaled Gaussian stochastic process approach connects Gaussian process discrepancy modeling with L 2 L_2 L 2 calibration (Gu and Wang, 2018); its convergence to the L 2 L_2 L 2 target is established under appropriate conditions in Gu et al. (2022). Other developments include semiparametric adjustment for predicting the physical response (Wang and Tuo, [26 ] ) and Sobolev calibration, which uses a Sobolev-space criterion and connects L 2 L_2 L 2 calibration with a frequentist formulation of KOH calibration (Zhang and Wang, [28 ] ). In particular, the L 2 L_2 L 2 -optimal parameter need not coincide with the true physical parameter when the computer model is imperfect (Li et al., 2026). Consequently, identifying a projection-based target does not by itself guarantee recovery of physical parameter values or reliable extrapolation.
To address the identifiability problem and recover physically meaningful calibration parameters, Li et al. (2026) propose the discrepancy decomposition model within a frequentist framework. This model decomposes the discrepancy into intrinsic discrepancy , which remains when the computer model is evaluated at the true physical parameter, and parametric discrepancy , which is linear in the deviation from that parameter. This decomposition can be interpreted as a first-order Taylor expansion of the model discrepancy with respect to the calibration parameter around its true physical value. Under specified constraints, the authors establish identifiability, construct estimators of the physical parameters and discrepancy functions, and derive their asymptotic properties. Their numerical studies demonstrate improved physical parameter estimation relative to L 2 L_2 L 2 calibration.
Nevertheless, the discrepancy decomposition model still has two main limitations. First, it relies on a first-order Taylor approximation and may struggle when this approximation is biased, particularly when higher-order terms in the model discrepancy are non-negligible. Such approximation bias can compromise the recovery of physically meaningful parameters and consequently impair extrapolative prediction beyond the training domain. Second, the original method provides frequentist estimators and asymptotic results, but uncertainty quantification is less straightforward within this framework.
Motivated by these limitations, we propose a Bayesian modified discrepancy decomposition model. Our approach builds on the discrepancy decomposition model and further introduces a residual process to capture higher-order discrepancy structures. We impose appropriate constraints to preserve identifiability and reduce local confounding with the intrinsic and parametric discrepancy components. We establish a Bayesian framework to jointly model the calibration parameter and model discrepancy, and perform posterior inference via a Metropolis-within-Gibbs sampler. This improves the recovery of physically meaningful parameters and provides reliable uncertainty quantification.
In particular, owing to the more accurate estimation of physical parameters, our calibrated model stays closer to the true underlying physical process. Consequently, our approach not only fits the data well within the training domain, but also exhibits superior extrapolative performance, a long-standing challenge that remains largely unaddressed by existing calibration methods. This is fully demonstrated in our extensive numerical experiments and the successful application to the thermal stability of extreme ultraviolet lithography multilayer mirrors.
The rest of the paper is organized as follows. § 2 presents the calibration problem in computer experiments, including classical calibration methods and the discrepancy decomposition model. § 3 introduces the Bayesian modified discrepancy decomposition model, including its basic construction, Bayesian inference theory and algorithm, and the prediction method for the physical system. § 4 presents several numerical studies. § 5 applies the proposed method to thermal stability analysis of extreme ultraviolet lithography. § 6 concludes the paper and discusses possible directions for future research. Technical details are provided in the separate Supplementary Materials.
The Calibration Problem in Computer Experiments
In this section, we aim to provide an introduction to the calibration problem in computer experiments. By reviewing classical calibration methods and outlining the discrepancy decomposition model, we lay the foundation for the improved model proposed in this paper.
Classical Calibration Methods
Consider a deterministic computer model y S ( x , θ ) y^{S}(x,\theta) y S ( x , θ ) for simulating a physical system y P y^{P} y P , where the superscripts S S S and P P P stand for “simulation” and “physics”, respectively. Here, x ∈ Ω x \in\Omega x ∈ Ω denotes the controllable inputs, which can be specified in both physical and computer experiments; θ ∈ Θ \theta\in\Theta θ ∈ Θ denotes the vector of calibration parameters, which represents intrinsic attributes of the physical system and is an input vector of the computer model. The physical system relies on the true value of θ \theta θ , denoted by θ p \theta^{p} θ p , where the superscript p p p stands for “physical”. In many real problems θ p \theta^{p} θ p cannot be observed in physical experiments, and the task of calibration is to specify it. Throughout this paper, we assume that Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d and Θ ⊂ R q \Theta\subset\mathbb{R}^{q} Θ ⊂ R q are bounded closed sets.
Within the above framework, the observation of the physical system is
y F ( x ; θ p ) = y P ( x ; θ p ) + ϵ , (1) y^{F}(x;\theta^{p}) = y^{P}(x;\theta^{p}) + \epsilon, \tag*{(1)} y F ( x ; θ p ) = y P ( x ; θ p ) + ϵ , (1)
where the superscript F F F stands for “field” and ϵ \epsilon ϵ is the observation noise. To perform calibration, we need to run the computer model at several different values of the calibration parameter, while also conducting physical experiments and collecting field observations. Given controllable input design points { x i } i = 1 n ⊂ Ω \{x_i\}_{i=1}^{n} \subset\Omega { x i } i = 1 n ⊂ Ω , one can obtain noisy field data { y F ( x i ; θ p ) } i = 1 n \{y^{F}(x_i;\theta^{p})\}_{i=1}^{n} { y F ( x i ; θ p ) } i = 1 n . The next step is to infer the unknown physical parameters θ p \theta^{p} θ p by combining observations from the physical system and outputs from the computer model.
It is worth noting that conventional calibration methods do not consider θ p \theta^{p} θ p in the physical system/observation, and write y P y^{P} y P and y F y^{F} y F as y P ( x ) y^{P}(x) y P ( x ) and y F ( x ) y^{F}(x) y F ( x ) , respectively. Kennedy and O’Hagan [14 ] proposed the classical KOH model under a Bayesian framework. Its basic form can be written as
y F ( x ) = η y S ( x , θ 0 ) + δ ( x ) + ϵ , y^{F}(x) = \eta y^{S}(x,\theta_{0}) + \delta(x) + \epsilon, y F ( x ) = η y S ( x , θ 0 ) + δ ( x ) + ϵ ,
where η \eta η is an unknown regression parameter, θ 0 \theta_{0} θ 0 is interpreted as the calibration parameter in the sense of best fitting and δ ( x ) \delta(x) δ ( x ) is the discrepancy between the physical system and η y S ( x , θ 0 ) \eta y^{S}(x,\theta_{0}) η y S ( x , θ 0 ) . In general, θ 0 \theta_{0} θ 0 need not coincide with θ p \theta^{p} θ p . The Bayesian calibration framework of the KOH model allows joint inference on the calibration parameter and model discrepancy. To achieve this, they assign prior distributions to δ \delta δ and the computer model y S y^{S} y S , typically using a Gaussian process. Inference is then carried out based on the corresponding posterior distributions. The KOH model yields an estimate of model discrepancy, which is combined with the computer model output for bias correction, leading to an estimate of the true physical system response. This method systematically incorporates model discrepancy into both calibration and prediction. However, the KOH model has an identifiability issue: for a given computer model, the distribution of physical observations does not uniquely determine the calibration parameter, leading to unreasonable parameter estimates. To alleviate this issue within the KOH framework, Plumlee [17 ] proposed the orthogonal Gaussian process approach, in which the prior distribution of the discrepancy function is constrained to be orthogonal to the gradient of the computer model with respect to the calibration parameter. This orthogonality constraint reduces the confounding between the calibration parameter and the model discrepancy.
Beyond the KOH framework, Tuo and Wu [23 ] addressed the identifiability issue by proposing L 2 L_2 L 2 calibration under a frequentist framework, in which the “true” calibration parameter is defined as the projection that makes the computer output closest to the physical process in the L 2 L_2 L 2 sense, i.e.,
θ ∗ = arg min θ ∈ Θ ∥ y P ( x ) − y S ( x , θ ) ∥ L 2 = arg min θ ∈ Θ ( ∫ Ω ( y P ( x ) − y S ( x , θ ) ) 2 d x ) 1 / 2 . \theta^{*} = \arg\min_{\theta\in\Theta} \left\lVert y^{P}(x) - y^{S}(x,\theta) \right\rVert_{L_2} = \arg\min_{\theta\in\Theta} \left( \int_{\Omega} \left(y^{P}(x) - y^{S}(x,\theta)\right)^2 \, \mathrm{d}x \right)^{1/2}. θ ∗ = arg θ ∈ Θ min y P ( x ) − y S ( x , θ ) L 2 = arg θ ∈ Θ min ( ∫ Ω ( y P ( x ) − y S ( x , θ ) ) 2 d x ) 1/2 .
Under this definition, θ ∗ \theta^{*} θ ∗ is strictly identifiable in the frequentist sense.
Overall, the definitions of the “true” θ \theta θ within the KOH and L 2 L_2 L 2 framework, θ 0 \theta_0 θ 0 and θ ∗ \theta^{*} θ ∗ , are not necessarily equivalent to the physically meaningful parameter θ P \theta^{P} θ P . This may lead to inaccurate estimation of θ P \theta^{P} θ P . Moreover, extrapolative predictions based on these parameters may be unreliable.
The Discrepancy Decomposition Model
In this subsection, we briefly review the discrepancy decomposition (DD) model (Li et al., 2026), which provides a straightforward modeling strategy to recognize θ P \theta^{P} θ P , instead of θ 0 \theta_0 θ 0 and θ ∗ \theta^{*} θ ∗ .
Let δ ( x , θ ; θ P ) = y P ( x ; θ P ) − y S ( x , θ ) \delta(x,\theta;\theta^{P}) = y^{P}(x;\theta^{P}) - y^{S}(x,\theta) δ ( x , θ ; θ P ) = y P ( x ; θ P ) − y S ( x , θ ) denote the model discrepancy between the physical system and the computer model. By (1) ,
y F ( x ; θ P ) = y S ( x , θ ) + δ ( x , θ ; θ P ) + ϵ . y^{F}(x;\theta^{P}) = y^{S}(x,\theta) + \delta(x,\theta;\theta^{P}) + \epsilon. y F ( x ; θ P ) = y S ( x , θ ) + δ ( x , θ ; θ P ) + ϵ .
Without structural constraints on δ \delta δ , for any given θ P \theta^{P} θ P one can always construct a discrepancy function such that y S ( x , θ ) + δ ( x , θ ; θ P ) y^{S}(x,\theta) + \delta(x,\theta;\theta^{P}) y S ( x , θ ) + δ ( x , θ ; θ P ) exactly fits y P ( x ; θ 0 P ) y^{P}(x;\theta^{P}_0) y P ( x ; θ 0 P ) , where θ 0 P \theta^{P}_0 θ 0 P represents the true value of θ p \theta^{p} θ p in the physical system. Therefore, θ p \theta^{p} θ p cannot be recognized.
Li et al. (2026)’s DD model imposes the following structural decomposition on the model discrepancy,
δ ( x , θ ; θ p ) = α ( x ) + β ( x ) T ( θ − θ p ) , (2) \delta(\boldsymbol{x},\theta;\theta^{p})=\alpha(\boldsymbol{x})+\boldsymbol{\beta}(\boldsymbol{x})^{\mathsf{T}}(\theta-\theta^{p}), \tag*{(2)} δ ( x , θ ; θ p ) = α ( x ) + β ( x ) T ( θ − θ p ) , (2)
where α ( x ) \alpha(\boldsymbol{x}) α ( x ) and β ( x ) = ( β 1 ( x ) , … , β q ( x ) ) T \boldsymbol{\beta}(\boldsymbol{x})=(\beta_{1}(\boldsymbol{x}),\ldots,\beta_{q}(\boldsymbol{x}))^{\mathsf{T}} β ( x ) = ( β 1 ( x ) , … , β q ( x ) ) T are unknown smooth functions defined on Ω \Omega Ω , and the superscript T denotes transpose. Here, α ( x ) \alpha(\boldsymbol{x}) α ( x ) represents the intrinsic discrepancy , namely the discrepancy that remains even when the computer model is evaluated at the true physical parameter θ p \theta^{p} θ p . The term β ( x ) T ( θ − θ p ) \boldsymbol{\beta}(\boldsymbol{x})^{\mathsf{T}}(\theta-\theta^{p}) β ( x ) T ( θ − θ p ) represents the parametric discrepancy induced by using an incorrect θ \theta θ , and it vanishes when θ = θ p \theta=\theta^{p} θ = θ p . The function β ( x ) \boldsymbol{\beta}(\boldsymbol{x}) β ( x ) is referred to as the discrepancy coefficient function . Equation (2) can also be interpreted as the first-order Taylor expansion of the model discrepancy δ ( x , θ ; θ p ) \delta(\boldsymbol{x},\theta;\theta^{p}) δ ( x , θ ; θ p ) with respect to θ \theta θ at θ = θ p \theta=\theta^{p} θ = θ p , where α ( x ) \alpha(\boldsymbol{x}) α ( x ) corresponds to δ ( x , θ p ; θ p ) \delta(\boldsymbol{x},\theta^{p};\theta^{p}) δ ( x , θ p ; θ p ) , and β ( x ) \boldsymbol{\beta}(\boldsymbol{x}) β ( x ) corresponds to ∂ δ ( x , θ ; θ p ) / ∂ θ ∣ θ = θ p \left.\partial\delta(\boldsymbol{x},\theta;\theta^{p})/\partial\theta\right|_{\theta=\theta^{p}} ∂ δ ( x , θ ; θ p ) / ∂ θ ∣ θ = θ p .
The identifiability of DD relies on suitable constraints on the model discrepancy. For a q q q -dimensional θ \theta θ , one may choose q q q different subsets Ω 1 , … , Ω q ⊂ Ω \Omega_{1},\ldots,\Omega_{q}\subset\Omega Ω 1 , … , Ω q ⊂ Ω , each with positive Lebesgue measure, and fix the average level of α ( x ) \alpha(\boldsymbol{x}) α ( x ) on these subsets as
∫ Ω t α ( x ) d x = c t , t = 1 , … , q , (3) \int_{\Omega_{t}}\alpha(\boldsymbol{x})\,\mathrm{d}x=c_{t},\qquad t=1,\ldots,q, \tag*{(3)} ∫ Ω t α ( x ) d x = c t , t = 1 , … , q , (3)
where c 1 , … , c q c_{1},\ldots,c_{q} c 1 , … , c q are prespecified constants. These constants reflect prior information about the average discrepancy between the physical system and the computer model at θ p \theta^{p} θ p . If such prior information is unavailable, one may take c t = 0 c_{t}=0 c t = 0 as a default choice, t = 1 , … , q t=1,\ldots,q t = 1 , … , q . In addition, the average effect of β ( x ) \boldsymbol{\beta}(\boldsymbol{x}) β ( x ) over these subsets is assumed to be nondegenerate, that is,
det ( M ) ≠ 0 , M = ( ∫ Ω t β ℓ ( x ) d x ) t , ℓ = 1 , … , q . (4) \det(\mathbf{M})\ne0,\qquad\mathbf{M}=\left(\int_{\Omega_{t}}\beta_{\ell}(\boldsymbol{x})\,\mathrm{d}x\right)_{t,\ell=1,\ldots,q}. \tag*{(4)} det ( M ) = 0 , M = ( ∫ Ω t β ℓ ( x ) d x ) t , ℓ = 1 , … , q . (4)
Under (3) and (4), Li et al. (2026) proved that DD is identifiable.
Within a frequentist framework, Li et al. (2026) further developed estimation procedures for θ p \theta^{p} θ p , α ( x ) \alpha(\boldsymbol{x}) α ( x ) , and β ( x ) \boldsymbol{\beta}(\boldsymbol{x}) β ( x ) , and established the corresponding asymptotic properties, such as the convergence rate and asymptotic normality of θ p \theta^{p} θ p . Numerical examples indicate that DD out-performs the classical KOH and L 2 L_{2} L 2 methods in many cases. However, there are two limitations in DD. First, the model uses only the first-order Taylor expansion that is actually a linear relationship. It may perform poorly when this approximation is biased. Second, DD is developed within the frequentist framework and does not directly provide uncertainty quantification. These limitations motivate the Bayesian modified discrepancy decomposition model introduced in the next section.
The Bayesian Modified Discrepancy Decomposition Model
In this section, we present the Bayesian modified discrepancy decomposition model (BMDD) in detail. Specifically, we describe the model construction, the Bayesian hierarchical structure, the Metropolis-within-Gibbs sampling scheme for posterior inference, and the prediction method for the physical system.
Model Construction
The proposed BMDD is constructed to extend the structure of DD by adding a flexible residual term, while preserving the identifiability mechanism and embedding the whole model into a Bayesian framework [6 ] .
As mentioned in § 2.2 , the discrepancy term δ ( x , θ ; θ p ) \delta(x,\theta;\theta^{p}) δ ( x , θ ; θ p ) in the DD model (2) can be interpreted as a first-order Taylor expansion with respect to θ \theta θ around θ p \theta^{p} θ p , where α ( x ) \alpha(x) α ( x ) and β ( x ) T ( θ − θ p ) \beta(x)^{\mathsf{T}}(\theta-\theta^{p}) β ( x ) T ( θ − θ p ) correspond to the zeroth-order and first-order terms, respectively. To further capture the higher-order remainder in the model discrepancy, we extend the discrepancy decomposition as
δ ( x , θ ; θ p ) = α ( x ) + β ( x ) T ( θ − θ p ) + r ( x , θ ; θ p ) , (5) \delta(x,\theta;\theta^{p})=\alpha(x)+\beta(x)^{\mathsf{T}}(\theta-\theta^{p})+r(x,\theta;\theta^{p}), \tag*{(5)} δ ( x , θ ; θ p ) = α ( x ) + β ( x ) T ( θ − θ p ) + r ( x , θ ; θ p ) , (5)
where r ( x , θ ; θ p ) r(x,\theta;\theta^{p}) r ( x , θ ; θ p ) is a residual term. This term is introduced to describe higher-order discrepancy structures that cannot be represented by the first-order discrepancy decomposition. A key issue is that r ( x , θ ; θ p ) r(x,\theta;\theta^{p}) r ( x , θ ; θ p ) should improve flexibility without destroying identifiability. Thus, we propose the following assumptions to guarantee the identifiability of (5) . Like in DD, let Ω 1 , … , Ω q ⊂ Ω \Omega_1,\ldots,\Omega_q\subset\Omega Ω 1 , … , Ω q ⊂ Ω be q q q different subsets with positive Lebesgue measures.
Assumption 1. The functions α ( x ) \alpha(x) α ( x ) and β ( x ) \beta(x) β ( x ) in (5) satisfy the DD identifiability constraints (3) and (4) .
Assumption 2. The residual term satisfies
r ( x , θ p ; θ p ) = 0 , ∇ θ r ( x , θ ; θ p ) ∣ θ = θ p = 0. r(x,\theta^{p};\theta^{p})=0,\qquad\left.\nabla_{\theta}r(x,\theta;\theta^{p})\right|_{\theta=\theta^{p}}=0. r ( x , θ p ; θ p ) = 0 , ∇ θ r ( x , θ ; θ p ) ∣ θ = θ p = 0.
Assumption 3. For any θ , θ p ∈ Θ \theta,\theta^{p}\in\Theta θ , θ p ∈ Θ ,
∫ Ω t r ( x , θ ; θ p ) d x = 0 , t = 1 , … , q . (6) \int_{\Omega_t}r(x,\theta;\theta^{p})\,dx=0,\qquad t=1,\ldots,q. \tag*{(6)} ∫ Ω t r ( x , θ ; θ p ) d x = 0 , t = 1 , … , q . (6)
Assumption 1 inherits the conditions of DD. Assumption 2 prevents r ( x , θ ; θ P ) r(x,\theta;\theta^{\mathrm{P}}) r ( x , θ ; θ P ) from being locally confounded with α ( x ) \alpha(x) α ( x ) and β ( x ) T ( θ − θ P ) \boldsymbol{\beta}(x)^{\mathsf{T}}(\theta-\theta^{\mathrm{P}}) β ( x ) T ( θ − θ P ) around θ P \theta^{\mathrm{P}} θ P . Thus, r ( x , θ ; θ P ) r(x,\theta;\theta^{\mathrm{P}}) r ( x , θ ; θ P ) only captures second-order or higher-order information. Assumption 3 requires that r ( x , θ ; θ P ) r(x,\theta;\theta^{\mathrm{P}}) r ( x , θ ; θ P ) has zero average over Ω t \Omega_t Ω t for t = 1 , … , q t=1,\ldots,q t = 1 , … , q , in order to preserve the identifiability.
Theorem 1. Under Assumptions 1–3, the model (5) is identifiable.
The proof of Theorem 1 is given in the Supplementary Materials. In the following we take
r ( x , θ ; θ P ) = ∥ θ − θ P ∥ 2 ω ( x , θ ) , (7) r(x,\theta;\theta^{\mathrm{P}})=\lVert\theta-\theta^{\mathrm{P}}\rVert^2\omega(x,\theta), \tag*{(7)} r ( x , θ ; θ P ) = ∥ θ − θ P ∥ 2 ω ( x , θ ) , (7)
where ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ denotes the Euclidean norm and the sufficiently smooth function ω \omega ω defined on Ω × Θ \Omega\times\Theta Ω × Θ satisfies the following constraint for every θ ∈ Θ \theta\in\Theta θ ∈ Θ ,
∫ Ω t ω ( x , θ ) d x = 0 , t = 1 , … , q . (8) \int_{\Omega_t}\omega(x,\theta)\,dx=0,\qquad t=1,\ldots,q. \tag*{(8)} ∫ Ω t ω ( x , θ ) d x = 0 , t = 1 , … , q . (8)
It is easy to check that this form satisfies Assumptions 2 and 3.
It is worth noting that the specific form of r ( x , θ ; θ P ) r(x,\theta;\theta^{\mathrm{P}}) r ( x , θ ; θ P ) in (7) represents a deliberate compromise between flexibility and tractability. The inherent unidentifiability of the calibration problem dictates that the model discrepancy can only be approximated. Constrained by the typically limited sample sizes in physical experiments, employing an overly complex residual model would introduce excessive variance and computational burden. The proposed parsimonious form effectively addresses higher-order structures while maintaining stability, yielding superior empirical performance over existing calibration methods.
Bayesian Hierarchical Structure
In this subsection, we introduce the Bayesian hierarchical structure for (5), which consists of the observation layer, parameter layer, and hyperparameter layer ([19 , 6 ] ). The observation layer specifies the conditional distribution of the observed data given the unknown parameters. The parameter layer assigns priors to the calibration parameter and the unknown functions in the model discrepancy. The hyperparameter layer further assigns priors to the hyperparameters in the parameter layer. Together, these three layers define the complete Bayesian hierarchical structure.
We first introduce the observation layer. Let { x i } i = 1 n \{x_i\}_{i=1}^n { x i } i = 1 n and { θ j } j = 1 m \{\theta_j\}_{j=1}^m { θ j } j = 1 m denote the design points on Ω \Omega Ω and Θ \Theta Θ , respectively. Usually space-filling designs ([19 ] ) are adopted here. We conduct physical experiments at { x i } i = 1 n \{x_i\}_{i=1}^n { x i } i = 1 n and obtain the data { y F ( x i ; θ P ) } i = 1 n \{y^{\mathrm{F}}(x_i;\theta^{\mathrm{P}})\}_{i=1}^n { y F ( x i ; θ P ) } i = 1 n , while running the computer model at the design points { ( x i , θ j ) } i = 1 , … , n ; j = 1 , … , m \{(x_i,\theta_j)\}_{i=1,\ldots,n;\,j=1,\ldots,m} {( x i , θ j ) } i = 1 , … , n ; j = 1 , … , m to obtain the outputs { y S ( x i , θ j ) } i = 1 , … , n ; j = 1 , … , m \{y^{S}(x_i,\theta_j)\}_{i=1,\ldots,n;\,j=1,\ldots,m} { y S ( x i , θ j ) } i = 1 , … , n ; j = 1 , … , m . Based on these data, we construct the difference matrix Δ = ( δ i j ) ∈ R n × m \Delta=(\delta_{ij})\in\mathbb{R}^{n\times m} Δ = ( δ ij ) ∈ R n × m , where
δ i j = y F ( x i ; θ P ) − y S ( x i , θ j ) , i = 1 , … , n , j = 1 , … , m . \delta_{ij}=y^{F}(x_i;\theta^{P})-y^{S}(x_i,\theta_j),\qquad i=1,\ldots,n,\ j=1,\ldots,m. δ ij = y F ( x i ; θ P ) − y S ( x i , θ j ) , i = 1 , … , n , j = 1 , … , m .
Let g ( θ ; θ P ) : = ∥ θ − θ P ∥ 2 g(\theta;\theta^{P}):=\lVert\theta-\theta^{P}\rVert^2 g ( θ ; θ P ) := ∥ θ − θ P ∥ 2 . By (5) and (7) , we have
δ i j = α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i , i = 1 , … , n , j = 1 , … , m . \delta_{ij}=\alpha(x_i)+\boldsymbol{\beta}(x_i)^{\mathsf T}(\theta_j-\theta^{P})+g(\theta_j;\theta^{P})\omega(x_i,\theta_j)+\epsilon_i,\qquad i=1,\ldots,n,\ j=1,\ldots,m. δ ij = α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i , i = 1 , … , n , j = 1 , … , m .
where ϵ i \epsilon_i ϵ i denotes the physical observation noise at x i x_i x i . In practice, y F ( x i ; θ P ) y^{F}(x_i;\theta^{P}) y F ( x i ; θ P ) is typically observed only once at each x i x_i x i . As a result, when constructing the difference matrix Δ = ( δ i j ) ∈ R n × m \Delta=(\delta_{ij})\in\mathbb{R}^{n\times m} Δ = ( δ ij ) ∈ R n × m , all difference observations in the same row reuse the same physical observation noise, which induces within-row dependence and may lead to numerical degeneracy. To avoid this issue, we further introduce a nugget term ξ i j \xi_{ij} ξ ij , yielding
δ i j = α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i + ξ i j . \delta_{ij}=\alpha(x_i)+\boldsymbol{\beta}(x_i)^{\mathsf T}(\theta_j-\theta^{P})+g(\theta_j;\theta^{P})\omega(x_i,\theta_j)+\epsilon_i+\xi_{ij}. δ ij = α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i + ξ ij .
where ϵ i ∼ i i d N ( 0 , σ ϵ 2 ) \epsilon_i\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(0,\sigma_{\epsilon}^{2}) ϵ i ∼ iid N ( 0 , σ ϵ 2 ) , ξ i j ∼ i i d N ( 0 , σ ξ 2 ) \xi_{ij}\mathrel{\overset{\mathrm{iid}}{\sim}}\mathcal{N}(0,\sigma_{\xi}^{2}) ξ ij ∼ iid N ( 0 , σ ξ 2 ) , σ ϵ 2 > 0 \sigma_{\epsilon}^{2}>0 σ ϵ 2 > 0 is the variance of the physical observation noise, and σ ξ 2 > 0 \sigma_{\xi}^{2}>0 σ ξ 2 > 0 is the nugget variance. These two terms are mutually independent. Therefore, the observation layer can be written as
δ i j ∣ α , β , ω , θ P , ϵ i , σ ξ 2 ∼ N ( α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i , σ ξ 2 ) . \delta_{ij}\mid\alpha,\boldsymbol{\beta},\omega,\theta^{P},\epsilon_i,\sigma_{\xi}^{2}\sim\mathcal{N}\left(\alpha(x_i)+\boldsymbol{\beta}(x_i)^{\mathsf T}(\theta_j-\theta^{P})+g(\theta_j;\theta^{P})\omega(x_i,\theta_j)+\epsilon_i,\sigma_{\xi}^{2}\right). δ ij ∣ α , β , ω , θ P , ϵ i , σ ξ 2 ∼ N ( α ( x i ) + β ( x i ) T ( θ j − θ P ) + g ( θ j ; θ P ) ω ( x i , θ j ) + ϵ i , σ ξ 2 ) .
Thus, the nugget term ensures that the conditional covariance of the difference matrix is non-degenerate. This treatment is specific to the difference-matrix construction; for general ( x , θ ) (x,\theta) ( x , θ ) designs with independent observations at each design point, the observation layer can be specified directly without an additional nugget term.
For later derivations, let α = ( α ( x 1 ) , … , α ( x n ) ) T ∈ R n \boldsymbol{\alpha}=(\alpha(x_1),\ldots,\alpha(x_n))^{\mathsf T}\in\mathbb{R}^{n} α = ( α ( x 1 ) , … , α ( x n ) ) T ∈ R n , W = ( ω ( x i , θ j ) ) i , j ∈ R n × m \mathbf{W}=(\omega(x_i,\theta_j))_{i,j}\in\mathbb{R}^{n\times m} W = ( ω ( x i , θ j ) ) i , j ∈ R n × m , G ( θ P ) = diag ( g ( θ 1 ; θ P ) , … , g ( θ m ; θ P ) ) ∈ R m × m \mathbf{G}(\theta^{P})=\operatorname{diag}(g(\theta_1;\theta^{P}),\ldots,g(\theta_m;\theta^{P}))\in\mathbb{R}^{m\times m} G ( θ P ) = diag ( g ( θ 1 ; θ P ) , … , g ( θ m ; θ P )) ∈ R m × m ,
B β = ( β ( x 1 ) T ⋮ β ( x n ) T ) ∈ R n × q , T ( θ P ) = ( ( θ 1 − θ P ) T ⋮ ( θ m − θ P ) T ) ∈ R m × q , \mathbf{B}_{\boldsymbol{\beta}}=
\begin{pmatrix}
\boldsymbol{\beta}(x_1)^{\mathsf T}\\
\vdots\\
\boldsymbol{\beta}(x_n)^{\mathsf T}
\end{pmatrix}
\in\mathbb{R}^{n\times q},
\qquad
\mathbf{T}(\theta^{P})=
\begin{pmatrix}
(\theta_1-\theta^{P})^{\mathsf T}\\
\vdots\\
(\theta_m-\theta^{P})^{\mathsf T}
\end{pmatrix}
\in\mathbb{R}^{m\times q}, B β = β ( x 1 ) T ⋮ β ( x n ) T ∈ R n × q , T ( θ P ) = ( θ 1 − θ P ) T ⋮ ( θ m − θ P ) T ∈ R m × q ,
and ϵ = ( ϵ 1 , … , ϵ n ) T ∈ R n \boldsymbol{\epsilon}=(\epsilon_1,\ldots,\epsilon_n)^{\mathsf T}\in\mathbb{R}^{n} ϵ = ( ϵ 1 , … , ϵ n ) T ∈ R n , Ξ = ( ξ i j ) ∈ R n × m \boldsymbol{\Xi}=(\xi_{ij})\in\mathbb{R}^{n\times m} Ξ = ( ξ ij ) ∈ R n × m , and let 1 m ∈ R m \mathbf{1}_m\in\mathbb{R}^{m} 1 m ∈ R m denote the m m m -dimensional vector of ones. Then the observation layer can be written in matrix form as
Δ = α 1 m T + B β T ( θ p ) T + W G ( θ p ) + ϵ 1 m T + Ξ . (9) \boldsymbol{\Delta}=\alpha\mathbf{1}_m^{\mathsf{T}}+\mathbf{B}\boldsymbol{\beta}\mathbf{T}(\boldsymbol{\theta}^{p})^{\mathsf{T}}+\mathbf{W}\mathbf{G}(\boldsymbol{\theta}^{p})+\boldsymbol{\epsilon}\mathbf{1}_m^{\mathsf{T}}+\boldsymbol{\Xi}. \tag*{(9)} Δ = α 1 m T + B β T ( θ p ) T + WG ( θ p ) + ϵ 1 m T + Ξ . (9)
Next, we specify the parameter layer. Firstly, we assign a constrained GP prior to α ( x ) \alpha(\boldsymbol{x}) α ( x ) so that the constraint (3) is satisfied almost surely. Let μ α ( x ) \mu_{\alpha}(\boldsymbol{x}) μ α ( x ) be the mean function and k α ( x , x ′ ) k_{\alpha}(\boldsymbol{x},\boldsymbol{x}') k α ( x , x ′ ) be a positive definite kernel function on Ω \Omega Ω . For example, one may use the squared exponential kernel
k ( x , x ′ ) = exp ( − ∑ r = 1 d ( x r − x r ′ ) 2 ρ r 2 ) . (10) k(\boldsymbol{x},\boldsymbol{x}')=\exp\left(-\sum_{r=1}^{d}\frac{(x_r-x'_r)^2}{\rho_r^2}\right). \tag*{(10)} k ( x , x ′ ) = exp ( − r = 1 ∑ d ρ r 2 ( x r − x r ′ ) 2 ) . (10)
where x = ( x 1 , … , x d ) T \boldsymbol{x}=(x_1,\ldots,x_d)^{\mathsf{T}} x = ( x 1 , … , x d ) T , x ′ = ( x 1 ′ , … , x d ′ ) T ∈ Ω \boldsymbol{x}'=(x'_1,\ldots,x'_d)^{\mathsf{T}}\in\Omega x ′ = ( x 1 ′ , … , x d ′ ) T ∈ Ω , and ρ r > 0 \rho_r>0 ρ r > 0 is the correlation length parameter for the r r r th input dimension, which can be prespecified. Let c = ( c 1 , … , c q ) T \boldsymbol{c}=(c_1,\ldots,c_q)^{\mathsf{T}} c = ( c 1 , … , c q ) T ,
μ I = ( ∫ Ω 1 μ α ( x ) d x , … , ∫ Ω q μ α ( x ) d x ) T , \boldsymbol{\mu}_I=\left(\int_{\Omega_1}\mu_{\alpha}(\boldsymbol{x})\,d\boldsymbol{x},\ldots,\int_{\Omega_q}\mu_{\alpha}(\boldsymbol{x})\,d\boldsymbol{x}\right)^{\mathsf{T}}, μ I = ( ∫ Ω 1 μ α ( x ) d x , … , ∫ Ω q μ α ( x ) d x ) T ,
k α I ( x ) = ( ∫ Ω 1 k α ( x , u ) d u , … , ∫ Ω q k α ( x , u ) d u ) T , \boldsymbol{k}_{\alpha I}(\boldsymbol{x})=\left(\int_{\Omega_1}k_{\alpha}(\boldsymbol{x},\boldsymbol{u})\,d\boldsymbol{u},\ldots,\int_{\Omega_q}k_{\alpha}(\boldsymbol{x},\boldsymbol{u})\,d\boldsymbol{u}\right)^{\mathsf{T}}, k α I ( x ) = ( ∫ Ω 1 k α ( x , u ) d u , … , ∫ Ω q k α ( x , u ) d u ) T ,
and
K I I = ( ∫ Ω s ∫ Ω t k α ( u , v ) d u d v ) s , t = 1 q . \mathbf{K}_{II}=\left(\int_{\Omega_s}\int_{\Omega_t}k_{\alpha}(\boldsymbol{u},\boldsymbol{v})\,d\boldsymbol{u}\,d\boldsymbol{v}\right)_{s,t=1}^{q}. K I I = ( ∫ Ω s ∫ Ω t k α ( u , v ) d u d v ) s , t = 1 q .
We assign
α ( x ) ∼ G P ( μ α , c ( x ) , σ α 2 k α , c ( x , x ′ ) ) , \alpha(\boldsymbol{x})\sim\mathcal{GP}\left(\mu_{\alpha,c}(\boldsymbol{x}),\sigma_{\alpha}^{2}k_{\alpha,c}(\boldsymbol{x},\boldsymbol{x}')\right), α ( x ) ∼ G P ( μ α , c ( x ) , σ α 2 k α , c ( x , x ′ ) ) ,
where μ α , c ( x ) = μ α ( x ) + k α I ( x ) T K I I − 1 ( c − μ I ) \mu_{\alpha,c}(\boldsymbol{x})=\mu_{\alpha}(\boldsymbol{x})+\boldsymbol{k}_{\alpha I}(\boldsymbol{x})^{\mathsf{T}}\mathbf{K}_{II}^{-1}(\boldsymbol{c}-\boldsymbol{\mu}_I) μ α , c ( x ) = μ α ( x ) + k α I ( x ) T K I I − 1 ( c − μ I ) , and k α , c ( x , x ′ ) = k α ( x , x ′ ) − k α I ( x ) T K I I − 1 k α I ( x ′ ) k_{\alpha,c}(\boldsymbol{x},\boldsymbol{x}')=k_{\alpha}(\boldsymbol{x},\boldsymbol{x}')-\boldsymbol{k}_{\alpha I}(\boldsymbol{x})^{\mathsf{T}}\mathbf{K}_{II}^{-1}\boldsymbol{k}_{\alpha I}(\boldsymbol{x}') k α , c ( x , x ′ ) = k α ( x , x ′ ) − k α I ( x ) T K I I − 1 k α I ( x ′ ) .
Then, sample paths from this prior satisfy (3) almost surely. Let α = ( α ( x 1 ) , … , α ( x n ) ) T \boldsymbol{\alpha}=(\alpha(\boldsymbol{x}_1),\ldots,\alpha(\boldsymbol{x}_n))^{\mathsf{T}} α = ( α ( x 1 ) , … , α ( x n ) ) T }, μ α , c = ( μ α , c ( x 1 ) , … , μ α , c ( x n ) ) T \boldsymbol{\mu}_{\alpha,c}=(\mu_{\alpha,c}(\boldsymbol{x}_1),\ldots,\mu_{\alpha,c}(\boldsymbol{x}_n))^{\mathsf{T}} μ α , c = ( μ α , c ( x 1 ) , … , μ α , c ( x n ) ) T }, and K α , c = ( k α , c ( x i , x i ′ ) ) i , i ′ = 1 n \mathbf{K}_{\alpha,c}=(k_{\alpha,c}(\boldsymbol{x}_i,\boldsymbol{x}_{i'}))_{i,i'=1}^{n} K α , c = ( k α , c ( x i , x i ′ ) ) i , i ′ = 1 n . The induced finite-dimensional prior is
α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) . (11) \boldsymbol{\alpha}\mid\sigma_{\alpha}^{2}\sim\mathcal{N}\left(\boldsymbol{\mu}_{\alpha,c},\sigma_{\alpha}^{2}\mathbf{K}_{\alpha,c}\right). \tag*{(11)} α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) . (11)
For β ( x ) = ( β 1 ( x ) , … , β q ( x ) ) T \boldsymbol{\beta}(\boldsymbol{x})=(\beta_1(\boldsymbol{x}),\ldots,\beta_q(\boldsymbol{x}))^{\mathsf{T}} β ( x ) = ( β 1 ( x ) , … , β q ( x ) ) T , we assign mutually independent GP priors to each component,
β ℓ ( x ) ∼ G P ( μ β ℓ ( x ) , σ β ℓ 2 k β ( x , x ′ ) ) , ℓ = 1 , … , q , \beta_{\ell}(\boldsymbol{x})\sim\mathcal{GP}\left(\mu_{\beta_{\ell}}(\boldsymbol{x}),\sigma_{\beta_{\ell}}^{2}k_{\beta}(\boldsymbol{x},\boldsymbol{x}')\right),\qquad\ell=1,\ldots,q, β ℓ ( x ) ∼ G P ( μ β ℓ ( x ) , σ β ℓ 2 k β ( x , x ′ ) ) , ℓ = 1 , … , q ,
where μ β ℓ ( x ) \mu_{\beta_{\ell}}(\boldsymbol{x}) μ β ℓ ( x ) is the mean function, typically taken to be constant; σ β ℓ 2 > 0 \sigma_{\beta_{\ell}}^{2}>0 σ β ℓ 2 > 0 is the process variance; and k β ( x , x ′ ) k_{\beta}(\boldsymbol{x},\boldsymbol{x}') k β ( x , x ′ ) is a kernel function defined on Ω \Omega Ω . Define β ℓ = ( β ℓ ( x 1 ) , … , β ℓ ( x n ) ) T \boldsymbol{\beta}_{\ell}=(\beta_{\ell}(\boldsymbol{x}_1),\ldots,\beta_{\ell}(\boldsymbol{x}_n))^{\mathsf{T}} β ℓ = ( β ℓ ( x 1 ) , … , β ℓ ( x n ) ) T , μ β ℓ = ( μ β ℓ ( x 1 ) , … , μ β ℓ ( x n ) ) T \boldsymbol{\mu}_{\beta_{\ell}}=(\mu_{\beta_{\ell}}(\boldsymbol{x}_1),\ldots,\mu_{\beta_{\ell}}(\boldsymbol{x}_n))^{\mathsf{T}} μ β ℓ = ( μ β ℓ ( x 1 ) , … , μ β ℓ ( x n ) ) T , and K β = ( k β ( x i , x i ′ ) ) i , i ′ = 1 n \mathbf{K}_{\beta}=(k_{\beta}(\boldsymbol{x}_i,\boldsymbol{x}_{i'}))_{i,i'=1}^{n} K β = ( k β ( x i , x i ′ ) ) i , i ′ = 1 n . Then, for each ℓ = 1 , … , q \ell=1,\ldots,q ℓ = 1 , … , q , we have
β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) . (12) \boldsymbol{\beta}_{\ell}\mid\sigma_{\beta_{\ell}}^{2}\sim\mathcal{N}\left(\boldsymbol{\mu}_{\beta_{\ell}},\sigma_{\beta_{\ell}}^{2}\mathbf{K}_{\beta}\right). \tag*{(12)} β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) . (12)
For the process ω ( x , θ ) \omega(\boldsymbol{x},\boldsymbol{\theta}) ω ( x , θ ) , we adopt a constrained GP prior with a separable kernel structure to ensure that the constraint (8) is satisfied almost surely. Let k x ( x , x ′ ) k_x(\boldsymbol{x},\boldsymbol{x}') k x ( x , x ′ ) and k θ ( θ , θ ′ ) k_{\theta}(\boldsymbol{\theta},\boldsymbol{\theta}') k θ ( θ , θ ′ ) be positive definite kernel functions on Ω \Omega Ω and Θ \Theta Θ , respectively. Define $\mathbf{K}_{x,II}=\left(\int_{\Omega_s}\int_{\Omega_t}k_x(\boldsymbol{u},\boldsymbol{v}),d\boldsymbol{u},d\boldsymbol{v}\right)_{s,t=1}^{q} and k x I ( x ) = ( ∫ Ω 1 k x ( x , u ) d u , … , ∫ Ω q k x ( x , u ) d u ) T \boldsymbol{k}_{xI}(x)=\left(\int_{\Omega_1} k_x(x,u)\,\mathrm{d}u,\ldots,\int_{\Omega_q} k_x(x,u)\,\mathrm{d}u\right)^{\mathsf{T}} k x I ( x ) = ( ∫ Ω 1 k x ( x , u ) d u , … , ∫ Ω q k x ( x , u ) d u ) T . We assign
ω ( x , θ ) ∼ G P ( 0 , σ ω 2 k x , c ( x , x ′ ) k θ ( θ , θ ′ ) ) . \omega(x,\theta)\sim\mathcal{GP}\left(0,\sigma_\omega^2 k_{x,c}(x,x')k_\theta(\theta,\theta')\right). ω ( x , θ ) ∼ G P ( 0 , σ ω 2 k x , c ( x , x ′ ) k θ ( θ , θ ′ ) ) .
where k x , c ( x , x ′ ) = k x ( x , x ′ ) − k x I ( x ) T K x , I I − 1 k x I ( x ′ ) k_{x,c}(x,x')=k_x(x,x')-\boldsymbol{k}_{xI}(x)^{\mathsf{T}}\mathbf{K}_{x,II}^{-1}\boldsymbol{k}_{xI}(x') k x , c ( x , x ′ ) = k x ( x , x ′ ) − k x I ( x ) T K x , I I − 1 k x I ( x ′ ) . Then, sample paths from this prior satisfy (8) almost surely. Therefore, r ( x , θ ; θ p ) r(x,\theta;\theta^{p}) r ( x , θ ; θ p ) satisfies Assumption 3. Let K x , c = ( k x , c ( x i , x i ′ ) ) i , i ′ = 1 n \mathbf{K}_{x,c}=\left(k_{x,c}(x_i,x_{i'})\right)_{i,i'=1}^{n} K x , c = ( k x , c ( x i , x i ′ ) ) i , i ′ = 1 n , K θ = ( k θ ( θ j , θ j ′ ) ) j , j ′ = 1 m \mathbf{K}_{\theta}=\left(k_{\theta}(\theta_j,\theta_{j'})\right)_{j,j'=1}^{m} K θ = ( k θ ( θ j , θ j ′ ) ) j , j ′ = 1 m , and W = ( ω ( x i , θ j ) ) i = 1 , … , n ; j = 1 , … , m \mathbf{W}=\left(\omega(x_i,\theta_j)\right)_{i=1,\ldots,n;\,j=1,\ldots,m} W = ( ω ( x i , θ j ) ) i = 1 , … , n ; j = 1 , … , m . Then the induced finite-dimensional prior is
vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c ) ) . (13) \operatorname{vec}(\mathbf{W})\mid\sigma_\omega^2\sim\mathcal{N}\left(0,\sigma_\omega^2(\mathbf{K}_{\theta}\otimes\mathbf{K}_{x,c})\right). \tag*{(13)} vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c ) ) . (13)
where vec ( ⋅ ) \operatorname{vec}(\cdot) vec ( ⋅ ) denotes vectorization, and ⊗ \otimes ⊗ denotes the Kronecker product.
In addition, we assign a weakly informative prior to the calibration parameter. Specifically, we can take a uniform prior on its support Θ \Theta Θ ,
θ p ∼ U ( Θ ) . \theta^{p}\sim\mathcal{U}(\Theta). θ p ∼ U ( Θ ) .
Alternatively, we may use a multivariate normal prior truncated to Θ \Theta Θ to reflect prior knowledge about the calibration parameter.
Finally, we specify the hyperparameter layer. The hyperparameters in BMDD consist of the variance σ α 2 \sigma_\alpha^2 σ α 2 of the intrinsic discrepancy process, the componentwise variances { σ β ℓ 2 } ℓ = 1 q \{\sigma_{\beta_\ell}^2\}_{\ell=1}^{q} { σ β ℓ 2 } ℓ = 1 q of the parametric discrepancy coefficient process, the variance σ ω 2 \sigma_\omega^2 σ ω 2 of the residual process, the variance σ ϵ 2 \sigma_\epsilon^2 σ ϵ 2 of the physical observation noise, and the nugget variance σ ξ 2 \sigma_\xi^2 σ ξ 2 . We assign inverse-Gamma priors to these variance parameters:
σ ϵ 2 ∼ I G ( a ϵ , b ϵ ) , σ ξ 2 ∼ I G ( a ξ , b ξ ) , σ ω 2 ∼ I G ( a ω , b ω ) , σ α 2 ∼ I G ( a α , b α ) , σ β ℓ 2 ∼ I G ( a β , b β ) , ℓ = 1 , … , q , \begin{aligned}
\sigma_\epsilon^2 &\sim\mathcal{IG}(a_\epsilon,b_\epsilon), \qquad
\sigma_\xi^2 \sim\mathcal{IG}(a_\xi,b_\xi), \qquad
\sigma_\omega^2 \sim\mathcal{IG}(a_\omega,b_\omega),\\
\sigma_\alpha^2 &\sim\mathcal{IG}(a_\alpha,b_\alpha), \qquad
\sigma_{\beta_\ell}^2 \sim\mathcal{IG}(a_\beta,b_\beta), \qquad\ell=1,\ldots,q,
\end{aligned} σ ϵ 2 σ α 2 ∼ I G ( a ϵ , b ϵ ) , σ ξ 2 ∼ I G ( a ξ , b ξ ) , σ ω 2 ∼ I G ( a ω , b ω ) , ∼ I G ( a α , b α ) , σ β ℓ 2 ∼ I G ( a β , b β ) , ℓ = 1 , … , q ,
where a ϵ , b ϵ , a ξ , b ξ , a ω , b ω , a α , b α , a β , b β a_\epsilon,b_\epsilon,a_\xi,b_\xi,a_\omega,b_\omega,a_\alpha,b_\alpha,a_\beta,b_\beta a ϵ , b ϵ , a ξ , b ξ , a ω , b ω , a α , b α , a β , b β are all prespecified positive constants.
The observation, parameter, and hyperparameter layers together constitute the Bayesian hierarchical structure of the BMDD model, which provides the foundation for subsequent posterior inference, physical system prediction, and uncertainty quantification.
Posterior Inference and Sampling Algorithm
In this subsection, based on the Bayesian hierarchical structure introduced in Subsection 3.2, we derive the full conditional posterior distributions of all unknown quantities and present the details of the Metropolis-within-Gibbs sampling algorithm.
Let
Ψ = { θ p , α , B β , W , ϵ , σ ξ 2 , σ ϵ 2 , σ ω 2 , σ α 2 , { σ β ℓ 2 } ℓ = 1 q } \boldsymbol{\Psi} = \left\{ \theta^{p},\ \boldsymbol{\alpha},\ \mathbf{B}_{\beta},\ \mathbf{W},\ \boldsymbol{\epsilon},\ \sigma_{\xi}^{2},\ \sigma_{\epsilon}^{2},\ \sigma_{\omega}^{2},\ \sigma_{\alpha}^{2},\ \left\{\sigma_{\beta_{\ell}}^{2}\right\}_{\ell=1}^{q} \right\} Ψ = { θ p , α , B β , W , ϵ , σ ξ 2 , σ ϵ 2 , σ ω 2 , σ α 2 , { σ β ℓ 2 } ℓ = 1 q }
denote the collection of all unknown quantities and hyperparameters in BMDD. We use a Metropolis-within-Gibbs sampler to draw posterior samples for the components of Ψ \boldsymbol{\Psi} Ψ . In this approach, we employ Gibbs sampling as the main framework: for parameters with standard full conditional posteriors (e.g., Gaussian or inverse-gamma distributions), we sample directly from these conditionals. For parameters without standard full conditional forms, we embed a Metropolis–Hastings (MH) step within the Gibbs sampler. This results in a hybrid Metropolis-within-Gibbs sampler [21 ] .
Given Ψ \boldsymbol{\Psi} Ψ , the log-likelihood corresponding to (9) is
log p ( Δ ∣ Ψ ) = − n m 2 log σ ξ 2 − 1 2 σ ξ 2 ∥ Δ − α 1 m T − B β T ( θ p ) T − W G ( θ p ) − ϵ 1 m T ∥ F 2 + C , (14) \log p(\boldsymbol{\Delta} \mid\boldsymbol{\Psi}) = -\frac{nm}{2}\log\sigma_{\xi}^{2} - \frac{1}{2\sigma_{\xi}^{2}}\left\lVert\boldsymbol{\Delta} - \boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}} - \mathbf{B}_{\beta}\mathbf{T}(\theta^{p})^{\mathsf{T}} - \mathbf{W}\mathbf{G}(\theta^{p}) - \boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}} \right\rVert_{F}^{2} + C, \tag*{(14)} log p ( Δ ∣ Ψ ) = − 2 nm log σ ξ 2 − 2 σ ξ 2 1 Δ − α 1 m T − B β T ( θ p ) T − WG ( θ p ) − ϵ 1 m T F 2 + C , (14)
where C = − n m 2 log ( 2 π ) C=-\frac{nm}{2}\log(2\pi) C = − 2 nm log ( 2 π ) is independent of Ψ \boldsymbol{\Psi} Ψ , and the Frobenius norm is defined by ∥ A ∥ F 2 : = ∑ i , j a i j 2 \lVert\mathbf{A}\rVert_{F}^{2}:=\sum_{i,j}a_{ij}^{2} ∥ A ∥ F 2 := ∑ i , j a ij 2 , with A = ( a i j ) \mathbf{A}=(a_{ij}) A = ( a ij ) denoting any conformable matrix. By
p ( Ψ ∣ Δ ) ∝ p ( Δ ∣ Ψ ) p ( Ψ ) , p(\boldsymbol{\Psi}\mid\boldsymbol{\Delta})\propto p(\boldsymbol{\Delta}\mid\boldsymbol{\Psi})p(\boldsymbol{\Psi}), p ( Ψ ∣ Δ ) ∝ p ( Δ ∣ Ψ ) p ( Ψ ) ,
we derive below the full conditional posterior distributions of the components of Ψ \boldsymbol{\Psi} Ψ . Detailed derivations are provided in the Supplementary Materials.
(i) Full conditional posterior distribution of α \boldsymbol{\alpha} α . Let Δ ~ α = Δ − B β T ( θ p ) T − W G ( θ p ) − ϵ 1 m T \widetilde{\boldsymbol{\Delta}}_{\alpha}=\boldsymbol{\Delta}-\mathbf{B}_{\beta}\mathbf{T}(\theta^{p})^{\mathsf{T}}-\mathbf{W}\mathbf{G}(\theta^{p})-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}} Δ α = Δ − B β T ( θ p ) T − WG ( θ p ) − ϵ 1 m T . Then, by (9) , Δ ~ α = α 1 m T + Ξ \widetilde{\boldsymbol{\Delta}}_{\alpha}=\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}+\boldsymbol{\Xi} Δ α = α 1 m T + Ξ . Combining the likelihood in (14) with the prior in (11) , we obtain the full conditional posterior distribution of α \boldsymbol{\alpha} α as
α ∣ ( Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∼ N ( μ α ∣ ⋅ , Σ α ∣ ⋅ ) , (15) \boldsymbol{\alpha}\mid\left(\boldsymbol{\Delta},\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\sigma_{\alpha}^{2}\right)\sim\mathcal{N}\left(\boldsymbol{\mu}_{\alpha\mid\cdot},\boldsymbol{\Sigma}_{\alpha\mid\cdot}\right), \tag*{(15)} α ∣ ( Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∼ N ( μ α ∣ ⋅ , Σ α ∣ ⋅ ) , (15)
where Σ α ∣ ⋅ − 1 = 1 σ α 2 K α , c − 1 + m σ ξ 2 I n \boldsymbol{\Sigma}_{\alpha\mid\cdot}^{-1}=\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}+\frac{m}{\sigma_{\xi}^{2}}\mathbf{I}_{n} Σ α ∣ ⋅ − 1 = σ α 2 1 K α , c − 1 + σ ξ 2 m I n , and μ α ∣ ⋅ = Σ α ∣ ⋅ ( 1 σ α 2 K α , c − 1 μ α , c + 1 σ ξ 2 Δ ~ α 1 m ) \boldsymbol{\mu}_{\alpha\mid\cdot}=\boldsymbol{\Sigma}_{\alpha\mid\cdot}\left(\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}\boldsymbol{\mu}_{\alpha,c}+\frac{1}{\sigma_{\xi}^{2}}\widetilde{\boldsymbol{\Delta}}_{\alpha}\mathbf{1}_{m}\right) μ α ∣ ⋅ = Σ α ∣ ⋅ ( σ α 2 1 K α , c − 1 μ α , c + σ ξ 2 1 Δ α 1 m ) . Since the prior in (11) already incorporates the identifiability constraints (3) , the posterior distribution (15) still satisfies the same constraints.
(ii) Full conditional posterior distribution of ϵ \boldsymbol{\epsilon} ϵ . Let Δ ~ ϵ = Δ − α 1 m T − B β T ( θ p ) T − W G ( θ p ) \widetilde{\boldsymbol{\Delta}}_{\epsilon}=\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{T}(\theta^{p})^{\mathsf{T}}-\mathbf{W}\mathbf{G}(\theta^{p}) Δ ϵ = Δ − α 1 m T − B β T ( θ p ) T − WG ( θ p ) . Then, by (9) , Δ ~ ϵ = ϵ 1 m T + Ξ \widetilde{\boldsymbol{\Delta}}_{\epsilon}=\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}}+\boldsymbol{\Xi} Δ ϵ = ϵ 1 m T + Ξ . Combining this with the prior ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) \boldsymbol{\epsilon}\mid\sigma_{\epsilon}^{2}\sim\mathcal{N}(\mathbf{0},\sigma_{\epsilon}^{2}\mathbf{I}_{n}) ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) , we obtain the full conditional posterior distribution of ϵ \boldsymbol{\epsilon} ϵ as
ϵ ∣ ( Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∼ N ( μ ϵ ∣ ⋅ , Σ ϵ ∣ ⋅ ) , (16) \boldsymbol{\epsilon}\mid\left(\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\sigma_{\xi}^{2},\sigma_{\epsilon}^{2}\right)\sim\mathcal{N}\left(\boldsymbol{\mu}_{\epsilon\mid\cdot},\boldsymbol{\Sigma}_{\epsilon\mid\cdot}\right), \tag*{(16)} ϵ ∣ ( Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∼ N ( μ ϵ ∣ ⋅ , Σ ϵ ∣ ⋅ ) , (16)
Σ ϵ ∣ ⋅ − 1 = ( 1 σ ϵ 2 + m σ ξ 2 ) I n , μ ϵ ∣ ⋅ = Σ ϵ ∣ ⋅ ( 1 σ ξ 2 Δ ~ ϵ 1 m ) . \boldsymbol{\Sigma}_{\epsilon\mid\cdot}^{-1}=\left(\frac{1}{\sigma_{\epsilon}^{2}}+\frac{m}{\sigma_{\xi}^{2}}\right)\mathbf{I}_{n},\quad\boldsymbol{\mu}_{\epsilon\mid\cdot}=\boldsymbol{\Sigma}_{\epsilon\mid\cdot}\left(\frac{1}{\sigma_{\xi}^{2}}\widetilde{\boldsymbol{\Delta}}_{\epsilon}\mathbf{1}_{m}\right). Σ ϵ ∣ ⋅ − 1 = ( σ ϵ 2 1 + σ ξ 2 m ) I n , μ ϵ ∣ ⋅ = Σ ϵ ∣ ⋅ ( σ ξ 2 1 Δ ϵ 1 m ) .
(iii) Full conditional posterior distribution of B β \mathbf{B}_{\beta} B β . Let Δ ~ β = Δ − α 1 m T − W G ( θ p ) − ϵ 1 m T \widetilde{\boldsymbol{\Delta}}_{\beta}=\boldsymbol{\Delta}-\alpha\mathbf{1}_{m}^{\mathrm{T}}-\mathbf{W}\mathbf{G}(\boldsymbol{\theta}^{p})-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathrm{T}} Δ β = Δ − α 1 m T − WG ( θ p ) − ϵ 1 m T . Then, by (9), Δ ~ β = B β T ( θ p ) T + Ξ \widetilde{\boldsymbol{\Delta}}_{\beta}=\mathbf{B}_{\beta}\mathbf{T}(\boldsymbol{\theta}^{p})^{\mathrm{T}}+\boldsymbol{\Xi} Δ β = B β T ( θ p ) T + Ξ . Under the componentwise independent GP priors in (12), define μ b = vec ( [ μ β 1 , … , μ β q ] ) \boldsymbol{\mu}_{b}=\operatorname{vec}([\boldsymbol{\mu}_{\beta_{1}},\ldots,\boldsymbol{\mu}_{\beta_{q}}]) μ b = vec ([ μ β 1 , … , μ β q ]) as the prior mean vector of vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β ) , and define
Q b = blockdiag ( 1 σ β 1 2 K β − 1 , … , 1 σ β q 2 K β − 1 ) ∈ R n q × n q \mathbf{Q}_{b}=\operatorname{blockdiag}\left(\frac{1}{\sigma_{\beta_{1}}^{2}}\mathbf{K}_{\beta}^{-1},\ldots,\frac{1}{\sigma_{\beta_{q}}^{2}}\mathbf{K}_{\beta}^{-1}\right)\in\mathbb{R}^{nq\times nq} Q b = blockdiag ( σ β 1 2 1 K β − 1 , … , σ β q 2 1 K β − 1 ) ∈ R n q × n q
as the corresponding prior precision matrix, where blockdiag ( ⋅ ) \operatorname{blockdiag}(\cdot) blockdiag ( ⋅ ) denotes the block diagonal matrix formed from the specified blocks. Then the full conditional posterior distribution of vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β ) is
vec ( B β ) ∣ ( Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∼ N ( μ b ∣ ⋅ , Σ b ∣ ⋅ ) , (17) \operatorname{vec}(\mathbf{B}_{\beta})\mid(\boldsymbol{\Delta},\alpha,\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q})\sim\mathcal{N}(\boldsymbol{\mu}_{b\mid\cdot},\boldsymbol{\Sigma}_{b\mid\cdot}), \tag*{(17)} vec ( B β ) ∣ ( Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∼ N ( μ b ∣ ⋅ , Σ b ∣ ⋅ ) , (17)
where Σ b ∣ ⋅ − 1 = Q b + 1 σ ξ 2 ( T ( θ p ) T T ( θ p ) ⊗ I n ) \boldsymbol{\Sigma}_{b\mid\cdot}^{-1}=\mathbf{Q}_{b}+\frac{1}{\sigma_{\xi}^{2}}(\mathbf{T}(\boldsymbol{\theta}^{p})^{\mathrm{T}}\mathbf{T}(\boldsymbol{\theta}^{p})\otimes\mathbf{I}_{n}) Σ b ∣ ⋅ − 1 = Q b + σ ξ 2 1 ( T ( θ p ) T T ( θ p ) ⊗ I n ) , and μ b ∣ ⋅ = Σ b ∣ ⋅ ( Q b μ b + 1 σ ξ 2 vec ( Δ ~ β T ( θ p ) ) ) \boldsymbol{\mu}_{b\mid\cdot}=\boldsymbol{\Sigma}_{b\mid\cdot}\left(\mathbf{Q}_{b}\boldsymbol{\mu}_{b}+\frac{1}{\sigma_{\xi}^{2}}\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta}\mathbf{T}(\boldsymbol{\theta}^{p}))\right) μ b ∣ ⋅ = Σ b ∣ ⋅ ( Q b μ b + σ ξ 2 1 vec ( Δ β T ( θ p )) ) .
(iv) Full conditional posterior distribution of W \mathbf{W} W . Let Δ ~ W = Δ − α 1 m T − B β T ( θ p ) T − ϵ 1 m T \widetilde{\boldsymbol{\Delta}}_{W}=\boldsymbol{\Delta}-\alpha\mathbf{1}_{m}^{\mathrm{T}}-\mathbf{B}_{\beta}\mathbf{T}(\boldsymbol{\theta}^{p})^{\mathrm{T}}-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathrm{T}} Δ W = Δ − α 1 m T − B β T ( θ p ) T − ϵ 1 m T . Then, by (9), Δ ~ W = W G ( θ p ) + Ξ \widetilde{\boldsymbol{\Delta}}_{W}=\mathbf{W}\mathbf{G}(\boldsymbol{\theta}^{p})+\boldsymbol{\Xi} Δ W = WG ( θ p ) + Ξ . Combining this likelihood with the constrained GP prior in (13), we obtain the full conditional posterior distribution of vec ( W ) \operatorname{vec}(\mathbf{W}) vec ( W ) as
vec ( W ) ∣ ( Δ , α , B β , θ p , ϵ , σ ξ 2 , σ ω 2 ) ∼ N ( μ W ∣ ⋅ , Σ W ∣ ⋅ ) , (18) \operatorname{vec}(\mathbf{W})\mid(\boldsymbol{\Delta},\alpha,\mathbf{B}_{\beta},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\sigma_{\omega}^{2})\sim\mathcal{N}(\boldsymbol{\mu}_{W\mid\cdot},\boldsymbol{\Sigma}_{W\mid\cdot}), \tag*{(18)} vec ( W ) ∣ ( Δ , α , B β , θ p , ϵ , σ ξ 2 , σ ω 2 ) ∼ N ( μ W ∣ ⋅ , Σ W ∣ ⋅ ) , (18)
where Σ W ∣ ⋅ − 1 = 1 σ ξ 2 ( G ( θ p ) 2 ⊗ I n ) + 1 σ ω 2 ( K θ − 1 ⊗ K x , c − 1 ) \boldsymbol{\Sigma}_{W\mid\cdot}^{-1}=\frac{1}{\sigma_{\xi}^{2}}(\mathbf{G}(\boldsymbol{\theta}^{p})^{2}\otimes\mathbf{I}_{n})+\frac{1}{\sigma_{\omega}^{2}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1}) Σ W ∣ ⋅ − 1 = σ ξ 2 1 ( G ( θ p ) 2 ⊗ I n ) + σ ω 2 1 ( K θ − 1 ⊗ K x , c − 1 ) , and μ W ∣ ⋅ = Σ W ∣ ⋅ [ 1 σ ξ 2 vec ( Δ ~ W G ( θ p ) ) ] \boldsymbol{\mu}_{W\mid\cdot}=\boldsymbol{\Sigma}_{W\mid\cdot}\left[\frac{1}{\sigma_{\xi}^{2}}\operatorname{vec}\left(\widetilde{\boldsymbol{\Delta}}_{W}\mathbf{G}(\boldsymbol{\theta}^{p})\right)\right] μ W ∣ ⋅ = Σ W ∣ ⋅ [ σ ξ 2 1 vec ( Δ W G ( θ p ) ) ] .
Since the constrained prior for ω ( x , θ ) \omega(x,\boldsymbol{\theta}) ω ( x , θ ) incorporates the constraint (8), the posterior distribution (18) still satisfies the same constraint.
(v) Full conditional posterior distributions of the variance parameters. By conjugacy, we have
σ ϵ 2 ∣ ϵ ∼ I G ( a ϵ + n 2 , b ϵ + 1 2 ϵ T ϵ ) , (19) \sigma_{\epsilon}^{2}\mid\boldsymbol{\epsilon}\sim\mathcal{IG}\left(a_{\epsilon}+\frac{n}{2},b_{\epsilon}+\frac{1}{2}\boldsymbol{\epsilon}^{\mathrm{T}}\boldsymbol{\epsilon}\right), \tag*{(19)} σ ϵ 2 ∣ ϵ ∼ I G ( a ϵ + 2 n , b ϵ + 2 1 ϵ T ϵ ) , (19)
σ α 2 ∣ α ∼ I G ( a α + n 2 , b α + 1 2 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ) , (20) \sigma_{\alpha}^{2}\mid\alpha\sim\mathcal{IG}\left(a_{\alpha}+\frac{n}{2},b_{\alpha}+\frac{1}{2}(\alpha-\mu_{\alpha,c})^{\mathrm{T}}\mathbf{K}_{\alpha,c}^{-1}(\alpha-\mu_{\alpha,c})\right), \tag*{(20)} σ α 2 ∣ α ∼ I G ( a α + 2 n , b α + 2 1 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ) , (20)
σ β ℓ 2 ∣ β ℓ ∼ I G ( a β + n 2 , b β + 1 2 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ) , ℓ = 1 , … , q , (21) \sigma_{\beta_{\ell}}^{2}\mid\beta_{\ell}\sim\mathcal{IG}\left(a_{\beta}+\frac{n}{2},b_{\beta}+\frac{1}{2}(\beta_{\ell}-\mu_{\beta_{\ell}})^{\mathrm{T}}\mathbf{K}_{\beta}^{-1}(\beta_{\ell}-\mu_{\beta_{\ell}})\right),\quad\ell=1,\ldots,q, \tag*{(21)} σ β ℓ 2 ∣ β ℓ ∼ I G ( a β + 2 n , b β + 2 1 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ) , ℓ = 1 , … , q , (21)
σ ω 2 ∣ W ∼ I G ( a ω + n m 2 , b ω + 1 2 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ) , (22) \sigma_{\omega}^{2}\mid\mathbf{W}\sim\mathcal{IG}\left(a_{\omega}+\frac{nm}{2},b_{\omega}+\frac{1}{2}\operatorname{vec}(\mathbf{W})^{\mathrm{T}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1})\operatorname{vec}(\mathbf{W})\right), \tag*{(22)} σ ω 2 ∣ W ∼ I G ( a ω + 2 nm , b ω + 2 1 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ) , (22)
σ ξ 2 ∣ ( Δ , α , B β , W , θ p , ϵ ) ∼ I G ( a ξ + n m 2 , b ξ + 1 2 ∥ Δ − α 1 m T − B β T ( θ p ) T − W G ( θ p ) − ϵ 1 m T ∥ F 2 ) . (23) \sigma_{\xi}^{2}\mid(\boldsymbol{\Delta},\alpha,\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon})\sim\mathcal{IG}\left(a_{\xi}+\frac{nm}{2},b_{\xi}+\frac{1}{2}\left\lVert\boldsymbol{\Delta}-\alpha\mathbf{1}_{m}^{\mathrm{T}}-\mathbf{B}_{\beta}\mathbf{T}(\boldsymbol{\theta}^{p})^{\mathrm{T}}-\mathbf{W}\mathbf{G}(\boldsymbol{\theta}^{p})-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathrm{T}}\right\rVert_{F}^{2}\right). \tag*{(23)} σ ξ 2 ∣ ( Δ , α , B β , W , θ p , ϵ ) ∼ I G ( a ξ + 2 nm , b ξ + 2 1 Δ − α 1 m T − B β T ( θ p ) T − WG ( θ p ) − ϵ 1 m T F 2 ) . (23)
(vi) Full conditional form of the calibration parameter θ p \theta^p θ p and the MH update.
Both T ( θ p ) \mathbf{T}(\theta^p) T ( θ p ) and G ( θ p ) \mathbf{G}(\theta^p) G ( θ p ) depend on θ p \theta^p θ p . As a result, the full conditional posterior distribution of θ p \theta^p θ p generally does not belong to a standard distribution family. Referring to (14) and using the prior π ( θ p ) \pi(\theta^p) π ( θ p ) , the full conditional posterior density is given by
π ( θ p ∣ Δ , α , B β , W , ϵ , σ ξ 2 ) ∝ π ( θ p ) exp { − 1 2 σ ξ 2 ∥ Δ − α 1 m T − B β T ( θ p ) T − W G ( θ p ) − ϵ 1 m T ∥ F 2 } . \pi(\theta^p \mid\Delta,\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\epsilon},\sigma_{\xi}^{2}) \propto\pi(\theta^p)\exp\left\{-\frac{1}{2\sigma_{\xi}^{2}}\left\|\Delta-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{T}(\theta^p)^{\mathsf{T}}-\mathbf{W}\mathbf{G}(\theta^p)-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}}\right\|_{F}^{2}\right\}. π ( θ p ∣ Δ , α , B β , W , ϵ , σ ξ 2 ) ∝ π ( θ p ) exp { − 2 σ ξ 2 1 Δ − α 1 m T − B β T ( θ p ) T − WG ( θ p ) − ϵ 1 m T F 2 } .
Accordingly, we update θ p \theta^p θ p using an MH step. Specifically, at iteration t t t , given the current value θ p , ( t ) \theta^{p,(t)} θ p , ( t ) , we propose
θ p , ⋆ = θ p , ( t ) + s θ u , u ∼ N ( 0 , I q ) , (24) \theta^{p,\star}=\theta^{p,(t)}+s_{\theta}u,\qquad u\sim\mathcal{N}(\mathbf{0},\mathbf{I}_{q}), \tag*{(24)} θ p , ⋆ = θ p , ( t ) + s θ u , u ∼ N ( 0 , I q ) , (24)
where s θ s_{\theta} s θ is a step-size matrix, which may be taken as diagonal to tune the proposal scale separately for each component. If the support of the prior for θ p \theta^p θ p is the bounded set Θ \Theta Θ , then the proposal is rejected immediately whenever θ p , ⋆ ∉ Θ \theta^{p,\star}\notin\Theta θ p , ⋆ ∈ / Θ . The acceptance probability is
α M H = min { 1 , π ( θ p , ⋆ ) π ( θ p , ( t ) ) ⋅ exp ( − 1 2 σ ξ 2 [ ∥ R ( θ p , ⋆ ) ∥ F 2 − ∥ R ( θ p , ( t ) ) ∥ F 2 ] ) } . \alpha_{\mathrm{MH}}=\min\left\{1,\frac{\pi(\theta^{p,\star})}{\pi(\theta^{p,(t)})}\cdot\exp\left(-\frac{1}{2\sigma_{\xi}^{2}}\left[\left\|\mathbf{R}(\theta^{p,\star})\right\|_{F}^{2}-\left\|\mathbf{R}(\theta^{p,(t)})\right\|_{F}^{2}\right]\right)\right\}. α MH = min { 1 , π ( θ p , ( t ) ) π ( θ p , ⋆ ) ⋅ exp ( − 2 σ ξ 2 1 [ ∥ R ( θ p , ⋆ ) ∥ F 2 − R ( θ p , ( t ) ) F 2 ] ) } .
where
R ( θ p ) = Δ − α 1 m T − B β T ( θ p ) T − W G ( θ p ) − ϵ 1 m T ∈ R n × m . \mathbf{R}(\theta^p)=\Delta-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{T}(\theta^p)^{\mathsf{T}}-\mathbf{W}\mathbf{G}(\theta^p)-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}}\in\mathbb{R}^{n\times m}. R ( θ p ) = Δ − α 1 m T − B β T ( θ p ) T − WG ( θ p ) − ϵ 1 m T ∈ R n × m .
In practice, we can tune the matrix s θ s_{\theta} s θ in (24) to achieve a suitable MH acceptance rate and thereby improve the mixing efficiency of the chain.
In summary, posterior sampling for BMDD proceeds by sequentially updating the components within a Gibbs framework, with an embedded MH step for the calibration parameter θ p \theta^p θ p . The implementation of the Metropolis-within-Gibbs algorithm is presented in Algorithm 1 .
Algorithm 1 Metropolis-within-Gibbs Sampling Algorithm for the BMDD Model
Input: Observed difference matrix Δ \Delta Δ ; design points { x i } i = 1 n \{x_i\}_{i=1}^{n} { x i } i = 1 n and { θ j } j = 1 m \{\theta_j\}_{j=1}^{m} { θ j } j = 1 m ; hyperparameters; total number of iterations T T T ; burn-in length T 0 T_0 T 0 ; MH step-size matrix s θ \mathbf{s}_{\theta} s θ ; initial values θ p , ( 0 ) , α ( 0 ) , B β ( 0 ) , W ( 0 ) , ϵ ( 0 ) , σ ϵ 2 , ( 0 ) , σ ϵ 2 , ( 0 ) , σ ω 2 , ( 0 ) , σ α 2 , ( 0 ) , { σ β ℓ 2 , ( 0 ) } ℓ = 1 q \theta^{p,(0)}, \alpha^{(0)}, \mathbf{B}_{\beta}^{(0)}, \mathbf{W}^{(0)}, \boldsymbol{\epsilon}^{(0)}, \sigma_{\epsilon}^{2,(0)}, \sigma_{\epsilon}^{2,(0)}, \sigma_{\omega}^{2,(0)}, \sigma_{\alpha}^{2,(0)}, \{\sigma_{\beta_\ell}^{2,(0)}\}_{\ell=1}^{q} θ p , ( 0 ) , α ( 0 ) , B β ( 0 ) , W ( 0 ) , ϵ ( 0 ) , σ ϵ 2 , ( 0 ) , σ ϵ 2 , ( 0 ) , σ ω 2 , ( 0 ) , σ α 2 , ( 0 ) , { σ β ℓ 2 , ( 0 ) } ℓ = 1 q .
Output: Posterior samples retained after burn-in { Ψ ( t ) } t = T 0 + 1 T \{\boldsymbol{\Psi}^{(t)}\}_{t=T_0+1}^{T} { Ψ ( t ) } t = T 0 + 1 T and the associated statistics, where
Ψ ( t ) = { θ p , ( t ) , α ( t ) , B β ( t ) , W ( t ) , ϵ ( t ) , σ ϵ 2 , ( t ) , σ ϵ 2 , ( t ) , σ ω 2 , ( t ) , σ α 2 , ( t ) , { σ β ℓ 2 , ( t ) } ℓ = 1 q } . \boldsymbol{\Psi}^{(t)}=\{\theta^{p,(t)},\alpha^{(t)},\mathbf{B}_{\beta}^{(t)},\mathbf{W}^{(t)},\boldsymbol{\epsilon}^{(t)},\sigma_{\epsilon}^{2,(t)},\sigma_{\epsilon}^{2,(t)},\sigma_{\omega}^{2,(t)},\sigma_{\alpha}^{2,(t)},\{\sigma_{\beta_\ell}^{2,(t)}\}_{\ell=1}^{q}\}. Ψ ( t ) = { θ p , ( t ) , α ( t ) , B β ( t ) , W ( t ) , ϵ ( t ) , σ ϵ 2 , ( t ) , σ ϵ 2 , ( t ) , σ ω 2 , ( t ) , σ α 2 , ( t ) , { σ β ℓ 2 , ( t ) } ℓ = 1 q } . Procedure:
Initialize all unknown quantities and hyperparameters.
For t = 1 , 2 , … , T t=1,2,\ldots,T t = 1 , 2 , … , T , repeat:
(1°) Sample α ( t ) \alpha^{(t)} α ( t ) from p ( α ∣ ⋯ ) p(\alpha\mid\cdots) p ( α ∣ ⋯ ) according to (15).
(2°) Sample B β ( t ) \mathbf{B}_{\beta}^{(t)} B β ( t ) from p ( B β ∣ ⋯ ) p(\mathbf{B}_{\beta}\mid\cdots) p ( B β ∣ ⋯ ) according to (17).
(3°) Sample W ( t ) \mathbf{W}^{(t)} W ( t ) from p ( W ∣ ⋯ ) p(\mathbf{W}\mid\cdots) p ( W ∣ ⋯ ) according to (18).
(4°) Sample ϵ ( t ) \boldsymbol{\epsilon}^{(t)} ϵ ( t ) from p ( ϵ ∣ ⋯ ) p(\boldsymbol{\epsilon}\mid\cdots) p ( ϵ ∣ ⋯ ) according to (16).
(5°) Sample σ ϵ 2 , ( t ) \sigma_{\epsilon}^{2,(t)} σ ϵ 2 , ( t ) from p ( σ ϵ 2 ∣ ⋯ ) p(\sigma_{\epsilon}^{2}\mid\cdots) p ( σ ϵ 2 ∣ ⋯ ) according to (23).
(6°) Sample σ ϵ 2 , ( t ) \sigma_{\epsilon}^{2,(t)} σ ϵ 2 , ( t ) from p ( σ ϵ 2 ∣ ⋯ ) p(\sigma_{\epsilon}^{2}\mid\cdots) p ( σ ϵ 2 ∣ ⋯ ) according to (19).
(7°) Sample σ α 2 , ( t ) \sigma_{\alpha}^{2,(t)} σ α 2 , ( t ) from p ( σ α 2 ∣ ⋯ ) p(\sigma_{\alpha}^{2}\mid\cdots) p ( σ α 2 ∣ ⋯ ) according to (20).
(8°) For each ℓ = 1 , … , q \ell=1,\ldots,q ℓ = 1 , … , q , sample σ β ℓ 2 , ( t ) \sigma_{\beta_\ell}^{2,(t)} σ β ℓ 2 , ( t ) from p ( σ β ℓ 2 ∣ ⋯ ) p(\sigma_{\beta_\ell}^{2}\mid\cdots) p ( σ β ℓ 2 ∣ ⋯ ) according to (21).
(9°) Sample σ ω 2 , ( t ) \sigma_{\omega}^{2,(t)} σ ω 2 , ( t ) from p ( σ ω 2 ∣ ⋯ ) p(\sigma_{\omega}^{2}\mid\cdots) p ( σ ω 2 ∣ ⋯ ) according to (22).
(10°) Update θ p \theta^{p} θ p using an MH step:
(a) Generate
θ p , ⋆ = θ p , ( t − 1 ) + s θ u , u ∼ N ( 0 , I q ) , \theta^{p,\star}=\theta^{p,(t-1)}+\mathbf{s}_{\theta}\mathbf{u},\qquad\mathbf{u}\sim\mathcal{N}(\mathbf{0},\mathbf{I}_{q}), θ p , ⋆ = θ p , ( t − 1 ) + s θ u , u ∼ N ( 0 , I q ) , and reject immediately if θ p , ⋆ ∉ Θ \theta^{p,\star}\notin\Theta θ p , ⋆ ∈ / Θ .
(b) Compute
α M H = min { 1 , π ( θ p , ⋆ ) π ( θ p , ( t − 1 ) ) exp [ − 1 2 σ ϵ 2 , ( t ) ( ∥ R ( θ p , ⋆ ) ∥ F 2 − ∥ R ( θ p , ( t − 1 ) ) ∥ F 2 ) ] } , \alpha_{\mathrm{MH}}=\min\left\{1,\frac{\pi(\theta^{p,\star})}{\pi(\theta^{p,(t-1)})}\exp\left[-\frac{1}{2\sigma_{\epsilon}^{2,(t)}}\left(\|\mathbf{R}(\theta^{p,\star})\|_{F}^{2}-\|\mathbf{R}(\theta^{p,(t-1)})\|_{F}^{2}\right)\right]\right\}, α MH = min { 1 , π ( θ p , ( t − 1 ) ) π ( θ p , ⋆ ) exp [ − 2 σ ϵ 2 , ( t ) 1 ( ∥ R ( θ p , ⋆ ) ∥ F 2 − ∥ R ( θ p , ( t − 1 ) ) ∥ F 2 ) ] } , where
R ( θ p ) = Δ − α ( t ) 1 m T − B β ( t ) T ( θ p ) T − W ( t ) G ( θ p ) − ϵ ( t ) 1 m T . \mathbf{R}(\theta^{p})=\Delta-\alpha^{(t)}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}^{(t)}\mathbf{T}(\theta^{p})^{\mathsf{T}}-\mathbf{W}^{(t)}\mathbf{G}(\theta^{p})-\boldsymbol{\epsilon}^{(t)}\mathbf{1}_{m}^{\mathsf{T}}. R ( θ p ) = Δ − α ( t ) 1 m T − B β ( t ) T ( θ p ) T − W ( t ) G ( θ p ) − ϵ ( t ) 1 m T . (c) Generate u ⋆ ∼ Unif ( 0 , 1 ) u^{\star}\sim\operatorname{Unif}(0,1) u ⋆ ∼ Unif ( 0 , 1 ) . If u ⋆ < α M H u^{\star}<\alpha_{\mathrm{MH}} u ⋆ < α MH , set θ p , ( t ) = θ p , ⋆ \theta^{p,(t)}=\theta^{p,\star} θ p , ( t ) = θ p , ⋆ ; otherwise set θ p , ( t ) = θ p , ( t − 1 ) \theta^{p,(t)}=\theta^{p,(t-1)} θ p , ( t ) = θ p , ( t − 1 )
(11°) If t > T 0 t>T_0 t > T 0 , save the current sample Ψ ( t ) \boldsymbol{\Psi}^{(t)} Ψ ( t ) .
Compute posterior means, credible intervals, and posterior predictive quantities from the retained posterior samples.
Prediction
In this subsection, we present posterior predictive inference for the physical-system response y P ( x ∗ ) y^{P}(x^*) y P ( x ∗ ) and a future physical observation y F ( x ∗ ) y^{F}(x^*) y F ( x ∗ ) at a new input x ∗ ∈ Ω x^* \in\Omega x ∗ ∈ Ω . Recall that y F ( x ∗ ) = y P ( x ∗ ) + ϵ ∗ y^{F}(x^*) = y^{P}(x^*) + \epsilon^* y F ( x ∗ ) = y P ( x ∗ ) + ϵ ∗ , where ϵ ∗ ∼ N ( 0 , σ ϵ 2 ) \epsilon^* \sim\mathcal{N}(0,\sigma_{\epsilon}^{2}) ϵ ∗ ∼ N ( 0 , σ ϵ 2 ) is independent of all other quantities.
Let { Ψ ( s ) } s = 1 N \{\boldsymbol{\Psi}^{(s)}\}_{s=1}^{N} { Ψ ( s ) } s = 1 N be the retained posterior samples from Algorithm 1, where N N N denotes the total number of retained samples. By the BMDD discrepancy construction in (5) and Assumption 2, δ ( x ∗ , θ P ; θ P ) = α ( x ∗ ) \delta(x^*,\boldsymbol{\theta}^{P};\boldsymbol{\theta}^{P})=\alpha(x^*) δ ( x ∗ , θ P ; θ P ) = α ( x ∗ ) . Hence, y P ( x ∗ ) = y S ( x ∗ , θ P ) + α ( x ∗ ) y^{P}(x^*)=y^{S}(x^*,\boldsymbol{\theta}^{P})+\alpha(x^*) y P ( x ∗ ) = y S ( x ∗ , θ P ) + α ( x ∗ ) . Conditional on Ψ \boldsymbol{\Psi} Ψ and Δ \boldsymbol{\Delta} Δ ,
α ( x ∗ ) ∣ Ψ , Δ ∼ N ( m α ( x ∗ ) , v α ( x ∗ ) ) , \alpha(x^*) \mid\boldsymbol{\Psi},\boldsymbol{\Delta} \sim\mathcal{N}\left(m_{\alpha}(x^*),v_{\alpha}(x^*)\right), α ( x ∗ ) ∣ Ψ , Δ ∼ N ( m α ( x ∗ ) , v α ( x ∗ ) ) ,
where k ∗ , c = ( k α , c ( x 1 , x ∗ ) , … , k α , c ( x n , x ∗ ) ) T \boldsymbol{k}_{*,c}=\left(k_{\alpha,c}(x_1,x^*),\ldots,k_{\alpha,c}(x_n,x^*)\right)^{\mathsf{T}} k ∗ , c = ( k α , c ( x 1 , x ∗ ) , … , k α , c ( x n , x ∗ ) ) T , m α ( x ∗ ) = μ α , c ( x ∗ ) + k ∗ , c T K α , c − 1 ( α − μ α , c ) m_{\alpha}(x^*)=\mu_{\alpha,c}(x^*)+\boldsymbol{k}_{*,c}^{\mathsf{T}}\mathbf{K}_{\alpha,c}^{-1}(\boldsymbol{\alpha}-\boldsymbol{\mu}_{\alpha,c}) m α ( x ∗ ) = μ α , c ( x ∗ ) + k ∗ , c T K α , c − 1 ( α − μ α , c ) , and
v α ( x ∗ ) = σ α 2 { k α , c ( x ∗ , x ∗ ) − k ∗ , c T K α , c − 1 k ∗ , c } . v_{\alpha}(x^*)=\sigma_{\alpha}^{2}\{k_{\alpha,c}(x^*,x^*)-\boldsymbol{k}_{*,c}^{\mathsf{T}}\mathbf{K}_{\alpha,c}^{-1}\boldsymbol{k}_{*,c}\}. v α ( x ∗ ) = σ α 2 { k α , c ( x ∗ , x ∗ ) − k ∗ , c T K α , c − 1 k ∗ , c } .
For the s s s -th posterior sample, define μ ∗ ( s ) = y S ( x ∗ , θ P , ( s ) ) + m α ( s ) ( x ∗ ) \mu_*^{(s)}=y^{S}(x^*,\boldsymbol{\theta}^{P,(s)})+m_{\alpha}^{(s)}(x^*) μ ∗ ( s ) = y S ( x ∗ , θ P , ( s ) ) + m α ( s ) ( x ∗ ) , V P , ∗ ( s ) = v α ( s ) ( x ∗ ) V_{P,*}^{(s)}=v_{\alpha}^{(s)}(x^*) V P , ∗ ( s ) = v α ( s ) ( x ∗ ) , and V F , ∗ ( s ) = V P , ∗ ( s ) + σ ϵ 2 , ( s ) V_{F,*}^{(s)}=V_{P,*}^{(s)}+\sigma_{\epsilon}^{2,(s)} V F , ∗ ( s ) = V P , ∗ ( s ) + σ ϵ 2 , ( s ) . Then,
y P ( x ∗ ) ∣ Ψ ( s ) , Δ ∼ N ( μ ∗ ( s ) , V P , ∗ ( s ) ) , y^{P}(x^*) \mid\boldsymbol{\Psi}^{(s)},\boldsymbol{\Delta}\sim\mathcal{N}\left(\mu_*^{(s)},V_{P,*}^{(s)}\right), y P ( x ∗ ) ∣ Ψ ( s ) , Δ ∼ N ( μ ∗ ( s ) , V P , ∗ ( s ) ) ,
y F ( x ∗ ) ∣ Ψ ( s ) , Δ ∼ N ( μ ∗ ( s ) , V F , ∗ ( s ) ) , s = 1 , … , N . y^{F}(x^*) \mid\boldsymbol{\Psi}^{(s)},\boldsymbol{\Delta}\sim\mathcal{N}\left(\mu_*^{(s)},V_{F,*}^{(s)}\right),\qquad s=1,\ldots,N. y F ( x ∗ ) ∣ Ψ ( s ) , Δ ∼ N ( μ ∗ ( s ) , V F , ∗ ( s ) ) , s = 1 , … , N .
Thus, y P ( x ∗ ) y^{P}(x^*) y P ( x ∗ ) and y F ( x ∗ ) y^{F}(x^*) y F ( x ∗ ) have the same conditional predictive mean, whereas the predictive variance for y F ( x ∗ ) y^{F}(x^*) y F ( x ∗ ) additionally accounts for future observation noise.
The posterior predictive distributions are approximated by
p ( y P ( x ∗ ) ∣ Δ ) ≈ 1 N ∑ s = 1 N ϕ ( y P ( x ∗ ) ; μ ∗ ( s ) , V P , ∗ ( s ) ) p(y^{P}(x^*)\mid\boldsymbol{\Delta})\approx\frac{1}{N}\sum_{s=1}^{N}\phi(y^{P}(x^*);\mu_*^{(s)},V_{P,*}^{(s)}) p ( y P ( x ∗ ) ∣ Δ ) ≈ N 1 s = 1 ∑ N ϕ ( y P ( x ∗ ) ; μ ∗ ( s ) , V P , ∗ ( s ) )
and
p ( y F ( x ∗ ) ∣ Δ ) ≈ 1 N ∑ s = 1 N ϕ ( y F ( x ∗ ) ; μ ∗ ( s ) , V F , ∗ ( s ) ) , p(y^{F}(x^*)\mid\boldsymbol{\Delta})\approx\frac{1}{N}\sum_{s=1}^{N}\phi(y^{F}(x^*);\mu_*^{(s)},V_{F,*}^{(s)}), p ( y F ( x ∗ ) ∣ Δ ) ≈ N 1 s = 1 ∑ N ϕ ( y F ( x ∗ ) ; μ ∗ ( s ) , V F , ∗ ( s ) ) ,
where ϕ ( ⋅ ; μ , V ) \phi(\cdot;\mu,V) ϕ ( ⋅ ; μ , V ) denotes the density function of a normal distribution with mean μ \mu μ and variance V V V . Therefore, the posterior predictive point estimates are
y ^ P ( x ∗ ) = y ^ F ( x ∗ ) = 1 N ∑ s = 1 N μ ∗ ( s ) . \widehat{y}^{P}(x^*)=\widehat{y}^{F}(x^*)=\frac{1}{N}\sum_{s=1}^{N}\mu_*^{(s)}. y P ( x ∗ ) = y F ( x ∗ ) = N 1 s = 1 ∑ N μ ∗ ( s ) .
To construct a 100 ( 1 − γ ) % 100(1-\gamma)\% 100 ( 1 − γ ) % interval, define
F P , ∗ ( z ) = 1 N ∑ s = 1 N Φ ( z − μ ∗ ( s ) V P , ∗ ( s ) ) , F_{P,*}(z)=\frac{1}{N}\sum_{s=1}^{N}\Phi\left(\frac{z-\mu_*^{(s)}}{\sqrt{V_{P,*}^{(s)}}}\right), F P , ∗ ( z ) = N 1 s = 1 ∑ N Φ V P , ∗ ( s ) z − μ ∗ ( s ) ,
where Φ ( ⋅ ) \Phi(\cdot) Φ ( ⋅ ) is the cumulative distribution function of the standard normal distribution. Let
q γ P ( x ∗ ) = inf { z ∈ R : F P , ∗ ( z ) ≥ γ } . q_{\gamma}^{P}(x^{*})=\inf\{z\in\mathbb{R}:F_{P,*}(z)\geq\gamma\}. q γ P ( x ∗ ) = inf { z ∈ R : F P , ∗ ( z ) ≥ γ } .
Then, a 100 ( 1 − γ ) % 100(1-\gamma)\% 100 ( 1 − γ ) % credible interval for y P ( x ∗ ) y^{P}(x^{*}) y P ( x ∗ ) is
[ q γ / 2 P ( x ∗ ) , q 1 − γ / 2 P ( x ∗ ) ] . \left[q_{\gamma/2}^{P}(x^{*}),q_{1-\gamma/2}^{P}(x^{*})\right]. [ q γ /2 P ( x ∗ ) , q 1 − γ /2 P ( x ∗ ) ] .
The interval for y F ( x ∗ ) y^{F}(x^{*}) y F ( x ∗ ) is obtained in the same manner.
Numerical Examples
In this section, we evaluate BMDD using several numerical simulations. The main comparison includes KOH, L 2 L_2 L 2 , DD, BDD, and BMDD, where BDD denotes the Bayesian discrepancy decomposition model and differs from BMDD only by excluding the residual term r ( x , θ ; θ P ) r(x,\theta;\theta^{P}) r ( x , θ ; θ P ) .
A One-Dimensional Example
In this subsection, we consider the case of a one-dimensional calibration parameter. Let the physical system and the corresponding computer model be
{ y F ( x ; θ P ) = θ P x + sin ( 2 π x ) + ϵ , y S ( x , θ ) = θ x + cos ( π x ) [ ( θ − 5 2 ) 2 − 1 3 ] , x ∈ [ 0 , 1 ] , θ ∈ [ 1.5 , 3.5 ] . \begin{cases}
y^{F}(x;\theta^{P})=\theta^{P}x+\sin(2\pi x)+\epsilon,\\
y^{S}(x,\theta)=\theta x+\cos(\pi x)\left[\left(\theta-\frac{5}{2}\right)^{2}-\frac{1}{3}\right],
\end{cases}
\qquad x\in[0,1],\ \theta\in[1.5,3.5]. { y F ( x ; θ P ) = θ P x + sin ( 2 π x ) + ϵ , y S ( x , θ ) = θ x + cos ( π x ) [ ( θ − 2 5 ) 2 − 3 1 ] , x ∈ [ 0 , 1 ] , θ ∈ [ 1.5 , 3.5 ] .
where the true value of θ P \theta^{P} θ P is set to 2.5. The resulting model discrepancy is
δ ( x , θ ; θ P ) = sin ( 2 π x ) − x ( θ − θ P ) − cos ( π x ) [ ( θ − 5 2 ) 2 − 1 3 ] . \delta(x,\theta;\theta^{P})=\sin(2\pi x)-x(\theta-\theta^{P})-\cos(\pi x)\left[\left(\theta-\frac{5}{2}\right)^{2}-\frac{1}{3}\right]. δ ( x , θ ; θ P ) = sin ( 2 π x ) − x ( θ − θ P ) − cos ( π x ) [ ( θ − 2 5 ) 2 − 3 1 ] .
which contains a quadratic term in θ \theta θ . Therefore, it no longer satisfies the discrepancy decomposition form (2) assumed in DD.
Let x i = ( i − 1 ) / ( n − 1 ) x_i=(i-1)/(n-1) x i = ( i − 1 ) / ( n − 1 ) , i = 1 , … , n i=1,\ldots,n i = 1 , … , n , and θ j = 1.5 + 2 ( j − 1 ) / ( m − 1 ) \theta_j=1.5+2(j-1)/(m-1) θ j = 1.5 + 2 ( j − 1 ) / ( m − 1 ) , j = 1 , … , m j=1,\ldots,m j = 1 , … , m . Based on these design points, we construct the difference matrix design { ( x i , θ j , δ i j ) } i = 1 , … , n , j = 1 , … , m \{(x_i,\theta_j,\delta_{ij})\}_{i=1,\ldots,n,\ j=1,\ldots,m} {( x i , θ j , δ ij ) } i = 1 , … , n , j = 1 , … , m introduced in Subsection 3.2. The observation noises are generated independently from N ( 0 , 0.01 ) \mathcal{N}(0,0.01) N ( 0 , 0.01 ) , and the nugget terms in Δ \boldsymbol{\Delta} Δ are generated independently from N ( 0 , 10 − 8 ) \mathcal{N}(0,10^{-8}) N ( 0 , 1 0 − 8 ) . Without any prior information, we use the default constraint ∫ 0 1 α ( x ) d x = 0 \int_0^1 \alpha(x)\,dx=0 ∫ 0 1 α ( x ) d x = 0 . The prior distributions of α ( x ) \alpha(x) α ( x ) , β ( x ) \beta(x) β ( x ) , and ω ( x , θ ) \omega(x,\theta) ω ( x , θ ) follow (11), (12), and (13), respectively, with zero mean functions and the squared exponential kernel in (10), where ρ x = 0.35 \rho_x=0.35 ρ x = 0.35 for kernels on Ω \Omega Ω and ρ θ = 0.2 \rho_\theta=0.2 ρ θ = 0.2 for the kernel on Θ \Theta Θ . The prior of θ p \theta^p θ p is U ( 1.5 , 3.5 ) \mathcal{U}(1.5,3.5) U ( 1.5 , 3.5 ) . For the priors of variance parameters, we follow the common practice in Bayesian calibration (e.g., [11 , 10 ] ). Specifically, the GP process variance parameters σ α 2 \sigma_\alpha^2 σ α 2 , σ β 2 \sigma_\beta^2 σ β 2 , and σ ω 2 \sigma_\omega^2 σ ω 2 are assigned I G ( 3 , 0.1 ) \mathcal{IG}(3,0.1) I G ( 3 , 0.1 ) , while the variance parameters of the observation noise and the nugget term, σ ϵ 2 \sigma_\epsilon^2 σ ϵ 2 and σ ξ 2 \sigma_\xi^2 σ ξ 2 , are assigned I G ( 3 , 10 − 4 ) \mathcal{IG}(3,10^{-4}) I G ( 3 , 1 0 − 4 ) , yielding weakly informative priors. We fix m = 51 m=51 m = 51 , consider three sample sizes n = 11 , 31 , 61 n=11,31,61 n = 11 , 31 , 61 , and repeat the simulation 50 times for each setting. Posterior samples of θ p \theta^p θ p are obtained using Algorithm 1. For comparison, we also implement the other four calibration methods: KOH, L 2 L_2 L 2 , DD, and BDD.
Table 1 summarizes the estimation results for θ p \theta^p θ p across the five calibration methods. It shows that BMDD achieves the smallest MSE and the lowest variability across all settings. DD and BDD improve substantially on KOH and L 2 L_2 L 2 , but remain less accurate than BMDD, indicating the benefit of the residual term for nonlinear discrepancies.
Table 1. MSEs (× 10 − 4 \times10^{-4} × 1 0 − 4 ) of θ P \theta^{P} θ P for different calibration methods; numbers in parentheses are the standard deviations (× 10 − 4 \times10^{-4} × 1 0 − 4 ) of the squared errors
To assess extrapolative prediction, we fit the models using field data on [ 0 , 1 ] [0,1] [ 0 , 1 ] and predict the physical system y P ( x ; θ P ) = θ P x + sin ( 2 π x ) y^P(x;\theta^P)=\theta^P x+\sin(2\pi x) y P ( x ; θ P ) = θ P x + sin ( 2 π x ) over [ − 1 , 2 ] [-1,2] [ − 1 , 2 ] . The regions [ − 1 , 0 ) [-1,0) [ − 1 , 0 ) and ( 1 , 2 ] (1,2] ( 1 , 2 ] are extrapolation regions. We compare BMDD with L 2 L_2 L 2 calibration to assess whether recovering a physically meaningful calibration parameter improves prediction beyond the field-data range. BMDD predictions follow Subsection 3.4, and the experiment is repeated 50 times.
Figure 1 shows that both methods fit the calibration domain well, whereas BMDD remains closer to the true physical system outside this domain. This suggests that more accurate recovery of θ p \theta^p θ p improves extrapolative prediction.
Figure 1. Extrapolative prediction in § 4.1 (n = 61 n = 61 n = 61 ).
An Example with Increasing Nonlinearity
In this subsection, we further investigate the performance of BMDD when the model discrepancy exhibits a nonlinear structure of varying strength. This example was used in Li et al. (2026) and shows that DD does not perform well when the nonlinearity is strong.
Consider the Box–Cox transformation
B C ( z ; r ) = { ( z r − 1 ) / r , r > 0 , log z , r = 0 , BC(z;r)=
\begin{cases}
(z^r-1)/r, & r>0,\\
\log z, & r=0,
\end{cases} B C ( z ; r ) = { ( z r − 1 ) / r , log z , r > 0 , r = 0 ,
where r r r is the power parameter controlling the degree of nonlinearity. Let the physical system and the computer model be
y F ( x ; θ p ) = exp { B C ( θ p x ; r ) − 1 1 + x + 1 2 } + ϵ , y S ( x , θ ) = exp { B C ( θ x ; r ) } , x ∈ [ 0 , 2 ] , θ ∈ [ 0.5 , 1.5 ] , \begin{aligned}
y^F(x;\theta^p) &= \exp\left\{BC(\theta^p x;r)-\frac{1}{1+x}+\frac{1}{2}\right\}+\epsilon,\\
y^S(x,\theta) &= \exp\{BC(\theta x;r)\},
\end{aligned}
\qquad x\in[0,2],\ \theta\in[0.5,1.5], y F ( x ; θ p ) y S ( x , θ ) = exp { B C ( θ p x ; r ) − 1 + x 1 + 2 1 } + ϵ , = exp { B C ( θ x ; r )} , x ∈ [ 0 , 2 ] , θ ∈ [ 0.5 , 1.5 ] ,
where the true value of θ p \theta^p θ p is set to 1. The resulting model discrepancy is
δ ( x , θ ; θ p ) = exp { B C ( θ p x ; r ) − 1 1 + x + 1 2 } − exp { B C ( θ x ; r ) } . \delta(x,\theta;\theta^p)=\exp\left\{BC(\theta^p x;r)-\frac{1}{1+x}+\frac{1}{2}\right\}-\exp\{BC(\theta x;r)\}. δ ( x , θ ; θ p ) = exp { B C ( θ p x ; r ) − 1 + x 1 + 2 1 } − exp { B C ( θ x ; r )} .
As r r r increases, the model discrepancy exhibits increasingly pronounced nonlinear behavior. Let x i = 2 ( i − 1 ) / ( n − 1 ) x_i=2(i-1)/(n-1) x i = 2 ( i − 1 ) / ( n − 1 ) , i = 1 , … , n i=1,\ldots,n i = 1 , … , n , and θ j = 0.5 + ( j − 1 ) / ( m − 1 ) \theta_j=0.5+(j-1)/(m-1) θ j = 0.5 + ( j − 1 ) / ( m − 1 ) , j = 1 , … , m j=1,\ldots,m j = 1 , … , m , to construct the difference-matrix design { ( x i , θ j , δ i j ) } i = 1 , … , n , j = 1 , … , m \{(x_i,\theta_j,\delta_{ij})\}_{i=1,\ldots,n,\ j=1,\ldots,m} {( x i , θ j , δ ij ) } i = 1 , … , n , j = 1 , … , m introduced in Subsection 3.2. We fix n = 21 n=21 n = 21 and m = 51 m=51 m = 51 . The observation noises are generated independently from N ( 0 , 0.01 ) \mathcal{N}(0,0.01) N ( 0 , 0.01 ) , and the nugget terms are generated independently from N ( 0 , 10 − 8 ) \mathcal{N}(0,10^{-8}) N ( 0 , 1 0 − 8 ) . Without any prior information, we use the default constraint ∫ 0 2 α ( x ) d x = 0 \int_0^2 \alpha(x)\,dx=0 ∫ 0 2 α ( x ) d x = 0 . The prior of θ p \theta^p θ p is set to U ( 0.5 , 1.5 ) \mathcal{U}(0.5,1.5) U ( 0.5 , 1.5 ) , while other prior settings are the same as those in Subsection 4.1. We consider six levels of nonlinearity, r ∈ { 0.5 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 } r\in\{0.5,1.0,1.5,2.0,2.5,3.0\} r ∈ { 0.5 , 1.0 , 1.5 , 2.0 , 2.5 , 3.0 } , and repeat the simulation 50 times for each value of r r r .
Table 2 reports the MSEs of the five methods for estimating θ p \theta^p θ p under different levels of nonlinearity r r r . KOH and L 2 L_2 L 2 have relatively large MSEs when r r r is small, while DD and BDD perform well in mildly nonlinear cases but deteriorate rapidly as r r r increases. In contrast, BMDD consistently achieves the smallest MSE across all settings, and its estimation error remains at a much lower level even under stronger nonlinearity. This indicates that the additional residual term enables BMDD to better capture nonlinear model discrepancy, thereby improving calibration accuracy and robustness.
Table 2. Comparison of MSEs for estimating θ p \theta^p θ p under different values of r r r
Figure 2 displays the 90% posterior credible intervals of θ p \theta^p θ p for BDD and BMDD under different values of r r r . We can see that the credible intervals of BDD gradually fail to cover the true value as the nonlinear level increases, while BMDD maintains coverage across all settings. Meanwhile, the BDD intervals become increasingly wide for large r r r , indicating unstable uncertainty quantification, whereas BMDD keeps relatively stable interval widths. These results suggest that BMDD provides more reliable uncertainty quantification under stronger nonlinear discrepancy structures.
Figure 2. Uncertainty quantification performance of BDD and BMDD for θ p \theta^p θ p : the solid lines show the averages of the posterior means over 50 replications, the shaded regions represent 90% posterior credible intervals, and the black dashed line corresponds to the true value θ p = 1 \theta^p = 1 θ p = 1 .
A Two-Dimensional Example
In this subsection, we consider a simulation example with two-dimensional calibration parameters. Let θ = ( θ 1 , θ 2 ) T ∈ [ 0.5 , 1.5 ] 2 \boldsymbol{\theta} = (\theta_1, \theta_2)^{\mathsf{T}} \in[0.5, 1.5]^2 θ = ( θ 1 , θ 2 ) T ∈ [ 0.5 , 1.5 ] 2 . The physical system and the corresponding computer model are given by
{ y F ( x ; θ p ) = θ 1 p x + θ 2 p x 2 + 0.15 sin ( 4 π x ) + ϵ , y S ( x , θ ) = θ 1 x + θ 2 x 2 + h ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) , x ∈ [ 0 , 1 ] , \left\{
\begin{aligned}
y^{F}(x;\theta^p) &= \theta_1^p x + \theta_2^p x^2 + 0.15\sin(4\pi x) + \epsilon, \\
y^{S}(x,\theta) &= \theta_1 x + \theta_2 x^2 + h(x)\left\{(\theta_1-1)^2 + (\theta_2-1)^2\right\}a(\theta),
\end{aligned}
\right.
\qquad x \in[0,1], { y F ( x ; θ p ) y S ( x , θ ) = θ 1 p x + θ 2 p x 2 + 0.15 sin ( 4 π x ) + ϵ , = θ 1 x + θ 2 x 2 + h ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) , x ∈ [ 0 , 1 ] ,
where h ( x ) = 0.35 sin ( 4 π x ) + 0.2 sin ( 8 π x ) h(x) = 0.35\sin(4\pi x) + 0.2\sin(8\pi x) h ( x ) = 0.35 sin ( 4 π x ) + 0.2 sin ( 8 π x ) , and a ( θ ) = 0.4 + 0.2 θ 1 + 0.15 θ 2 + 0.1 θ 1 θ 2 a(\theta) = 0.4 + 0.2\theta_1 + 0.15\theta_2 + 0.1\theta_1\theta_2 a ( θ ) = 0.4 + 0.2 θ 1 + 0.15 θ 2 + 0.1 θ 1 θ 2 . The true value of θ p \theta^p θ p is set to ( 1 , 1 ) T (1, 1)^{\mathsf{T}} ( 1 , 1 ) T . The resulting model discrepancy is
δ ( x , θ ; θ p ) = 0.15 sin ( 4 π x ) − x ( θ 1 − θ 1 p ) − x 2 ( θ 2 − θ 2 p ) − h ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) . \delta(x,\theta;\theta^p) = 0.15\sin(4\pi x) - x(\theta_1 - \theta_1^p) - x^2(\theta_2 - \theta_2^p) - h(x)\left\{(\theta_1 - 1)^2 + (\theta_2 - 1)^2\right\}a(\theta). δ ( x , θ ; θ p ) = 0.15 sin ( 4 π x ) − x ( θ 1 − θ 1 p ) − x 2 ( θ 2 − θ 2 p ) − h ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) .
This discrepancy contains a second-order term in θ \theta θ .
Let x i = ( i − 1 ) / ( n − 1 ) x_i = (i - 1)/(n - 1) x i = ( i − 1 ) / ( n − 1 ) , i = 1 , … , n i = 1,\ldots,n i = 1 , … , n , θ 1 , k = 0.5 + ( k − 1 ) / 6 \theta_{1,k} = 0.5 + (k - 1)/6 θ 1 , k = 0.5 + ( k − 1 ) /6 , θ 2 , ℓ = 0.5 + ( ℓ − 1 ) / 6 \theta_{2,\ell} = 0.5 + (\ell- 1)/6 θ 2 , ℓ = 0.5 + ( ℓ − 1 ) /6 , k , ℓ = 1 , … , 7 k,\ell= 1,\ldots,7 k , ℓ = 1 , … , 7 . Thus, the total number of θ \theta θ is m = 49 m = 49 m = 49 , and we consider three sample sizes n = 11 , 31 , 61 n = 11, 31, 61 n = 11 , 31 , 61 .
Based on these design points, we construct the difference matrix design { ( x i , θ j , δ i j ) } i = 1 , … , n , j = 1 , … , m \{(x_i,\theta_j,\delta_{ij})\}_{i=1,\ldots,n,\ j=1,\ldots,m} {( x i , θ j , δ ij ) } i = 1 , … , n , j = 1 , … , m introduced in Subsection 3.2. The observation noises are generated independently from N ( 0 , 0.01 ) \mathcal{N}(0, 0.01) N ( 0 , 0.01 ) , and the nugget terms in Δ \Delta Δ are generated independently from N ( 0 , 10 − 8 ) \mathcal{N}(0, 10^{-8}) N ( 0 , 1 0 − 8 ) . Since the calibration parameter is two-dimensional, we impose two constraints on α ( x ) \alpha(x) α ( x ) . Specifically, we use the default constraints ∫ 0 0.5 α ( x ) d x = ∫ 0 1 α ( x ) d x = 0 \int_0^{0.5}\alpha(x)\,dx = \int_0^1\alpha(x)\,dx = 0 ∫ 0 0.5 α ( x ) d x = ∫ 0 1 α ( x ) d x = 0 . The prior of θ p \theta^p θ p is taken as U ( [ 0.5 , 1.5 ] 2 ) U([0.5, 1.5]^2) U ([ 0.5 , 1.5 ] 2 ) . The remaining prior and MCMC settings are the same as those in Subsection 4.1, with independent GP priors assigned to β 1 ( x ) \beta_1(x) β 1 ( x ) and β 2 ( x ) \beta_2(x) β 2 ( x ) . We repeat the simulation 50 times for each setting.
Posterior samples of θ p \theta^p θ p are obtained using Algorithm 1. For comparison, we also implement the other four calibration methods: KOH, L 2 L_2 L 2 , DD, and BDD. Table 3 summarizes the estimation results for θ p \boldsymbol{\theta}^{p} θ p across the five calibration methods. The main entries are the joint mean squared errors over 50 replications, and the values in parentheses represent the standard deviations of the corresponding squared errors. All results are reported on a × 10 − 4 \times10^{-4} × 1 0 − 4 scale for comparability.
Table 3. Joint MSEs (× 10 − 4 \times10^{-4} × 1 0 − 4 ) of θ p \boldsymbol{\theta}^{p} θ p for different calibration methods; numbers in parentheses are the standard deviations (× 10 − 4 \times10^{-4} × 1 0 − 4 ) of the squared errors
Table 3 shows that KOH and L 2 L_2 L 2 still perform poorly in this two-dimensional setting. This may be due to the identifiability issue in KOH and the fact that the L 2 L_2 L 2 calibration target does not necessarily coincide with the true physical parameter. DD and BDD improve as the sample size increases, but their estimation errors remain relatively large because the first-order discrepancy decomposition cannot adequately capture the nonlinear term in the discrepancy. BMDD achieves the smallest joint MSE and the smallest standard deviation of squared errors in all three sample-size settings, indicating that the residual process is useful for capturing higher-order discrepancy structures and improving the estimation accuracy of the physical calibration parameters.
Sensitivity to the Integral Constraint
In this subsection, we further examine the sensitivity of BMDD to the integral constraint imposed on α ( x ) \alpha(x) α ( x ) in (3) .
First, we use an example with a one-dimensional input and a one-dimensional calibration parameter to study the sensitivity to the specified constant in the integral constraint and to the size of the constraint subdomain. The physical system and the computer model are given by
{ y F ( x ; θ p ) = 0.2 sin ( 2 π x ) + 0.25 x ( 1 − x ) + θ p x − 1.2 cos ( π x ) ( θ p ) 2 + ϵ , y S ( x , θ ) = 0.1 − 0.15 cos ( 4 π x ) + θ x − 1.2 cos ( π x ) ( 4 θ − θ 2 ) , x ∈ [ 0 , 2 ] , θ ∈ [ 0.8 , 3.2 ] , \begin{cases}
y^{F}(x;\boldsymbol{\theta}^{p}) = 0.2\sin(2\pi x) + 0.25x(1-x) + \theta^{p}x - 1.2\cos(\pi x)(\theta^{p})^{2} + \epsilon, \\
y^{S}(x,\theta) = 0.1 - 0.15\cos(4\pi x) + \theta x - 1.2\cos(\pi x)(4\theta-\theta^{2}),
\end{cases}
\qquad x \in[0,2],\ \theta\in[0.8,3.2], { y F ( x ; θ p ) = 0.2 sin ( 2 π x ) + 0.25 x ( 1 − x ) + θ p x − 1.2 cos ( π x ) ( θ p ) 2 + ϵ , y S ( x , θ ) = 0.1 − 0.15 cos ( 4 π x ) + θ x − 1.2 cos ( π x ) ( 4 θ − θ 2 ) , x ∈ [ 0 , 2 ] , θ ∈ [ 0.8 , 3.2 ] ,
where the true value of θ p \boldsymbol{\theta}^{p} θ p is set to 2. We have
δ ( x , θ ; θ p ) = − 0.1 + 0.2 sin ( 2 π x ) + 0.15 cos ( 4 π x ) + 0.25 x ( 1 − x ) − x ( θ − θ p ) − 1.2 cos ( π x ) ( θ − θ p ) 2 \delta(x,\theta;\boldsymbol{\theta}^{p}) = -0.1 + 0.2\sin(2\pi x) + 0.15\cos(4\pi x) + 0.25x(1-x) - x(\theta-\boldsymbol{\theta}^{p}) - 1.2\cos(\pi x)(\theta-\boldsymbol{\theta}^{p})^{2} δ ( x , θ ; θ p ) = − 0.1 + 0.2 sin ( 2 π x ) + 0.15 cos ( 4 π x ) + 0.25 x ( 1 − x ) − x ( θ − θ p ) − 1.2 cos ( π x ) ( θ − θ p ) 2
with intrinsic discrepancy α ( x ) = − 0.1 + 0.2 sin ( 2 π x ) + 0.15 cos ( 4 π x ) + 0.25 x ( 1 − x ) \alpha(x)=-0.1+0.2\sin(2\pi x)+0.15\cos(4\pi x)+0.25x(1-x) α ( x ) = − 0.1 + 0.2 sin ( 2 π x ) + 0.15 cos ( 4 π x ) + 0.25 x ( 1 − x ) , discrepancy coefficient function β ( x ) = − x \beta(x)=-x β ( x ) = − x , and ω ( x , θ ) = − 1.2 cos ( π x ) \omega(x,\theta)=-1.2\cos(\pi x) ω ( x , θ ) = − 1.2 cos ( π x ) .
Let x i = 2 ( i − 1 ) / ( n − 1 ) x_i=2(i-1)/(n-1) x i = 2 ( i − 1 ) / ( n − 1 ) , i = 1 , … , n i=1,\ldots,n i = 1 , … , n , θ j = 0.8 + 2.4 ( j − 1 ) / ( m − 1 ) \theta_j=0.8+2.4(j-1)/(m-1) θ j = 0.8 + 2.4 ( j − 1 ) / ( m − 1 ) , j = 1 , … , m j=1,\ldots,m j = 1 , … , m , to construct the difference matrix design { ( x i , θ j , δ i j ) } i = 1 , … , n , j = 1 , … , m \{(x_i,\theta_j,\delta_{ij})\}_{i=1,\ldots,n,\,j=1,\ldots,m} {( x i , θ j , δ ij ) } i = 1 , … , n , j = 1 , … , m introduced in Subsection 3.2. We fix n = m = 31 n=m=31 n = m = 31 . The observation noises are generated independently from N ( 0 , 0.01 ) \mathcal{N}(0,0.01) N ( 0 , 0.01 ) , and the nugget terms are generated independently from N ( 0 , 10 − 8 ) \mathcal{N}(0,10^{-8}) N ( 0 , 1 0 − 8 ) . The prior of θ p \theta^p θ p is set to U ( 0.8 , 3.2 ) \mathcal{U}(0.8,3.2) U ( 0.8 , 3.2 ) , while other settings are the same as those in Subsection 4.1. Posterior samples of θ p \theta^p θ p are obtained using Algorithm 1.
We first vary the constant c c c in the full-domain constraint ∫ 0 2 α ( x ) d x = c \int_0^2\alpha(x)\,dx=c ∫ 0 2 α ( x ) d x = c . It is easy to compute that the oracle constraint is ∫ 0 2 α ( x ) d x = − 11 / 30 \int_0^2\alpha(x)\,dx=-11/30 ∫ 0 2 α ( x ) d x = − 11/30 . We also consider the subdomain constraint ∫ 0 τ α ( x ) d x = 0 \int_0^\tau\alpha(x)\,dx=0 ∫ 0 τ α ( x ) d x = 0 , τ ∈ ( 0 , 2 ] \tau\in(0,2] τ ∈ ( 0 , 2 ] . Figure 3 shows the estimates of θ p \theta^p θ p in DD and BMDD with varying c c c or τ \tau τ over 50 replications. It can be seen that DD is sensitive to the choice of the integral constraint. Its estimate changes substantially as c c c or τ \tau τ varies. In contrast, BMDD remains close to the true value θ p = 2 \theta^p=2 θ p = 2 , which indicates that the residual process in BMDD makes the estimation of θ p \theta^p θ p less sensitive to misspecification of the integral constraint.
Figure 3. Sensitivity of DD and BMDD to the integral constraint. Left: estimates of θ p \theta^p θ p under ∫ 0 2 α ( x ) d x = c \int_0^2\alpha(x)\,dx=c ∫ 0 2 α ( x ) d x = c with c ∈ [ − 1 , 1 ] c\in[-1,1] c ∈ [ − 1 , 1 ] . Right: estimates of θ p \theta^p θ p under ∫ 0 τ α ( x ) d x = 0 \int_0^\tau\alpha(x)\,dx=0 ∫ 0 τ α ( x ) d x = 0 with τ ∈ ( 0 , 2.0 ] \tau\in(0,2.0] τ ∈ ( 0 , 2.0 ] .
We also report repeated simulation results under three representative constraints: ∫ 0 2 α ( x ) d x = 0 \int_0^2\alpha(x)\,dx=0 ∫ 0 2 α ( x ) d x = 0 , ∫ 0 1 α ( x ) d x = 0 \int_0^1\alpha(x)\,dx=0 ∫ 0 1 α ( x ) d x = 0 , ∫ 0 2 α ( x ) d x = − 11 / 30 \int_0^2\alpha(x)\,dx=-11/30 ∫ 0 2 α ( x ) d x = − 11/30 . For each constraint, the simulation is repeated 50 times. Table 4 shows the MSE of θ p \theta^p θ p and the standard deviation of squared errors. We can see that BMDD achieves small MSEs under all three constraints and remains more accurate than DD even under the oracle constraint, indicating that BMDD is less sensitive to the choice of the integral constraint.
Table 4. Sensitivity analysis under different integral constraints
Next, an example with a two-dimensional input and a two-dimensional calibration parameter is used to assess the sensitivity to the partitioning scheme of the constraint regions in multidimensional settings. The physical system and the computer model are given by
{ y F ( x ; θ p ) = θ 1 p x 1 + θ 2 p x 2 + 0.15 sin ( 4 π x 1 ) sin ( 2 π x 2 ) + ϵ , y S ( x , θ ) = θ 1 x 1 + θ 2 x 2 + k ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) , x ∈ [ 0 , 1 ] 2 , θ ∈ [ 0.5 , 1.5 ] 2 . \begin{cases}
y^{F}(x;\theta^{p})=\theta^{p}_{1}x_{1}+\theta^{p}_{2}x_{2}+0.15\sin(4\pi x_{1})\sin(2\pi x_{2})+\epsilon,\\
y^{S}(x,\theta)=\theta_{1}x_{1}+\theta_{2}x_{2}+k(x)\left\{(\theta_{1}-1)^{2}+(\theta_{2}-1)^{2}\right\}a(\theta),
\end{cases}
\qquad x\in[0,1]^{2},\ \theta\in[0.5,1.5]^{2}. { y F ( x ; θ p ) = θ 1 p x 1 + θ 2 p x 2 + 0.15 sin ( 4 π x 1 ) sin ( 2 π x 2 ) + ϵ , y S ( x , θ ) = θ 1 x 1 + θ 2 x 2 + k ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) , x ∈ [ 0 , 1 ] 2 , θ ∈ [ 0.5 , 1.5 ] 2 .
where the true value of θ p \theta^{p} θ p is set to ( 1 , 1 ) T (1,1)^{\mathrm{T}} ( 1 , 1 ) T , and k ( x ) = 0.35 sin ( 4 π x 1 ) sin ( 2 π x 2 ) + 0.2 sin ( 2 π x 1 ) sin ( 4 π x 2 ) k(x)=0.35\sin(4\pi x_{1})\sin(2\pi x_{2})+0.2\sin(2\pi x_{1})\sin(4\pi x_{2}) k ( x ) = 0.35 sin ( 4 π x 1 ) sin ( 2 π x 2 ) + 0.2 sin ( 2 π x 1 ) sin ( 4 π x 2 ) , a ( θ ) = 0.4 + 0.2 θ 1 + 0.15 θ 2 + 0.1 θ 1 θ 2 a(\theta)=0.4+0.2\theta_{1}+0.15\theta_{2}+0.1\theta_{1}\theta_{2} a ( θ ) = 0.4 + 0.2 θ 1 + 0.15 θ 2 + 0.1 θ 1 θ 2 . We have
δ ( x , θ ; θ p ) = 0.15 sin ( 4 π x 1 ) sin ( 2 π x 2 ) − x 1 ( θ 1 − θ 1 p ) − x 2 ( θ 2 − θ 2 p ) − k ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) . \delta(x,\theta;\theta^{p})=0.15\sin(4\pi x_{1})\sin(2\pi x_{2})-x_{1}(\theta_{1}-\theta^{p}_{1})-x_{2}(\theta_{2}-\theta^{p}_{2})-k(x)\left\{(\theta_{1}-1)^{2}+(\theta_{2}-1)^{2}\right\}a(\theta). δ ( x , θ ; θ p ) = 0.15 sin ( 4 π x 1 ) sin ( 2 π x 2 ) − x 1 ( θ 1 − θ 1 p ) − x 2 ( θ 2 − θ 2 p ) − k ( x ) { ( θ 1 − 1 ) 2 + ( θ 2 − 1 ) 2 } a ( θ ) .
Let x 1 , k = x 2 , k = k − 1 6 x_{1,k}=x_{2,k}=\frac{k-1}{6} x 1 , k = x 2 , k = 6 k − 1 , k = 1 , … , 7 k=1,\ldots,7 k = 1 , … , 7 , and θ 1 , ℓ = θ 2 , ℓ = 0.5 + ℓ − 1 6 \theta_{1,\ell}=\theta_{2,\ell}=0.5+\frac{\ell-1}{6} θ 1 , ℓ = θ 2 , ℓ = 0.5 + 6 ℓ − 1 , ℓ = 1 , … , 7 \ell=1,\ldots,7 ℓ = 1 , … , 7 , to construct the difference matrix design { ( x i , θ j , δ i j ) } i = 1 , … , n ; j = 1 , … , m \{(x_i,\theta_j,\delta_{ij})\}_{i=1,\ldots,n;\ j=1,\ldots,m} {( x i , θ j , δ ij ) } i = 1 , … , n ; j = 1 , … , m introduced in Subsection 3.2. We fix n = m = 49 n=m=49 n = m = 49 . The observation noises are generated independently from N ( 0 , 0.01 ) \mathcal{N}(0,0.01) N ( 0 , 0.01 ) , and the nugget terms are generated independently from N ( 0 , 10 − 8 ) \mathcal{N}(0,10^{-8}) N ( 0 , 1 0 − 8 ) . The prior of θ p \theta^{p} θ p is set to U ( [ 0.5 , 1.5 ] 2 ) \mathcal{U}([0.5,1.5]^{2}) U ([ 0.5 , 1.5 ] 2 ) . The remaining prior and MCMC settings are the same as those in Subsection 4.3. Posterior samples of θ p \theta^{p} θ p are obtained using Algorithm 1.
Since the calibration parameter is two-dimensional, two subregions Ω 1 , Ω 2 ⊂ Ω \Omega_{1},\Omega_{2}\subset\Omega Ω 1 , Ω 2 ⊂ Ω are required in the integral constraint on α ( x ) \alpha(x) α ( x ) . In a multidimensional input space Ω \Omega Ω , these subregions may be constructed by splitting Ω \Omega Ω along different input dimensions. We therefore compare two natural partitioning schemes. The first one divides Ω = [ 0 , 1 ] 2 \Omega=[0,1]^{2} Ω = [ 0 , 1 ] 2 according to x 1 x_{1} x 1 : Ω 1 = [ 0 , 0.5 ] × [ 0 , 1 ] \Omega_{1}=[0,0.5]\times[0,1] Ω 1 = [ 0 , 0.5 ] × [ 0 , 1 ] , Ω 2 = [ 0.5 , 1 ] × [ 0 , 1 ] \Omega_{2}=[0.5,1]\times[0,1] Ω 2 = [ 0.5 , 1 ] × [ 0 , 1 ] . The second one divides Ω \Omega Ω according to x 2 x_{2} x 2 : Ω 1 = [ 0 , 1 ] × [ 0 , 0.5 ] \Omega_{1}=[0,1]\times[0,0.5] Ω 1 = [ 0 , 1 ] × [ 0 , 0.5 ] , Ω 2 = [ 0 , 1 ] × [ 0.5 , 1 ] \Omega_{2}=[0,1]\times[0.5,1] Ω 2 = [ 0 , 1 ] × [ 0.5 , 1 ] . For both partitioning schemes, we impose ∫ Ω 1 α ( x ) d x = 0 \int_{\Omega_{1}}\alpha(x)\,dx=0 ∫ Ω 1 α ( x ) d x = 0 , ∫ Ω 2 α ( x ) d x = 0 \int_{\Omega_{2}}\alpha(x)\,dx=0 ∫ Ω 2 α ( x ) d x = 0 . The simulation is repeated 50 times. For each replication, we compute the joint squared error. Table 5 reports the MSE and the standard deviation of the squared errors. The results show that DD has relatively large estimation errors under both partitioning schemes. In contrast, BMDD achieves much smaller MSEs for both partitioning schemes. Moreover, the BMDD results are very similar under the two partitions, suggesting that BMDD is not sensitive to whether the constraint regions are divided along x 1 x_{1} x 1 or x 2 x_{2} x 2 .
Table 5. Sensitivity analysis under different partitions of the constraint regions
Application to Thermal Stability Analysis of EUVL
Background Introduction
Extreme ultraviolet lithography (EUVL) is the state-of-the-art technology for advanced semiconductor manufacturing. We consider a real data example arising from a study of the thermal stability of multilayer mirrors for EUVL. Multilayer mirrors are core components of extreme ultraviolet optical systems. Their thermal stability and resistance to damage directly affect reflectivity, service life, and operational reliability.
The physical system considered here consists of fabricated Mo/BN/Si/BN multilayer samples that produce a reflectance peak near 13.5 nm under given annealing temperature and time conditions, where 13.5 nm is the standard operating wavelength of EUVL. The physical system involves two physically meaningful parameters: θ 1 \theta_1 θ 1 , the effective diffusion-blocking strength of the BN barrier layer, and θ 2 \theta_2 θ 2 , the thermal diffusion sensitivity coefficient. Since both are critical to structural evolution and reflectance retention at elevated temperatures but are difficult to measure directly, we treat them as unknown calibration parameters and denote their true value by θ p = ( θ 1 p , θ 2 p ) T \boldsymbol{\theta}^{p} = (\theta_1^{p}, \theta_2^{p})^{\mathsf{T}} θ p = ( θ 1 p , θ 2 p ) T .
Let the controllable input of the physical system be ( T , t ) T ∈ Ω (T,t)^{\mathsf{T}} \in\Omega ( T , t ) T ∈ Ω , where T T T denotes annealing temperature and t t t denotes annealing time, with input space Ω = [ 250 , 500 ] × [ 0.5 , 3.0 ] \Omega= [250, 500] \times[0.5, 3.0] Ω = [ 250 , 500 ] × [ 0.5 , 3.0 ] . A total of n = 100 n = 100 n = 100 observations are collected from the physical system over this input region. The original data used in this study were provided by a Chinese lithography company. Due to confidentiality requirements, the raw data have been appropriately modified and processed for publication. We present the overall pattern of variation in the physical response in the descriptive analysis.
Figure 4 illustrates the relative variation of the physical system response across the design space. Reflectance generally decreases as the annealing temperature T T T increases, and also shows some decline as the annealing time t t t rises. In summary, higher temperatures and longer durations correspond to lower responses, while the low-temperature region displays relatively higher responses.
Figure 4. Relative variation of the physical system response over the design space.
We introduce an idealized computer model for thermal stability based on interlayer diffusion and thermal degradation mechanisms. The model is defined as
y S ( ( T , t ) , θ ) = 0.68 exp [ − 0.28 t exp { T − 350 120 − θ 1 − θ 2 T − 350 150 } ] . y^{S}((T,t),\boldsymbol{\theta}) = 0.68\exp\left[-0.28\sqrt{t}\exp\left\{\frac{T-350}{120}-\theta_{1}-\theta_{2}\frac{T-350}{150}\right\}\right]. y S (( T , t ) , θ ) = 0.68 exp [ − 0.28 t exp { 120 T − 350 − θ 1 − θ 2 150 T − 350 } ] .
where θ = ( θ 1 , θ 2 ) T ∈ [ 0.4 , 1.2 ] × [ 0.3 , 0.9 ] \boldsymbol{\theta}=(\theta_{1},\theta_{2})^{\mathsf{T}}\in[0.4,1.2]\times[0.3,0.9] θ = ( θ 1 , θ 2 ) T ∈ [ 0.4 , 1.2 ] × [ 0.3 , 0.9 ] . This model is an idealized mechanistic representation. It captures the main trend of diffusion-driven thermal degradation but omits factors such as shifts in the onset temperature, local roughness growth, uneven film deposition, and abrupt structural changes due to stress relief. Thus, model discrepancy with the physical system is inevitable.
We combine physical observations with simulation outputs to infer the calibration parameter θ \boldsymbol{\theta} θ , and compare the predictive performance of the Bayesian calibration methods KOH, orthogonal Gaussian process (OGP) [17 ] , Bayesian projected calibration (BPC) [27 ] , BDD, and BMDD.
Calibration Parameter Identification
We examine how effectively each method identifies θ p \boldsymbol{\theta}^{p} θ p in this subsection. Since θ p \boldsymbol{\theta}^{p} θ p is not directly observable in this example, the estimation error cannot be evaluated explicitly. We therefore assess the identification performance of different models mainly through the shape of their posterior sampling distributions. Let x i = ( T i , t i ) T \boldsymbol{x}_{i}=(T_{i},t_{i})^{\mathsf{T}} x i = ( T i , t i ) T , i = 1 , … , n i=1,\ldots,n i = 1 , … , n , denote the input points obtained from the observed EUVL data. Let θ 1 , j 1 = 0.4 + 0.8 ( j 1 − 1 ) / 4 \theta_{1,j_{1}}=0.4+0.8(j_{1}-1)/4 θ 1 , j 1 = 0.4 + 0.8 ( j 1 − 1 ) /4 , j 1 = 1 , … , 5 j_{1}=1,\ldots,5 j 1 = 1 , … , 5 , and θ 2 , j 2 = 0.3 + 0.6 ( j 2 − 1 ) / 4 \theta_{2,j_2}=0.3+0.6(j_2-1)/4 θ 2 , j 2 = 0.3 + 0.6 ( j 2 − 1 ) /4 , j 2 = 1 , … , 5 j_2=1,\ldots,5 j 2 = 1 , … , 5 . Based on these design points, we construct the difference matrix design { ( x i , θ j , δ i j ) } i , j \{(x_i,\theta_j,\delta_{ij})\}_{i,j} {( x i , θ j , δ ij ) } i , j introduced in Subsection 3.2. The prior of θ p \boldsymbol{\theta}^{p} θ p is uniform on [ 0.4 , 1.2 ] × [ 0.3 , 0.9 ] [0.4,1.2]\times[0.3,0.9] [ 0.4 , 1.2 ] × [ 0.3 , 0.9 ] , while other settings are the same as those in Subsection 4.1. Without any prior information, we apply the default constraints ∫ Ω 1 α ( x ) d x = ∫ Ω 2 α ( x ) d x = 0 \int_{\Omega_1}\alpha(x)\mathrm{d}x=\int_{\Omega_2}\alpha(x)\mathrm{d}x=0 ∫ Ω 1 α ( x ) d x = ∫ Ω 2 α ( x ) d x = 0 , where the two subregions are taken as Ω 1 = [ 250 , 375 ] × [ 0.5 , 3.0 ] \Omega_1=[250,375]\times[0.5,3.0] Ω 1 = [ 250 , 375 ] × [ 0.5 , 3.0 ] and Ω 2 = ( 375 , 400 ] × [ 0.5 , 3.0 ] \Omega_2=(375,400]\times[0.5,3.0] Ω 2 = ( 375 , 400 ] × [ 0.5 , 3.0 ] . For each method, the posterior inference is based on 1000 retained MCMC samples after burn-in. Figure 5 shows the posterior density estimates of these methods for θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 .
Figure 5. Comparison of posterior densities for the calibration parameters.
As illustrated in Figure 5 , KOH yields very flat posterior distributions for both calibration parameters, indicating weak identifiability. BDD exhibits unstable posterior behavior, with irregular and less reliable posterior shapes, suggesting that the discrepancy decomposition in DD without the additional residual component may not adequately capture the complex model bias. In comparison, OGP, BPC, and BMDD all produce relatively stable and concentrated posterior distributions for θ 1 \theta_1 θ 1 and θ 2 \theta_2 θ 2 . However, since θ p \boldsymbol{\theta}^{p} θ p is not directly observable, posterior concentration alone cannot establish that the estimated parameters correspond to the true physical values. Extrapolative predictive performance can instead provide indirect evidence regarding whether the calibrated parameters retain transferable mechanistic information.
Extrapolative Prediction Performance
In thermal damage studies of extreme ultraviolet multilayers, the high-temperature annealing regime is particularly important because it involves stronger interlayer diffusion and more complex structural degradation. However, such experiments are costly and may damage samples, making systematic observations difficult. We therefore examine whether low- and medium-temperature data can reliably predict high-temperature responses, thereby assessing both predictive performance and practical applicability.
To compare calibration methods, we adopt a temperature-block prediction design: samples with T ≤ 400 T \le400 T ≤ 400 form the training set, and samples with T > 400 T > 400 T > 400 the test set. We fit the KOH, OGP, BPC, BDD, and BMDD models using the training set, then predict physical responses in the high-temperature test region. We compare these methods using the following three criteria.
Let the test-set size be n t e n_{\mathrm{te}} n te , let y i F y_i^F y i F denote the observed field response at the i i i th test point, and let y ^ i = E ( y i F ∣ D t r ) \hat{y}_i = E(y_i^F \mid D_{\mathrm{tr}}) y ^ i = E ( y i F ∣ D tr ) be the posterior predictive mean, where D t r D_{\mathrm{tr}} D tr denotes the training data. Let [ L i , U i ] [L_i,U_i] [ L i , U i ] be the corresponding 90% posterior predictive interval. First, the root mean squared error (RMSE) is defined by
R M S E = { 1 n t e ∑ i = 1 n t e ( y ^ i − y i F ) 2 } 1 / 2 , \mathrm{RMSE} = \left\{ \frac{1}{n_{\mathrm{te}}} \sum_{i=1}^{n_{\mathrm{te}}} (\hat{y}_i-y_i^F)^2 \right\}^{1/2}, RMSE = { n te 1 i = 1 ∑ n te ( y ^ i − y i F ) 2 } 1/2 ,
which measures the overall deviation between the predictive mean and the observed field response. Second, the mean absolute error (MAE) is defined by
M A E = 1 n t e ∑ i = 1 n t e ∣ y ^ i − y i F ∣ , \mathrm{MAE} = \frac{1}{n_{\mathrm{te}}} \sum_{i=1}^{n_{\mathrm{te}}} \lvert\hat{y}_i-y_i^F \rvert, MAE = n te 1 i = 1 ∑ n te ∣ y ^ i − y i F ∣ ,
which measures the average absolute magnitude of the prediction error and is less sensitive to outliers. Smaller values of RMSE and MAE indicate more accurate point prediction. To further assess predictive uncertainty, we consider the coverage of the 90% predictive interval,
C o v e r a g e 90 = 1 n t e ∑ i = 1 n t e I ( y i F ∈ [ L i , U i ] ) , \mathrm{Coverage}_{90} = \frac{1}{n_{\mathrm{te}}} \sum_{i=1}^{n_{\mathrm{te}}} I(y_i^F \in[L_i,U_i]), Coverage 90 = n te 1 i = 1 ∑ n te I ( y i F ∈ [ L i , U i ]) ,
where I ( ⋅ ) I(\cdot) I ( ⋅ ) is the indicator function, taking the value 1 when y i F ∈ [ L i , U i ] y_i^F \in[L_i,U_i] y i F ∈ [ L i , U i ] and 0 otherwise. The predictive results of the calibration methods under the high-temperature block-validation setting are summarized in Table 6 .
Table 6. Comparison of predictive performance under the high-temperature block-validation setting
Table 6 shows that BMDD performs best overall under the high-temperature block-validation setting. It achieves the smallest RMSE and MAE among all compared methods, indicating the highest point-prediction accuracy, and it also attains full coverage. BDD also achieves full coverage, but its RMSE and MAE are clearly larger than those of BMDD. KOH and OGP follow the general predictive trend, but their point-prediction errors are higher, and OGP has relatively low coverage. BPC performs worst in this setting, with the largest RMSE and MAE and zero coverage, possibly because it is formulated under the L 2 L_2 L 2 calibration framework and thus may lead to substantial bias in identifying the physically meaningful calibration parameter.
To further clarify the predictive performance, Figure 6 plots the observed physical responses against the posterior predictive means, with the dashed line representing the ideal 45 ∘ 45^\circ 4 5 ∘ reference line. It can be seen that BMDD predictions are closest to the 45 ∘ 45^\circ 4 5 ∘ reference line overall, indicating the best agreement with the observed high-temperature responses. BDD, KOH, and OGP generally follow the increasing trend, but their predictions show larger deviations from the reference line than BMDD. BPC predictions are systematically far from the 45 ∘ 45^\circ 4 5 ∘ line, which is consistent with its large prediction errors and zero coverage in Table 6 . These results show that the concentrated posterior distribution of BPC and OGP does not lead to accurate prediction in this extrapolative high-temperature region, whereas BMDD gives more reliable predictive performance.
Figure 6. Comparison between observed physical responses and posterior predictive means under the high-temperature block-validation setting.
Discussion
This paper proposes a BMDD model for the calibration of imperfect computer experiments. By introducing a residual process into the discrepancy decomposition framework, the model captures higher-order discrepancy components that cannot be represented by the original first-order decomposition. BMDD therefore retains the structural interpretability and parameter identifiability of DD while providing greater flexibility. Within a Bayesian framework, the calibration parameter, discrepancy components, and variance parameters are jointly inferred via a Metropolis-within-Gibbs algorithm, yielding reliable posterior uncertainty quantification and physical-system prediction.
More importantly, this enhanced structural flexibility plays a pivotal role in real-world applications. By recovering a more physically meaningful calibration parameter, our model captures the true physical system more faithfully. Within the training region, a flexible discrepancy can artificially compensate for an inaccurate calibration parameter. Outside that region, however, the discrepancy is no longer directly informed by observations, making the recovery of the physically meaningful parameter absolutely critical. Consequently, our approach yields accurate predictions not only in-sample but also in the extrapolation region, thereby bridging a critical gap left by current calibration methods, which typically struggle with reliable extrapolation.
This advantage is strongly supported by both our simulation studies and a real-world industrial application. While the simulation studies confirm that BMDD accurately recovers physical parameters under complex nonlinear discrepancies, the practical value of this recovery is most evident in the thermal stability analysis of EUVL multilayer mirrors. By utilizing low- and medium-temperature data, BMDD successfully and accurately predicts the physical responses in the high-temperature extrapolation region—an area where experimental data is prohibitively expensive and samples are easily damaged. The high-temperature block-validation results provide compelling empirical evidence that accurate parameter recovery, rather than merely fitting the data, is the key to reliable out-of-domain prediction.
Several directions remain for future research. First, BMDD could be extended to functional calibration parameters, allowing θ p \theta^{p} θ p to vary with the controllable input x x x and thereby describing operating-condition-dependent calibration behavior [3 , 5 ] . Second, the current formulation assumes quantitative inputs and could be generalized to discrete or mixed input spaces [13 ] . Third, extensions to multivariate, functional, and spatiotemporal responses would broaden the applicability of BMDD to more complex physical systems [20 ] . Fourth, the large-sample properties of the Bayesian procedure, including posterior concentration, the asymptotic distribution of the calibration parameter, and the efficiency of the resulting estimator, warrant further theoretical study. Finally, more efficient posterior-sampling methods are needed for high-dimensional inputs, large physical datasets, or computationally intensive discrepancy structures. These developments would improve both the theoretical foundation and the practical scalability of
BMDD.
Proofs
This supplementary document provides the proof of Theorem 1 and derivations of equations (15)–(23) in Subsection 3.3 of the main paper.
Proof of Theorem 1. Suppose that there exist two representations in BMDD, namely
( θ 1 p , α 1 ( x ) , β 1 ( x ) , r 1 ( x , θ ; θ 1 p ) ) and ( θ 2 p , α 2 ( x ) , β 2 ( x ) , r 2 ( x , θ ; θ 2 p ) ) , (\theta_1^{p}, \alpha_1(x), \beta_1(x), r_1(x,\theta;\theta_1^{p})) \quad\text{and} \quad(\theta_2^{p}, \alpha_2(x), \beta_2(x), r_2(x,\theta;\theta_2^{p})), ( θ 1 p , α 1 ( x ) , β 1 ( x ) , r 1 ( x , θ ; θ 1 p )) and ( θ 2 p , α 2 ( x ) , β 2 ( x ) , r 2 ( x , θ ; θ 2 p )) ,
where both representations satisfy Assumptions 1–3. Assume that these two representations lead to the same model discrepancy. That is, for any ( x , θ ) ∈ Ω × Θ (x,\theta) \in\Omega\times\Theta ( x , θ ) ∈ Ω × Θ ,
α 1 ( x ) + β 1 ( x ) T ( θ − θ 1 p ) + r 1 ( x , θ ; θ 1 p ) = α 2 ( x ) + β 2 ( x ) T ( θ − θ 2 p ) + r 2 ( x , θ ; θ 2 p ) . (25) \alpha_1(x) + \beta_1(x)^{\mathsf{T}}(\theta-\theta_1^{p}) + r_1(x,\theta;\theta_1^{p}) = \alpha_2(x) + \beta_2(x)^{\mathsf{T}}(\theta-\theta_2^{p}) + r_2(x,\theta;\theta_2^{p}). \tag*{(25)} α 1 ( x ) + β 1 ( x ) T ( θ − θ 1 p ) + r 1 ( x , θ ; θ 1 p ) = α 2 ( x ) + β 2 ( x ) T ( θ − θ 2 p ) + r 2 ( x , θ ; θ 2 p ) . (25)
We prove that θ 1 p = θ 2 p \theta_1^{p} = \theta_2^{p} θ 1 p = θ 2 p .
Taking θ = θ 1 p \theta= \theta_1^{p} θ = θ 1 p in (A-1), we obtain
α 1 ( x ) + β 1 ( x ) T ( θ 1 p − θ 1 p ) + r 1 ( x , θ 1 p ; θ 1 p ) = α 2 ( x ) + β 2 ( x ) T ( θ 1 p − θ 2 p ) + r 2 ( x , θ 1 p ; θ 2 p ) . \alpha_1(x) + \beta_1(x)^{\mathsf{T}}(\theta_1^{p}-\theta_1^{p}) + r_1(x,\theta_1^{p};\theta_1^{p}) = \alpha_2(x) + \beta_2(x)^{\mathsf{T}}(\theta_1^{p}-\theta_2^{p}) + r_2(x,\theta_1^{p};\theta_2^{p}). α 1 ( x ) + β 1 ( x ) T ( θ 1 p − θ 1 p ) + r 1 ( x , θ 1 p ; θ 1 p ) = α 2 ( x ) + β 2 ( x ) T ( θ 1 p − θ 2 p ) + r 2 ( x , θ 1 p ; θ 2 p ) .
Since β 1 ( x ) T ( θ 1 p − θ 1 p ) = 0 \beta_1(x)^{\mathsf{T}}(\theta_1^{p}-\theta_1^{p}) = 0 β 1 ( x ) T ( θ 1 p − θ 1 p ) = 0 and, by Assumption 2, r 1 ( x , θ 1 p ; θ 1 p ) = 0 r_1(x,\theta_1^{p};\theta_1^{p}) = 0 r 1 ( x , θ 1 p ; θ 1 p ) = 0 , the above equation reduces to
α 1 ( x ) = α 2 ( x ) + β 2 ( x ) T ( θ 1 p − θ 2 p ) + r 2 ( x , θ 1 p ; θ 2 p ) . (26) \alpha_1(x) = \alpha_2(x) + \beta_2(x)^{\mathsf{T}}(\theta_1^{p}-\theta_2^{p}) + r_2(x,\theta_1^{p};\theta_2^{p}). \tag*{(26)} α 1 ( x ) = α 2 ( x ) + β 2 ( x ) T ( θ 1 p − θ 2 p ) + r 2 ( x , θ 1 p ; θ 2 p ) . (26)
For each t = 1 , … , q t = 1,\ldots,q t = 1 , … , q , integrating both sides of (A-2) over Ω t \Omega_t Ω t gives
∫ Ω t α 1 ( x ) d x = ∫ Ω t α 2 ( x ) d x + ∫ Ω t β 2 ( x ) T ( θ 1 p − θ 2 p ) d x + ∫ Ω t r 2 ( x , θ 1 p ; θ 2 p ) d x . (27) \int_{\Omega_t} \alpha_1(x)\,dx = \int_{\Omega_t} \alpha_2(x)\,dx + \int_{\Omega_t} \beta_2(x)^{\mathsf{T}}(\theta_1^{p}-\theta_2^{p})\,dx + \int_{\Omega_t} r_2(x,\theta_1^{p};\theta_2^{p})\,dx. \tag*{(27)} ∫ Ω t α 1 ( x ) d x = ∫ Ω t α 2 ( x ) d x + ∫ Ω t β 2 ( x ) T ( θ 1 p − θ 2 p ) d x + ∫ Ω t r 2 ( x , θ 1 p ; θ 2 p ) d x . (27)
By Assumption 1, we have ∫ Ω t α 1 ( x ) d x = ∫ Ω t α 2 ( x ) d x = c t \int_{\Omega_t} \alpha_1(x)\,dx = \int_{\Omega_t} \alpha_2(x)\,dx = c_t ∫ Ω t α 1 ( x ) d x = ∫ Ω t α 2 ( x ) d x = c t for t = 1 , … , q t = 1,\ldots,q t = 1 , … , q . Moreover, by Assumption 3,
∫ Ω t r 2 ( x , θ 1 p ; θ 2 p ) d x = 0 , t = 1 , … , q . \int_{\Omega_t} r_2(x,\theta_1^{p};\theta_2^{p})\,dx = 0,\qquad t = 1,\ldots,q. ∫ Ω t r 2 ( x , θ 1 p ; θ 2 p ) d x = 0 , t = 1 , … , q .
Substituting these results into (A-3), we have
∫ Ω t β 2 ( x ) T ( θ 1 p − θ 2 p ) d x = 0 , t = 1 , … , q . (28) \int_{\Omega_t} \beta_2(x)^{\mathsf{T}}(\theta_1^{p}-\theta_2^{p})\,dx = 0,\qquad t = 1,\ldots,q. \tag*{(28)} ∫ Ω t β 2 ( x ) T ( θ 1 p − θ 2 p ) d x = 0 , t = 1 , … , q . (28)
Since θ 1 p − θ 2 p \theta_1^p-\theta_2^p θ 1 p − θ 2 p does not depend on x x x , equation (A-4) can be written as
M 2 ( θ 1 p − θ 2 p ) = 0 , (29) \mathbf{M}_2(\theta_1^p-\theta_2^p)=0, \tag*{(29)} M 2 ( θ 1 p − θ 2 p ) = 0 , (29)
where M 2 = ( ∫ Ω t β 2 , ℓ ( x ) d x ) t , ℓ = 1 , … , q \mathbf{M}_2=\left(\int_{\Omega_t}\beta_{2,\ell}(x)\,dx\right)_{t,\ell=1,\ldots,q} M 2 = ( ∫ Ω t β 2 , ℓ ( x ) d x ) t , ℓ = 1 , … , q . By Assumption 1, the DD full-rank condition (4) holds. Therefore, M 2 \mathbf{M}_2 M 2 is nonsingular. It follows from (A-5) that θ 1 p − θ 2 p = 0 \theta_1^p-\theta_2^p=0 θ 1 p − θ 2 p = 0 . Thus, θ 1 p = θ 2 p \theta_1^p=\theta_2^p θ 1 p = θ 2 p . Therefore, the calibration parameter θ p \theta^p θ p in BMDD is identifiable.
It remains to show that the discrepancy components are also uniquely determined. Since we have proved that θ 1 p = θ 2 p \theta_1^p=\theta_2^p θ 1 p = θ 2 p , denote the common value by θ p \theta^p θ p . Taking θ = θ p \theta=\theta^p θ = θ p in (A-1), and using Assumption 2, we obtain
α 1 ( x ) = α 2 ( x ) . \alpha_1(x)=\alpha_2(x). α 1 ( x ) = α 2 ( x ) .
Thus, the intrinsic discrepancy α ( x ) \alpha(x) α ( x ) is uniquely determined.
Next, differentiating both sides of (A-1) with respect to θ \boldsymbol{\theta} θ and evaluating at θ = θ p \boldsymbol{\theta}=\theta^p θ = θ p , we have
β 1 ( x ) + ∇ θ r 1 ( x , θ ; θ p ) ∣ θ = θ p = β 2 ( x ) + ∇ θ r 2 ( x , θ ; θ p ) ∣ θ = θ p . \beta_1(x)+\nabla_{\theta}r_1(x,\theta;\theta^p)\big|_{\theta=\theta^p}
=\beta_2(x)+\nabla_{\theta}r_2(x,\theta;\theta^p)\big|_{\theta=\theta^p}. β 1 ( x ) + ∇ θ r 1 ( x , θ ; θ p ) θ = θ p = β 2 ( x ) + ∇ θ r 2 ( x , θ ; θ p ) θ = θ p .
By Assumption 2, the two gradient terms are both equal to 0 0 0 . Hence
β 1 ( x ) = β 2 ( x ) . \beta_1(x)=\beta_2(x). β 1 ( x ) = β 2 ( x ) .
Therefore, the first-order discrepancy coefficient function β ( x ) \beta(x) β ( x ) is also uniquely determined.
Finally, substituting θ 1 p = θ 2 p \theta_1^p=\theta_2^p θ 1 p = θ 2 p , α 1 ( x ) = α 2 ( x ) \alpha_1(x)=\alpha_2(x) α 1 ( x ) = α 2 ( x ) , and β 1 ( x ) = β 2 ( x ) \beta_1(x)=\beta_2(x) β 1 ( x ) = β 2 ( x ) back into (A-1), we obtain
r 1 ( x , θ ; θ p ) = r 2 ( x , θ ; θ p ) . r_1(x,\theta;\theta^p)=r_2(x,\theta;\theta^p). r 1 ( x , θ ; θ p ) = r 2 ( x , θ ; θ p ) .
Thus, the residual discrepancy term r ( x , θ ; θ p ) r(x,\theta;\theta^p) r ( x , θ ; θ p ) is uniquely determined. Consequently, BMDD is identifiable. □
Proof of equation (15). To simplify notation, we write T = T ( θ p ) \mathbf{T}=\mathbf{T}(\theta^p) T = T ( θ p ) and G = G ( θ p ) \mathbf{G}=\mathbf{G}(\theta^p) G = G ( θ p ) . The likelihood is
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ ( σ ξ 2 ) − n m / 2 exp { − 1 2 σ ξ 2 ∥ Δ − α 1 m T − B β T T − W G − ϵ 1 m T ∥ Γ F 2 } . (30) p(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\theta^p,\boldsymbol{\epsilon},\sigma_{\xi}^{2})
\propto(\sigma_{\xi}^{2})^{-nm/2}
\exp\left\{-\frac{1}{2\sigma_{\xi}^{2}}
\left\lVert\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_m^{\mathsf T}
-\mathbf{B}_{\beta}\mathbf{T}^{\mathsf T}
-\mathbf{W}\mathbf{G}
-\boldsymbol{\epsilon}\mathbf{1}_m^{\mathsf T}\right\rVert_{\Gamma_F}^{2}\right\}. \tag*{(30)} p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ ( σ ξ 2 ) − nm /2 exp { − 2 σ ξ 2 1 Δ − α 1 m T − B β T T − WG − ϵ 1 m T Γ F 2 } . (30)
By Bayes’ theorem,
p ( α ∣ Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( α ∣ σ α 2 ) . (31) p(\boldsymbol{\alpha}\mid\boldsymbol{\Delta},\mathbf{B}_{\beta},\mathbf{W},\theta^p,\boldsymbol{\epsilon},\sigma_{\xi}^{2},\sigma_{\alpha}^{2})
\propto p(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\theta^p,\boldsymbol{\epsilon},\sigma_{\xi}^{2})p(\boldsymbol{\alpha}\mid\sigma_{\alpha}^{2}). \tag*{(31)} p ( α ∣ Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( α ∣ σ α 2 ) . (31)
Let Δ ~ α = Δ − B β T T − W G − ϵ 1 m T \widetilde{\Delta}_{\alpha} = \Delta- \mathbf{B}_{\beta}\mathbf{T}^{\mathsf{T}} - \mathbf{W}\mathbf{G} - \epsilon\mathbf{1}_{m}^{\mathsf{T}} Δ α = Δ − B β T T − WG − ϵ 1 m T , so that Δ ~ α = α 1 m T + Ξ \widetilde{\Delta}_{\alpha} = \alpha\mathbf{1}_{m}^{\mathsf{T}} + \mathbf{\Xi} Δ α = α 1 m T + Ξ . Hence, the likelihood term in (A-6) can be written as
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 1 2 σ ξ 2 ∥ Δ ~ α − α 1 m T ∥ F 2 } . p(\Delta\mid\alpha,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2}) \propto\exp\left\{-\frac{1}{2\sigma_{\xi}^{2}}\left\|\widetilde{\Delta}_{\alpha}-\alpha\mathbf{1}_{m}^{\mathsf{T}}\right\|_{F}^{2}\right\}. p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 2 σ ξ 2 1 Δ α − α 1 m T F 2 } .
Expanding the squared Frobenius norm yields ∥ Δ ~ α − α 1 m T ∥ F 2 = m α T α − 2 α T Δ ~ α 1 m + c \left\|\widetilde{\Delta}_{\alpha}-\alpha\mathbf{1}_{m}^{\mathsf{T}}\right\|_{F}^{2}=m\alpha^{\mathsf{T}}\alpha-2\alpha^{\mathsf{T}}\widetilde{\Delta}_{\alpha}\mathbf{1}_{m}+c Δ α − α 1 m T F 2 = m α T α − 2 α T Δ α 1 m + c , where c c c is a constant independent of α \alpha α . Therefore,
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 1 2 [ α T ( m σ ξ 2 I n ) α − 2 α T ( 1 σ ξ 2 Δ ~ α 1 m ) ] } . (32) p(\Delta\mid\alpha,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2}) \propto\exp\left\{-\frac{1}{2}\left[\alpha^{\mathsf{T}}\left(\frac{m}{\sigma_{\xi}^{2}}\mathbf{I}_{n}\right)\alpha-2\alpha^{\mathsf{T}}\left(\frac{1}{\sigma_{\xi}^{2}}\widetilde{\Delta}_{\alpha}\mathbf{1}_{m}\right)\right]\right\}. \tag*{(32)} p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 2 1 [ α T ( σ ξ 2 m I n ) α − 2 α T ( σ ξ 2 1 Δ α 1 m ) ] } . (32)
On the other hand, from the constrained Gaussian prior α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) \alpha\mid\sigma_{\alpha}^{2}\sim\mathcal{N}(\mu_{\alpha,c},\sigma_{\alpha}^{2}\mathbf{K}_{\alpha,c}) α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) , its kernel, ignoring terms independent of α \alpha α , is
p ( α ∣ σ α 2 ) ∝ exp { − 1 2 [ α T 1 σ α 2 K α , c − 1 α − 2 α T 1 σ α 2 K α , c − 1 μ α , c ] } . (33) p(\alpha\mid\sigma_{\alpha}^{2})\propto\exp\left\{-\frac{1}{2}\left[\alpha^{\mathsf{T}}\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}\alpha-2\alpha^{\mathsf{T}}\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}\mu_{\alpha,c}\right]\right\}. \tag*{(33)} p ( α ∣ σ α 2 ) ∝ exp { − 2 1 [ α T σ α 2 1 K α , c − 1 α − 2 α T σ α 2 1 K α , c − 1 μ α , c ] } . (33)
Substituting (A-8) and (A-9) into (A-7) and collecting the terms involving α \alpha α , we obtain
log p ( α ∣ Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) = − 1 2 α T ( 1 σ α 2 K α , c − 1 + m σ ξ 2 I n ) α + α T ( 1 σ α 2 K α , c − 1 μ α , c + 1 σ ξ 2 Δ ~ α 1 m ) + C α , \begin{aligned}
\log p(\alpha\mid\Delta,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2},\sigma_{\alpha}^{2})
={}&-\frac{1}{2}\alpha^{\mathsf{T}}\left(\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}+\frac{m}{\sigma_{\xi}^{2}}\mathbf{I}_{n}\right)\alpha\\
&+\alpha^{\mathsf{T}}\left(\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}\mu_{\alpha,c}+\frac{1}{\sigma_{\xi}^{2}}\widetilde{\Delta}_{\alpha}\mathbf{1}_{m}\right)+C_{\alpha},
\end{aligned} log p ( α ∣ Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) = − 2 1 α T ( σ α 2 1 K α , c − 1 + σ ξ 2 m I n ) α + α T ( σ α 2 1 K α , c − 1 μ α , c + σ ξ 2 1 Δ α 1 m ) + C α ,
which is precisely the kernel of a multivariate normal distribution. Here C α C_{\alpha} C α is a constant independent of α \alpha α ; it may depend on the quantities being conditioned on. Therefore,
α ∣ ( Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∼ N ( μ α ∣ ⋅ , Σ α ∣ ⋅ ) , \alpha\mid(\Delta,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2},\sigma_{\alpha}^{2})\sim\mathcal{N}(\mu_{\alpha\mid\cdot},\mathbf{\Sigma}_{\alpha\mid\cdot}), α ∣ ( Δ , B β , W , θ p , ϵ , σ ξ 2 , σ α 2 ) ∼ N ( μ α ∣ ⋅ , Σ α ∣ ⋅ ) ,
where Σ α ∣ ⋅ − 1 = 1 σ α 2 K α , c − 1 + m σ ξ 2 I n \mathbf{\Sigma}_{\alpha\mid\cdot}^{-1}=\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}+\frac{m}{\sigma_{\xi}^{2}}\mathbf{I}_{n} Σ α ∣ ⋅ − 1 = σ α 2 1 K α , c − 1 + σ ξ 2 m I n , and μ α ∣ ⋅ = Σ α ∣ ⋅ ( 1 σ α 2 K α , c − 1 μ α , c + 1 σ ξ 2 Δ ~ α 1 m ) \mu_{\alpha\mid\cdot}=\mathbf{\Sigma}_{\alpha\mid\cdot}\left(\frac{1}{\sigma_{\alpha}^{2}}\mathbf{K}_{\alpha,c}^{-1}\mu_{\alpha,c}+\frac{1}{\sigma_{\xi}^{2}}\widetilde{\Delta}_{\alpha}\mathbf{1}_{m}\right) μ α ∣ ⋅ = Σ α ∣ ⋅ ( σ α 2 1 K α , c − 1 μ α , c + σ ξ 2 1 Δ α 1 m ) .
Proof of equation (16). By Bayes’ theorem,
p ( ϵ ∣ Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( ϵ ∣ σ ϵ 2 ) . (34) p(\epsilon\mid\Delta,\alpha,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\sigma_{\xi}^{2},\sigma_{\epsilon}^{2})\propto p(\Delta\mid\alpha,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2})p(\epsilon\mid\sigma_{\epsilon}^{2}). \tag*{(34)} p ( ϵ ∣ Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( ϵ ∣ σ ϵ 2 ) . (34)
Let Δ ~ ϵ = Δ − α 1 m T − B β T T − W G \widetilde{\Delta}_{\epsilon}=\Delta-\alpha\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{T}^{\mathsf{T}}-\mathbf{W}\mathbf{G} Δ ϵ = Δ − α 1 m T − B β T T − WG , so that Δ ~ ϵ = ϵ 1 m T + Ξ \widetilde{\Delta}_{\epsilon}=\epsilon\mathbf{1}_{m}^{\mathsf{T}}+\mathbf{\Xi} Δ ϵ = ϵ 1 m T + Ξ . Proceeding as in the proof of equation (15), we have
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 1 2 [ ϵ T m σ ξ 2 I n ϵ − 2 ϵ T 1 σ ξ 2 Δ ~ ϵ 1 m ] } . (35) p(\Delta\mid\alpha,\mathbf{B}_{\beta},\mathbf{W},\theta^{p},\epsilon,\sigma_{\xi}^{2})\propto\exp\left\{-\frac{1}{2}\left[\epsilon^{\mathsf{T}}\frac{m}{\sigma_{\xi}^{2}}\mathbf{I}_{n}\epsilon-2\epsilon^{\mathsf{T}}\frac{1}{\sigma_{\xi}^{2}}\widetilde{\Delta}_{\epsilon}\mathbf{1}_{m}\right]\right\}. \tag*{(35)} p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 2 1 [ ϵ T σ ξ 2 m I n ϵ − 2 ϵ T σ ξ 2 1 Δ ϵ 1 m ] } . (35)
Moreover, from the prior ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) \epsilon\mid\sigma_{\epsilon}^{2} \sim\mathcal{N}(0,\sigma_{\epsilon}^{2}\mathbf{I}_{n}) ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) , we have
p ( ϵ ∣ σ ϵ 2 ) ∝ exp ( − 1 2 σ ϵ 2 ϵ T ϵ ) . (36) p(\epsilon\mid\sigma_{\epsilon}^{2}) \propto\exp\left(-\frac{1}{2\sigma_{\epsilon}^{2}}\epsilon^{\mathsf{T}}\epsilon\right). \tag*{(36)} p ( ϵ ∣ σ ϵ 2 ) ∝ exp ( − 2 σ ϵ 2 1 ϵ T ϵ ) . (36)
Substituting (A-11) and (A-12) into (A-10) and rearranging terms yields
log p ( ϵ ∣ Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) = − 1 2 ϵ T ( 1 σ ϵ 2 + m σ ξ 2 ) I n ϵ + ϵ T ( 1 σ ξ 2 Δ ~ ϵ 1 m ) + C ϵ , \log p(\epsilon\mid\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\sigma_{\xi}^{2},\sigma_{\epsilon}^{2})=-\frac{1}{2}\epsilon^{\mathsf{T}}\left(\frac{1}{\sigma_{\epsilon}^{2}}+\frac{m}{\sigma_{\xi}^{2}}\right)\mathbf{I}_{n}\epsilon+\epsilon^{\mathsf{T}}\left(\frac{1}{\sigma_{\xi}^{2}}\widetilde{\boldsymbol{\Delta}}_{\epsilon}\mathbf{1}_{m}\right)+C_{\epsilon}, log p ( ϵ ∣ Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) = − 2 1 ϵ T ( σ ϵ 2 1 + σ ξ 2 m ) I n ϵ + ϵ T ( σ ξ 2 1 Δ ϵ 1 m ) + C ϵ ,
which is again the kernel of a multivariate normal distribution. Here C ϵ C_{\epsilon} C ϵ is a constant independent of ϵ \epsilon ϵ ; it may depend on the quantities being conditioned on. Therefore,
ϵ ∣ ( Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∼ N ( μ ϵ ∣ ⋅ , Σ ϵ ∣ ⋅ ) , \epsilon\mid(\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\sigma_{\xi}^{2},\sigma_{\epsilon}^{2}) \sim\mathcal{N}(\boldsymbol{\mu}_{\epsilon\mid\cdot},\boldsymbol{\Sigma}_{\epsilon\mid\cdot}), ϵ ∣ ( Δ , α , B β , W , θ p , σ ξ 2 , σ ϵ 2 ) ∼ N ( μ ϵ ∣ ⋅ , Σ ϵ ∣ ⋅ ) ,
where Σ ϵ ∣ ⋅ − 1 = ( 1 σ ϵ 2 + m σ ξ 2 ) I n \boldsymbol{\Sigma}_{\epsilon\mid\cdot}^{-1}=\left(\frac{1}{\sigma_{\epsilon}^{2}}+\frac{m}{\sigma_{\xi}^{2}}\right)\mathbf{I}_{n} Σ ϵ ∣ ⋅ − 1 = ( σ ϵ 2 1 + σ ξ 2 m ) I n , and μ ϵ ∣ ⋅ = Σ ϵ ∣ ⋅ ( 1 σ ξ 2 Δ ~ ϵ 1 m ) \boldsymbol{\mu}_{\epsilon\mid\cdot}=\boldsymbol{\Sigma}_{\epsilon\mid\cdot}\left(\frac{1}{\sigma_{\xi}^{2}}\widetilde{\boldsymbol{\Delta}}_{\epsilon}\mathbf{1}_{m}\right) μ ϵ ∣ ⋅ = Σ ϵ ∣ ⋅ ( σ ξ 2 1 Δ ϵ 1 m ) .
Proof of equation (17). By Bayes’ theorem,
p ( vec ( B β ) ∣ Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ) . (37) p(\operatorname{vec}(\mathbf{B}_{\beta})\mid\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{W},\boldsymbol{\theta}^{p},\epsilon,\sigma_{\xi}^{2},\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q})\propto p(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\epsilon,\sigma_{\xi}^{2})p(\operatorname{vec}(\mathbf{B}_{\beta})\mid\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q}). \tag*{(37)} p ( vec ( B β ) ∣ Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ) . (37)
Let Δ ~ β = Δ − α 1 m T − W G − ϵ 1 m T \widetilde{\boldsymbol{\Delta}}_{\beta}=\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{W}\mathbf{G}-\epsilon\mathbf{1}_{m}^{\mathsf{T}} Δ β = Δ − α 1 m T − WG − ϵ 1 m T , so that Δ ~ β = B β T T + Ξ \widetilde{\boldsymbol{\Delta}}_{\beta}=\mathbf{B}_{\beta}\mathbf{T}^{\mathsf{T}}+\mathbf{\Xi} Δ β = B β T T + Ξ . Vectorizing both sides and using the identity vec ( B β T T ) = ( T ⊗ I n ) vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}\mathbf{T}^{\mathsf{T}})=(\mathbf{T}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β T T ) = ( T ⊗ I n ) vec ( B β ) , we obtain vec ( Δ ~ β ) = ( T ⊗ I n ) vec ( B β ) + vec ( Ξ ) \operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta})=(\mathbf{T}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{B}_{\beta})+\operatorname{vec}(\mathbf{\Xi}) vec ( Δ β ) = ( T ⊗ I n ) vec ( B β ) + vec ( Ξ ) . Hence, the likelihood kernel for B β \mathbf{B}_{\beta} B β can be written as
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 1 2 σ ξ 2 ∥ vec ( Δ ~ β ) − ( T ⊗ I n ) vec ( B β ) ∥ 2 2 } . (38) p(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\epsilon,\sigma_{\xi}^{2})\propto\exp\left\{-\frac{1}{2\sigma_{\xi}^{2}}\left\|\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta})-(\mathbf{T}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{B}_{\beta})\right\|_{2}^{2}\right\}. \tag*{(38)} p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 2 σ ξ 2 1 vec ( Δ β ) − ( T ⊗ I n ) vec ( B β ) 2 2 } . (38)
On the other hand, from the componentwise independent GP priors β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) \beta_{\ell}\mid\sigma_{\beta_{\ell}}^{2}\sim\mathcal{N}(\mu_{\beta_{\ell}},\sigma_{\beta_{\ell}}^{2}\mathbf{K}_{\beta}) β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) , ℓ = 1 , … , q \ell=1,\ldots,q ℓ = 1 , … , q , it follows that vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β ) has prior distribution
vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ∼ N ( μ b , Q b − 1 ) , \operatorname{vec}(\mathbf{B}_{\beta})\mid\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q}\sim\mathcal{N}(\boldsymbol{\mu}_{b},\mathbf{Q}_{b}^{-1}), vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ∼ N ( μ b , Q b − 1 ) ,
where μ b = vec ( [ μ β 1 , … , μ β q ] ) \boldsymbol{\mu}_{b}=\operatorname{vec}([\mu_{\beta_{1}},\ldots,\mu_{\beta_{q} }]) μ b = vec ([ μ β 1 , … , μ β q ]) , and Q b = blockdiag ( 1 σ β 1 2 K β − 1 , … , 1 σ β q 2 K β − 1 ) \mathbf{Q}_{b}=\operatorname{blockdiag}\left(\frac{1}{\sigma_{\beta_{1}}^{2}}\mathbf{K}_{\beta}^{-1},\ldots,\frac{1}{\sigma_{\beta_{q}}^{2}}\mathbf{K}_{\beta}^{-1}\right) Q b = blockdiag ( σ β 1 2 1 K β − 1 , … , σ β q 2 1 K β − 1 ) . Therefore, its prior kernel can be written as
p ( vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ) ∝ exp { − 1 2 ( vec ( B β ) − μ b ) T Q b ( vec ( B β ) − μ b ) } . (39) p(\operatorname{vec}(\mathbf{B}_{\beta})\mid\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q})\propto\exp\left\{-\frac{1}{2}\left(\operatorname{vec}(\mathbf{B}_{\beta})-\boldsymbol{\mu}_{b}\right)^{\mathsf{T}}\mathbf{Q}_{b}\left(\operatorname{vec}(\mathbf{B}_{\beta})-\boldsymbol{\mu}_{b}\right)\right\}. \tag*{(39)} p ( vec ( B β ) ∣ { σ β ℓ 2 } ℓ = 1 q ) ∝ exp { − 2 1 ( vec ( B β ) − μ b ) T Q b ( vec ( B β ) − μ b ) } . (39)
Substituting (A-14) and (A-15) into (A-13), and ignoring constants independent of vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β ) , we obtain
log p ( vec ( B β ) ∣ Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) = − 1 2 vec ( B β ) T [ Q b + 1 σ ξ 2 ( T T T ⊗ I n ) ] vec ( B β ) + vec ( B β ) T [ Q b μ b + 1 σ ξ 2 ( T T ⊗ I n ) vec ( Δ ~ β ) ] + C β , \begin{aligned}
\log p\left(\operatorname{vec}(\mathbf{B}_{\beta}) \mid\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q}\right)
={}&-\frac{1}{2}\operatorname{vec}(\mathbf{B}_{\beta})^{\mathrm{T}}\left[\mathbf{Q}_{b}+\frac{1}{\sigma_{\xi}^{2}}(\mathbf{T}^{\mathrm{T}}\mathbf{T}\otimes\mathbf{I}_{n})\right]\operatorname{vec}(\mathbf{B}_{\beta})\\
&+\operatorname{vec}(\mathbf{B}_{\beta})^{\mathrm{T}}\left[\mathbf{Q}_{b}\boldsymbol{\mu}_{b}+\frac{1}{\sigma_{\xi}^{2}}(\mathbf{T}^{\mathrm{T}}\otimes\mathbf{I}_{n})\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta})\right]+C_{\beta},
\end{aligned} log p ( vec ( B β ) ∣ Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) = − 2 1 vec ( B β ) T [ Q b + σ ξ 2 1 ( T T T ⊗ I n ) ] vec ( B β ) + vec ( B β ) T [ Q b μ b + σ ξ 2 1 ( T T ⊗ I n ) vec ( Δ β ) ] + C β ,
which shows that the posterior distribution is again multivariate normal. Here C β C_{\beta} C β is a constant independent of vec ( B β ) \operatorname{vec}(\mathbf{B}_{\beta}) vec ( B β ) ; it may depend on the quantities being conditioned on. Therefore,
vec ( B β ) ∣ ( Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∼ N ( μ b ∣ ⋅ , Σ b ∣ ⋅ ) , \operatorname{vec}(\mathbf{B}_{\beta})\mid\left(\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\{\sigma_{\beta_{\ell}}^{2}\}_{\ell=1}^{q}\right)\sim\mathcal{N}(\boldsymbol{\mu}_{b\mid\cdot},\boldsymbol{\Sigma}_{b\mid\cdot}), vec ( B β ) ∣ ( Δ , α , W , θ p , ϵ , σ ξ 2 , { σ β ℓ 2 } ℓ = 1 q ) ∼ N ( μ b ∣ ⋅ , Σ b ∣ ⋅ ) ,
where Σ b ∣ ⋅ − 1 = Q b + 1 σ ξ 2 ( T T T ⊗ I n ) \boldsymbol{\Sigma}_{b\mid\cdot}^{-1}=\mathbf{Q}_{b}+\frac{1}{\sigma_{\xi}^{2}}(\mathbf{T}^{\mathrm{T}}\mathbf{T}\otimes\mathbf{I}_{n}) Σ b ∣ ⋅ − 1 = Q b + σ ξ 2 1 ( T T T ⊗ I n ) , and μ b ∣ ⋅ = Σ b ∣ ⋅ [ Q b μ b + 1 σ ξ 2 ( T T ⊗ I n ) vec ( Δ ~ β ) ] \boldsymbol{\mu}_{b\mid\cdot}=\boldsymbol{\Sigma}_{b\mid\cdot}\left[\mathbf{Q}_{b}\boldsymbol{\mu}_{b}+\frac{1}{\sigma_{\xi}^{2}}(\mathbf{T}^{\mathrm{T}}\otimes\mathbf{I}_{n})\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta})\right] μ b ∣ ⋅ = Σ b ∣ ⋅ [ Q b μ b + σ ξ 2 1 ( T T ⊗ I n ) vec ( Δ β ) ] . Furthermore, using the identity ( T T ⊗ I n ) vec ( Δ ~ β ) = vec ( Δ ~ β T T ) (\mathbf{T}^{\mathrm{T}}\otimes\mathbf{I}_{n})\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta})=\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta}\mathbf{T}^{\mathrm{T}}) ( T T ⊗ I n ) vec ( Δ β ) = vec ( Δ β T T ) , the posterior mean can be rewritten as
μ b ∣ ⋅ = Σ b ∣ ⋅ [ Q b μ b + 1 σ ξ 2 vec ( Δ ~ β T T ) ] . \boldsymbol{\mu}_{b\mid\cdot}=\boldsymbol{\Sigma}_{b\mid\cdot}\left[\mathbf{Q}_{b}\boldsymbol{\mu}_{b}+\frac{1}{\sigma_{\xi}^{2}}\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{\beta}\mathbf{T}^{\mathrm{T}})\right]. μ b ∣ ⋅ = Σ b ∣ ⋅ [ Q b μ b + σ ξ 2 1 vec ( Δ β T T ) ] .
Proof of equation (18). By Bayes’ theorem,
p ( vec ( W ) ∣ Δ , α , B β , θ p , ϵ , σ ξ 2 , σ ω 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( vec ( W ) ∣ σ ω 2 ) . (40) p\left(\operatorname{vec}(\mathbf{W})\mid\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2},\sigma_{\omega}^{2}\right)\propto p\left(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2}\right)p\left(\operatorname{vec}(\mathbf{W})\mid\sigma_{\omega}^{2}\right). \tag*{(40)} p ( vec ( W ) ∣ Δ , α , B β , θ p , ϵ , σ ξ 2 , σ ω 2 ) ∝ p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) p ( vec ( W ) ∣ σ ω 2 ) . (40)
Let Δ ~ W = Δ − α 1 m T − B β T T − ϵ 1 m T \widetilde{\boldsymbol{\Delta}}_{W}=\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathrm{T}}-\mathbf{B}_{\beta}\mathbf{T}^{\mathrm{T}}-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathrm{T}} Δ W = Δ − α 1 m T − B β T T − ϵ 1 m T , so that Δ ~ W = W G + Ξ \widetilde{\boldsymbol{\Delta}}_{W}=\mathbf{W}\mathbf{G}+\boldsymbol{\Xi} Δ W = WG + Ξ . Vectorizing both sides and using the identity vec ( W G ) = ( G ⊗ I n ) vec ( W ) \operatorname{vec}(\mathbf{W}\mathbf{G})=(\mathbf{G}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{W}) vec ( WG ) = ( G ⊗ I n ) vec ( W ) , where G \mathbf{G} G is diagonal, we obtain vec ( Δ ~ W ) = ( G ⊗ I n ) vec ( W ) + vec ( Ξ ) \operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{W})=(\mathbf{G}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{W})+\operatorname{vec}(\boldsymbol{\Xi}) vec ( Δ W ) = ( G ⊗ I n ) vec ( W ) + vec ( Ξ ) . Accordingly, the likelihood term in (A-6) can be written as
p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 1 2 σ ξ 2 ∥ vec ( Δ ~ W ) − ( G ⊗ I n ) vec ( W ) ∥ 2 } . (41) p\left(\boldsymbol{\Delta}\mid\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\xi}^{2}\right)\propto\exp\left\{-\frac{1}{2\sigma_{\xi}^{2}}\left\|\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}_{W})-(\mathbf{G}\otimes\mathbf{I}_{n})\operatorname{vec}(\mathbf{W})\right\|^{2}\right\}. \tag*{(41)} p ( Δ ∣ α , B β , W , θ p , ϵ , σ ξ 2 ) ∝ exp { − 2 σ ξ 2 1 vec ( Δ W ) − ( G ⊗ I n ) vec ( W ) 2 } . (41)
On the other hand, from the constrained GP prior for ω ( x , θ ) \omega(x,\boldsymbol{\theta}) ω ( x , θ ) , we have vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c ) ) \operatorname{vec}(\mathbf{W})\mid\sigma_{\omega}^{2}\sim\mathcal{N}(\mathbf{0},\sigma_{\omega}^{2}(\mathbf{K}_{\boldsymbol{\theta}}\otimes\mathbf{K}_{x,c})) vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c )) , where K x , c \mathbf{K}_{x,c} K x , c is the covariance matrix induced by the constrained kernel k x , c k_{x,c} k x , c . Hence its prior kernel is
p ( vec ( W ) ∣ σ ω 2 ) ∝ exp { − 1 2 σ ω 2 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) } . (42) p\left(\operatorname{vec}(\mathbf{W})\mid\sigma_{\omega}^{2}\right)\propto\exp\left\{-\frac{1}{2\sigma_{\omega}^{2}}\operatorname{vec}(\mathbf{W})^{\mathrm{T}}(\mathbf{K}_{\boldsymbol{\theta}}^{-1}\otimes\mathbf{K}_{x,c}^{-1})\operatorname{vec}(\mathbf{W})\right\}. \tag*{(42)} p ( vec ( W ) ∣ σ ω 2 ) ∝ exp { − 2 σ ω 2 1 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) } . (42)
Substituting (A-17) and (A-18) into (A-16), we similarly obtain
log p ( vec ( W ) ∣ Δ , α , B β , θ p , ϵ , σ ϵ 2 , σ ω 2 ) = − 1 2 vec ( W ) T [ 1 σ ϵ 2 ( G T G ⊗ I n ) + 1 σ ω 2 ( K θ − 1 ⊗ K x , c − 1 ) ] vec ( W ) + vec ( W ) T [ 1 σ ϵ 2 ( G ⊗ I n ) vec ( Δ ~ W ) ] + C W , \begin{aligned}
\log p(\operatorname{vec}(\mathbf{W}) \mid\boldsymbol{\Delta}, \boldsymbol{\alpha}, \mathbf{B}_{\beta}, \boldsymbol{\theta}^{p}, \boldsymbol{\epsilon}, \sigma_{\epsilon}^{2}, \sigma_{\omega}^{2})
={}&-\frac{1}{2}\operatorname{vec}(\mathbf{W})^{\mathsf{T}}\left[\frac{1}{\sigma_{\epsilon}^{2}}(\mathbf{G}^{\mathsf{T}}\mathbf{G}\otimes\mathbf{I}_{n})+\frac{1}{\sigma_{\omega}^{2}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1})\right]\operatorname{vec}(\mathbf{W})\\
&+\operatorname{vec}(\mathbf{W})^{\mathsf{T}}\left[\frac{1}{\sigma_{\epsilon}^{2}}(\mathbf{G}\otimes\mathbf{I}_{n})\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}\mathbf{W})\right]+C_{W},
\end{aligned} log p ( vec ( W ) ∣ Δ , α , B β , θ p , ϵ , σ ϵ 2 , σ ω 2 ) = − 2 1 vec ( W ) T [ σ ϵ 2 1 ( G T G ⊗ I n ) + σ ω 2 1 ( K θ − 1 ⊗ K x , c − 1 ) ] vec ( W ) + vec ( W ) T [ σ ϵ 2 1 ( G ⊗ I n ) vec ( Δ W ) ] + C W ,
which shows that the posterior distribution remains multivariate normal. Here C W C_{W} C W is a constant independent of vec ( W ) \operatorname{vec}(\mathbf{W}) vec ( W ) ; it may depend on the quantities being conditioned on. Since G \mathbf{G} G is diagonal, we have G T G = G 2 \mathbf{G}^{\mathsf{T}}\mathbf{G}=\mathbf{G}^{2} G T G = G 2 . Hence,
vec ( W ) ∣ ( Δ , α , B β , θ p , ϵ , σ ϵ 2 , σ ω 2 ) ∼ N ( μ W ∣ ⋅ , Σ W ∣ ⋅ ) , \operatorname{vec}(\mathbf{W})\mid(\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon},\sigma_{\epsilon}^{2},\sigma_{\omega}^{2})\sim\mathcal{N}(\boldsymbol{\mu}_{W\mid\cdot},\boldsymbol{\Sigma}_{W\mid\cdot}), vec ( W ) ∣ ( Δ , α , B β , θ p , ϵ , σ ϵ 2 , σ ω 2 ) ∼ N ( μ W ∣ ⋅ , Σ W ∣ ⋅ ) ,
where Σ W ∣ ⋅ − 1 = 1 σ ϵ 2 ( G 2 ⊗ I n ) + 1 σ ω 2 ( K θ − 1 ⊗ K x , c − 1 ) \boldsymbol{\Sigma}_{W\mid\cdot}^{-1}=\frac{1}{\sigma_{\epsilon}^{2}}(\mathbf{G}^{2}\otimes\mathbf{I}_{n})+\frac{1}{\sigma_{\omega}^{2}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1}) Σ W ∣ ⋅ − 1 = σ ϵ 2 1 ( G 2 ⊗ I n ) + σ ω 2 1 ( K θ − 1 ⊗ K x , c − 1 ) , and μ W ∣ ⋅ = Σ W ∣ ⋅ [ 1 σ ϵ 2 vec ( Δ ~ W G ) ] \boldsymbol{\mu}_{W\mid\cdot}=\boldsymbol{\Sigma}_{W\mid\cdot}\left[\frac{1}{\sigma_{\epsilon}^{2}}\operatorname{vec}(\widetilde{\boldsymbol{\Delta}}\mathbf{W}\mathbf{G})\right] μ W ∣ ⋅ = Σ W ∣ ⋅ [ σ ϵ 2 1 vec ( Δ WG ) ] .
Equations (19) –(23) all follow directly from normal–inverse-gamma conjugacy. We present them separately below.
Proof of equation (19) . From the prior σ ϵ 2 ∼ I G ( a ϵ , b ϵ ) \sigma_{\epsilon}^{2}\sim\mathcal{IG}(a_{\epsilon},b_{\epsilon}) σ ϵ 2 ∼ I G ( a ϵ , b ϵ ) and ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) \boldsymbol{\epsilon}\mid\sigma_{\epsilon}^{2}\sim\mathcal{N}(\mathbf{0},\sigma_{\epsilon}^{2}\mathbf{I}_{n}) ϵ ∣ σ ϵ 2 ∼ N ( 0 , σ ϵ 2 I n ) , we have
p ( σ ϵ 2 ) ∝ ( σ ϵ 2 ) − ( a ϵ + 1 ) exp ( − b ϵ σ ϵ 2 ) , p ( ϵ ∣ σ ϵ 2 ) ∝ ( σ ϵ 2 ) − n / 2 exp ( − 1 2 σ ϵ 2 ϵ T ϵ ) . p(\sigma_{\epsilon}^{2})\propto(\sigma_{\epsilon}^{2})^{-(a_{\epsilon}+1)}\exp\left(-\frac{b_{\epsilon}}{\sigma_{\epsilon}^{2}}\right),\qquad p(\boldsymbol{\epsilon}\mid\sigma_{\epsilon}^{2})\propto(\sigma_{\epsilon}^{2})^{-n/2}\exp\left(-\frac{1}{2\sigma_{\epsilon}^{2}}\boldsymbol{\epsilon}^{\mathsf{T}}\boldsymbol{\epsilon}\right). p ( σ ϵ 2 ) ∝ ( σ ϵ 2 ) − ( a ϵ + 1 ) exp ( − σ ϵ 2 b ϵ ) , p ( ϵ ∣ σ ϵ 2 ) ∝ ( σ ϵ 2 ) − n /2 exp ( − 2 σ ϵ 2 1 ϵ T ϵ ) .
Multiplying these two expressions and ignoring constants independent of σ ϵ 2 \sigma_{\epsilon}^{2} σ ϵ 2 , we obtain
p ( σ ϵ 2 ∣ ϵ ) ∝ ( σ ϵ 2 ) − ( a ϵ + n / 2 + 1 ) exp { − 1 σ ϵ 2 ( b ϵ + 1 2 ϵ T ϵ ) } , p(\sigma_{\epsilon}^{2}\mid\boldsymbol{\epsilon})\propto(\sigma_{\epsilon}^{2})^{-(a_{\epsilon}+n/2+1)}\exp\left\{-\frac{1}{\sigma_{\epsilon}^{2}}\left(b_{\epsilon}+\frac{1}{2}\boldsymbol{\epsilon}^{\mathsf{T}}\boldsymbol{\epsilon}\right)\right\}, p ( σ ϵ 2 ∣ ϵ ) ∝ ( σ ϵ 2 ) − ( a ϵ + n /2 + 1 ) exp { − σ ϵ 2 1 ( b ϵ + 2 1 ϵ T ϵ ) } ,
and therefore σ ϵ 2 ∣ ϵ ∼ I G ( a ϵ + n 2 , b ϵ + 1 2 ϵ T ϵ ) \sigma_{\epsilon}^{2}\mid\boldsymbol{\epsilon}\sim\mathcal{IG}\left(a_{\epsilon}+\frac{n}{2},b_{\epsilon}+\frac{1}{2}\boldsymbol{\epsilon}^{\mathsf{T}}\boldsymbol{\epsilon}\right) σ ϵ 2 ∣ ϵ ∼ I G ( a ϵ + 2 n , b ϵ + 2 1 ϵ T ϵ ) .
Proof of equation (20) . Similarly, from α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) \boldsymbol{\alpha}\mid\sigma_{\alpha}^{2}\sim\mathcal{N}(\boldsymbol{\mu}_{\alpha,c},\sigma_{\alpha}^{2}\mathbf{K}_{\alpha,c}) α ∣ σ α 2 ∼ N ( μ α , c , σ α 2 K α , c ) and σ α 2 ∼ I G ( a α , b α ) \sigma_{\alpha}^{2}\sim\mathcal{IG}(a_{\alpha},b_{\alpha}) σ α 2 ∼ I G ( a α , b α ) , we obtain
p ( σ α 2 ∣ α ) ∝ ( σ α 2 ) − ( a α + n / 2 + 1 ) exp { − 1 σ α 2 [ b α + 1 2 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ] } , p(\sigma_{\alpha}^{2}\mid\boldsymbol{\alpha})\propto(\sigma_{\alpha}^{2})^{-(a_{\alpha}+n/2+1)}\exp\left\{-\frac{1}{\sigma_{\alpha}^{2}}\left[b_{\alpha}+\frac{1}{2}(\boldsymbol{\alpha}-\boldsymbol{\mu}_{\alpha,c})^{\mathsf{T}}\mathbf{K}_{\alpha,c}^{-1}(\boldsymbol{\alpha}-\boldsymbol{\mu}_{\alpha,c})\right]\right\}, p ( σ α 2 ∣ α ) ∝ ( σ α 2 ) − ( a α + n /2 + 1 ) exp { − σ α 2 1 [ b α + 2 1 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ] } ,
and hence σ α 2 ∣ α ∼ I G ( a α + n 2 , b α + 1 2 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ) \sigma_{\alpha}^{2}\mid\boldsymbol{\alpha}\sim\mathcal{IG}\left(a_{\alpha}+\frac{n}{2},b_{\alpha}+\frac{1}{2}(\boldsymbol{\alpha}-\boldsymbol{\mu}_{\alpha,c})^{\mathsf{T}}\mathbf{K}_{\alpha,c}^{-1}(\boldsymbol{\alpha}-\boldsymbol{\mu}_{\alpha,c})\right) σ α 2 ∣ α ∼ I G ( a α + 2 n , b α + 2 1 ( α − μ α , c ) T K α , c − 1 ( α − μ α , c ) ) .
Proof of equation (21) . For any ℓ = 1 , … , q \ell= 1,\ldots,q ℓ = 1 , … , q , from β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) \boldsymbol{\beta}_{\ell} \mid\sigma_{\beta_{\ell}}^{2} \sim\mathcal{N}(\boldsymbol{\mu}_{\beta_{\ell}},\sigma_{\beta_{\ell}}^{2}\mathbf{K}_{\beta}) β ℓ ∣ σ β ℓ 2 ∼ N ( μ β ℓ , σ β ℓ 2 K β ) and σ β ℓ 2 ∼ I G ( a β , b β ) \sigma_{\beta_{\ell}}^{2} \sim\mathcal{IG}(a_{\beta},b_{\beta}) σ β ℓ 2 ∼ I G ( a β , b β ) , we similarly obtain
p ( σ β ℓ 2 ∣ β ℓ ) ∝ ( σ β ℓ 2 ) − ( a β + n / 2 + 1 ) exp { − 1 σ β ℓ 2 [ b β + 1 2 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ] } . p(\sigma_{\beta_{\ell}}^{2}\mid\boldsymbol{\beta}_{\ell})\propto(\sigma_{\beta_{\ell}}^{2})^{-(a_{\beta}+n/2+1)}\exp\left\{-\frac{1}{\sigma_{\beta_{\ell}}^{2}}\left[b_{\beta}+\frac{1}{2}(\boldsymbol{\beta}_{\ell}-\boldsymbol{\mu}_{\beta_{\ell}})^{\mathsf{T}}\mathbf{K}_{\beta}^{-1}(\boldsymbol{\beta}_{\ell}-\boldsymbol{\mu}_{\beta_{\ell}})\right]\right\}. p ( σ β ℓ 2 ∣ β ℓ ) ∝ ( σ β ℓ 2 ) − ( a β + n /2 + 1 ) exp { − σ β ℓ 2 1 [ b β + 2 1 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ] } .
and therefore σ β ℓ 2 ∣ β ℓ ∼ I G ( a β + n 2 , b β + 1 2 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ) \sigma_{\beta_{\ell}}^{2}\mid\boldsymbol{\beta}_{\ell}\sim\mathcal{IG}\left(a_{\beta}+\frac{n}{2},b_{\beta}+\frac{1}{2}(\boldsymbol{\beta}_{\ell}-\boldsymbol{\mu}_{\beta_{\ell}})^{\mathsf{T}}\mathbf{K}_{\beta}^{-1}(\boldsymbol{\beta}_{\ell}-\boldsymbol{\mu}_{\beta_{\ell}})\right) σ β ℓ 2 ∣ β ℓ ∼ I G ( a β + 2 n , b β + 2 1 ( β ℓ − μ β ℓ ) T K β − 1 ( β ℓ − μ β ℓ ) ) , ℓ = 1 , … , q \ell=1,\ldots,q ℓ = 1 , … , q . □ \square □
Proof of equation (22) . From vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c ) ) \operatorname{vec}(\mathbf{W})\mid\sigma_{\omega}^{2}\sim\mathcal{N}(\mathbf{0},\sigma_{\omega}^{2}(\mathbf{K}_{\theta}\otimes\mathbf{K}_{x,c})) vec ( W ) ∣ σ ω 2 ∼ N ( 0 , σ ω 2 ( K θ ⊗ K x , c )) and σ ω 2 ∼ I G ( a ω , b ω ) \sigma_{\omega}^{2}\sim\mathcal{IG}(a_{\omega},b_{\omega}) σ ω 2 ∼ I G ( a ω , b ω ) , we similarly obtain
p ( σ ω 2 ∣ W ) ∝ ( σ ω 2 ) − ( a ω + n m / 2 + 1 ) exp { − 1 σ ω 2 [ b ω + 1 2 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ] } . p(\sigma_{\omega}^{2}\mid\mathbf{W})\propto(\sigma_{\omega}^{2})^{-(a_{\omega}+nm/2+1)}\exp\left\{-\frac{1}{\sigma_{\omega}^{2}}\left[b_{\omega}+\frac{1}{2}\operatorname{vec}(\mathbf{W})^{\mathsf{T}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1})\operatorname{vec}(\mathbf{W})\right]\right\}. p ( σ ω 2 ∣ W ) ∝ ( σ ω 2 ) − ( a ω + nm /2 + 1 ) exp { − σ ω 2 1 [ b ω + 2 1 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ] } .
and hence σ ω 2 ∣ W ∼ I G ( a ω + n m 2 , b ω + 1 2 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ) \sigma_{\omega}^{2}\mid\mathbf{W}\sim\mathcal{IG}\left(a_{\omega}+\frac{nm}{2},b_{\omega}+\frac{1}{2}\operatorname{vec}(\mathbf{W})^{\mathsf{T}}(\mathbf{K}_{\theta}^{-1}\otimes\mathbf{K}_{x,c}^{-1})\operatorname{vec}(\mathbf{W})\right) σ ω 2 ∣ W ∼ I G ( a ω + 2 nm , b ω + 2 1 vec ( W ) T ( K θ − 1 ⊗ K x , c − 1 ) vec ( W ) ) . □ \square □
Proof of equation (23) . Combining the likelihood term in (A-6) with the prior σ ξ 2 ∼ I G ( a ξ , b ξ ) \sigma_{\xi}^{2}\sim\mathcal{IG}(a_{\xi},b_{\xi}) σ ξ 2 ∼ I G ( a ξ , b ξ ) , we similarly obtain
p ( σ ξ 2 ∣ Δ , α , B β , W , θ p , ϵ ) ∝ ( σ ξ 2 ) − ( a ξ + n m / 2 + 1 ) p(\sigma_{\xi}^{2}\mid\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon})\propto(\sigma_{\xi}^{2})^{-(a_{\xi}+nm/2+1)} p ( σ ξ 2 ∣ Δ , α , B β , W , θ p , ϵ ) ∝ ( σ ξ 2 ) − ( a ξ + nm /2 + 1 )
exp { − 1 σ ξ 2 [ b ξ + 1 2 ∥ Δ − α 1 m T − B β Γ T − W G − ϵ 1 m T ∥ F 2 ] } . \exp\left\{-\frac{1}{\sigma_{\xi}^{2}}\left[b_{\xi}+\frac{1}{2}\left\|\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{\Gamma}^{\mathsf{T}}-\mathbf{W}\mathbf{G}-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}}\right\|_{F}^{2}\right]\right\}. exp { − σ ξ 2 1 [ b ξ + 2 1 Δ − α 1 m T − B β Γ T − WG − ϵ 1 m T F 2 ] } .
and therefore
σ ξ 2 ∣ ( Δ , α , B β , W , θ p , ϵ ) ∼ I G ( a ξ + n m 2 , b ξ + 1 2 ∥ Δ − α 1 m T − B β Γ T − W G − ϵ 1 m T ∥ F 2 ) . \sigma_{\xi}^{2}\mid(\boldsymbol{\Delta},\boldsymbol{\alpha},\mathbf{B}_{\beta},\mathbf{W},\boldsymbol{\theta}^{p},\boldsymbol{\epsilon})\sim\mathcal{IG}\left(a_{\xi}+\frac{nm}{2},b_{\xi}+\frac{1}{2}\left\|\boldsymbol{\Delta}-\boldsymbol{\alpha}\mathbf{1}_{m}^{\mathsf{T}}-\mathbf{B}_{\beta}\mathbf{\Gamma}^{\mathsf{T}}-\mathbf{W}\mathbf{G}-\boldsymbol{\epsilon}\mathbf{1}_{m}^{\mathsf{T}}\right\|_{F}^{2}\right). σ ξ 2 ∣ ( Δ , α , B β , W , θ p , ϵ ) ∼ I G ( a ξ + 2 nm , b ξ + 2 1 Δ − α 1 m T − B β Γ T − WG − ϵ 1 m T F 2 ) .
□ \square □
Acknowledgments
This work is partially supported by the National Natural Science Foundation of China (Grant No. 12571276).