An algebraic framework for structured epidemic modelling

Philos Trans A Math Phys Eng Sci. 2022 Oct 3;380(2233):20210309. doi: 10.1098/rsta.2021.0309. Epub 2022 Aug 15.

Abstract

Pandemic management requires that scientists rapidly formulate and analyse epidemiological models in order to forecast the spread of disease and the effects of mitigation strategies. Scientists must modify existing models and create novel ones in light of new biological data and policy changes such as social distancing and vaccination. Traditional scientific modelling workflows detach the structure of a model-its submodels and their interactions-from its implementation in software. Consequently, incorporating local changes to model components may require global edits to the code base through a manual, time-intensive and error-prone process. We propose a compositional modelling framework that uses high-level algebraic structures to capture domain-specific scientific knowledge and bridge the gap between how scientists think about models and the code that implements them. These algebraic structures, grounded in applied category theory, simplify and expedite modelling tasks such as model specification, stratification, analysis and calibration. With their structure made explicit, models also become easier to communicate, criticize and refine in light of stakeholder feedback. This article is part of the theme issue 'Technical challenges of modelling real-life epidemics and examples of overcoming these'.

Keywords: Petri nets; applied category theory; computational epidemiology; modelling and simulation; operads; stratification.

MeSH terms

  • Pandemics*
  • Software*