For calibrating an agent-based model, how do I choose among SMM, indirect inference, EMM, synthetic likelihood, ABC, history matching, genetic-algorithm calibration and neural posterior / likelihood / ratio estimation?

Summary

The eleven methods differ on only three design choices: what is compared (hand-picked moments, an auxiliary model’s parameters, or learned summaries), how the comparison is scored (a quadratic distance to minimise, a threshold to pass, a Gaussian or neural density to evaluate) and whether the simulator is called inside the search loop or once up front. Choose by asking, in order: can I afford more than a few hundred runs, do I need a posterior or a point estimate with a specification test, do trustworthy low-dimensional summaries exist, and will I re-fit on many datasets. The vault’s evidence supports a default pipeline for a marketing ABM: Morris/Sobol screening, then history-matching waves, then amortized NPE or NRE with a learned embedding (SMM moments as the baseline summary vector), validated by SBC, with SMM’s -test or the synthetic-likelihood kept as the misspecification alarm that no neural method provides.

Answer

Q - Using SMM to Calibrate Agent Based Models covers the SMM workflow in detail (moments, common random numbers, two-step , standard errors). This note places SMM among its alternatives and does not repeat that recipe.

One problem, three design choices

An ABM is an implicit model: its likelihood integrates over “every random draw made by every agent at every tick” (Neural Simulation-Based Inference - Overview). ABM Calibration Overview lists what makes the inverse problem hard: high dimension, a nonlinear micro-macro map, stochasticity, equifinality, run cost and model discrepancy. Every method below is a different answer to the same three questions.

Design choiceOptions in the vault
What is compareduser moments (SMM, GA/RAM, ABC, HM); auxiliary-model parameters or scores (indirect inference, EMM); phase-insensitive statistics assumed Gaussian (synthetic likelihood); learned embedding (NPE, NRE)
How it is scoredquadratic form minimised (SMM, II, EMM); heuristic fitness (GA); hard threshold (ABC , HM cutoff 3); explicit density (synthetic likelihood, NLE); classifier logit (NRE); direct conditional density of (NPE)
Where the simulator sitsinside an optimiser (SMM, II, EMM, GA); inside an MCMC or rejection loop (synthetic likelihood, ABC); in design waves (HM, sequential neural); once, up front (amortized NPE / NLE / NRE)

What is genuinely the same idea

Synthesis: the following identifications are not stated in any single note but follow from putting their equations side by side.

  • SMM, synthetic likelihood and history matching share one statistic. SMM minimises with (SMM Weighting Matrix and Inference). Wood’s log synthetic likelihood is (Synthetic Likelihood Construction): the optimally weighted SMM criterion with the weight matrix re-estimated at every , plus a log-determinant, read as a likelihood instead of a loss. The implausibility of History Matching for ABMs is the same standardised squared distance per output, with the variance inflated by observation error and model discrepancy, aggregated by a max rather than a sum, and used as a cut rather than an objective.
  • The -test and the synthetic-likelihood check are the same diagnostic. Both say the minimised quadratic form should be (with and degrees of freedom respectively) if the model can reproduce the summaries.
  • Auxiliary parameters are summary statistics. Chaos and Phase-Insensitive Statistics says so directly: autoregression coefficients in synthetic likelihood are “the same device” as the auxiliary-model coefficients of Indirect Inference. An NPE embedding network is the limit of this line: a summary “learned concurrently using the same loss function” (Neural SBI for Agent-Based and Economic Models).
  • NLE is synthetic likelihood with the Gaussian replaced by a flow and the per- refit replaced by one network shared across (Neural Likelihood Estimation and Sequential Neural Likelihood).
  • HM waves, SMC-ABC and sequential neural rounds are one idea: spend simulations where the posterior for this lives. Amortized vs Sequential Inference calls history matching “the emulator-world analogue of a round-based proposal”.

