High-Performance and Scalable Agent-Based Simulation with BioDynaMo
Lukas Breitwieser, Ahmad Hesam, Fons Rademakers, Juan Gómez-Luna, Onur Mutlu
Abstract
Agent-based modeling plays an essential role in gaining insights into biology, sociology, economics, and other fields. However, many existing agent-based simulation platforms are not suitable for large-scale studies due to the low performance of the underlying simulation engines. To overcome this limitation, we present a novel high-performance simulation engine.
We identify three key challenges for which we present the following solutions. First, to maximize parallelization, we present an optimized grid to search for neighbors and parallelize the merging of thread-local results. Second, we reduce the memory access latency with a NUMA-aware agent iterator, agent sorting with a space-filling curve, and a custom heap memory allocator. Third, we present a mechanism to omit the collision force calculation under certain conditions.
Our evaluation shows an order of magnitude improvement over Biocellion, three orders of magnitude speedup over Cortex3D and NetLogo, and the ability to simulate 1.72 billion agents on a single server.
Supplementary Materials, including instructions to reproduce the results, are
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 21695f45-4f78-4430-b649-184979fe4fddRelated papers
- Generalizing Bulk-Synchronous Parallel Processing for Data Science: From Data to Threads and Agent-Based SimulationsZilu Tian, Peter Lindner, Markus Nissl, Christoph Koch et al.SIGMOD 2023 · 4 citations
- Megaverse: Simulating Embodied Agents at One Million Experiences per SecondAleksei Petrenko, Erik Wijmans, Brennan Shacklett, Vladlen KoltunICML 2021 · 26 citations
- SIMCoV-GPU: Accelerating an Agent-Based Model for ExascaleKirtus G. Leyba, Steven Hofmeyr, Stephanie Forrest, Judy L. Cannon et al.HPDC 2024 · 2 citations
- ScaleSim: Serving Large-Scale Multi-Agent Simulation with Invocation Distance-Based Memory ManagementZaifeng Pan, Yipeng Shen, Zhengding Hu, Zhuang Wang et al.ICML 2026
- Scaling Large Language Model-based Multi-Agent CollaborationChen Qian, Zihao Xie, Yifei Wang, Wei Liu et al.ICLR 2025
