Glossary

Simulation-based inference

Inferring unknown parameters by comparing observations with data generated by a simulator.


A pendulum leaves a noisy trace on a screen. You want its damping, but there’s no convenient likelihood to plug into a formula. A simulator gives you a useful luxury. You can choose a damping value, hide it, and see whether the analysis finds it again.

Check recovery where you know the answer

Repeat the exercise across plausible values and noise levels. One impressive recovery makes a nice plot. Many recoveries tell you how often the uncertainty range covers the value that generated the data.

Then return to the physical pendulum. Compare its traces with fresh simulations, including the timing errors and friction the apparatus can produce. Success at solving the simulator’s puzzle leaves open how faithfully the simulator captured the apparatus.

Simulation-based inference uses simulated parameter–observation pairs to learn about parameters from data, especially when an explicit likelihood is difficult to evaluate. The answer depends on the simulator, prior assumptions and calibration of the inference procedure.

A simulator can generate observations for known parameter values even when the likelihood of an observed dataset is awkward to calculate. Some methods fit a posterior directly, some estimate a likelihood, and others estimate ratios needed for inference. The choice affects the simulations and diagnostics a project needs. sbi project

A particularly revealing exercise uses two parameter settings that produce nearly indistinguishable traces. If the observations cannot separate them, a sharply peaked answer needs investigation. Additional measurements of a different quantity may be more valuable than another thousand simulations of the same one.

Astronomers face similar questions when inferring properties from noisy survey data or gravitational-wave signals. A satisfactory result should describe which features of the real observations the simulator reproduces, how uncertainty was checked and which parameter combinations remain hard to distinguish.

Related terms: Ensemble Forecasting

Related guide: Physics & Astronomy