What only looks similar

  • EMM’s SNP density versus NLE’s flow. Both are flexible densities, but the SNP model is fitted to the observed series and its score supplies moment conditions (Efficient Method of Moments); the flow is fitted to simulated pairs and is the likelihood surrogate. EMM’s efficiency theorem also assumes a stationary Markovian density, the assumption Dyer et al. call “particularly poorly suited” to non-equilibrium ABMs.
  • HM’s non-implausible region versus a credible region. HM “makes no probabilistic statements about parameters”; it only hands ABC an informed uniform prior.
  • GA fitness versus an SMM criterion. In Ben Said et al. the chromosome encodes an individual agent’s six characteristics and the RAM scores each agent (Genetic Algorithm Calibration for ABM, GA Fitness Evaluation and the RAM); it evolves a population of agents, not a parameter vector, and ignores and (Uncertainty Quantification for ABM Calibration).
  • “Calibration” in SBC versus ABM calibration. SBC checks the self-consistency of the inference, not the fit of the ABM; see Q - Four Meanings of Calibration.

Decision table

MethodOutputSimulator cost it toleratesParameter dimensionSummariesStochasticityMisspecificationRe-fit on many datasets
SMM / MSM, asymptotic SEs runs per optimiser step; variance factor low, with full-rank Jacobianhand-picked moments, averaged over runs; needs common random numbers; two-step down-weights noisy moments-test when full re-optimisation
Indirect inference, SEsmoderate to high: minimum-distance form needs nested auxiliary fits per step, score form needs one auxiliary parametersimplied by the auxiliary modelas SMMauxiliary model may be misspecified by design; efficient only if “smoothly embedded”re-optimise
EMM, MLE-efficient asymptoticallyhighlowdata-driven SNP scoresas SMMover-parameterised SNP loses efficiency in small samples; stationarity assumedre-fit SNP and re-optimise
Synthetic likelihoodposterior or MLE, AIC / GLRTcheap only: replicates at every MCMC state, “orders of magnitude more simulations”lowroughly Gaussian statistics; robust to uninformative onesestimates directly; built for chaotic, phase-sensitive dynamics checkno
ABC (rejection / SMC)-inflated posterior samplescheap, low-dimensional: 11,000+ runs for 2 parameters (birds)curse of dimensionalitysummaries + distance + via none beyond what is put into “repeat the entire inference algorithm”
History matchingnon-implausible regionexpensive: 80 to 320 wave runs, 420 in total (birds)low to moderate, LHS wavesa few outputs, max over ensemble variance , chosen where variance stabilises (30 birds, 200 SugarScape)explicit term; “all parameters implausible” is a stopping outcome (synthesis: read it as a sign the model cannot reproduce the targets)no
HM + ABCposterior3,185 runs versus 11,000+as HMas ABCinherited from HMno
GA / SA / EApoint estimate, no UQ256 to 290 runs (SA / EA, birds)handles rugged, larger spacesany fitness functionimplicit averagingnone; fits inside the noise floorno
NPEnormalised posterior, direct sampling to runs in Dyer et al.; one run per 3 to 4 in Dyer et al.; benchmark tasks up to 10learned by embedding net, or hand-craftedabsorbed into the learned conditionalnone; extrapolates silentlyyes, one forward pass; makes SBC affordable
NLE / SNLlikelihood surrogate + MCMCas NPE; sequential version cheapest per datasetup to 12 (Hodgkin-Huxley, under SNL)still needs low-dimensional models directlynone; but offers a likelihood goodness-of-fit MMD checknetwork yes, MCMC per dataset; i.i.d. units multiply naturally
NREratio + MCMCas NPEas NPElearned embedding possibleclassifier on pairsnone; ROC / AUC diagnosticnetwork yes, MCMC per dataset; prior can be swapped without retraining

Numbers are from ABM Calibration Case Studies, Practical Issues in Simulation Estimation, Benchmarking and Diagnosing SBI (SBC, Coverage, C2ST) and Neural SBI for Agent-Based and Economic Models.

Reading the table by criterion

Simulator cost. Methods that resimulate inside a chain pay at least runs with “often a few hundred thousand” (Dyer et al.). Surrogate methods “decouple the act of simulating from the task of constructing the posterior”, which is where the reported 10- to 15-fold (Brock-Hommes) and 1000-fold (GBM) budget reductions against a KDE likelihood come from. Against that, rejection methods have “a computational footprint that is orders of magnitudes smaller” and remain competitive “on low-dimensional problems and for cheap simulators” (benchmark finding 4). With only a few hundred runs, HM or a point optimiser are the only options the vault documents.

