TL;DR
This paper introduces a novel method for calibrating complex agent-based models (ABMs) to granular, time-series data by directly using temporal graph neural networks (GNNs). This approach bypasses the need for hand-crafted summary statistics, which often lose crucial information, and instead leverages the rich relational structure inherent in both the ABM and the data for more accurate parameter inference.
What Problem Does This Paper Address?
Agent-based models (ABMs) are powerful tools for simulating complex systems, but accurately "fitting" them to real-world data—a process called calibration—is challenging. A key difficulty arises when both the ABM's output and the observed data are rich, granular time-series representing individual agent states and their interactions. While simulation-based inference (SBI) methods are well-suited for ABMs with intractable likelihoods, they often rely on summarizing this high-dimensional microdata into lower-dimensional "macrostate" statistics. The problem is that choosing these summary statistics is difficult; a poor choice can lead to a significant loss of information, severely compromising the calibration accuracy. This paper tackles the challenge of calibrating ABMs to this granular microdata directly, without losing information through aggregation.
Methods
The authors propose a neural posterior estimation framework that combines a recurrent Graph Neural Network (GNN) with a Masked Autoregressive Flow (MAF). The GNN, specifically a Graph Convolutional Gated Recurrent Unit (GRU), acts as an encoder. It processes the time-series of agent states and their relationships (represented as a dynamic graph) to learn a low-dimensional embedding of the system's microstate at each time step. The final hidden state of this recurrent GNN is then fed into a feedforward network to produce a representation of the entire graph sequence. This representation is subsequently used by the MAF, a type of normalizing flow, to directly estimate the posterior distribution of the ABM's parameters. This end-to-end approach allows the model to learn the optimal way to represent the complex temporal graph data for parameter inference, bypassing the need for manual feature engineering.
Datasets
The paper uses a simulated dataset generated from a Hopfield model of social dynamics. This model simulates the coevolution of opinions and social network structure in a population of agents. The ground truth parameters for this simulated dataset were set to $\theta^* = (\rho, \epsilon, \lambda, p) = (1, 0.8, 0.5, 0.5)$, with $N=20$ agents and $T=25$ time steps.
Key Insights and Ideas
- Direct Microdata Inference: The core idea is that by using temporal GNNs, we can directly leverage the rich relational and temporal information present in granular ABM microdata, rather than relying on potentially lossy aggregated statistics.
- Inductive Biases for Graphs: Temporal GNNs provide powerful inductive biases that naturally capture the dynamic graph structure inherent in many ABMs and their corresponding data, leading to more effective learning.
- End-to-End Learning: The framework allows for end-to-end training, meaning the parameters of both the graph embedding network and the posterior estimator are learned simultaneously, optimizing the entire inference pipeline.
Key Results
The paper demonstrates that their proposed method, using a MAF posterior estimator and a recurrent graph embedding network, can accurately approximate the posterior distribution of the Hopfield model's parameters. Figure 2 shows that the approximated posterior assigns high density to the ground truth parameters, indicating that the method achieves a reasonable degree of accuracy in calibrating the ABM to the simulated microdata.
Limitations and Future Work
The authors acknowledge that this work focuses on "fully-observed" ABMs where the entire trace of agent states and interactions is available. They suggest future work could extend this approach to continuous-time settings and explore more general ABM architectures. Further assessment of the posterior quality using methods like posterior predictive checks and simulation-based calibration is also planned.
Summary updated