Skip to main content
QUICK REVIEW

[Paper Review] Calibrating Agent-based Models to Microdata with Graph Neural Networks

Joel Dyer, Patrick Cannon|arXiv (Cornell University)|Jun 15, 2022
Time Series Analysis and ForecastingComputer Science6 citations
TL;DR

This paper proposes using recurrent graph neural networks (GNNs) within simulation-based inference to calibrate agent-based models (ABMs) directly from high-dimensional, fully-observed microdata—capturing agent states and interactions over time—without summary statistics. The method achieves accurate posterior estimation of ABM parameters, as demonstrated by high posterior density around ground-truth values in a Hopfield model of opinion dynamics.

ABSTRACT

Calibrating agent-based models (ABMs) to data is among the most fundamental requirements to ensure the model fulfils its desired purpose. In recent years, simulation-based inference methods have emerged as powerful tools for performing this task when the model likelihood function is intractable, as is often the case for ABMs. In some real-world use cases of ABMs, both the observed data and the ABM output consist of the agents' states and their interactions over time. In such cases, there is a tension between the desire to make full use of the rich information content of such granular data on the one hand, and the need to reduce the dimensionality of the data to prevent difficulties associated with high-dimensional learning tasks on the other. A possible resolution is to construct lower-dimensional time-series through the use of summary statistics describing the macrostate of the system at each time point. However, a poor choice of summary statistics can result in an unacceptable loss of information from the original dataset, dramatically reducing the quality of the resulting calibration. In this work, we instead propose to learn parameter posteriors associated with granular microdata directly using temporal graph neural networks. We will demonstrate that such an approach offers highly compelling inductive biases for Bayesian inference using the raw ABM microstates as output.

Motivation & Objective

  • To address the lack of simulation-based inference (SBI) methods that can effectively use fully-observed ABM microdata—where all agent states and interactions are observed—without relying on summary statistics.
  • To incorporate the natural dynamic graph structure of ABMs into SBI procedures via inductive biases from temporal GNNs.
  • To enable direct calibration of ABM parameters using raw, high-resolution microdata, preserving full information content and avoiding information loss from dimensionality reduction.
  • To demonstrate that GNN-based neural SBI can produce accurate posterior distributions for ABM parameters even in complex, coevolving systems.

Proposed method

  • The approach uses a recurrent graph neural network (GNN) to embed the time-evolving microstate of the ABM, capturing both agent states and interaction networks at each time step.
  • The GNN processes the dynamic graph structure of agents and their relationships, learning a low-dimensional, informative representation of the full microstate sequence.
  • This GNN-embedded representation is used as input to a normalizing flow (specifically, a masked autoregressive flow) to model the posterior distribution over ABM parameters.
  • The method operates within a neural SBI framework, using simulation data to train the posterior estimator without requiring explicit likelihood computation.
  • The architecture is trained end-to-end using a budget of 1,000 simulations to approximate the posterior over parameters θ = (ρ, ε, λ, p).
  • The GNN provides strong inductive biases by respecting the temporal and relational structure of the ABM, enhancing generalization and inference accuracy.

Experimental results

Research questions

  • RQ1Can temporal graph neural networks effectively learn informative representations of high-dimensional ABM microdata for use in simulation-based inference?
  • RQ2Does using raw microdata—without summary statistics—lead to more accurate parameter posterior estimation in ABMs compared to traditional SBI methods?
  • RQ3Can GNN-based SBI methods preserve the full information content of agent-level states and interactions while maintaining computational feasibility?
  • RQ4How well does the proposed method recover ground-truth parameters in a coevolving opinion and network dynamics model?

Key findings

  • The proposed method successfully learned an approximate posterior distribution in which the ground-truth parameter values were assigned high posterior density, indicating accurate inference.
  • The marginal and joint posterior distributions recovered via the masked autoregressive flow and GNN encoder showed strong concentration around the true parameters (ρ=1, ε=0.8, λ=0.5, p=0.5).
  • The method demonstrated that direct use of microdata via GNNs avoids the information loss inherent in manual summary statistic selection.
  • The use of recurrent GNNs provided effective inductive biases that improved posterior estimation compared to standard SBI approaches on raw microdata.
  • The approach achieved reliable calibration with only 1,000 simulations, suggesting computational efficiency for real-world applications.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.