---
title: 'MF-GLaMs: Multifidelity Lambda Models'
url: https://www.emergentmind.com/topics/multifidelity-generalized-lambda-models-mf-glams
type: topic
---

# MF-GLaMs: Multifidelity Lambda Models

Searching arXiv for the MF-GLaM paper and closely related context.
arXiv search query: "MF-GLaM A multifidelity stochastic emulator using generalized lambda models"
Multifidelity Generalized Lambda Models (MF-GLaMs) are a non-intrusive multifidelity surrogate modeling approach for stochastic simulators that aims to emulate the full conditional response distribution of a high-fidelity (HF) simulator by exploiting data from a lower-fidelity (LF) stochastic simulator. In this setting, a simulator produces random outputs even at fixed input conditions because of unobservable, uncontrollable, or unmodeled input variables, so the target is not a deterministic response surface but the conditional distribution $p_H(y \mid x)$. MF-GLaMs represent that distribution parametrically through a four-parameter generalized lambda distribution (GLD) whose parameters vary with the input, and then couple LF and HF models through parameter-level discrepancies. The method is designed for black-box access, requires only input/output pairs, and does not require replications at identical inputs or access to internal random seeds [2507.10303].

## 1. Problem setting and modeling objective

For inputs $x \in \mathbb{R}^d$, a stochastic simulator $M_s$ produces random outputs $Y$, so that $Y \mid x$ has a conditional distribution $p(y \mid x)$. MF-GLaMs consider two such simulators: a high-fidelity simulator with conditional distribution $p_H(y \mid x)$ and a low-fidelity simulator with conditional distribution $p_L(y \mid x)$. The objective is to build a surrogate that predicts the full HF conditional distribution for any $x$, while leveraging LF information.

A defining feature of the framework is its non-intrusive setting. The emulator requires no access to internal random seeds or to the simulator’s stochastic mechanism. Only black-box input/output pairs $\{(x_i,y_i)\}$ are needed, with one random output per input. The training set consists of single realizations $y_i=M_s(x_i,\omega_i)$ with independent $\omega_i$, and neither common-random-numbers nor repeated $\omega_i$ at the same $x_i$ are required.

This formulation addresses a gap between deterministic multifidelity surrogate modeling and stochastic simulation emulation. While multifidelity surrogate modeling techniques are well-established for deterministic settings, MF-GLaMs target the full conditional response distribution rather than only a mean, variance, or selected quantiles. A plausible implication is that the method is especially relevant when HF runs are expensive and the LF simulator carries enough structure to regularize the estimation of the HF distribution.

## 2. Generalized lambda representation of conditional distributions

MF-GLaMs build on the generalized lambda model (GLaM), which represents the conditional distribution at each input by a flexible, four-parameter generalized lambda distribution. The formulation uses the FKML parameterization of the GLD (Freimer–Kollia–Mudholkar–Lin). Its quantile function is

$$
Q(u;\lambda(x)) = \lambda_1(x) + \frac{1}{\lambda_2(x)}
\left[
\frac{u^{\lambda_3(x)}-1}{\lambda_3(x)}
-
\frac{(1-u)^{\lambda_4(x)}-1}{\lambda_4(x)}
\right], \qquad u \in (0,1),
$$

where $\lambda(x)=[\lambda_1(x),\lambda_2(x),\lambda_3(x),\lambda_4(x)]^T$ are input-dependent parameters. For completeness, the RS parameterization, which is not used, is

$$
Q_{RS}(u)=\lambda_1+\frac{u^{\lambda_3}-(1-u)^{\lambda_4}}{\lambda_2}.
$$

Validity of the induced distribution is enforced through quantile monotonicity. The FKML derivative is

$$
Q'(u;\lambda(x))=\frac{1}{\lambda_2(x)}
\left[
u^{\lambda_3(x)-1}+(1-u)^{\lambda_4(x)-1}
\right].
$$

Monotonicity holds for all $u\in(0,1)$ if $\lambda_2(x)>0$ and the fractional powers are well-defined and positive. Accordingly, $\lambda_2(x)>0$ is the key positivity constraint. For analytic mean and variance expressions, the framework uses $\lambda_3(x),\lambda_4(x)>-1/2$.

The induced density can be written through the quantile function. If $F(\cdot \mid x)$ is the cdf implied by $Q(\cdot;\lambda(x))$, then for $y$ in the support,

