Manuscript Offprint
arXiv:2610.37731Amortized Localized Posterior Inference for Model Calibration with Application to an Ocean Turbulence Closure
EXAUCÉ LUWEH ADJIM NGARTI¹,²*, ELISE ARNAUD¹, LÉO NICOLETTI², VICTOR TRAPPLER³, ARTHUR VIDARD¹
¹ Univ. Grenoble Alpes, Inria, CNRS, LJK, 38000 Grenoble, France. ² Bull, Centre of Excellence in Performance Programming (CEPP), France. ³ Department GMI, Institut Henri Fayol, Mines Saint-Étienne, Univ Clermont Auvergne, CNRS, UMR 6158 LIMOS, F-42023 Saint-Étienne, France.
Abstract. Model discrepancy may prevent a single calibration parameter from reproducing a physical response across the context domain. In addition, uncertainties in observations and contexts affect calibration and must be accounted for and quantified. We construct a family of localized posteriors by weighting observation likelihoods according to their proximity to a target context. Gaussian localization weights incorporate context uncertainty through covariance inflation, with reflection at domain boundaries and an optional correction for uneven context sampling. A conditional normalizing flow approximates the family of posteriors through amortized variational inference. Integrating the localized posteriors under a prescribed context measure gives the marginalized parameter distribution. In a twin experiment with the Branin-Hoo model, we compare global and localized inference under uniform and skewed context distributions. Localization reduces the reported aggregate predictive errors relative to the global posterior. An application to the turbulence closure in a single-column ocean model, with atmospheric surface forcing as context, shows that localized posterior calibration reduces temperature and zonal-velocity errors relative to deterministic and global-posterior calibration. Both twin experiments are constructed to admit local compensation.
Key words. Bayesian calibration, model discrepancy, localized posterior, amortized inference, context uncertainty, turbulence closure
1. Introduction
Numerical models play a central role in science and engineering. In geosciences, they form the basis of weather forecasting [2], climate modeling [14, 1], hydrological simulation [10], and ocean dynamics [13]. Their construction typically starts from fundamental equations, such as the Navier-Stokes equations in fluid dynamics, and proceeds through modeling assumptions, approximations, and numerical discretizations.
However, numerical models are not exact representations of the physical world. Many physical processes occur at spatial or temporal scales that cannot be explicitly resolved at an affordable computational cost. Their effects must therefore be represented indirectly through simplified closure laws, parameterizations, or empirical corrections. As a result, numerical models involve parameters that control unresolved or imperfectly known mechanisms. These parameters cannot usually be determined from the governing equations alone and must instead be estimated from observational data. This estimation process is referred to as model calibration.
In practice, calibration compares model outputs with observations collected under different physical or experimental conditions, referred to here as contexts. A common approach is to estimate a single calibration parameter that explains the observations across the context domain. However, such a parameter may not exist when missing or simplified mechanisms induce model discrepancy that varies with context. Moreover, calibration data may over-represent certain contexts, while the contexts associated
*Corresponding author: Exaucé Luweh Adjim Ngarti. Email: exaucengarti@gmail.com.
with observations may themselves be uncertain. These effects can influence the inferred parameters and the predictive performance of the calibrated model across the context domain.
One approach to model discrepancy is to augment the numerical response, for example with a Gaussian process or a neural network [17, 6, 23, 22, 35]. Such approaches increase modeling flexibility but introduce additional unknowns and may complicate physical interpretation. Calibration under uncertain or unobserved contexts has also been considered [33, 29]. Here, we consider contexts observed with uncertainty and address model discrepancy by allowing the calibration distribution to depend on the target context, without introducing an explicit discrepancy model.
Our approach relies on a local compensability assumption: although a single parameter may not adequately reproduce observations across the entire context domain, model discrepancy can be approximately compensated by calibration parameters within a neighborhood of a given context. We therefore construct a family of localized posterior distributions, one for each target context, by weighting the observation likelihood contributions according to their proximity to that context. Observations collected near the target context receive greater weight, allowing the calibration distribution to vary across the context domain.
Since the recorded contexts may be uncertain, we incorporate context uncertainty into Gaussian localization weights through covariance inflation. We also account for domain boundaries through reflection and consider an optional correction for uneven context sampling. The resulting localized posteriors describe parameter uncertainty at each target context. Integrating these distributions under a prescribed context measure yields a marginalized parameter distribution, which summarizes the context-dependent calibration uncertainty.
Constructing a separate posterior approximation for every target context would require repeated inference. To avoid this, we use conditional normalizing flows [30, 9] and amortized variational inference [16, 15, 3]. A single conditional flow is trained over the context domain to approximate the family of localized posteriors, allowing a posterior approximation to be evaluated at a new target context without repeating the optimization.
We first examine the method in a Branin–Hoo twin experiment. We compare global and localized posterior inference under uniform and skewed context distributions, in a setting where local compensation is possible by construction. Localization reduces aggregate predictive errors relative to global posterior calibration.
We then apply the approach to the calibration of a turbulence closure in a single-column ocean model. Ocean models represent unresolved turbulent mixing through closure schemes whose parameters must be specified. Vertical mixing redistributes momentum and tracers under the combined effects of stratification, surface heat flux, and wind-driven shear. We consider temperature and zonal-velocity observations, with atmospheric surface forcing, including wind stress and heat flux, defining the context. These forcing quantities are uncertain, notably because they may be estimated from bulk atmospheric variables [5]. Moreover, the simplified turbulence closure may introduce context-dependent model discrepancy, making a single calibration parameter inadequate across different forcing conditions. In the designed experiments, localized posterior calibration reduces temperature and zonal-velocity errors relative to deterministic and global-posterior calibration. The results also show reduced parameter identifiability under weak-wind and heating conditions.
The main contributions of this work are:
- A localized Bayesian calibration formulation based on a local compensabil-
ity assumption, in which observation likelihood contributions are weighted according to their proximity to a target context.
- A localization procedure accounting for uncertainty in the observed contexts, domain boundaries, and uneven context sampling, together with a marginalized parameter distribution under a prescribed context measure.
An amortized variational inference approach using conditional normalizing flows to approximate the family of localized posteriors over the context domain.
- A numerical assessment using a Branin–Hoo twin experiment and the calibration of an ocean turbulence closure, comparing localized inference with global calibration and examining predictive errors and parameter identifiability.
2.1. Model discrepancy and context
Let denote the numerical model, the model parameter to be calibrated, and the context variable specified for each model evaluation. Let denote the physical response at context . Following [17], we write
(2.1)
where is a reference parameter and represents the context-dependent discrepancy between the numerical model and the physical response.
Because this discrepancy may vary with context, there is no guarantee that a single parameter satisfies
for every . We instead assume local compensability: for each target context, a suitable calibration parameter can approximately compensate for the discrepancy in its neighborhood. We further assume that adequate parameters at nearby contexts are sufficiently similar for nearby observations to be informative.
2.2. Observation and context uncertainty
Let denote the calibration dataset, consisting of observations and their associated recorded contexts. We assume conditionally independent observations with additive Gaussian errors, giving the working likelihood
(2.2)
where is a symmetric positive-definite covariance matrix.
We assign a prior distribution to the calibration parameter, independent of the recorded contexts:
(2.3)
In addition to observation uncertainty, the recorded contexts are affected by additive Gaussian errors. Writing for the true context associated with observation , we assume
(2.4)
where Q is the known context-error covariance. The context errors are assumed independent across observations and independent of the observation errors.
The working likelihood in (2.2) is evaluated at the recorded contexts. Their uncertainty is incorporated into the localization weights introduced below, rather than by explicitly integrating the numerical model over the unknown true contexts.
2.3. Calibration objectives
Our objective is to infer parameter distributions that provide adequate local calibration across the context domain while accounting for observation and context uncertainties and uneven context sampling.
We also seek a parameter distribution relevant to a prescribed probability measure on U. This measure identifies the contexts over which calibration performance is of interest and need not coincide with their empirical distribution in the dataset.
These objectives motivate a family of context-dependent posterior distributions, whose approximation and aggregation are developed in the next section.
3. Amortized localized posterior inference
Under the local compensability assumption, observations collected near a target context are expected to be more informative for calibration at that context. We use this principle to construct a family of localized posterior distributions. We first define the localized likelihood and its weights, including the treatment of context uncertainty and boundaries. We then control the localization strength through an effective sample size, approximate the posterior family using a conditional normalizing flow, and aggregate the localized posteriors under the prescribed context measure.
3.1. Localized posterior
Following the localized likelihood principle [32], we assign greater weight to observations whose contexts are close to a target context .
For each observation, define the likelihood contribution
For a fixed prescribed localization rate, let denote the bandwidth selected at , and let , , be the corresponding weights satisfying .
The localized posterior is defined by
(3.1)
The weights determine the relative contribution of each observation to calibration at . Since they sum to one, the weighted log-likelihood does not have the scale of the full-data log-likelihood. We therefore introduce the positive scaling factor , based on the effective sample size of the localization weights. The weights and scaling factor are defined below.
3.2. Localization weights
We measure proximity between contexts using a Gaussian kernel with a candidate bandwidth h > 0. Let
where is a characteristic scale of context coordinate . The bandwidth covariance is .
The Gaussian localization kernel is
(3.2)
When the recorded contexts are uncertain, we account for their Gaussian errors through convolution of the localization kernel [7]. This broadens the kernel by replacing with .
For diagonal context-error covariance
the resulting kernel is
(3.3)
Context uncertainty therefore reduces the degree of localization achievable for a given bandwidth.
When the context domain is bounded, a Gaussian kernel may also exhibit boundary effects. For a rectangular domain , we use a first-order reflection [31, 4].
Let denote either the Gaussian kernel or its noise-inflated version . The reflected kernel is
(3.4)
where and are obtained by replacing coordinate of with and , respectively. This first-order correction includes reflections across the domain faces. Its effect is illustrated in Appendix B.
Let denote the selected kernel, with or without noise inflation and reflection. For each candidate bandwidth and target context , the normalized weights are
(3.5)
If the recorded contexts are unevenly distributed, over-represented regions may dominate the weighted likelihood. We therefore consider an optional correction based on the context sampling density:
(3.6)
where is an estimate of the context sampling density, or the known density when available, assumed positive at the recorded contexts.
Hereafter, denotes the final normalized weight for a candidate bandwidth: without density correction and when the correction is applied.
Once the bandwidth has been selected, the weights used in the localized posterior are
(3.7)
3.3. Posterior scaling
The scaling factor in (3.1) controls the contribution of the weighted likelihood relative to the prior. For a candidate bandwidth, we define the Kish effective sample size [19] by
(3.8)
The scaling factor used in the localized posterior is
(3.9)
For uniform weights , the effective sample size is n, and the scaled weighted log-likelihood coincides with the full-data log-likelihood. If all the weight is assigned to a single observation, the effective sample size is one, and the localized likelihood reduces to that observation's contribution.
3.4. Bandwidth selection principle
The bandwidth controls the strength of localization. Although the context scales are incorporated through , the bandwidth itself does not directly indicate how many observations contribute effectively at a target context.
We therefore define the localization rate, expressed as a percentage, by
(3.10)
Since , the localization rate satisfies
A rate of zero corresponds to uniform weights, while larger values indicate stronger concentration of the weights on a smaller effective number of observations.
For a prescribed feasible localization rate, we determine a bandwidth separately for each target context. Specifically, is chosen to satisfy
(3.11)
The bandwidth is computed numerically using Brent's method, provided that a root is bracketed. The prescribed localization rate is selected using predictive performance metrics. The computation of the localization weights and scaling factors is summarized in Algorithm 1.
3.5. Conditional flow and variational objective
The preceding construction defines a family of localized posteriors indexed by the target context. Approximating each distribution separately would require solving a new inference problem for every target context. We instead use a conditional normalizing flow to amortize inference over the context domain.
Let be a base random variable. A conditional normalizing flow transforms through an invertible map , parameterized by . The resulting conditional density is
(3.12)
The conditioner networks receive as an additional input [27, 18, 8, 9].
For each target context, the flow is trained to approximate the localized posterior by minimizing the negative evidence lower bound:
(3.13)
Minimizing this objective is equivalent to minimizing
since the two objectives differ by a constant independent of . The derivation is given in Appendix A.
To amortize the approximation, we consider a collection of target contexts , each with its bandwidth . We minimize the average negative ELBO,
For each target context, the bandwidth, localization weights, and scaling factor are precomputed.
For a target mini-batch , we draw parameter particles . For each target , let denote the final localization weight of observation , and define
We draw observation indices independently from
The stochastic negative ELBO is
(3.14)
Sampling observation indices according to the localization weights gives an unbiased Monte Carlo estimate of the weighted log-likelihood sum. Parameter particles are generated through the flow transformation, allowing reparameterization-based differentiation.
If each epoch visits all target contexts, the number of model evaluations scales as . The precomputation and training algorithms are given in Appendix A.
3.6. Aggregation under a prescribed context measure
The conditional flow provides a parameter distribution for each target context, with localization determined by its corresponding bandwidth . To obtain a parameter distribution relevant to the contexts specified by , we integrate the localized posteriors over this measure:
(3.15)
The resulting distribution is a mixture of localized posteriors weighted by the prescribed context measure. It is approximated by drawing target contexts from and parameter samples from the corresponding conditional flow.
4. Reference methods and predictive evaluation
We compare the predictive performance of localized and global calibration across contexts. We consider both point predictions and ensemble predictions, followed by aggregate error metrics over test contexts.
4.1. Reference methods
We consider two reference methods based on the global posterior, which uses all observations without localization. The first is deterministic calibration using the maximum a posteriori (MAP) estimate of the global posterior. The second approximates the global posterior using variational inference with a normalizing flow.
For posterior-based inference, we consider two prediction approaches. Point predictions are obtained by propagating a parameter estimate, either the posterior mode (MAP) or the componentwise posterior median, through . Ensemble predictions are obtained by propagating posterior parameter samples through the same model, allowing the resulting predictive uncertainty to be quantified.
4.2. Point and ensemble errors
All experiments are based on twin experiments, for which the noise-free physical response is available for evaluation: . However, the true context is not available to the calibration or prediction procedure. Predictions are therefore obtained by evaluating the numerical model at the recorded noisy context .
For a point estimate , the prediction is . For ensemble predictions, parameter samples are propagated through the same model at . Both are compared with the reference response using the absolute and relative discrepancies
(4.1)
For point predictions, the error is the chosen discrepancy between the propagated parameter estimate and the reference response. For ensemble predictions, let , , denote the predictive samples at recorded test context . We use the criterion
(4.2)
For , this is the empirical energy score, scaled by , and reduces to the empirical continuous ranked probability score (CRPS) in one dimension [11, 12, 24].
4.3. Aggregate metrics
We evaluate predictive performance over test contexts. For each evaluation criterion, let denote the corresponding per-context errors. We report their mean , empirical standard deviation Std(e), and upper-tail mean :
Here is the empirical -quantile of the per-context errors. We use , so measures the average upper tail error.
5. Branin-Hoo twin experiment
We consider a numerical model based on the Branin-Hoo function, a classical low-dimensional benchmark with a nonconvex structure and several separated basins of attraction.
5.1. Model, reference response, and data
For , the numerical model is , where
(5.1)
The synthetic physical response interpolates between two parameter regimes:
(5.2)
The parameters are , , , and . The transition prevents a single calibration parameter from representing both reference regimes. Figure 1 shows the model responses and context distributions.
Branin-Hoo Numerical Experiments Setup
Model Regimes

