bioRxiv Science⌕ Search

bioRxiv · 10.1101/2020.12.21.423765

Principled simulation of agent-based models in epidemiology

Abstract

After more than a century of sustained work by mathematicians, biologists, epidemiologists, probabilists, and other experts, dynamic models have become a vital tool for understanding and describing epidemics and disease transmission systems. Such models fulfill a variety of crucial roles including data integration, estimation of disease burden, forecasting trends, counterfactual evaluation, and parameter estimation. These models often incorporate myriad details, from age and social structure to inform population mixing patterns, commuting and migration, and immunological dynamics, among others. This complexity can be daunting, so many researchers have turned to stochastic simulation using agent-based models. Developing agent-based models, however, can present formidable technical challenges. In particular, depending on how the model updates state, unwanted or even unnoticed approximations can be introduced into a simulation model. In this article, we present computational methods for approximating continuous time discrete event stochastic processes based on a discrete time step to speed up complicated simulations which also converges to the true process as the time step goes to zero. Our stochastic models is constructed via hazard functions, and only those hazards which are dependent on the state of other agents (such as infection) are approximated, whereas hazards governing dynamics internal to an agent (such as immune response) are simulated exactly. By partitioning hazards as being either dependent or internal, a generic algorithm can be presented which is applicable to many models of contagion processes, with natural areas of extension and optimization. Author summaryStochastic simulation of epidemics is crucial to a variety of tasks in public health, encompassing intervention evaluation, trend forecasting, and estimation of epidemic parameters, among others. In many situations, due to model complexity, time constraints, unavailability or unfamiliarity with existing software, or other reasons, agent-based models are used to simulate epidemic processes. However, many simulation algorithms are ad hoc, which may introduce unwanted or unnoticed approximations. We present a method to build approximate, agent-based models from mathematical descriptions of stochastic epidemic processes which will improve simulation speed and converge to exact simulation techniques in limiting cases. The simplicity and generality of our method should be widely applicable to various problems in mathematical epidemiology and its connection to other methods developed in chemical physics should inspire future work and elaboration.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Wu, S. L., Dolgert, A. J., Lewnard, J. A., Marshall, J. M., Smith, D. L.. 2020-12-21. Principled simulation of agent-based models in epidemiology. https://doi.org/10.1101/2020.12.21.423765

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Invasion analysis for structured populations: analytical principles and numerical workflows

All real populations show some form of structure--differences among individuals, such as life stage or physiological condition, that shape a species' ability to persist. Yet it remains challenging to incorporate population structure into models of species interactions. We provide a general framework for studying competition in structured populations by quantifying species' invasion growth rates. The crux of our approach is separation of timescales: the initial dynamics of a structured population depend on how exactly it is introduced, but these transient differences do not affect long-term invasion success. Depending on the research question, the relevant long-term growth rate when rare may equivalently be derived using analytical separation of timescales, matrix population theory, or numerical simulations. Using case studies spanning developmental stage, environmental state, and infection status, we illustrate how our methodology derives simple, ecologically meaningful invasion conditions for a variety of systems. Finally, we extend the approach to fluctuating resident dynamics, showing how to use simulations or a general mathematical framework known as Floquet theory to correctly quantify invasion growth. By unifying the quantitative methods of population biology and community ecology, our framework will allow ecologists to study species persistence and coexistence across a greater variety of demographically complex systems.

ecology↗

Interspecific social contacts spread gut microbiota in wild rodent communities

Background: The mammalian gut microbiota influences a wide array of host phenotypes and varies substantially among individuals. Among conspecifics, microbiota composition is strongly shaped by microbial transmission through social interactions, yet the extent to which such transmission also occurs across species boundaries remains poorly understood. Here, we combine high-resolution tracking data collected over more than 10 months with gut microbiota profiling to examine social associations, space use, and microbiota similarity among individuals of three sympatric rodent species - wood mice (Apodemus sylvaticus), yellow-necked mice (A. flavicollis) and bank voles (Myodes glareolus), in two woodlands. By integrating multi-species social networks and spatial overlap with individual microbiota data, we test how both conspecific and interspecific interactions shape gut microbiota composition. Results: At both study sites, social associations strongly predicted microbiota similarity among conspecific individuals, whereas spatial proximity consistently predicted microbiota similarity among interspecific pairs. In addition, social associations between mice of different species predicted microbiota similarity, although this effect was weaker than that observed within species and was asymmetric, with evidence for stronger microbial transmission from wood mice to yellow-necked mice than vice versa. By focusing on species-indicative bacterial taxa, we further show that wood mice with more social connections to yellow-necked mice harboured a greater richness of gut bacteria typical of yellow-necked mice. Conclusions: Together, these results demonstrate that individual-level social behaviour can influence gut microbial transmission across species boundaries, particularly among closely related species with overlapping ecological niches. Interspecific social interactions may therefore represent an underappreciated pathway for the acquisition of novel gut symbionts in multi-species communities.

ecology↗

Energetic and functional development of soil food webs along secondary succession

1. As ecosystems develop, aboveground biomass and belowground organic matter accumulate, while energy turnover declines. This trend is largely supported by vegetation studies, but remains unexplored for soil food webs that channel the majority of energy in terrestrial ecosystems. 2. Here, we tested whether successional theory applies to soil food webs across size-based compartments, ranging from microfauna (nematodes) to macrofauna (soil arthropods and earthworms), along a secondary succession in southwestern China, using an energy-flux approach. To assess whether forest restoration by planting follows natural succession, we also compared spruce and larch plantations with secondary birch forest of the same successional stage. 3. Supporting expectations of reduced energy turnover, the results showed an increasing animal biomass-to-energy flux ratio and a functional shift from herbivory-dominated (green) to detritivory-dominated (brown) energy channelling along succession. Soil food web compartments showed contrasting trends: macro-food webs shifted towards bacterial energy channels with decreasing predation, while micro-food webs maintained similar bacterial/fungal energy flux ratios and tended towards increasing predation. The larch plantation supported lower animal biomass than the secondary birch forest, whereas the spruce plantation did not differ. We further found that energy flux correlated positively with microbial biomass and soil animal diversity, but negatively with litter biomass during succession. 4. Overall, we expand successional theory by revealing the transformations in energy use and pathways within soil food webs along secondary succession, thereby advancing understanding of ecosystem functioning and guiding ecosystem restoration. Our results further suggest that tree plantations do not necessarily replicate the belowground development of natural succession, which should be considered in ecosystem restoration.

ecology↗