TL;DR
This paper introduces GRADABM, a novel agent-based modeling framework for epidemiology that is both scalable and differentiable. This allows for seamless integration with deep learning models, enabling faster and more accurate calibration, forecasting, and policy evaluation for infectious diseases using real-world data.
What Problem Does This Paper Address?
Epidemiological modeling is crucial for understanding and controlling disease outbreaks. Agent-based models (ABMs) are powerful tools for capturing the complex, heterogeneous nature of disease spread through individual agent interactions. However, traditional ABMs suffer from two major limitations: they are computationally expensive and difficult to scale to large populations, and they are not "differentiable." This lack of differentiability makes it challenging to connect ABMs with real-world data for calibration (i.e., tuning model parameters to match observed trends) and to use them for tasks like forecasting or policy analysis that benefit from gradient-based optimization. Existing methods often rely on slow grid searches or computationally intensive surrogate models, hindering their practical application.
Methods
The core innovation is GRADABM, a differentiable ABM design built on a tensorized implementation. Instead of traditional object-oriented approaches, agent states are represented as vectors, and interaction networks as sparse adjacency matrices. This tensorized structure, combined with the use of sparse tensor calculus, allows for highly parallelized and efficient simulations, enabling GRADABM to simulate millions of agents in seconds.
Crucially, GRADABM achieves differentiability by reparameterizing discrete stochastic processes (like infection events) using the Gumbel-softmax gradient estimator. This allows automatic differentiation (autodiff) tools to compute gradients through the simulation, enabling gradient-based learning.
The framework integrates GRADABM with a calibration neural network (CALIBNN). CALIBNN takes heterogeneous macro-level data (e.g., from surveys, mobility data) as input and predicts the epidemiological parameters for GRADABM. This creates a hybrid DNN-GRADABM pipeline where the entire system, from data input to simulation output, is end-to-end differentiable. This allows for gradient-based optimization of CALIBNN's weights, effectively learning to calibrate GRADABM using complex, multi-source data.
Datasets
The paper utilizes several real-world datasets for training and evaluation:
- COVID-19 Data:
- Insurance claims data
- Online symptom surveys (Facebook)
- Line-list data
- US Census data (for synthetic population generation)
- Safegraph mobility data
- Clinical data from CDC and research papers
- COVID-associated mortality data (JHU CSSE, CDC)
- Influenza Data:
- Google symptom dataset
- US Census data
- Clinical data from CDC and research papers
- Influenza-like Illness (ILI) counts (CDC)
The paper does not introduce new benchmark datasets but rather uses existing data to evaluate GRADABM against established baselines.
Key Insights and Ideas
- Differentiability unlocks gradient-based learning for ABMs: By making ABMs differentiable, we can leverage powerful optimization techniques (like gradient descent) that were previously inaccessible, leading to more efficient calibration and analysis.
- Tensorization is key to scalability: Representing agents and interactions as tensors allows for massive parallelization, making it feasible to simulate large populations that were previously intractable for ABMs.
- Hybrid DNN-ABM pipelines are powerful: Integrating a calibration neural network with a differentiable ABM allows for the ingestion of diverse, heterogeneous data sources to inform model parameters, going beyond traditional calibration methods.
- Permutation invariance simplifies modeling: The observation that the order of interactions within a simulation step doesn't affect the outcome (for certain epidemiological models) simplifies the transmission model and aids in achieving differentiability.
Key Results
- Scalability: GRADABM can simulate populations of millions of agents in seconds on commodity hardware, achieving a ~300x speedup compared to traditional ABM frameworks like Mesa.
- Forecasting Accuracy: The JDC-GRADABM (Joint Deep Calibrated GRADABM) approach significantly outperforms baseline methods (ExpertSearch-ABM, SurrogateODE-ABM) in forecasting accuracy for both COVID-19 and influenza, achieving lower error metrics (ND, RMSE, MAE). For COVID-19, JDC-GRADABM shows an 8x to 12x improvement over ExpertSearch-ABM.
- Robustness to Noise: GRADABM demonstrates robustness to noisy observational data, maintaining superior performance even when trained on data with added Gaussian noise, a feat not matched by baselines.
- Policy Evaluation: The framework can effectively analyze the sensitivity of policy interventions, such as the timing of vaccine doses, providing insights consistent with existing clinical studies.
- Computational Efficiency: The paper highlights a significant reduction in calibration time, from an estimated 100,000 CPU hours for a GP emulator to just 12 CPU hours for GRADABM with CALIBNN on a more complex model (JUNE).
Limitations and Future Work
- Limitations:
- The paper notes that the disease progression model used is linear and deterministic, and future work could explore more complex stochastic models.
- While the framework allows for parameter estimation, it currently focuses on maximum likelihood estimates; exploring posterior distributions using generative DNNs is a future direction.
- The current implementation is based on the OpenABM epidemiological model, though the authors suggest GRADABM is domain-agnostic and can be adapted to other model specifications.
- Future Work:
- Explore more complex and stochastic disease progression models.
- Utilize gradient-based explainability methods to understand model drivers.
- Incorporate generative DNNs (like normalizing flows) for estimating posterior distributions of parameters.
- Adapt GRADABM to a wider range of epidemiological models and diseases, demonstrating its domain-agnostic nature.
- Further investigate the use of GRADABM for policy analysis and decision-making under uncertainty.
Summary updated