Foundations to Frontier
Tests
J. Scientific Machine Learning › J5 Surrogate Modeling and Reduced-Order Models

Multi-fidelity modelling

Most simulation problems come with models of different cost and accuracy: a coarse grid and a fine one, a simplified physics model and a full one, a cheap code and an experiment. Multi-fidelity methods learn the expensive model from a few of its runs plus many runs of a cheap one, by modelling the cheap model's systematic error. This page applies the Kennedy–O'Hagan correction f_H ≈ ρ f_L + δ to the projectile of J5-1, with a cheap Euler solver and with a cruder drag-free formula, and measures how much the correlation between fidelities matters.

Level 0: Foundation

★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.

Many cheap runs, a few expensive ones

An engineer can run a rough simulation in a second and a careful one in an hour. The rough one is wrong, but often wrong in a consistent way: too high here, too low there. If you learn that pattern of error from a handful of careful runs, you can correct the rough model everywhere and get careful-quality answers almost for free. This works only if the rough model follows the careful one; a cheap model that misses an important effect helps little.

Surrogate and reduced-order model lab
Black: expensive f_H; yellow: 4 high-fidelity samples; green: polynomial fit to them alone; red dotted: ρ f_L + δ(x) using the cheap model f_L (dashed). relative error: high-fidelity fit 65.9% · multi-fidelity 0.0% (ρ = 2.00). For these Forrester test functions f_H is exactly 2 f_L − 20(x − 0.5) + 10, so with three or more samples the correction is exact.
Why engineers care

Multi-fidelity methods combine wind-tunnel data with simulations in aircraft design, and coarse with fine climate and ocean models.

📝 Quick check (Level 0)
0/3 answered
  1. 1. A low-fidelity model is…
  2. 2. Multi-fidelity methods learn…
  3. 3. A cheap model helps most when it…

Level 1: Beginner

★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.

By hand

  • Fidelity levels: coarse versus fine discretisation, simplified versus full physics, emulator versus simulator, simulation versus experiment.
  • Kennedy–O’Hagan (AR1) model (2000): f_H(x) = ρ f_L(x) + δ(x), with δ a Gaussian process independent of f_L; ρ scales the cheap model and δ captures the remaining discrepancy.
  • Co-kriging: model f_L and f_H jointly as Gaussian processes with this structure; with f_L cheap enough to evaluate anywhere, it reduces to a GP on δ = y_H − ρ f_L.
  • Nonlinear variants: NARGP (Perdikaris et al., 2017) uses f_H(x) = g(x, f_L(x)) with a GP g, for cheap models related nonlinearly; neural multi-fidelity networks and transfer learning (pretrain on cheap data, fine-tune on expensive data) do the same with networks.
  • Multilevel Monte Carlo (Giles, 2008) combines many coarse and few fine samples for expectations.
  • When it helps: the cheap model must be strongly correlated with the expensive one; bias alone is harmless if it is smooth.
📝 Quick check (Level 1)
0/3 answered
  1. 1. In f_H = ρ f_L + δ, δ is…
  2. 2. NARGP handles cheap models related…
  3. 3. Multilevel Monte Carlo combines…

Level 2: Intermediate

★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.

Two cheap models of different quality

Exercise 1.

  • High fidelity: the projectile range with drag from J5-1 (RK4, dt = 0.01).
  • Low fidelity: explicit Euler with dt = 0.25, about 100 times cheaper.
  • A cruder model: the drag-free range v0² sin 2θ / g, which ignores the drag input.
  • Errors, correlations and bias of both cheap models on 1000 test inputs.

Practice.

  • Check correlation first: plot cheap against expensive on a few points; a near-linear relation is ideal.
  • Run the cheap model where you predict, or fit a GP to many cheap runs when even it is too slow to call often.
  • Nest the designs: place expensive runs at a subset of cheap-run locations.
  • Compare with an expensive-only model of the same budget, counting the cheap runs’ cost.
  • Tools: Emukit (multi-fidelity GPs, linear and nonlinear), GPy, SMT (MFK), and the open MF2 benchmark functions.
import numpy as np

fLZ = low(Z)                                    # cheap model at the expensive-run inputs
best = None
for rho in np.linspace(0, 1.5, 61):             # choose rho by GP marginal likelihood
    gp = fit_gp(Z, yH - rho * fLZ)              # discrepancy delta = y_H - rho f_L
    if best is None or gp.nll < best[0]:
        best = (gp.nll, rho, gp)
