Run-Time Interoperability Between Neuronal Network Simulators Based on the MUSIC Framework

Mikael Djurfeldt, Johannes Hjorth, Jochen M. Eppler, Niraj Dudani, Moritz Helias, Tobias C. Potjans, Upinder S. Bhalla, Markus Diesmann, Jeanette Hellgren Kotaleski, Örjan EkebergNeuroinformatics 2010 · DOI

Introduction

In computational neuroscience, researchers often face a "silo" problem. Different simulation engines are optimized for different scales: some, like NEST, excel at simulating millions of simple "point" neurons, while others, like MOOSE or NEURON, are designed for biologically detailed models with complex dendritic structures.

Until the development of MUSIC (Multi-Simulation Coordinator), combining these models was a significant challenge. Connecting a detailed model of the striatum to a large-scale model of the cortex typically required reimplementing one of the models in the other's native simulator. This process is time-consuming, error-prone, and discourages the reuse of established models. This paper introduces MUSIC, a standard API for run-time interoperability, allowing independent simulators to run simultaneously on a cluster and exchange data through standardized ports.

The MUSIC Framework

The MUSIC framework acts as a middleware sitting on top of the Message Passing Interface (MPI). Its operation is divided into three distinct phases:

  1. Launch: MUSIC interprets a configuration file and starts the various simulator binaries across the allocated processors.
  2. Setup: Simulators publish "ports" (named entry/exit points for data). MUSIC then creates an IndexMap, which handles the complex task of routing data between different processors.
  3. Runtime: The simulation proceeds in time steps. Simulators call tick(), and MUSIC ensures that spike events or continuous values (like membrane voltages) are delivered to the correct destination at the right time.
Overview of the MUSIC framework connecting multiple independent applications via ports.

Data Routing and Distribution

A key feature of MUSIC is its ability to handle data distribution even if the sender and receiver have different numbers of CPU cores or different data distributions in memory. This is achieved through a decoupling of the local data indices from the global communication graph, ensuring that the framework remains "orthogonal" to the internal workings of any specific simulator.

Data distribution and routing between sender and receiver processes in MUSIC.

This decoupling allows researchers to change the architecture of a multi-simulation (e.g., adding a visualization tool or a new brain region) by simply modifying a separate configuration file, without changing a single line of the simulator's source code.

Benchmarking and Results

The authors implemented MUSIC interfaces for two very different simulators: NEST (C++) and MOOSE (Python/C++). To evaluate performance, they used several established models, including a Layered Cortical Network Model (80,000 neurons, 0.3 billion synapses) and a biologically detailed Striatal Network Model.

Key Performance Metrics

  • Minimal Overhead: Benchmarks showed that the performance cost of using MUSIC is remarkably low. For the cortical model, the relative increase in simulation time was well below 10% compared to running the simulator standalone.
  • Excellent Scaling: The framework demonstrated near-linear scaling. On a cluster, the simulation time for 80,000 neurons dropped from 32 seconds per biological second (on 8 cores) to just 5 seconds (on 48 cores).
  • Proof of Concept: The authors successfully ran a hybrid "cortico-striatal" simulation where NEST handled the cortex and MOOSE handled the striatum, with results streamed in real-time to a 3D visualization tool.

Discussion and Future Work

While MUSIC provides a robust solution for real-time interoperability, some limitations remain. Currently, the "communication graph" must be fixed at the start; ports cannot be added or removed during runtime. Additionally, while the pilot implementation uses pair-wise MPI calls, moving to collective operations like Allgather could improve efficiency for "all-to-all" communication patterns.

Future work will focus on deepening the integration for graded, continuous signals across more simulation platforms and exploring dynamic connectivity within the framework to support more plastic network architectures.

Summary updated

BibTeX
@article{djurfeldt2010run,
  author = {Mikael Djurfeldt and Johannes Hjorth and Jochen M. Eppler and Niraj Dudani and Moritz Helias and Tobias C. Potjans and Upinder S. Bhalla and Markus Diesmann and Jeanette Hellgren Kotaleski and Örjan Ekeberg},
  title = {{Run-Time Interoperability Between Neuronal Network Simulators Based on the MUSIC Framework}},
  journal = {Neuroinformatics},
  year = {2010},
  doi = {10.1007/s12021-010-9064-z},
}
Figure