Context Distributions

Fig. 1: Branin-Hoo experiment. Left: synthetic physical response and the two regime-specific model responses. Right: uniform and Beta (2, 3) context distributions.
Calibration contexts are sampled from either Uniform ([0, 1]) or Beta (2, 3), the latter concentrating observations toward smaller context values. Both distributions are also used for evaluation, giving four combinations of calibration and test distributions. The observation-noise variance is , and the context-noise variance is . The calibration, test, and training-target sample sizes are 64, 16, and 100, respectively. Training target contexts are sampled uniformly, and each predictive ensemble contains 64 parameter samples. Predictions use the recorded noisy contexts, as described in subsection 4.2.
5.2. Inference settings
The prior is uniform on . The deterministic MAP optimization starts at 0.5. All methods use Adam with an initial learning rate of and 1500 iterations. The global and conditional normalizing flows use three spline coupling layers, eight spline bins, and a spline bound of 1. The conditional network has two hidden layers of width 32. Variational training uses 16 particles and a target-context batch size of 64.
5.3. Sensitivity to localization rate
Figure 2 reports the three absolute ensemble metrics across the localization-rate sweep, with one-standard-deviation envelopes over seeds. Under skewed calibration sampling, stronger localization decreases errors on uniformly distributed test contexts but can increase them on skewed test contexts. The skewed test distribution emphasizes the lower-context regime, where calibration dominated by that regime is less penalized. In contrast, uniform evaluation also covers the transition and the second regime. Under uniform calibration sampling, the reported metrics decrease with localization for both test distributions.
5.4. Aggregate ensemble performance
Table 1 reports the mean, standard deviation across test contexts, and upper-tail mean of the absolute energy score. For uniform calibration and uniform testing, the mean decreases from for the global posterior to and at localization rates of 30% and 70%, respectively. For skewed calibration and uniform testing, the corresponding values are , , and . The localized methods also reduce the reported upper-tail errors relative to the global posterior.
The effect of density correction depends on the localization rate and test distribution. Under skewed calibration and uniform testing, it improves the mean at 30% from 15.382 to 8.525, but the corrected mean at 70% is 7.334, compared with 7.169 without correction. Under skewed testing, the correction increases the mean at 30% from 9.201 to 9.665 and decreases it at 70% from 9.936 to 9.691.
5.5. Predictions and marginalized parameter distributions
The posterior predictive medians and 90% credible intervals in Figure 3 show that localized inference follows the change in physical response more closely than a single global calibration.
Figure 4 compares the marginalized parameter distributions under Beta (2, 3), the uniform measure, and Beta (3, 2). These measures emphasize smaller contexts, the full domain, and larger contexts, respectively. The marginalized distribution changes with the prescribed context measure. Under skewed calibration, however, the sampling imbalance continues to influence its structure. Uniform calibration gives a clearer separation between the contributions of the two parameter regimes. The corresponding marginalized distributions at 30% localization are presented in Appendix C.
Energy Score across Localization Rates