Parameter dimension. Reduce it before calibrating. Morris Elementary Effects Screening costs runs (220 for 10 parameters at ); Variance-Based Sensitivity and Sobol Indices then costs on the survivors. Fix parameters with ; never fix one with small but large , because it acts through interactions (Global Sensitivity Analysis - Overview). Synthesis: a parameter with for every calibration target is also unidentified, so screening doubles as an equifinality check and as a guide to which moments identify which parameters.

Full posterior. SMM, II and EMM give with asymptotic normal errors, whose “major drawback … is that only parameter point estimates are produced” (Dyer et al.); they cannot represent the multimodal or ridge-shaped posteriors that equifinality produces. NPE must represent such shapes directly; NLE and NRE let MCMC find them (“simple likelihood, complex posterior”), but the benchmark found single chains “frequently got stuck in single modes”.

Summary statistics. Cranmer et al.’s rule: “if powerful low-dimensional summaries already exist, traditional techniques remain reasonable.” When they do not, learned embeddings beat hand-crafted ones for diffuse posteriors, but hand-crafted ones won for SNPE on the sharp Brock-Hommes posterior (0.336 versus 0.477 Wasserstein), so “learned summaries are not a free lunch at simulations”. For raw time series prefer NPE or NRE over NLE: “it is generally a simpler task to discriminate between complex time-series data than it is to generate such time-series.”

Stochasticity and path dependence. Optimiser-based methods need a criterion that is smooth in , hence common random numbers and therefore control of the ABM’s seeds; they are not fully black-box. For tipping, lock-in or near-chaotic dynamics, do not match trajectories point by point: Chaos and Phase-Insensitive Statistics shows the joint density becomes “wildly irregular”, and the cure is phase-insensitive summaries (autocovariances, autoregression coefficients, quantile regressions) whatever method consumes them.

Misspecification. Only three tools in the vault speak to it: HM’s , the SMM -test and the synthetic-likelihood . For the neural family the warning is blunt: “none of these diagnostics address the issues encountered if the model is misspecified”, and a neural estimator is reliable only “when the observed data are in the typical set of the simulated training data” (Simulation-Based and Amortized Inference).

Amortization. Amortize when one simulator serves many datasets or when you need SBC; go sequential for “time-intensive and complex simulators” and a single sharp posterior. A sequential posterior cannot be SBC-checked without repeating the whole procedure per replicate. And “you cannot cheaply amortize a model you are still changing.”

Practical Implications

A decision rule for a consumer or media-response ABM:

  1. Screen. Morris, then Sobol on survivors. Freeze parameters.
  2. Budget under roughly 500 runs: history matching only; report the non-implausible region, not a posterior. Use SA / GA only if a single best-fit configuration is genuinely all you need.
  3. Need a specification test, have long series and defensible moments: SMM with two-step and the -test. If good moments are unclear but a reduced-form model is natural, use score-based indirect inference. Synthesis: for MMM work the natural auxiliary model is the MMM itself: choose so that the MMM fitted to simulated sales returns the adstock, saturation and ROI estimates obtained on the real data. This calibrates the ABM precisely on the features the downstream analysis cares about, and the binding function documents how structural behaviour maps to MMM coefficients.
  4. Need a posterior, to runs, one dataset: HM waves to shrink the box, then SNPE or SNRE (about 10 rounds), or HM + ABC if there are only two or three parameters and good summaries.
  5. Many geos, brands or quarterly refits: amortized NPE with a GRU embedding of the weekly series, prior wide enough that every real dataset lies inside the prior predictive, SBC on 1,000 to 5,000 held-out draws. For a panel of i.i.d. households under one , prefer NLE or NRE so per-unit terms multiply.
  6. Always: keep the SMM moment vector as a baseline summary; run a “dress rehearsal” with C2ST on a tractable simplified simulator; posterior predictive checks on the real series; check that ‘s embedding sits inside the simulated cloud; pair SBC with a sharpness measure, since a posterior equal to the prior passes SBC.
  7. Using the ABM as a test bed for geo-experiment or MMM estimators requires the posterior, not : propagate parameter uncertainty into the synthetic worlds, or estimator rankings will be conditional on one arbitrary point in an equifinal set.