_, rho, gp = best
predict = lambda Zn: rho * low(Zn) + gp(Zn)
🐍 Exercise 1: cheap and expensive models
Implement the Euler low-fidelity and drag-free models of the projectile, and measure their error, bias and correlation with the high-fidelity model.
📝 Quick check (Level 2)
0/3 answered
  1. 1. A toolkit with multi-fidelity GPs:
  2. 2. Expensive runs are best placed…
  3. 3. A fair comparison counts…

Level 3: Advanced

★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.

Theory

Why correlation matters more than error. If f_L is off by a smooth bias or scale, δ = f_H − ρ f_L is smooth and small, and a GP learns it from a few points. The Euler model had relative error 0.05 but correlation 0.997 with the truth, so the discrepancy was easy. The drag-free formula ignored the drag input entirely (correlation 0.42); the discrepancy contained the whole drag effect, and learning it took as many expensive runs as learning f_H itself.

Results in the exercise. With 4 expensive runs, a GP on them alone had error 0.2; the correction of the Euler model 0.01, five times better than the Euler model alone (0.05). With 10 runs, 0.05 against 0.0009. The drag-free model gave 0.2 and 0.03, little better than no cheap model. With 20 runs the expensive-only GP (0.005) almost caught up with the correction (0.002), which no longer improved because the coarse Euler model’s landing step makes its error slightly jagged.

📝 Quick check (Level 3)
0/3 answered
  1. 1. The Euler model helped because…
  2. 2. The drag-free model helped little because…
  3. 3. With 20 expensive runs, the expensive-only GP…

Level 4: Expert

★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.

How much can a cheap model reduce the number of expensive runs, and when does it stop helping?

History.

  • M. Kennedy and A. O’Hagan (2000) introduced the autoregressive multi-fidelity GP; A. Forrester, A. Sóbester and A. Keane (2007) applied co-kriging to design.
  • M. Giles (2008) introduced multilevel Monte Carlo.
  • P. Perdikaris, M. Raissi, A. Damianou, N. Lawrence and G. Karniadakis (2017) introduced nonlinear autoregressive multi-fidelity GPs.
  • X. Meng and G. Karniadakis (2020) built multi-fidelity neural networks; B. Peherstorfer, K. Willcox and M. Gunzburger (2018) surveyed the field.

Exercise 2. Projectile range with drag; expensive runs on a Latin hypercube; 1000 test inputs; the cheap models are evaluated wherever needed. Relative RMSE.

expensive runs GP on expensive runs correction of Euler model correction of drag-free model
4 0.2 0.01 0.2
6 0.2 0.02 0.1
10 0.05 0.0009 0.03
20 0.005 0.002 0.004
  • Cheap models alone: Euler 0.05, drag-free 0.5.
  • A good cheap model cut the error 10–55 times for 4–10 expensive runs; the fitted ρ was 0.92–0.98.
  • A poor one helped little, and with enough expensive runs neither mattered.
  • Seeds 1 and 2: Euler correction 0.02 and 0.01 with 4 runs, 0.003 and 0.002 with 10; expensive-only GP with 10 runs 0.05 and 0.03.
🐍 Exercise 2 (research): how much can a cheap model reduce the number of expensive runs, and when does it stop helping?
Fit expensive-only GPs and Kennedy–O'Hagan corrections of two cheap projectile models with 4–20 expensive runs, and compare their errors.

Multi-fidelity modelling in practice

  • Aerospace: combining panel methods, RANS and wind-tunnel data for aerodynamic databases.
  • Climate and ocean: coarse and fine model runs for calibration and uncertainty quantification.
  • Materials: cheap DFT functionals corrected towards expensive quantum chemistry.
  • Machine learning: pretraining on simulations and fine-tuning on experiments (transfer learning).

References

  1. M. C. Kennedy and A. O’Hagan (2000). “Predicting the output from a complex computer code when fast approximations are available.” Biometrika.
  2. A. I. J. Forrester, A. Sóbester and A. J. Keane (2007). “Multi-fidelity optimization via surrogate modelling.” Proceedings of the Royal Society A.
  3. M. B. Giles (2008). “Multilevel Monte Carlo path simulation.” Operations Research.
  4. P. Perdikaris, M. Raissi, A. Damianou, N. D. Lawrence and G. E. Karniadakis (2017). “Nonlinear information fusion algorithms for data-efficient multi-fidelity modelling.” Proceedings of the Royal Society A.
  5. B. Peherstorfer, K. Willcox and M. Gunzburger (2018). “Survey of multifidelity methods in uncertainty propagation, inference, and optimization.” SIAM Review.