Fig. 2: Evolution of the energy-score metrics as a function of the localization rate. The first row corresponds to calibration with skewed context data, while the second row corresponds to calibration with uniformly distributed context data. Columns report the mean, standard deviation, and tail mean over the evaluation errors. Shaded regions indicate variability across the reported random-seed runs.
| Method | Std(e) | ||
|---|---|---|---|
| Uniform calibration; uniform test contexts | |||
| Global | 43.537 ± 19.324 | 22.919 ± 8.109 | 82.614 ± 30.431 |
| Localized 30% | 6.679 ± 0.265 | 5.071 ± 0.567 | 15.500 ± 2.037 |
| Localized 70% | 6.699 ± 0.222 | 4.614 ± 0.647 | 14.695 ± 1.703 |
| Uniform calibration; skewed test contexts | |||
| Global | 32.138 ± 13.502 | 22.571 ± 8.638 | 70.060 ± 27.025 |
| Localized 30% | 9.063 ± 0.929 | 10.770 ± 0.942 | 32.279 ± 3.927 |
| Localized 70% | 8.471 ± 0.837 | 9.956 ± 0.732 | 29.227 ± 2.937 |
| Skewed calibration; uniform test contexts | |||
| Global | 43.846 ± 17.640 | 23.770 ± 6.462 | 84.244 ± 25.942 |
| Localized 30% | 15.382 ± 1.857 | 11.468 ± 1.602 | 39.957 ± 4.217 |
| Localized corrected 30% | 8.525 ± 0.772 | 6.453 ± 0.869 | 22.649 ± 2.841 |
| Localized 70% | 7.169 ± 0.403 | 5.361 ± 0.222 | 17.545 ± 1.156 |
| Localized corrected 70% | 7.334 ± 0.551 | 5.462 ± 0.237 | 18.305 ± 1.351 |
| Skewed calibration; skewed test contexts | |||
| Global | 30.637 ± 14.464 | 21.951 ± 8.659 | 68.719 ± 27.332 |
| Localized 30% | 9.201 ± 0.084 | 10.024 ± 0.143 | 30.591 ± 0.503 |
| Localized corrected 30% | 9.665 ± 0.480 | 10.799 ± 0.454 | 33.792 ± 1.795 |
| Localized 70% | 9.936 ± 0.487 | 11.369 ± 0.324 | 35.770 ± 1.396 |
| Localized corrected 70% | 9.691 ± 0.474 | 11.451 ± 0.476 | 35.607 ± 1.852 |
Table 1: Absolute ensemble energy-score aggregates. The columns give the mean, standard deviation across test contexts, and upper-tail mean. Each cell is the mean ± standard deviation over the reported seed runs.
Posterior Predictive Distributions