Source Notes

NoteRelevance
Simulation-Based Estimation - OverviewMSM / II / EMM comparison; common variance structure
Method of Simulated Moments, SMM Weighting Matrix and Inferenceconsistency at fixed , optimal weight, identification, -test
Indirect Inferencebinding function, minimum-distance versus score forms, smooth embedding
Efficient Method of MomentsSNP score generator, efficiency theorem, over-parameterisation warning
Practical Issues in Simulation Estimationcommon random numbers, simulation-size table
Synthetic Likelihood - Overview, Synthetic Likelihood Construction, Chaos and Phase-Insensitive StatisticsGaussian likelihood of summaries, check, phase-insensitive statistics
ABM Calibration Overview, Uncertainty Quantification for ABM Calibrationsix calibration challenges; , ,
History Matching for ABMs, Approximate Bayesian Computation for ABMs, HM-ABC Calibration Framework, ABM Calibration Case Studiesimplausibility, rule, run counts, coverage figures
Genetic Algorithm Calibration for ABM, GA Fitness Evaluation and the RAMwhat the GA actually evolves and scores
Neural Simulation-Based Inference - Overviewthree neural targets, Cranmer et al. recommendations
Neural Posterior Estimation (NPE), Neural Likelihood Estimation and Sequential Neural Likelihood, Neural Ratio Estimationper-method strengths, failure modes, diagnostics
Amortized vs Sequential Inferencewhen to amortize; marketing ABM worked cases
Benchmarking and Diagnosing SBI (SBC, Coverage, C2ST)six benchmark findings, SBC limits, misspecification warning
Neural SBI for Agent-Based and Economic ModelsDyer et al. results, embedding nets, NPE-versus-SMM contrast
Simulation-Based and Amortized Inferencetypical-set caveat; amortization economics
Global Sensitivity Analysis - Overview, Morris Elementary Effects Screening, Variance-Based Sensitivity and Sobol Indicesscreen-then-quantify costs and rules
calibration_ABM, tdb136, Dyer 2022 - Black-Box Bayesian Inference for Economic Agent-Based Models, Lueckmann 2021 - Benchmarking Simulation-Based Inferenceprimary sources behind the numbers

Gaps

  • No head-to-head on one ABM. The vault’s comparisons are pairwise and on different models: SA / EA / ABC / HM+ABC on the birds model, KDE versus NPE / NRE in Dyer et al., ABC / SL versus neural methods on benchmark tasks. No source runs SMM or indirect inference against ABC or NPE on the same simulator, so the table’s cross-family rankings are synthesis.
  • Indirect inference and EMM are covered only for financial time series; no vault source applies them to an ABM, and the “MMM as auxiliary model” idea above is untested.
  • Emulator-based history matching (Gaussian-process or Bayes-linear emulators, the usual route for very expensive simulators) is not covered; the HM notes run the ABM directly. Gaussian Process Regression exists but is not connected to calibration beyond a see-also.
  • Misspecification-robust SBI (robust synthetic likelihood, generalised Bayesian or discrepancy-aware neural posteriors) is absent; the vault only records that the standard diagnostics do not address it.
  • High-dimensional . Evidence stops at about 12 parameters (Hodgkin-Huxley, under SNL; NPE evidence stops at 3 to 4 parameters on ABMs and 10 on benchmark tasks); nothing on hierarchical parameterisation of agent heterogeneity distributions.
  • SMC-ABC, regression-adjusted ABC and expected-coverage tests are mentioned but not developed.

Follow-Up Questions

  • How would score-based indirect inference with a Bayesian MMM as the auxiliary model be implemented, and what does its binding function reveal about MMM bias?
  • Can history matching’s model-discrepancy variance be carried into an NPE workflow, for example by adding discrepancy noise to simulated series before training?
  • What summary statistics are phase-insensitive for diffusion and lock-in dynamics in a consumer ABM?
  • How should an ABM posterior be propagated when the ABM is used to benchmark geo-test estimators?