Skip to main content
QUICK REVIEW

[Paper Review] BioDynaMo: an agent-based simulation platform for scalable computational biology research

Lukas Breitwieser, Ahmad Hesam|arXiv (Cornell University)|Jun 8, 2020
Scientific Computing and Data ManagementDecision Sciences38 references5 citations
TL;DR

BioDynaMo is a high-performance, open-source agent-based simulation platform that accelerates computational biology by leveraging parallel and heterogeneous hardware, enabling simulations of up to 1.24 billion agents on a single server and 12 million on a laptop. It achieves up to 124× speedup over a state-of-the-art serial baseline and 76× parallel speedup using 72 CPU cores, with support for C++ and SBML-based intracellular dynamics.

ABSTRACT

Abstract Computer simulation is an indispensable tool for studying complex biological systems. In particular, agent-based modeling is an attractive method to describe biophysical dynamics. However, two barriers limit faster progress. First, simulators do not always take full advantage of parallel and heterogeneous hardware. Second, many agent-based simulators are written with a specific research problem in mind and lack a flexible software design. Consequently, researchers have to spend an unnecessarily long time implementing their simulation and have to compromise either on model resolution or system size. We present a novel simulation platform called BioDynaMo that alleviates both of these problems researchers face in computer simulation of complex biological systems. BioDynaMo features a general-purpose and high-performance simulation engine. The engine simulates cellular elements, their interactions within a 3D physical environment, and their cell-internal genetic dynamics. Cell-internal dynamics can be described in C++ code or using system biology markup language (SBML). We demonstrate BioDynaMo’s wide range of application with three example use cases: soma clustering, neural development, and tumor spheroid growth. We validate our results with experimental data, and evaluate the performance of the simulation engine. We compare BioDynaMo’s performance with a state-of-the-art baseline, and analyze its scalability. We observe a speedup of 20–124× over the state-of-the-art baseline using one CPU core and a parallel speedup between 67× and 76× using 72 physical CPU cores with hyperthreading enabled. Combining these two results, we conclude that, on our test system, BioDynaMo is at least three orders of magnitude faster than the state-of-the-art serial baseline. These improvements make it feasible to simulate neural development with 1.24 billion agents on a single server with 1TB memory, and 12 million agents on a laptop with 16GB memory. BioDynaMo is an open-source project under the Apache 2.0 license and is available at www.biodynamo.org. Author summary Computer simulations of biological systems are crucial to gain insights into complex processes of living organisms. However, the development of increasingly large and complex simulations is a difficult task, partly because a strong background in biology as well as computer science is required. In this paper, we introduce BioDynaMo, an agent-based simulation platform with which life scientists can create simulations that are three orders of magnitude faster than the state-of-the-art baseline. By taking advantage of the latest developments in computing hardware, we build a platform that is highly optimized. This enables the simulation of 1.24 billion agents on a single server and 12 million agents on a laptop. BioDynaMo places a lot of focus on hiding computational complexity and providing an easy-to-use interface, such that the life scientist can concentrate on biological aspects, rather than computational. BioDynaMo helps scientists to translate an idea quickly into a simulation by providing common building blocks, and a modular and extensible software design. We analyze the performance of the platform and demonstrate the capabilities with three example use cases: soma clustering, neural development, and tumor spheroid growth. The results support the view that BioDynaMo will help open up new research opportunities for large-scale biological simulations.

Motivation & Objective

  • To address the limitations of existing agent-based simulators that underutilize modern hardware and lack extensibility.
  • To reduce the development time and computational burden in simulating large-scale biological systems.
  • To provide a flexible, modular, and user-friendly platform that allows life scientists to focus on biology rather than low-level implementation.
  • To enable high-resolution, large-scale simulations of complex biological processes such as neural development and tumor spheroid growth.

Proposed method

  • The platform uses a general-purpose simulation engine to model cellular agents, their 3D physical interactions, and intracellular genetic dynamics.
  • Intracellular dynamics are implemented via native C++ code or SBML, enabling interoperability with systems biology tools.
  • The engine is optimized for parallel execution on multi-core CPUs and supports hyperthreading for improved scalability.
  • It employs a modular, extensible software architecture to facilitate reuse and integration of biological building blocks.
  • The platform abstracts low-level computational complexity, providing a high-level interface for biologists.
  • Performance is evaluated using real-world biological use cases and compared against a state-of-the-art baseline.

Experimental results

Research questions

  • RQ1Can a general-purpose simulation platform achieve significant performance gains over existing agent-based simulators in large-scale biological simulations?
  • RQ2To what extent can BioDynaMo scale across multi-core CPUs while maintaining high fidelity in modeling cellular and genetic dynamics?
  • RQ3How does BioDynaMo’s performance compare to a state-of-the-art baseline in terms of serial and parallel execution?
  • RQ4Can BioDynaMo simulate biologically relevant processes like neural development and tumor spheroid growth at unprecedented scales?
  • RQ5To what extent does the platform reduce the development overhead for researchers without requiring deep expertise in high-performance computing?

Key findings

  • BioDynaMo achieves a 20–124× speedup over the state-of-the-art serial baseline when running on a single CPU core.
  • With 72 physical CPU cores and hyperthreading, BioDynaMo achieves a parallel speedup of 67–76×.
  • Combining serial and parallel improvements, BioDynaMo is at least three orders of magnitude faster than the baseline on the test system.
  • The platform successfully simulates 1.24 billion agents on a single server with 1TB of memory, demonstrating feasibility for large-scale neural development simulations.
  • It also enables simulations of 12 million agents on a laptop with 16GB of memory, highlighting portability and efficiency.
  • Validation against experimental data confirms the biological relevance and accuracy of the simulation results in all three use cases: soma clustering, neural development, and tumor spheroid growth.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.