Fig. 3: Posterior predictive distributions for the Branin–Hoo benchmark at localization rates 30% and 70%. Rows correspond to calibration with skewed and uniform context distributions, while columns compare the two localization rates. Each panel shows the predictive 90% credible intervals, posterior medians, physical response, and deterministic MAP prediction.
Posterior Marginalization with Context Distributions Localization rate 70%

Fig. 4: Marginalized posterior distributions for localization rate 70%, obtained by integrating the localized posterior over different context distributions. The first row corresponds to calibration with skewed context data, while the second row corresponds to calibration with uniform context data. Columns show marginalization with respect to context distributions concentrated toward smaller values, uniform contexts, and distributions concentrated toward larger values. Vertical dotted lines indicate the reference parameter values associated with the two regimes.
6. Ocean turbulence-closure twin experiment
We apply amortized localized posterior calibration to a single-column ocean model implemented in Jax by [26] from [28]. The closure [20] is implemented in the generic length-scale framework [34].
6.1. Single-column model, transport, and surface forcing
The vertical coordinate increases upward. The state is , consisting of zonal velocity, temperature, and salinity. Coriolis frequency, meridional forcing, and initial meridional velocity are zero, so the meridional velocity remains zero. Density follows the linear equation of state
(6.1)
Vertical turbulent diffusivity and viscosity govern transport:
(6.2)
At the surface,
(6.3)
Positive represents heat entering the ocean, whereas negative represents surface cooling. Positive accelerates the positive zonal velocity. Bottom tracer fluxes and stress are zero, with at . The context is . Temperature and zonal velocity are the observed variables.
6.2. Turbulence closure and calibrated parameters
The closure evolves turbulent kinetic energy k and its dissipation rate :
(6.4)
The production terms and mixing parameters are
The stability functions and depend algebraically on and . Their parameters are fixed. Stable stratification gives , whereas unstable stratification gives ; takes its prescribed stable or unstable value.
The calibrated parameters are . The parameter weights shear production in (6.5), while relates the turbulent length scale to k and :
(6.7)
The parameter bounds were selected around the default values while accounting for numerical stability. The physical and closure settings are provided in Appendix E, and Table 5 lists the default closure values and fixed stability-function parameters.
6.3. Forcing-dependent reference parameters
To construct the twin experiment, we generate the reference response using the same numerical model with context-dependent parameters:
(6.8)
Let and denote the forcing coordinates scaled to [0,1] using their domain bounds. The imposed distortion is
(6.9)
The smooth transition is defined in Appendix D. Thus, wind forcing changes , while heat forcing changes , producing four forcing regimes. Figure 5 illustrates the imposed distortion.
Parameter Distortion Fields

Fig. 5: Illustration of the context-dependent parameter-space distortion used to represent model discrepancy in the twin experiment.
6.4. Data, uncertainty, and numerical configuration
Contexts are sampled uniformly over the forcing domain. The calibration and test sets contain 1 024 and 512 contexts, respectively, and 512 target contexts are used for amortized training. Each response concatenates temperature and zonal velocity over 100 depth cells and 73 stored times. With , the observation-noise covariance is
(6.10)
Each observation-noise standard deviation is 5% of the corresponding reference-signal standard deviation in the calibration dataset.
Recorded contexts have independent Gaussian errors with covariance
(6.11)
These standard deviations are approximately 5% of the respective forcing ranges.
The 2000 m column uses 100 cells, approximately uniform in the upper ocean and increasingly thick below 400 m, with stretching parameter . Each simulation lasts 72 h, with a time step of 50 s and output every 3600 s. The 73 stored times include the initial state. The initial profiles are
(6.12)
Uniform salinity and zero salinity flux imply that temperature controls the density gradient. The surface-forcing domain is
6.5. Inference and predictive evaluation
All methods use 45 epochs, an initial learning rate of , and random seed 100. The flows use three layers, hidden dimensions (64, 64, 64), eight spline bins, a spline bound of 5, and a gradient-clipping norm of 0.5. Complete settings are provided in Appendix E.
We evaluate temperature and zonal velocity separately using the point and ensemble criteria defined in section 4. For each variable, predictions and reference responses are flattened over depth and time, giving an output dimension m. Predictions use the recorded noisy contexts. The reported aggregate metrics are computed over the 512 test contexts.
The profile comparisons show posterior predictive medians and 90% intervals, the twin reference, and deterministic MAP predictions. Normalized depth is computed using the mixed-layer diagnostic described in Appendix D.
6.6. Aggregate errors and parameter distributions
Table 2 reports the point and ensemble errors. The deterministic MAP mean RMSE is 0.01833 K for temperature and 0.05737 m/s for zonal velocity. Global-posterior point summaries give similar errors. Localized-posterior median predictions reduce the means to 0.01160 K and 0.02826 m/s at 80% localization, and to 0.01097 K and 0.02530 m/s at 98% localization, respectively. Localized MAP predictions are close to the median predictions.
The global mean ensemble scores are 0.01790 K and 0.05362 m/s. At 80% localization, they decrease to 0.01134 K and 0.02725 m/s; at 98%, they decrease to 0.01044 K and 0.02305 m/s. The standard deviations and upper-tail means also decrease.
The marginalized localized posterior in Figure 6 is estimated using 32 parameter samples at each of 1000 contexts and displayed through kernel density estimation. Three modes correspond to weak-wind cooling, strong-wind cooling, and strong-wind heating. The weak-wind heating regime is less identifiable: limited mixing under these stable, weakly forced conditions reduces the response sensitivity to the closure parameters.
6.7. Time-averaged profiles across forcing regimes
Figures 7 and 8 show time-averaged profiles at 98 % localization across the selected forcing regimes. Global calibration remains farther from the twin profiles, whereas localized predictions adapt more closely to the forcing context. The localized predictive intervals widen in transitions between regimes, where nearby contexts support different adequate parameter values. The final-time comparisons after 72 h, presented in Appendix F, show the same behavior for both variables.
| Method | Prediction | Std(e) | ||
|---|---|---|---|---|
| Temperature (K) | ||||
| Deterministic MAP | MAP | 0.018 33 | 0.017 63 | 0.057 66 |
| Global | Median | 0.018 02 | 0.018 74 | 0.060 33 |
| Global | MAP | 0.018 52 | 0.020 98 | 0.067 39 |
| Localized 80% | Median | 0.011 60 | 0.011 40 | 0.036 20 |
| Localized 80% | MAP | 0.011 61 | 0.011 40 | 0.036 22 |
| Localized 98% | Median | 0.010 97 | 0.011 26 | 0.035 06 |
| Localized 98% | MAP | 0.011 00 | 0.011 35 | 0.035 22 |
| Global | Ensemble | 0.017 90 | 0.018 68 | 0.060 09 |
| Localized 80% | Ensemble | 0.011 34 | 0.011 32 | 0.035 77 |
| Localized 98% | Ensemble | 0.010 44 | 0.011 07 | 0.034 22 |
| Zonal velocity (m s ) | ||||
| Deterministic MAP | MAP | 0.057 37 | 0.026 71 | 0.106 78 |
| Global | Median | 0.054 10 | 0.028 26 | 0.109 78 |
| Global | MAP | 0.055 54 | 0.031 93 | 0.123 54 |
| Localized 80% | Median | 0.028 26 | 0.016 56 | 0.063 06 |
| Localized 80% | MAP | 0.028 26 | 0.016 54 | 0.062 99 |
| Localized 98% | Median | 0.025 30 | 0.016 31 | 0.059 69 |
| Localized 98% | MAP | 0.025 34 | 0.016 20 | 0.059 56 |
| Global | Ensemble | 0.053 62 | 0.028 20 | 0.109 26 |
| Localized 80% | Ensemble | 0.027 25 | 0.016 34 | 0.061 62 |
| Localized 98% | Ensemble | 0.023 05 | 0.015 72 | 0.056 14 |
Table 2: Predictive error aggregates over 512 test contexts. Point predictions use absolute RMSE; ensembles use the absolute energy score.
Marginalized Posterior

