Statistical Model Checking of Python Agent-Based Models: An Integration of MultiVeStA and Mesa

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Agent-based models (ABM) consist of several heterogeneous agents interacting in a complex way, possibly mediated by spatial constraints or other aspects, giving rise to emergent behavior not directly expressed in the model itself. These aspects made ABMs widespread in several areas, including the social sciences. These models are typically too complex to be solved analytically, requiring to use simulation-based analyses. Often, especially in the social sciences, these simulation-based analyses are not automatic, and the number of performed simulations or simulation steps might be arbitrary. This might lead to replicability issues, to low statistical accuracy of the results, or just to wrong results. In computer science, simulation-based analyses can be automated, e.g., using statistical model checking. We present an integration of the statistical model checker MultiVeStA with Mesa, a python-based framework for modeling and analysing ABMs. We validate the integration by using two seminal ABMs from the social sciences. We analyze the famous Boids flock model, able to generate flocking behaviors of birds, with the transient and counterfactual analysis capabilities of MultiVeStA. We analyze the well-known Schelling model, able to generate social segregation behaviors, with the steady-state and ergodicity diagnostics capabilities of MultiVeStA. The contribution of this paper is not methodological. Rather, this is on the one hand a case study paper presenting an application of MultiVeStA. On the other hand, it is a step towards automating and making more reliable the simulation-based analysis of models written in the popular Mesa framework.
Original languageEnglish
Title of host publicationProceedings of the Second International Conference - AISoLA 2024
PublisherSpringer
Publication date2025
Pages398-419
ISBN (Print)978-3-031-75433-3
ISBN (Electronic)978-3-031-75434-0
DOIs
Publication statusPublished - 2025
Event2nd International Conference on Bridging the Gap Between AI and Reality - Crete, Greece
Duration: 30 Oct 20243 Nov 2024

Conference

Conference2nd International Conference on Bridging the Gap Between AI and Reality
Country/TerritoryGreece
CityCrete
Period30/10/202403/11/2024

Keywords

  • Statistical Model Checking
  • Agent-based model
  • MultiVeStA
  • Mesa
  • Transient analysis
  • Steady-state analysis

Fingerprint

Dive into the research topics of 'Statistical Model Checking of Python Agent-Based Models: An Integration of MultiVeStA and Mesa'. Together they form a unique fingerprint.

Cite this