$$
f(y \mid x;\lambda(x)) = \left[Q'\big(F(y \mid x);\lambda(x)\big)\right]^{-1}.
$$

Numerically, evaluating the density typically requires solving $u=Q^{-1}(y;\lambda(x))$.

Under the FKML parameterization, for $\lambda_3,\lambda_4>-1/2$,

$$
E[Y \mid x]
=
\lambda_1(x)
-
\frac{1}{\lambda_2(x)}
\left[
\frac{1}{\lambda_3(x)+1}
-
\frac{1}{\lambda_4(x)+1}
\right],
$$

and

$$
\mathrm{Var}[Y \mid x]
=
\frac{d_2(x)-d_1(x)^2}{\lambda_2(x)^2},
$$

with

$$
d_1(x)=\frac{1}{\lambda_3(x)}B(\lambda_3(x)+1,1)-\frac{1}{\lambda_4(x)}B(1,\lambda_4(x)+1),
$$

$$
d_2(x)=\frac{1}{\lambda_3(x)^2}B(2\lambda_3(x)+1,1)
-\frac{2}{\lambda_3(x)\lambda_4(x)}B(\lambda_3(x)+1,\lambda_4(x)+1)
+\frac{1}{\lambda_4(x)^2}B(1,2\lambda_4(x)+1).
$$

The single-fidelity GLaM represents each GLD parameter as a function of $x$ using polynomial chaos expansions (PCEs):

$$
\lambda_1(x)=\sum_{\alpha \in \mathcal{A}_1} c_{1,\alpha}\psi_\alpha(x),
$$

$$
\lambda_2(x)=\exp\left(\sum_{\alpha \in \mathcal{A}_2} c_{2,\alpha}\psi_\alpha(x)\right),
$$

$$
\lambda_3(x)=\sum_{\alpha \in \mathcal{A}_3} c_{3,\alpha}\psi_\alpha(x),
\qquad
\lambda_4(x)=\sum_{\alpha \in \mathcal{A}_4} c_{4,\alpha}\psi_\alpha(x).
$$

The basis functions $\psi_\alpha(x)$ are multivariate orthogonal polynomials matched to the input marginals; the truncation sets are selected through q-norm or hyperbolic truncation. The exponential mapping for $\lambda_2(x)$ enforces positivity, and because FKML monotonicity is then automatic, the representation yields a valid quantile function under the stated conditions [2507.10303].

## 3. Single-fidelity estimation and identifiability

Given observed single draws $(x_i,y_i)$, $i=1,\dots,N$, single-fidelity GLaM estimation proceeds by maximum likelihood. With parameter functions $\lambda(x;\theta)$, where $\theta=\{c_{k,\alpha}\}$, the fitted model solves

$$
\max_\theta \sum_{i=1}^N \log f\big(y_i \mid x_i;\lambda(x_i;\theta)\big),
$$

where the density is induced by the FKML quantile representation through

$$
f(y \mid x)=\left[Q'(u;\lambda(x))\right]^{-1},
\qquad
u=Q^{-1}(y;\lambda(x)).
$$

Initialization and basis construction are structured. PCEs are first fitted to the conditional mean and variance across the single-observation dataset using hybrid LARS, which provides candidate bases $\mathcal{A}_1,\mathcal{A}_2$ and initial coefficients for $\lambda_1$ and $\lambda_2$. The truncation sets for $\lambda_3$ and $\lambda_4$ are then selected via a BIC sweep over increasing degrees, and the corresponding coefficients are initialized accordingly. Sparsity is controlled through BIC to prevent overfitting, and initial truncations for $\lambda_1$ and $\lambda_2$ are obtained from feasible GLS on mean and variance.

Optimization uses a derivative-based trust-region method to maximize the unconstrained likelihood. If constraints or support violations arise, the procedure switches to constrained $(1+1)$-CMA-ES to recover feasibility. Because density evaluation requires $u=Q^{-1}(y;\lambda(x))$, practical implementation depends on robust one-dimensional root finding with good bracketing and monotone quantile guarantees.

The procedure can be summarized in five steps: construct candidate PCE bases and truncation sets using q-norm hyperbolic truncation; initialize $\lambda_1,\lambda_2$ from mean and variance fits and $\lambda_3,\lambda_4$ from BIC selection; define the log-likelihood; maximize it with trust-region and then constrained CMA-ES if needed; and return the fitted parameter functions and predictive distribution. The framework explicitly states that identifiability is achieved through variation across $x$: the four FKML parameters cover location, scale, and shape, and across diverse input samples there is sufficient information to infer the parameter functions even without replications at the same input, provided there is adequate input-space coverage and sample size.

A common misconception is that full distribution emulation for stochastic simulators necessarily requires replicated runs at identical inputs. In MF-GLaMs, the stated assumption is weaker: single observations at varying inputs can be sufficient because identifiability is induced by the functional dependence of the GLD parameters on $x$ rather than by repeated sampling at fixed $x$.

## 4. Multifidelity coupling and joint likelihood

The multifidelity extension operates at the parameter level. For each GLD parameter,

$$
\lambda_i^H(x)\approx \lambda_i^{MF}(x)=\lambda_i^L(x)+\delta_i(x), \qquad i=1,\dots,4,
$$

where $\lambda_i^L(x)$ is learned from LF data and $\delta_i(x)$ is a discrepancy function that captures LF-to-HF bias. For $i \in \{1,3,4\}$,

$$
\lambda_i^L(x)=\sum_{\alpha \in \mathcal{A}_i^L} c_{i,\alpha}\psi_\alpha(x),
\qquad
\delta_i(x)=\sum_{\alpha \in \mathcal{A}_i^\delta} d_{i,\alpha}\psi_\alpha(x),
$$

so that

$$
\lambda_i^{MF}(x)=\lambda_i^L(x)+\delta_i(x).
$$

For the scale parameter,

$$
\lambda_2^{MF}(x)=
\exp\left(
\sum_{\alpha \in \mathcal{A}_2^L} c_{2,\alpha}\psi_\alpha(x)
+
\sum_{\alpha \in \mathcal{A}_2^\delta} d_{2,\alpha}\psi_\alpha(x)
\right),
$$

which preserves $\lambda_2^{MF}(x)>0$.

The framework adopts a default simplification for shape discrepancies. Empirically, HF and LF distribution shapes, represented by $\lambda_3$ and $\lambda_4$, often match closely, so the default choice is

$$
\delta_3(x)=0,\qquad \delta_4(x)=0,
$$

hence

$$
\lambda_3^{MF}(x)=\lambda_3^L(x),
\qquad
\lambda_4^{MF}(x)=\lambda_4^L(x).
$$

This reduces model complexity and improves data efficiency. If known shape mismatch exists, low-order $\delta_3$ and $\delta_4$ can be introduced.

Training is based on a weighted joint log-likelihood over LF and HF data. Let $\theta=(c,d)$ collect all LF and discrepancy coefficients. For a general LF/HF weight $p \in (0,1)$,

$$
\ell(\theta)
=
\frac{p(N_L+N_H)}{N_L}
\sum_{i=1}^{N_L}
\log f_L\big(y_L^{(i)} \mid x_L^{(i)};c\big)
+
\frac{(1-p)(N_L+N_H)}{N_H}
\sum_{i=1}^{N_H}
\log f_{MF}\big(y_H^{(i)} \mid x_H^{(i)};c,d\big).
$$

The neutral weighting used is $p=1/2$, yielding

$$
\ell(\theta)
=
\frac{N_L+N_H}{2N_L}\sum_{i=1}^{N_L}\log f_L(\cdot)
+
\frac{N_L+N_H}{2N_H}\sum_{i=1}^{N_H}\log f_{MF}(\cdot),
$$

and estimation is

$$
\theta^*=\arg\max_\theta \ell(\theta).
$$

Optimization again uses trust-region and, when constraints or support are violated, constrained $(1+1)$-CMA-ES. Basis selection is split into stages: the LF-only GLaM is trained first to fix the LF truncation sets, then candidate discrepancy truncations for $\delta_1$ and $\delta_2$ are swept over varying degrees and q-norms, and the selected model minimizes

$$
\mathrm{MF\mbox{-}BIC}=-2\ell(\theta^*)+n_\theta \log\left(\frac{N_L+N_H}{2}\right).
$$

The principal assumptions are that LF and HF are correlated so that LF parameters plus a discrepancy can explain HF parameters, and that the discrepancy is simpler than directly learning the HF parameter functions. This suggests that MF-GLaMs are most advantageous when the LF simulator captures the dominant structure of location, scale, and possibly shape, while the HF simulator can be represented through a relatively low-complexity correction [2507.10303].

## 5. Computational characteristics, sample allocation, and reported performance

Let $B_k$ denote the number of basis functions in each parameter expansion. Each log-likelihood evaluation requires computing the parameter functions as linear combinations of basis terms, at cost $O(\sum_k B_k)$ per sample, plus numerical inversion $u=Q^{-1}(y;\lambda(x))$ and evaluation of $Q'(u)$ for the density, with per-sample inversion cost denoted $E_{inv}$. The total per-iteration cost is

$$
O\Big((N_L+N_H)\big[\sum_k B_k+E_{inv}\big]\Big).
$$

Scalability increases with input dimension $d$ through basis size; hyperbolic truncation controls combinatorial growth, and sparsity through BIC and low-order discrepancies improves tractability. Trust-region optimization benefits from derivatives, while CMA-ES improves robustness when constraint handling becomes difficult.

The reported sample-allocation guidance is to use substantially more LF than HF points when LF is cheaper and reasonably correlated with HF. A practical heuristic is to start with $N_H$ in the low hundreds, augment with $N_L$ an order of magnitude larger when budget permits, and tune $p$ if HF data are very scarce or abundant.

Three empirical examples are reported. In a synthetic GLD example with $d=4$, MF-GLaM with $N_H=200$ and $N_L=1000$ achieves approximately one-tenth the error of HF-only at $N_H=200$. More specifically, the median normalized Wasserstein error $\varepsilon_W$ at $N_H=200$ is reported as $0.004$ for MF-GLaM versus $0.012$ for HF-only on the stated $\times 10^{-2}$ scale, with error reduction of about threefold and lower variability. In the borehole example, with HF dimension $d=3$ and LF dimension $d=2$, the median $\varepsilon_W$ at $N_H=100$ is reported as $0.016$ for MF-GLaM versus $0.045$ for HF-only on the same scale, and MF-GLaM at $N_H=100$ matches HF-only at $N_H=400$. In the earthquake example, with dependent inputs in $d=4$, HF time step $0.01\,$s, LF time step $0.07\,$s, and cost ratio approximately $5.7{:}1$ for LF:HF, MF-GLaM with $N_H=400$ and $N_L=1000$ has median $\varepsilon_W=0.056$ versus $0.094$ for HF-only, and the MF-GLaM configuration costs about $575$ HF-equivalent runs compared with $800$ for HF-only at $N_H=800$, yielding comparable accuracy at about $28\%$ lower cost [2507.10303].

These examples are evaluated with distributional metrics rather than only summary-statistic errors. The reported metrics include the Wasserstein-2 distance,

$$
d_{WS}(Y_1,Y_2)=\left[\int_0^1 \big(Q_1(u)-Q_2(u)\big)^2\,du\right]^{1/2},
$$

the normalized global error

$$
\varepsilon_W=
\frac{E_X\!\left[d_{WS}^2\big(Y_H(x),\hat Y_{MF}(x)\big)\right]}{\mathrm{Var}[Y_H]},
$$

the Kullback–Leibler divergence when tractable,

$$
D_{KL}\big(p_H(\cdot \mid x)\,\|\,\hat p(\cdot \mid x)\big)
=
\int f_H(y \mid x)\log\frac{f_H(y \mid x)}{\hat f(y \mid x)}\,dy,
$$

the continuous ranked probability score,

$$
\mathrm{CRPS}(\hat F,y)=\int_{-\infty}^{\infty}\big[\hat F(t)-\mathbf{1}\{y\le t\}\big]^2dt,
$$

and calibration diagnostics based on the probability integral transform and interval coverage.

## 6. Practical guidance, limitations, and relation to alternative methods

The reported implementation workflow has seven steps. First, collect LF and HF input/output pairs, one output per input. Second, choose PCE inputs assuming independent marginals for basis construction and handle dependence only in sampling; hyperbolic truncation uses $q \in \{0.2,\dots,1\}$. Third, fit the LF-only GLaM by estimating $\lambda_1^L$ and $\lambda_2^L$ from mean and variance PCEs, selecting $\lambda_3^L$ and $\lambda_4^L$ via BIC, and solving the MLE for the LF coefficients. Fourth, define the multifidelity discrepancy with $\delta_3=\delta_4=0$ by default and low-degree candidate sets for $\delta_1$ and $\delta_2$, initialized at zero. Fifth, maximize the weighted joint likelihood with $p=0.5$ unless tuned otherwise. Sixth, sweep discrepancy bases and select the model via MF-BIC. Seventh, for prediction at a new input $x^*$, compute $\lambda_k^{MF}(x^*)$ and then obtain the predictive quantile and density through the FKML formulas.

The numerical guidance is specific. The recommended practice is to expand $\lambda_1$ and $\lambda_2$ with higher degrees than $\lambda_3$ and $\lambda_4$, to keep $\delta_1$ and $\delta_2$ low-order unless LF-to-HF bias is strong, to enforce $\lambda_2(x)$ positivity through the exponential mapping, to constrain $\lambda_3$ and $\lambda_4$ for finite variance and stability, and to use robust one-dimensional root finding for $u=Q^{-1}(y;\lambda(x))$ with monotonicity-based bracketing over $u\in(0,1)$. MF-BIC is used to avoid overfitting of the discrepancy, especially when HF data are scarce.

Several limitations are explicit. If LF and HF are weakly correlated, especially when shapes or locations differ markedly, the default low-order discrepancy may be insufficient and higher-order terms or nonzero $\delta_3,\delta_4$ may be necessary; otherwise multifidelity modeling may underperform. Identifiability can weaken in sparse, high-dimensional input spaces, so adequate HF sample size and LF coverage are needed. The FKML GLD is flexible for unimodal, skewed, and heavy-tailed distributions, but multimodal responses are not well captured; mixture extensions or stochastic PCE are suggested as alternatives. Boundary and support issues can arise when $\lambda_3$ or $\lambda_4$ approach $-1$, causing numerical instability near $u\approx 0$ or $u\approx 1$. Input dependence is another caveat: PCE bases assume independent inputs, and although independent bases can still give good empirical fits under dependence, extrapolation should be treated cautiously.

The reported comparison to alternative methods is organized by what those methods target. Heteroscedastic Gaussian processes capture mean and variance rather than the full distribution and require replication or explicit noise modeling. Quantile regression fits selected quantiles across $x$ and needs many quantile levels to reconstruct the full distribution. Mixture density networks are flexible but described as data-hungry, harder to regularize non-intrusively, and potentially brittle without replications. Distribution regression and kernel methods are nonparametric but may require many samples and can be computationally heavy. Co-kriging of moments or quantiles focuses on summary statistics rather than the full conditional distribution. Against these, MF-GLaMs trade parametric stability, low data requirements, and non-intrusiveness against the representational limitation of the FKML GLD family.

A worked one-dimensional example illustrates the construction. With $x \in [0,1]$, LF parameters are specified as

$$
\lambda_1^L(x)=1+0.5x,\qquad
\lambda_2^L(x)=\exp(0.2+0.3x),\qquad
\lambda_3^L(x)=0.4+0.2x,\qquad
\lambda_4^L(x)=0.5,
$$

and HF discrepancies are

$$
\delta_1(x)=0.3x-0.1,\qquad
\delta_2(x)=0.2x,\qquad
\delta_3(x)=0,\qquad
\delta_4(x)=0.
$$

Thus

$$
\lambda_1^H(x)=0.9+0.8x,\qquad
\lambda_2^H(x)=\exp(0.2+0.5x),\qquad
\lambda_3^H(x)=0.4+0.2x,\qquad
\lambda_4^H(x)=0.5.
$$

With $N_L=200$ LF samples and $N_H=40$ HF samples, using bases $\psi_0(x)=1$, $\psi_1(x)=x$, $\psi_2(x)=x^2$, LF truncation sets $\mathcal{A}_1^L=\{0,1\}$, $\mathcal{A}_2^L=\{0,1\}$, $\mathcal{A}_3^L=\{0,1\}$, $\mathcal{A}_4^L=\{0\}$, and discrepancy truncations $\mathcal{A}_1^\delta=\{0,1\}$, $\mathcal{A}_2^\delta=\{1\}$ with $\delta_3=\delta_4=0$, the MF stage estimates $(c,d)$ by maximizing $\ell(\theta)$ with $p=0.5$. At $x^*=0.75$, the fitted MF parameters approximately match

$$
\lambda_1^{MF}(0.75)\approx 1.5,\qquad
\lambda_2^{MF}(0.75)\approx \exp(0.575)\approx 1.778,\qquad
\lambda_3^{MF}(0.75)\approx 0.55,\qquad
\lambda_4^{MF}(0.75)\approx 0.5,
$$

leading to the predictive quantile

$$
Q_H(u;x^*)=
1.5+\frac{1}{1.778}
\left[
\frac{u^{0.55}-1}{0.55}
-
\frac{(1-u)^{0.5}-1}{0.5}
\right],
$$

and derivative

$$
Q'(u;x^*)=\frac{1}{1.778}\left[u^{-0.45}+(1-u)^{-0.5}\right],
$$

with

$$
f_H(y \mid x^*)=\frac{1}{Q'(u;x^*)},\qquad u=Q^{-1}(y;x^*).
$$

This example illustrates the central mechanism of MF-GLaM: LF data determine a full conditional distribution model, and a small HF sample corrects location and scale through discrepancy terms while inheriting shape from the LF model [2507.10303].

Source: https://www.emergentmind.com/topics/multifidelity-generalized-lambda-models-mf-glams