Fig. 6: Marginalized posterior obtained by combining 32 samples from the localized posterior at each of 1000 contexts spanning the context domain. The contours are estimated using kernel density estimation. The localized posterior uses rate 98%.
Average Time Profile of Temperature


Wind Transition, Heating
Heat Transition, Low wind


Fig. 7: Time-averaged temperature profiles as functions of normalized depth for representative forcing regimes. The black curves denote the reference twin-simulation profiles. The green and red curves represent the posterior medians obtained from the localized and global posteriors, respectively, with shaded regions indicating the corresponding 90% credible intervals. The blue dashed curves represent the predictions based on the maximum a posteriori estimates. The displayed depth range is restricted to the upper mixed-layer region, . Localized curves use 98% localization.
Average Time Profile of Zonal Velocity


Wind Transition, Heating
Heat Transition, Low wind


Localized CI
Global CI
Localized Median
Global Median
Physical
MAP
Fig. 8: Time-averaged zonal-velocity profiles as functions of normalized depth for representative forcing regimes. The black curves denote the reference twin-simulation profiles. The green and red curves represent the posterior medians obtained from the localized and global posteriors, respectively, with shaded regions indicating the corresponding 90% credible intervals. The blue dashed curves represent the predictions based on the maximum a posteriori estimates. The displayed depth range is restricted to the upper mixed-layer region, . Localized curves use 98% localization.
7. Discussion
In the Branin–Hoo experiment, localization reduces predictive errors in the presence of context-dependent model discrepancy. The results also show why robustness must be assessed relative to a prescribed context measure. Increasing the localization rate can improve performance across the full context domain while degrading performance under a test distribution concentrated in one regime. Density correction changes this balance but does not eliminate dependence on calibration context distribution.
In the ocean experiment, amortized localized posterior inference reduces the aggregate predictive errors and provides predictive intervals that vary with context. The reference response is generated by the same numerical model with context-dependent parameters. Thus, an adequate parameter exists at each context by construction, while a single global parameter must represent several forcing regimes. The experiment therefore tests calibration under the imposed parameter dependence rather than discrepancy arising from a missing physical mechanism. The weak-wind heating regime also shows that local compensability does not ensure parameter identifiability when the response is insensitive to mixing.
Localization preserves the original numerical model and parameter interpretation. Its applicability requires local compensability and sufficient information from nearby contexts. Sparse sampling, large context uncertainty, or rapid changes in adequate parameters restrict the useful localization strength.
The conditional flow amortizes inference across contexts, but flow approximation and optimization remain additional sources of error.
8. Conclusion
We constructed localized calibration posteriors using weighted likelihoods, effective-sample-size scaling, and a context-noise adjustment. A conditional normalizing flow approximates the posterior family and allows aggregation under a prescribed context measure. In the Branin–Hoo twin experiment, localization reduces aggregate predictive errors relative to global variational inference.
Localized Bayesian calibration of two closure coefficients improves temperature and zonal-velocity predictions in a forcing-dependent single-column ocean model twin experiment. Both evaluated localization rates reduce point and ensemble error aggregates relative to deterministic and global-posterior calibration. The profiles and marginalized parameter distribution show adaptation to several imposed forcing regimes, with reduced parameter identifiability under weak-wind heating conditions.
The method relies on the local structure of the context domain and the assumption that model discrepancy can be approximately compensated by calibration parameters.
Appendix A. Localized ELBO identity and inference procedures
A.1. Localized ELBO identity
For a fixed target context , let
where is the observation likelihood contribution defined in subsection 3.1. The normalized localized posterior is
(A.1)
with normalization constant
assumed finite and positive.
Substituting this expression into the reverse Kullback–Leibler divergence gives
(A.2)
where is the negative ELBO defined in (3.13). Equivalently,
Since the Kullback–Leibler divergence is nonnegative, the localized ELBO is a lower bound on the log normalization constant. Maximizing it is therefore equivalent to minimizing the negative ELBO.
A.2. Localization precomputation
For each target context, the bandwidth is selected to match the prescribed localization rate . An initial upper bracket is obtained from the largest scaled target-observation distance
The upper bound is expanded until the target rate is bracketed, after which Brent's method is applied. The rate is computed using the final normalized weights, including the selected corrections. If the prescribed rate cannot be bracketed, a bandwidth cannot be determined by this procedure.
Algorithm 1: Localization precomputation
Input: Calibration and target contexts; , ; target rate ; lower bandwidth ; bracket factors , ; optional and .
Output: Bandwidths , weights , and scaling factors .
for each target do
;
Expand until the target rate is bracketed, if feasible;
Solve on using Brent's method;
Compute the selected kernel weights at bandwidth , including the noise and reflection corrections when applied;
Apply the optional density correction and normalize to obtain ;
;
A.3. Conditional-flow training
The conditional flow is trained using the stochastic negative ELBO in (3.14). For each target mini-batch, parameter particles are sampled from the conditional flow, while observation indices are sampled according to the precomputed localization weights.
Algorithm 2: Stochastic training of the conditional flow
Input: Calibration data; target contexts; precomputed , and ; number of epochs; target batch size ; observation batch size ; particle count .
Output: Trained conditional flow .
for each epoch do
Randomly partition target contexts into mini-batches of size ; for each target mini-batch do
for do
Draw particles from ;
Draw observation indices from ;
Evaluate (3.14) and differentiate through the reparameterized particles;
Update using the optimizer and learning-rate schedule;
Appendix B. Localization-kernel illustrations
B.1. Uniform context sampling
Figure 9 shows the average localization weights when the observed contexts and target contexts are sampled uniformly on U.
Kernel Comparison for a Uniform Distribution

Fig. 9: Average localization weights across 1000 observed contexts drawn uniformly on U. For each observed context value on the horizontal axis, the plotted quantity is its mean localization weight when the target context is also sampled uniformly on U. The blue curve corresponds to the Gaussian kernel, the red curve to the reflected Gaussian kernel, and the dashed horizontal line to the nominal uniform weight .
B.2. Skewed context sampling
Figure 10 shows the average localization weights under skewed context sampling and illustrates the effect of the optional density correction in (3.6).
Kernel Comparison for a Skewed Distribution

