Adaptive parallelization of multi-agent simulations with localized dynamics
Abstract
Agent-based modelling constitutes a versatile approach to representing and simulating complex systems. Studying large-scale systems is challenging because of the computational time required for the simulation runs: scaling is at least linear in system size (number of agents). Given the inherently modular nature of MABSs, parallel computing is a natural approach to overcoming this challenge. However, because of the shared information and communication between agents, parellelization is not simple. We present a protocol for shared-memory, parallel execution of MABSs. This approach is useful for models that can be formulated in terms of sequential computations, and that involve updates that are localized, in the sense of involving small numbers of agents. The protocol has a bottom-up and asynchronous nature, allowing it to deal with heterogeneous computation in an adaptive, yet graceful manner. We illustrate the potential performance gains on exemplar cultural dynamics and disease spreading MABSs.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2023
- DOI:
- 10.48550/arXiv.2304.01724
- arXiv:
- arXiv:2304.01724
- Bibcode:
- 2023arXiv230401724B
- Keywords:
-
- Computer Science - Distributed;
- Parallel;
- and Cluster Computing;
- Computer Science - Computational Engineering;
- Finance;
- and Science;
- Computer Science - Multiagent Systems;
- Physics - Physics and Society;
- D.1.3;
- I.6.0;
- J.2;
- J.4;
- E.1;
- K.4.0
- E-Print:
- 12 pages, 3 figures