Cross-comparison of state of the art neuromorphological simulators on modern CPUs and GPUs using the Brain Scaffold Builder

Robin De Schepper, Nora Abi Akar, Thorsten Hater, B. F. B. Huisman, Egidio D’Angelo, Abigail Morrison, Claudia CasellatobioRxiv 2022

Abstract

A variety of software simulators exist for neuronal networks, and a subset of these tools allow the scientist to model neurons in high morphological detail. The scalability of such simulation tools over a wide range in neuronal networks sizes and cell complexities is predominantly limited by effective allocation of components of such simulations over computational nodes, and the overhead in communication between them. In order to have more scalable simulation software, it is therefore important to develop a robust benchmarking strategy that allows insight into specific computational bottlenecks for models of realistic size and complexity. In this study, we demonstrate the use of the Brain Scaffold Builder (BSB) as a framework for performing such benchmarks. We perform a comparison between the well-known neuromorphological simulator NEURON and Arbor, a new simulation library developed within the framework of the Human Brain Project. The BSB can construct identical neuromorphological and network setups of highly spatially and biophysically detailed networks for each simulator. This ensures good coverage of feature support in each simulator, and realistic workloads. After validating the outputs of the BSB generated models, we execute the simulations on a variety of hardware configurations consisting of two types of nodes (GPU and CPU). We investigate performance across different mechanisms, mechanism classes, mechanism combinations, and cell types. Our benchmarks show that, depending on the distribution scheme deployed by Arbor, a speed-up with respect to NEURON of between 60 and 400 can be achieved. Additionally, Arbor can be up to two orders of magnitude more energy efficient.

Introduction

Simulating the human brain remains one of the "Grand Challenges" of modern science. Estimates suggest a full-brain simulation would require approximately $4 \times 10^{29}$ TFLOPS—orders of magnitude beyond current supercomputing capabilities. While hardware continues to evolve, the software bottleneck is equally pressing. For decades, NEURON has been the industry standard for morphologically detailed neurons. However, established in 1984, NEURON was not originally designed to exploit modern high-performance computing (HPC) features like massive multi-threading or GPU acceleration.

This study investigates whether newer libraries like Arbor can deliver the performance required for next-generation neuroscience. By using the Brain Scaffold Builder (BSB) to create identical models across different platforms, researchers demonstrated that Arbor can outperform NEURON by factors ranging from 60 to 400, while being significantly more energy-efficient.

Methodology

The researchers utilized the BSB, a declarative framework that allows scientists to describe a network once and export it to multiple simulators, ensuring an "apples-to-apples" comparison. The benchmarking focused on the cerebellar cortex, known for its regular structure, and was conducted at three hierarchical levels:

  1. Mechanisms: Individual ion channel equations (NMODL files).
  2. Single Cells: Detailed models of five cerebellar cell types (Granule, Golgi, Purkinje, Basket, and Stellate cells).
  3. Networks: Two scales—a small network (1,000 cells) for single-machine testing and a large network (30,000 cells) for distributed HPC environments.

Testing was performed on hardware ranging from standard desktops to the Piz Daint supercomputer, utilizing both CPUs and NVIDIA Tesla P100 GPUs.

Key Results and Performance Insights

Mechanism and Single Cell Performance

Arbor demonstrated a significant performance advantage at the foundational level. For individual ion channel dynamics, Arbor was 3x to 20x faster than NEURON. This speedup is largely attributed to Arbor's optimized handling of different mechanism classes.

Figure 4: Probability density of maximum speedup factors for different mechanism types (Regular, RANGE vars, and Nonlinear).

At the single-cell level, Arbor achieved speedup factors of 7x to 12x. As shown in the comparison of timestep durations, Arbor consistently processes biological time faster across all tested cerebellar cell types, with the most pronounced differences seen in complex cells like the Purkinje neuron.

Figure 3: Comparison of timestep duration (wall-clock time per biological millisecond) between NEURON and Arbor across five cerebellar cell types.

Network Scalability and Energy Efficiency

The most dramatic results appeared in network simulations. Using GPU acceleration, Arbor achieved a 400x speedup over NEURON for the 1,000-cell model. NEURON’s primary bottleneck is its lack of native multi-threading for network simulations; while it supports MPI for distribution across nodes, it cannot efficiently utilize multiple cores within a single processor as Arbor does.

Furthermore, Arbor proved to be 100x more energy-efficient in undistributed tasks. By completing simulations faster and utilizing modern hardware more effectively, Arbor significantly reduces the electricity cost—a critical factor as models scale toward whole-brain complexity.

Discussion and Future Work

Despite Arbor's performance lead, NEURON benefits from a 40-year head start and a vast ecosystem of existing models. The study revealed a "translation gap": even with identical inputs, the two simulators did not produce perfectly identical biological outputs due to differences in spatial discretization and default parameter handling. Transitioning to Arbor currently requires careful re-optimization and validation of models.

Future work will focus on refining the Arborize tool to improve the translation of complex NMODL files and investigating more sophisticated synapse types (such as NMDA and GABA) that require explicit spike history buffers, which were simplified for this initial benchmark.

Summary updated

BibTeX
@misc{schepper2022cross,
  author = {Robin De Schepper and Nora Abi Akar and Thorsten Hater and B. F. B. Huisman and Egidio D’Angelo and Abigail Morrison and Claudia Casellato},
  title = {{Cross-comparison of state of the art neuromorphological simulators on modern CPUs and GPUs using the Brain Scaffold Builder}},
  year = {2022},
  doi = {10.1101/2022.03.02.482285},
  howpublished = {bioRxiv},
}
Figure