Fig. 10: Average localization weights across 1000 observed contexts drawn from a skewed distribution on U. For each observed context value , the plotted quantity is its mean localization weight when the target context is sampled from the same context domain. The red curve corresponds to the reflected Gaussian kernel, and the green curve to the reflected kernel with the density correction defined in (3.6).
Appendix C. Branin–Hoo additional results.
C.1. Point-prediction sensitivity to localization rate
RMSE of MAP Predictions across Localization Rates

Fig. 11: Variation of the MAP-based point-prediction error as a function of the localization rate. The first row corresponds to calibration with skewed context data, while the second row corresponds to calibration with uniformly distributed context data.
RMSE of Posterior Median Predictions across Localization Rates

Fig. 12: Variation of the posterior-median point-prediction error as a function of the localization rate. The first row corresponds to calibration with skewed context data, while the second row corresponds to calibration with uniformly distributed context data.
C.2. Aggregate point-prediction errors
| Method | Summary | Std(e) | ||
|---|---|---|---|---|
| Uniform calibration; uniform test contexts | ||||
| Global | Median | 44.286 ± 19.106 | 23.318 ± 7.965 | 83.929 ± 29.832 |
| Mode | 44.288 ± 19.101 | 23.323 ± 7.958 | 83.940 ± 29.813 | |
| Localized 30% | Median | 6.956 ± 0.332 | 5.136 ± 0.618 | 15.838 ± 2.308 |
| Mode | 6.952 ± 0.339 | 5.166 ± 0.623 | 15.857 ± 2.298 | |
| Localized 70% | Median | 7.214 ± 0.188 | 4.723 ± 0.684 | 15.230 ± 1.884 |
| Mode | 7.234 ± 0.202 | 4.713 ± 0.698 | 15.249 ± 1.879 | |
| Uniform calibration; skewed test contexts | ||||
| Global | Median | 32.544 ± 13.364 | 22.763 ± 8.544 | 70.723 ± 26.694 |
| Mode | 32.542 ± 13.366 | 22.758 ± 8.551 | 70.712 ± 26.710 | |
| Localized 30% | Median | 9.320 ± 0.984 | 10.791 ± 0.976 | 32.570 ± 4.006 |
| Mode | 9.260 ± 1.027 | 10.829 ± 0.943 | 32.547 ± 3.992 | |
| Localized 70% | Median | 8.856 ± 0.819 | 10.007 ± 0.728 | 29.679 ± 2.884 |
| Mode | 8.823 ± 0.830 | 10.014 ± 0.742 | 29.575 ± 2.942 | |
| Skewed calibration; uniform test contexts | ||||
| Global | Median | 45.673 ± 17.880 | 24.504 ± 6.504 | 87.033 ± 26.146 |
| Mode | 45.663 ± 17.890 | 24.500 ± 6.507 | 87.018 ± 26.160 | |
| Localized 30% | Median | 15.997 ± 1.673 | 11.644 ± 1.505 | 40.750 ± 3.869 |
| Mode | 15.958 ± 1.709 | 11.657 ± 1.529 | 40.750 ± 3.938 | |
| Localized corrected 30% | Median | 8.950 ± 0.768 | 6.524 ± 0.880 | 23.059 ± 2.828 |
| Mode | 8.862 ± 0.769 | 6.476 ± 0.861 | 22.898 ± 2.813 | |
| Localized 70% | Median | 7.820 ± 0.478 | 5.576 ± 0.183 | 18.578 ± 1.322 |
| Mode | 7.782 ± 0.482 | 5.578 ± 0.196 | 18.497 ± 1.292 | |
| Localized corrected 70% | Median | 8.058 ± 0.574 | 5.692 ± 0.187 | 19.420 ± 1.346 |
| Mode | 7.993 ± 0.581 | 5.695 ± 0.164 | 19.359 ± 1.219 | |
| Skewed calibration; skewed test contexts | ||||
| Global | Median | 31.806 ± 14.588 | 22.689 ± 8.622 | 70.568 ± 27.055 |
| Mode | 31.807 ± 14.584 | 22.686 ± 8.625 | 70.559 ± 27.067 | |
| Localized 30% | Median | 9.630 ± 0.082 | 10.123 ± 0.194 | 31.151 ± 0.586 |
| Mode | 9.639 ± 0.091 | 10.092 ± 0.177 | 31.088 ± 0.559 | |
| Localized corrected 30% | Median | 10.079 ± 0.560 | 10.977 ± 0.473 | 34.470 ± 1.889 |
| Mode | 10.091 ± 0.604 | 10.910 ± 0.461 | 34.329 ± 1.899 | |
| Localized 70% | Median | 10.493 ± 0.517 | 11.555 ± 0.341 | 36.579 ± 1.472 |
| Mode | 10.466 ± 0.608 | 11.564 ± 0.301 | 36.528 ± 1.528 | |
| Localized corrected 70% | Median | 10.249 ± 0.520 | 11.676 ± 0.521 | 36.508 ± 1.915 |
| Mode | 10.195 ± 0.662 | 11.675 ± 0.469 | 36.397 ± 2.061 | |
Table 3: Absolute point-prediction RMSE aggregates for posterior median and mode summaries. Each cell reports the mean ± one standard deviation over the reported seed runs. The columns report the mean error, standard deviation across test contexts, and upper-tail mean at level 0.9, respectively.
C.3. Context-wise point errors and relative ensemble diagnostic
Figure 15 shows the relative ensemble diagnostic across the context domain. Errors concentrate differently around the designed transition and the less represented regime.
Context-wise Relative RMSE of MAP Predictions

Fig. 13: Context-wise MAP point-prediction errors for the Branin–Hoo benchmark. Rows correspond to skewed and uniform calibration context distributions, while columns compare the selected localization rates.
Context-wise Relative RMSE of Posterior Median Predictions

Fig. 14: Context-wise posterior-median point-prediction errors for the Branin-Hoo benchmark. Rows correspond to skewed and uniform calibration context distributions, while columns compare the selected localization rates.
Context-wise Relative Energy Score

Fig. 15: Relative ensemble diagnostic across contexts in the Branin–Hoo experiment. Rows correspond to skewed and uniform calibration context distributions, while columns compare the selected localization rates.
C.4. Marginalized posteriors at 30% localization
The marginalized densities at 30% use the same three context measures and calibration distributions as the 70% comparison. The reference lines identify the two regime parameters.
Posterior Marginalization with Context Distributions Localization rate 30%

