Scalable calibration of individual-based epidemic models through categorical approximations
Lorenzo Rimella, Nick Whiteley, Chris Jewell, Paul Fearnhead, Michael Whitehouse
TL;DR
This work tackles the intractability of exact likelihoods for partially observed IBMs in epidemiology by introducing CAL, a deterministic, simulation-free categorical approximation that enables automatic differentiation and scalable inference. CAL replaces the latent population state at time $t-1$ with its expected value to compute a recursive, tractable likelihood, followed by a correction step using the exact emission model; it can be interpreted as the exact likelihood of an approximate model. The authors prove strong consistency of the maximum CAL estimator in the large-population limit and demonstrate the method across SIS/SIR IBMs, including a large-scale real-world outbreak with over $10^5$ farms, using gradient-based optimization and HMC in TensorFlow. Empirically, CAL achieves ground-truth recovery and competitive marginal log-likelihoods at substantially reduced computational cost compared with SMC variants, and scales to 162,775 farms in the UK outbreak, highlighting its practical impact for real-time, large-scale epidemic calibration. The work also discusses limitations (e.g., independence assumptions across individuals) and outlines future avenues, such as household-structured extensions and time-varying covariates, to broaden applicability and robustness.
Abstract
Traditional compartmental models capture population-level dynamics but fail to characterize individual-level risk. The computational cost of exact likelihood evaluation for partially observed individual-based models, however, grows exponentially with the population size, necessitating approximate inference. Existing sampling-based methods usually require multiple simulations of the individuals in the population and rely on bespoke proposal distributions or summary statistics. We propose a deterministic approach to approximating the likelihood using categorical distributions. The approximate likelihood is amenable to automatic differentiation so that parameters can be estimated by maximization or posterior sampling using standard software libraries such as Stan or TensorFlow with little user effort. We prove the consistency of the maximum approximate likelihood estimator. We empirically test our approach on several classes of individual-based models for epidemiology: different sets of disease states, individual-specific transition rates, spatial interactions, under-reporting and misreporting. We demonstrate ground truth recovery and comparable marginal log-likelihood values at substantially reduced cost compared to competitor methods. Finally, we show the scalability and effectiveness of our approach with a real-world application on the 2001 UK Foot-and-Mouth outbreak, where the simplicity of the CAL allows us to include 162775 farms.
