Model-Driven Parallel and Distributed Stochastic Simulation of Chemical Reaction Networks

Simone Bauco, Federica Montesano, Adriano Pimpini, Romolo Marotta, and Alessandro Pellegrini


Published in: Proceedings of the 29th International Symposium on Distributed Simulation and Real Time Applications
pdf Download PDF

Abstract:
Biochemical systems are characterized by rich stochastic behaviors and complex interaction patterns, often modeled through rule-based frameworks such as BioNetGen. Despite the expressiveness of such high-level specifications, simulating large-scale models remains computationally prohibitive. In this paper, we present a model-driven framework for the parallel and distributed execution of stochastic chemical reaction networks, enabled by a model-to-model transformation of BioNetGen descriptions. The transformation produces an intermediate representation based on the Actor Model, in which actors encapsulate local state and asynchronous communication, aligning with the concurrency of biochemical processes. From this representation, we generate executable code targeting ROOT-Sim, a speculative parallel discrete-event simulation (PDES) environment based on Time Warp. We propose an exact parallel implementation of the Stochastic Simulation Algorithm (SSA), employing reaction partitioning to minimize inter-process dependencies and leveraging an event-exchange protocol to ensure consistency and atomicity of reactant consumption across logical processes. We introduce refined rollback and reaction rescheduling mechanisms to address potential correctness issues such as reactant overconsumption. Extensive experiments on well-established models, such as FcεRI, demonstrate substantial speedups over sequential methods.

BibTeX Entry:

@inproceedings{Bau25c,
author = {Bauco, Simone and Montesano, Federica and Pimpini, Adriano and Marotta, Romolo and Pellegrini, Alessandro},
title = {Model-Driven Parallel and Distributed Stochastic Simulation of Chemical Reaction Networks},
booktitle = {Proceedings of the 29th International Symposium on Distributed Simulation and Real Time Applications},
year = {2025},
month = sep,
publisher = {IEEE},
series = {DS-RT},
location = {Prague, Czech Republic},
notes = {To appear}
}