Fig. 16: Marginalized posterior distributions for localization rate 30%, obtained by integrating the localized posterior over different context distributions. The first row corresponds to calibration with skewed context data, while the second row corresponds to calibration with uniform context data. Columns show marginalization with respect to context distributions concentrated toward smaller values, uniform contexts, and distributions concentrated toward larger values. Vertical dotted lines indicate the reference parameter values associated with the two regimes.
Appendix D. Ocean model settings and twin specification.
D.1. Single-column configuration
| Parameter | Symbol | Value | Unit |
|---|---|---|---|
| Grid | |||
| Number of cells | 100 | – | |
| Total depth | 2 000 | m | |
| Surface control depth | 400 | m | |
| Stretching parameter | 6.5 | – | |
| Time | |||
| Simulation duration | 72 | h | |
| Model time step | 50 | s | |
| Output interval | 3 600 | s | |
| Physics | |||
| Reference density | 1 027 | kg/m³ | |
| Gravity | 9.81 | m/s² | |
| Heat capacity | 3 985 | J/(kg K) | |
| Thermal expansion | 1.994 2 × 10⁻⁴ | 1/K | |
| Haline contraction | 8.0 × 10⁻⁴ | 1/psu | |
| Von Kármán constant | 0.41 | – | |
| Coriolis parameter | 0 | 1/s | |
| Initial conditions | |||
| Surface temperature | 2.0 | °C | |
| Temperature gradient | 1 × 10⁻³ | K/m | |
| Surface salinity | 32.6 | psu | |
| Salinity gradient | 0 | psu/m | |
Table 4: Single-column model configuration parameters.
D.2. Turbulence-closure parameter settings
| Group | Symbol | Default value |
|---|---|---|
| Stability function | 5.0 | |
| 0.8 | ||
| 1.968 | ||
| 1.136 | ||
| 0.0 | ||
| 0.4 | ||
| 5.95 | ||
| 0.6 | ||
| 1.0 | ||
| 0.0 | ||
| 0.3333 | ||
| 0.72 | ||
| Dissipation and transport | 0.5477 | |
| 1.0 | ||
| 1.3 | ||
| 1.44 | ||
| 1.92 | ||
| -0.4 | ||
| 1.0 | ||
| GLS exponents | 3 | |
| 1.5 | ||
| -1 |
Table 5: Default parameters of the turbulence closure.
D.3. Smooth distortion and forcing regimes
The smooth transition [25] is
(D.1)
| Regime | Plateau conditions | |
|---|---|---|
| Low wind and cooling | ||
| High wind and cooling | ||
| Low wind and heating | ||
| High wind and heating |
Table 6: Four main parameter-distortion regimes.
Smooth Transitions for Different Transition Widths

Fig. 17: Quintic smooth-transition function for three values of .
D.4. State-closure coupling and mixed-layer diagnostic
The profile figures use the mixed-layer-depth diagnostic of [21]. For the convective configuration, the minimum upward buoyancy flux defines the diagnosed depth. With buoyancy and uniform salinity,
(D.2)
Since , the two fluxes attain their minimum at the same coordinate:
(D.3)
The figures use normalized depth . The time-averaged profiles are shown on .
Single-Column Model and Turbulence Closure Coupling

Fig. 18: Coupling between the physical context, the resolved single-column state, and the turbulence closure. The state determines the local shear and stratification entering the closure. The closure then returns the turbulent diffusivity and viscosity , shown in red, which close the state-evolution equations. Temperature and zonal velocity are used as synthetic observations for calibration.
Appendix E. Ocean calibration and training settings.
E.1. Data and prior
The prior is uniform on for .
| Quantity | Symbol | Value |
|---|---|---|
| Calibration data size | 1 024 | |
| Test data size | 512 | |
| Target contexts | 512 | |
| Temperature noise standard deviation | 5% of reference-signal std. | |
| Zonal-velocity noise standard deviation | 5% of reference-signal std. | |
| Wind-forcing noise standard deviation | ||
| Heat-forcing noise standard deviation | ||
| Observation noise covariance | R | diag() |
| Context noise covariance | Q | diag() |
Table 7: Summary of the calibration configuration.
E.2. Optimization, flow architecture, and bandwidth settings
The tables give the data-noise and method-specific settings. Bandwidth precomputation uses the reflected Gaussian kernel, minimum bandwidth , initial bracket distance multiplier 4, expansion factor 2, and at most 100 expansions. A target rate must be attainable and bracketed for root finding.
| Setting | Value |
|---|---|
| Common training settings | |
| Number of epochs | 45 |
| Initial learning rate | |
| Random seed | 100 |
| Common normalizing-flow settings | |
| Gradient clipping norm | 0.5 |
| Number of flow layers | 3 |
| Hidden dimensions | (64, 64, 64) |
| Number of spline bins | 8 |
| Spline bound | 5.0 |
| MAP baseline | |
| Batch size | 128 |
| Initial value of | 0.65 |
| Initial value of | 1.20 |
| Global posterior approximation | |
| Learning rate decay | 0.993 443 |
| Batch size | 64 |
| Number of particles | 16 |
| Localized posterior approximation | |
| Target localization rates | 80%, 98% |
| Kernel mode | Reflected Gaussian |
| Context weights | (1.0, 1.0) |
| Distance multiplier | 4.0 |
| Minimum bandwidth | |
| Maximum bracketing expansions | 100 |
| Bracketing expansion factor | 2.0 |
| Learning rate decay | 0.997 126 |
| Target-context batch size | 16 |
| Number of particles | 8 |
| Observation sample size | 128 |
Table 8: Configuration of the MAP baseline, the global normalizing-flow posterior approximation, and the localized normalizing-flow posterior approximation.
Appendix F. Final-time ocean profiles
The figures show temperature and zonal-velocity profiles at 72 hours, using the same curves and posterior bands as the time-averaged comparisons.
F.1. Temperature
Final Time Profile of Temperature


Wind Transition, Heating
Heat Transition, Low wind


Fig. 19: Final temperature profiles after 72 h as functions of normalized depth for representative forcing regimes. The black curves denote the reference twin-simulation profiles. The green and red curves represent the posterior medians obtained from the localized and global posteriors, respectively, with shaded regions indicating the corresponding 90% credible intervals. The blue dashed curves represent the predictions based on the maximum a posteriori estimates. Localized curves use 98% localization.
F.2. Zonal velocity
Final Time Profile of Zonal Velocity

Wind Transition, Heating

Heat Transition, Low wind


