Skip to content

Surrogate Models: Replacing an Expensive Simulation With a Learned One

5 min read · updated August 3, 2026

A simulator is a function: parameters in, outputs out, deterministic, and expensive. A surrogate is a cheap learned approximation of that same function, trained on runs of the real thing. The technique is decades old, it is where most of the useful machine learning in the physical sciences actually sits, and almost nothing about it is specific to neural networks.

The idea, and when it pays

Run the simulator at a set of chosen input points. Record the outputs. Fit a model to that dataset. Now you have something that answers the same question in milliseconds instead of hours, at some accuracy you have to characterise. Depending on the field it is called a surrogate, an emulator, a metamodel or a response surface; the idea is identical.

The payoff is never a single evaluation — if you need one answer, run the simulator. The payoff is the loop, and the loops are the reason the technique exists:

  • Optimisation and inverse design. Find the geometry, composition or control schedule that maximises something. This needs thousands of evaluations and most of them are wasted, which is exactly what a cheap approximation is for.
  • Uncertainty quantification. Propagating input uncertainty through a model by sampling needs many runs by construction, and the number does not go down.
  • Sensitivity analysis. Which inputs actually matter? A global answer requires sweeping the whole space, not perturbing around one point.
  • Real-time use. A controller, a digital twin or an interactive design tool has a latency budget the simulator cannot meet at any accuracy.

The break-even arithmetic

The decision is arithmetic and it is worth doing before writing any code. Let Cs be the cost of one simulator run, N the number of runs you spend building the training set, Ct the training cost, and E the number of evaluations the downstream task needs. Ignoring the surrogate’s own inference cost, which is usually negligible:

direct:     E * Cs
surrogate:  N * Cs + Ct        (+ E * Cq, usually negligible)

worth it when   E * Cs  >  N * Cs + Ct
i.e. when       E       >  N + Ct/Cs

Read what that says. The comparison is not about how accurate the surrogate is; it is about how many downstream evaluations you need against how many training runs it takes to reach usable accuracy. If your task needs a few hundred evaluations and the surrogate needs a few hundred training runs, there is no project here. If your task needs millions — an optimisation over a large design space, a Monte Carlo study — then almost any N you can afford pays for itself, and the interesting question becomes how to spend it.

There is also a case the formula misses: reuse. A surrogate built once and used by a whole group across many studies amortises N over all of them, which is why shared emulators for standard simulators are often worth building when a single study would not justify it.

Where you sample matters most

Given a fixed budget of simulator runs, where you place them affects the final accuracy more than the choice of model class does. This is the part that gets least attention and deserves most.

A grid is almost always wrong: in more than a few dimensions it wastes nearly all its points on the corners and still leaves the interior sparse. Space-filling designs — Latin hypercube sampling, low- discrepancy sequences — spread points evenly through the space with far better coverage per point, and are the right default when you have no information about where the interesting region is.

The larger lever is active learning, and it is straightforwardly a loop. Fit a surrogate on what you have. Ask it where it is most uncertain, or where the optimum plausibly is. Run the simulator there. Refit. Repeat. This concentrates an expensive budget on the region that matters instead of on the whole domain, and it is the same acquisition machinery that drives an autonomous experimental loop, with a simulator standing in for the robot. The distinction between “explore where I am unsure” and “exploit where the answer looks good” is a real choice: the first builds a globally accurate surrogate, the second finds an optimum quickly and leaves the rest of the space badly modelled. Decide which you want before you pick an acquisition function.

Uncertainty is not optional

A surrogate that returns only a number is dangerous, because the number looks the same whether the query is in the middle of the training distribution or far outside it. You need a second output that says how much to trust the first.

Gaussian process regression is the classical answer and it gives calibrated uncertainty as part of the formulation, which is exactly why it dominated this field for so long. Its weakness is scaling — cost grows steeply with the number of training points — so it fits the regime where simulator runs are so expensive that you will only ever have a few hundred of them. Neural surrogates go the other way: they handle large training sets and high-dimensional structured outputs, and uncertainty has to be added, typically with an ensemble of independently initialised models whose disagreement stands in for uncertainty.

Two families worth knowing by name. Neural operators learn a mapping between functions rather than between fixed-length vectors, so a model trained at one discretisation can be evaluated at another — valuable when the simulator is a PDE solver and you do not want the surrogate welded to one mesh. Physics-informed networks add the governing equation’s residual to the loss, penalising the model for violating the physics at sampled points; this helps when labelled data is scarce, and it is not free — the optimisation is harder and satisfying a residual in the loss is not a guarantee of anything.

The two ways it goes wrong

Silent extrapolation. A surrogate is an interpolator. Outside the region it was trained on it does not refuse to answer; it returns something smooth and plausible and wrong. Optimisation makes this worse rather than better, because an optimiser searching a surrogate is actively drawn to regions where the surrogate is over-optimistic — a place where the approximation error happens to point the right way looks exactly like a good design. The discipline that fixes it is simple and non-negotiable: the surrogate proposes, the simulator disposes. Every candidate you intend to act on gets re-run in the real simulator before it counts.

Inherited error. A surrogate cannot be more accurate than what it learned from. A fast approximation of a simulator that disagrees with experiment is a fast way to get the wrong answer, and the speed can make it worse by allowing far more wrong answers to be generated and acted on. Validating the simulator against reality is a separate task that the surrogate does not touch, and it is easy to forget once the modelling work has become entirely about the surrogate.

Surrogate Models: Replacing an Expensive Simulation With a Learned One · Multigrid