Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025;10(1):13.
doi: 10.1007/s41109-025-00694-y. Epub 2025 Apr 22.

Accounting for contact network uncertainty in epidemic inferences with Approximate Bayesian Computation

Affiliations

Accounting for contact network uncertainty in epidemic inferences with Approximate Bayesian Computation

Maxwell H Wang et al. Appl Netw Sci. 2025.

Abstract

In models of infectious disease dynamics, the incorporation of contact network information allows for the capture of the non-randomness and heterogeneity of realistic contact patterns. Oftentimes, it is assumed that this underlying network is known with perfect certainty. However, in realistic settings, the observed data usually serves as an imperfect proxy of the actual contact patterns in the population. Furthermore, event times in observed epidemics are not perfectly recorded; individual infection and recovery times are often missing. In order to conduct accurate inferences on parameters of contagion spread, it is crucial to incorporate these sources of uncertainty. In this paper, we propose the use of Network-augmented Mixture Density Network-compressed ABC (NA-MDN-ABC) to learn informative summary statistics for the available data. This method will allow for Bayesian inference on the parameters of a contagious process, while accounting for imperfect observations on the epidemic and the contact network. We will demonstrate the use of this method on simulated epidemics and networks, and extend this framework to analyze the spread of Tattoo Skin Disease (TSD) among bottlenose dolphins in Shark Bay, Australia.

Keywords: Approximate Bayesian Computation; Networks; SIR model.

PubMed Disclaimer

Conflict of interest statement

Competing interestsThe authors declare that they have no competing interests.

Figures

Algorithm 1
Algorithm 1
Rejection ABC
Algorithm 2
Algorithm 2
Network-Augmented Rejection ABC
Fig. 1
Fig. 1
Using the framework from Young et al. (2020), network samples A are drawn based on observed network data X. Proposal contagion parameter values θ are drawn from the prior. A and θ are passed through the epidemic model to generate a simulated output Y. A summary statistic of Y is calculated via an MDN, yielding S(Y). Finally, S(Y) is compared to the summary statistics yielded by the original observed epidemic Y. If the acceptance condition is fulfilled, such that d(S(Y),S(Y))δ, θ and A are accepted as part of the MDN-ABC posterior. To generate additional posterior samples, simply repeat the process with new values of θ and A
Fig. 2
Fig. 2
Posterior samples generated from NA-MDN-ABC. Panels be display the results for the Erdős–Rényi network, and panels fj show results for the log-normal distributed network. “True” values are marked with a vertical line. Prior densities are shown in gray (prior densities for λ0 and λ1 have been multiplied by an additional factor of 10 for visibility)
Fig. 3
Fig. 3
NA-MDN-ABC results across 10 instances of the original stochastic epidemic for β and γ on a Erdős–Rényi network (a and c) and for β and γ on a log-normal network (b and d). True values for parameters are marked with a horizontal line
Fig. 4
Fig. 4
Empirical coverage of credible intervals plotted against nominal coverages of the MDN-ABC step for a) β and c) γ for the Erdős–Rényi network, and b) β and d) γ for the Log-normal network
Fig. 5
Fig. 5
In Panel (a), discrepancy to the observed data is plotted against discrepancy to data generated from the model, with the dotted line denoting equality. In panels (b)–(e), samples from 10 independent HMC chains are shown for b n0, c n1, d p0, and e ρ, for time w=0
Fig. 6
Fig. 6
NA-MDN-ABC approximate posterior densities for contagion parameters, a βc, b βj, c βa, d ϵ, e γa, f γb
Fig. 7
Fig. 7
a Posterior distribution of contact network among dolphins, for time w=2. Thicker edge weights and shades correspond to higher edge probabilities. Only edges with posterior probability greater than 10% were included. The color of each node corresponds to the age category of the dolphin: adults in blue, juveniles in red, and calves in green. b Observed number of interactions between dolphins, with thicker edge weights and shades corresponding to higher counts of co-proximity events
Fig. 8
Fig. 8
a NA-MDN-ABC approximate posterior density for infectious period. b Posterior predictive distribution of the mean difference between first and last infectious sightings, compared to Powell et al. (2018). c Predictive intervals for cumulative distribution function of initial infection times. d Predictive intervals for cumulative distribution function of interval between first and last infected sightings, for dolphins who were spotted with symptoms at least twice
Fig. 9
Fig. 9
Posterior samples generated from NA-MDN-ABC, utilizing SMC-ABC instead of rejection ABC. Panels be display the results for the Erdős–Rényi network, and panels fj show results for the log-normal distributed network. “True” values are marked with a vertical line. Prior densities are shown in gray (prior densities for λ0 and λ1 have been multiplied by an additional factor of 10 for visibility)
Fig. 10
Fig. 10
Trace plots for network parameters ϕ, across all 4 years of observation

Update of

Similar articles

References

    1. Aguilar JB, Faust JS, Westafer LM, Gutierrez JB (2020) A model describing COVID-19 community transmission taking into account asymptomatic carriers and risk mitigation. MedRxiv, 2020-03
    1. Almutiry W, Deardon R (2020) Incorporating contact network uncertainty in individual level models of infectious disease using approximate Bayesian computation. Int J Biostat 16(1):20170092 - PubMed
    1. Bai F, Brauer F (2021) The effect of face mask use on COVID-19 models. Epidemiologia 2(1):75–83 - PMC - PubMed
    1. Beaumont MA, Zhang W, Balding DJ (2002) Approximate Bayesian computation in population genetics. Genetics 162(4):2025–2035 - PMC - PubMed
    1. Bishop CM (1994) Mixture density networks

LinkOut - more resources