Localized CI — Localized Median — Physical
Global CI — Global Median — MAP
Fig. 20: Final zonal-velocity profiles after 72 h as functions of normalized depth for representative forcing regimes. The black curves denote the reference twin-simulation profiles. The green and red curves represent the posterior medians obtained from the localized and global posteriors, respectively, with shaded regions indicating the corresponding 90% credible intervals. The blue dashed curves represent the predictions based on the maximum a posteriori estimates. Localized curves use 98% localization.
Acknowledgments. This work was supported by the French Ministry of Higher Education and Research through the CIFRE (Conventions Industrielles de Formation par la Recherche) program, administered by the Association Nationale de la Recherche et de la Technologie (ANRT), under CIFRE agreement No. 2022/1801, in collaboration with Bull.
This project was provided with HPC/AI computing and storage resources by GENCI at IDRIS thanks to grant AD010117241 on the Jean Zay supercomputer's CSL, A100, and H100 partitions.
REFERENCES
[1] O. ALIZADEH, Advances and challenges in climate modeling, Climatic Change, 170 (2022), p. 18, https://doi.org/10.1007/s10584-021-03298-4.
[2] P. BAUER, A. THORPE, AND G. BRUNET, The quiet revolution of numerical weather prediction, Nature, 525 (2015), pp. 47–55, https://doi.org/10.1038/nature14956.
[3] D. M. BLEI, A. KUCUKELBIR, AND J. D. MCAULIFFE, Variational inference: A review for statisticians, Journal of the American Statistical Association, 112 (2017), pp. 859–877.
[4] Z. I. BOTEV, J. F. GROTOWSKI, AND D. P. KROESE, Kernel density estimation via diffusion, The Annals of Statistics, 38 (2010), pp. 2916–2957, https://doi.org/10.1214/10-AOS799.
[5] M. A. BRUNKE, Z. WANG, X. ZENG, M. BOSILOVICH, AND C.-L. SHIE, An assessment of the uncertainties in ocean surface turbulent fluxes in 11 reanalysis, satellite-derived, and combined global datasets, Journal of Climate, 24 (2011), pp. 5469–5493.
[6] J. BRYNJARSDÓTTIR AND A. O'HAGAN, Learning about physical parameters: The importance of model discrepancy, Inverse problems, 30 (2014), p. 114007.
[7] R. J. CARROLL, D. RUPPERT, L. A. STEFANSKI, AND C. M. CRAINICEANU, Measurement error in nonlinear models: a modern perspective, Chapman and Hall/CRC, 2006.
[8] L. DINH, D. KRUEGER, AND Y. BENGIO, Nice: Non-linear independent components estimation, arXiv preprint arXiv:1410.8516, (2014).
[9] L. DINH, J. SOHL-DICKSTEIN, AND S. BENGIO, Density estimation using real nvp, arXiv preprint arXiv:1605.08803, (2016).
[10] S. FATICHI, E. R. VIVONI, F. L. OGDEN, V. Y. IVANOV, B. MIRUS, D. GOCHIS, C. W. DOWNER, M. CAMPORESE, J. H. DAVISON, B. EBEL, N. JONES, J. KIM, G. MASCARO, R. NISWONGER, P. RESTREPO, R. RIGON, C. SHEN, M. SULIS, AND D. TARBOTON, An overview of current applications, challenges, and future trends in distributed process-based models in hydrology, Journal of Hydrology, 537 (2016), pp. 45–60, https://doi.org/10.1016/j.jhydrol.2016.03.026.
[11] T. GNEITING AND A. E. RAFTERY, Strictly proper scoring rules, prediction, and estimation, Journal of the American Statistical Association, 102 (2007), pp. 359–378.
[12] T. GNEITING, A. E. RAFTERY, A. H. WESTVELD III, AND T. GOLDMAN, Calibrated probabilistic forecasting using ensemble model output statistics and minimum crps estimation, Monthly weather review, 133 (2005), pp. 1098–1118.
[13] S. GRIFFIES, Fundamentals of Ocean Climate Models, Princeton University Press, 2018.
[14] N. G. HEAVENS, D. S. WARD, AND M. NATALIE, Studying and projecting climate change with earth system models, Nature Education Knowledge, 4 (2013), p. 4.
[15] M. D. HOFFMAN, D. M. BLEI, C. WANG, AND J. PAISLEY, Stochastic variational inference, Journal of Machine Learning Research, (2013).
[16] M. I. JORDAN, Z. GHAHRAMANI, T. S. JAAKKOLA, AND L. K. SAUL, An introduction to variational methods for graphical models, Machine learning, 37 (1999), pp. 183–233.
[17] M. C. KENNEDY AND A. O'HAGAN, Bayesian calibration of computer models, Journal of the Royal Statistical Society: Series B (Statistical Methodology), 63 (2001), pp. 425–464, https://doi.org/10.1111/1467-9868.00294.
[18] D. P. KINGMA, T. SALIMANS, R. JOZEFOWICZ, X. CHEN, I. SUTSKEVER, AND M. WELLING, Improved variational inference with inverse autoregressive flow, Advances in neural information processing systems, 29 (2016).
[19] L. KISH, Weighting for unequal pi, Journal of Official Statistics, 8 (1992), p. 183.
[20] B. E. LAUNDER AND B. I. SHARMA, Application of the energy-dissipation model of turbulence to the calculation of flow near a spinning disc, Letters in heat and mass transfer, 1 (1974), pp. 131–137.
[21] F. LEMARIÉ AND M. PERROT, Data and code for” energetically consistent eddy-diffusivity mass-flux convective schemes. part ii: Implementation and evaluation in an oceanic context.”, Zenodo, (2025).
[22] N. LEONI, O. LE MAITRE, M.-G. RODIO, AND P. M. CONGEDO, Bayesian calibration with adaptive model discrepancy, International Journal for Uncertainty Quantification, 14 (2024).
[23] Y. LING, J. MULLINS, AND S. MAHADEVAN, Selection of model discrepancy priors in bayesian calibration, Journal of Computational Physics, 276 (2014), pp. 665–680.
[24] C. MILLS, M. RUDOLPH, AND V. LEKÍC, Exploring and summarizing ensemble solutions to geophysical inverse problems, Journal of Geophysical Research: Machine Learning and
Computation, 2 (2025), p. e2024JH000472.
[25] B. MONGWANE, Toward a consistent framework for high order mesh refinement schemes in numerical relativity, General Relativity and Gravitation, 47 (2015), p. 60.
[26] G. MOUTTAPA AND J. LE SOMMER, TUNAX: Variational calibration of vertical physics schemes in ocean models. Python package, 2024, https://pypi.org/project/tunax/. Stable version, implemented in JAX; documentation built with Sphinx.
[27] G. PAPAMAKARIOS, T. PAVLAKOU, AND I. MURRAY, Masked autoregressive flow for density estimation, Advances in neural information processing systems, 30 (2017).
[28] M. PERROT, F. LEMARIÉ, AND T. DUBOS, Energetically consistent eddy-diffusivity mass-flux convective schemes. part I: Theory and models, Journal of Advances in Modeling Earth Systems, 17 (2025), p. e2024MS004616, https://doi.org/10.1029/2024MS004616.
[29] K. RADIŠIĆ, Consideration of external uncertainties in the estimation of parameters of a water and pesticide transfer model at the catchment scale, PhD thesis, Université Grenoble Alpes, 2025.
[30] D. REZENDE AND S. MOHAMED, Variational inference with normalizing flows, in International conference on machine learning, PMLR, 2015, pp. 1530–1538.
[31] E. F. SCHUSTER, Incorporating support constraints into nonparametric estimators of densities, Communications in Statistics-Theory and methods, 14 (1985), pp. 1123–1136.
[32] R. TIBSHIRANI AND T. HASTIE, Local likelihood estimation, Journal of the American Statistical Association, 82 (1987), pp. 559–567.
[33] V. TRAPPLER, Contrôle de paramètre en présence d'incertitudes, PhD thesis, Université Grenoble Alpes, 2021.
[34] L. UMLAUF AND H. BURCHARD, A generic length-scale equation for geophysical turbulence models, Journal of Marine Research, 61 (2003), pp. 235–265, https://doi.org/10.1357/002224003322005087.
[35] H. YANG, C. CHEN, AND J.-L. WU, Active learning of model discrepancy with bayesian experimental design, Computer Methods in Applied Mechanics and Engineering, 446 (2025), p. 118198.