AI & Computingarticle2026-10-09

Replicability of agent-based simulations: a case study with a SEIRS epidemiological model

Open access0 citations

Abstract

Reproducibility is not only a cornerstone of the advancement of science, but also of scientific credibility. However, it remains a persistent challenge across many disciplines, and it is now referred to as the “reproducibility crisis.” This issue is particularly relevant in computational modeling. In this paper, we want to know if the usage of different tools and implementation choices can lead to divergent outcomes. We investigate the replicability of a SEIRS epidemiological model implemented via agent-based modeling (ABM) across seven different platforms and programming languages, namely C++, Julia, Python, NetLogo, GAMA, Cormas, and PythonPDEVS. Each implementation was based on a common formal specification using the Overview, Design concepts and Details (ODD) protocol and developed independently by different modelers. Our results show that while all implementations qualitatively reproduce the expected dynamics of the model, a sharp infection peak followed by damped oscillations, they produce statistically significant differences in key metrics such as peak amplitude and timing. These differences are also large in magnitude: the variation between implementations is about 7.6 times larger than the stochastic variation within an implementation (across its 30 replications). Because each implementation was produced by a different modeler on a different platform, this variance reflects the combined effect of the tool and the modeler, which are confounded in the present design and cannot be separated. A complementary analysis of several independent developers working in a single language (C++ or Java) shows that the modeler alone induces statistically significant and large differences, confirming that the individual developer is an important source of divergence; the specific contribution of the technology therefore remains open. We conclude that even when a model is formally specified, independently developed ABM implementations can yield divergent numerical results. A controlled ablation traces much of this divergence to two under-specified execution details, namely how the residence times are discretised into whole days and whether the state-transition test is strict; specifying them in the ODD would remove much of the divergence. Our findings highlight the need for rigorous reproducibility and replicability practices, and for model specifications precise enough to pin down such implementation choices.

// Source

View paper (DOI)Open access versionOpenAlexComplex & Intelligent SystemsPublished 2026-10-09

Authors: Benjamin Antunes, Hanae Havion, Étienne Delay, Clément Foucher, David R.C. Hill, Claude Mazel, Paul-Antoine Bisgambiglia, Arthur Scriban, Oleksandr Zaitsev, Raphaël Duboz

Institutions: Sorbonne Université, Institut National de Recherche pour l'Agriculture, l'Alimentation et l'Environnement, Centre National de la Recherche Scientifique, Centre de Coopération Internationale en Recherche Agronomique pour le Développement, Institut de Recherche pour le Développement, Université de Montpellier, Cheikh Anta Diop University, Université Toulouse III - Paul Sabatier, Laboratoire d'Analyse et d'Architecture des Systèmes, Animal, Santé, Territoires, Risques et Ecosystèmes, Université de Corse Pascal Paoli, Sciences pour l'Environnement, Université de Toulouse, Franche-Comté Électronique Mécanique Thermique et Optique - Sciences et Technologies, Institut de Recherche pour le Développement, Unité de Modélisation Mathématique et Informatique des Systèmes Complexes