Process Bigraphs and the Architecture of Compositional Systems Biology

Eran Agmon 1, Ryan K. Spangler 1 · 2025

Read Process Bigraphs and the Architecture of Compositional Systems Biology by Eran Agmon 1, Ryan K. Spangler 1 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2512-23754.txt.

Introduction

Eran Agmon and Ryan Spangler present Process Bigraphs, a framework for building biological simulations out of parts made by different groups. Real models span molecules, cells, and tissues, and each part may use its own math. Gluing them together takes care: each part must say which values it reads and writes, units must be matched, and updates must stay in step. Most tools leave those choices buried and unspoken.

Process Bigraphs makes the glue explicit. It grows out of the earlier Vivarium software and sets a shared spec for part interfaces, for nested data, and for the patterns used to compose and run coupled models. An open-source build, Vivarium 2.0, ships with the paper. A demo library of microbe ecosystem models mixes rate equations, dynamic flux balance models, and spatial processes, and in the demos populations sort themselves out in space just from the coupling.

Catalog record

CREATOREran Agmon 1, Ryan K. Spangler 1
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE43 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2512-23754

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Process Bigraphs and the Architecture of Compositional Systems Biology Eran Agmon 1, Ryan K. Spangler 1 Abstract Building multiscale biological models requires the integration of independently developed submodels, which means moving shared variables between them and coordinating when each submodel runs. Existing tools typically address isolated biological mechanisms with specific numerical methods, rarely specify which variables each model reads and writes, how those variables are translated, and how model updates are synchronized. We present Process Bigraphs, a framework for composing and simulating multiscale models. Process Bigraphs generalize the architectural ideas previously used in the Vivarium software into a shared specification that describes process interfaces, hierarchical data structures, composition patterns, and orchestration patterns. The paper explains how the framework is organized and why it makes biological models easier to understand, reuse, and build on; the Supplementary Materials provides the formal specification. We introduce Vivarium 2.0 as an open-source implementation of the process bigraph framework. We demonstrate its utility with Spatio–Flux, a standalone library of microbial ecosystem simulations that combine kinetic ODEs, dynamic flux balance analysis, and different spatial processes. Finally, we discuss implications for emerging multiscale modeling standards. Availability and implementation: Vivarium 2.0 is a suite of software libraries that include: (1) bigraph-schema, for defining and operating on data types within a hierarchical JSON-based format; (2) process-bigraph, for defining process interfaces, composite simulations, and executing them; (3) bigraph-viz, for interactive diagramming of system structure and data flow; and (4) spatio–flux as the reference application used in this paper. A Supplementary Materials document provides detailed descriptions of these software libraries. All software is open-source and available at: https://github.com/vivarium-collective . Introduction Systems biology requires infrastructure that enables the free composition of heterogeneous datasets, models, and methods into unified multiscale simulations. Whereas models in systems biology traditionally focus on the structure or dynamics of a particular subsystem, formulated with a specific method and calibrated under controlled conditions, compositional systems biology aims to connect these models, asking critical questions about the space between models : What variables should a submodel expose through its interface? How do coupled models connect and translate across scales? How can distinct modeling methods be coupled and translated across scales? How can models grounded in different biological or physical disciplines communicate to synthesize new knowledge? Can we build flexible software that integrates diverse datasets and submodels into consistent and reproducible composite simulations? How can communities of researchers collaboratively access, recombine, and refine models into ever more successful forms? Systems biology models have not been compositional in the same way as their biological counterparts — this is in part because models do not have chemistry or physics to mediate their interactions, and require a model for every natural process. It is true that many modeling paradigms such as ordinary differential equations (ODEs), flux balance analysis (FBA), Bayesian networks, rule-based models, and Markov models are internally compositional in that they can be expanded by adding new expressions or nodes to represent reactions, species, pathways, etc.. But different aspects of biology require different representations and are typically studied with different modeling paradigms, and these too need to be brought together. The need to connect models across scales has driven interest in hybrid approaches that combine modeling paradigms — such as stochastic with deterministic [ 8 ] , kinetic ODEs with steady state FBA [ 20 , 3 ] , particle-based with continuous spatial [ 24 ] , COMETS for dynamic FBA with spatial diffusion [ 4 ] , and whole-cell models with many interacting processes [ 14 , 19 , 21 , 30 , 28 ] . Recent approaches also integrate mechanistic models with machine-learning [ 23 ] , enabling data-driven refinement of dynamical systems while retaining mechanistic interpretability. Multi-cellular models often use agent-based models (ABMs) [ 31 , 6 , 29 ] — a class of hybrid models that spans two scales, with a model for an environment and models for individual agents. However, these are usually tightly coupled with specific software environments or modeling methodologies — the lack of interoperability across domains limits model reuse, scalability, and collaboration. To address these challenges, we need a shared interface and runtime protocol—a standard way to define how models expose variables, how data flows between them, and how execution is coordinated. Such a framework would support mix-and-match models built with different methods, enable reuse and substitution through compatible interfaces, and provide a means to dynamically structure and orchestrate simulations across multiple scales. Just as communication protocols in distributed systems allow diverse components to interoperate via standardized interfaces and message formats, a composition protocol would allow multiscale biological simulations to be constructed from interoperable parts, validated independently, and integrated into larger models. This would complement existing standards developed by the COMBINE community—SBML [ 15 ] , CellML [ 17 ] , and SED-ML [ 32 ] —by focusing not on unifying models into a single file but on orchestrating heterogeneous models and methods. Figure 1 illustrates a conceptual user interface for this vision, where cellular systems are assembled from modular submodels connected by wires, providing an intuitive framework for composing and executing multiscale simulations. With Vivarium 1.0 [ 1 ] , we implemented these ideas in Python using a framework of processes that exchange data through shared, hierarchically structured stores. The design supported modularity by allowing processes to be swapped or recombined through explicit interfaces, hierarchy through recursive nesting of processes and stores, and dynamic orchestration coordinating processes operating on different timescales. This enabled flexible coupling of stochastic and deterministic submodels, synchronization of hybrid processes, and runtime restructuring of simulations. Vivarium was successfully applied to diverse biological problems, including metabolic and regulatory integration in whole-cell simulations of E. coli [ 27 ] , bacterial chemotaxis integrating motility and intracellular signaling [ 2 ] , and tumor morphogenesis combining agent-based models with multiplexed spatial imaging data [ 9 ] . While these applications demonstrated the framework’s flexibility and scalability, they also revealed that encoding compositional semantics directly in Python limited transparency, interoperability, and reuse — motivating the need for a more general protocol. This paper introduces Process Bigraphs — a compositional modeling framework that defines how subsystems expose interfaces, connect to one another, and are orchestrated across scales. We present the core conceptual principles together with a graphical language because we believe they provide powerful conceptual tools for reasoning about multiscale biology and what it means to build compositional models as a research community; the Supplementary Materials provides the corresponding formal semantics. Process bigraphs are implemented in Vivarium 2.0, an open-source successor to Vivarium 1.0 that adopts a language-agnostic exchange format in JSON. The Vivarium 2.0 suite comprises three libraries: bigraph-schema (for typed schemas and states), process-bigraph (for simulation interfaces and runtime), and bigraph-viz (for visualization of bigraph structures). Throughout the paper, the term process bigraph refers collectively to the conceptual framework, its execution model, and the software library that realizes it. This article focuses on the protocol, conceptual tools, and graphical visualizations, while the Supplement details the formal machinery and provides links and descriptions of the Vivarium 2.0 software repositories. This paper begins with the background and conceptual foundations of process bigraphs in Section 1 . Section 2 introduces the process bigraph framework, including how to

Read the complete text