Optimizing agent-based transmission models for infectious diseases
Authored by Lander Willem, Sean Stijven, Engelbert Tijskens, Philippe Beutels, Niel Hens, Jan Broeckhove
Date Published: 2015
DOI: 10.1186/s12859-015-0612-2
Sponsors:
Agency for Innovation by Science and Technology in Flanders (IWT)
University of Antwerp scientific chair in Evidence-Based Vaccinology
Platforms:
C++
Model Documentation:
Other Narrative
Flow charts
Pseudocode
Model Code URLs:
https://bmcbioinformatics.biomedcentral.com/articles/10.1186/s12859-015-0612-2
Abstract
Background: Infectious disease modeling and computational power have
evolved such that large-scale agent-based models (ABMs) have become
feasible. However, the increasing hardware complexity requires adapted
software designs to achieve the full potential of current
high-performance workstations.
Results: We have found large performance differences with a
discrete-time ABM for close-contact disease transmission due to data
locality. Sorting the population according to the social contact
clusters reduced simulation time by a factor of two. Data locality and
model performance can also be improved by storing person attributes
separately instead of using person objects. Next, decreasing the number
of operations by sorting people by health status before processing
disease transmission has also a large impact on model performance.
Depending of the clinical attack rate, target population and computer
hardware, the introduction of the sort phase decreased the run time from
26\% up to more than 70\%. We have investigated the application of
parallel programming techniques and found that the speedup is
significant but it drops quickly with the number of cores. We observed
that the effect of scheduling and workload chunk size is model specific
and can make a large difference.
Conclusions: Investment in performance optimization of ABM simulator
code can lead to significant run time reductions. The key steps are
straightforward: the data structure for the population and sorting
people on health status before effecting disease propagation. We believe
these conclusions to be valid for a wide range of infectious disease
ABMs. We recommend that future studies evaluate the impact of data
management, algorithmic procedures and parallelization on model
performance.
Tags
Dynamics
Influenza
Strategies
United-states