arXiv · 2610.23964
A Unified Intermediate Representation and Execution Architecture for Heterogeneous and Distributed Neural Simulation
Abstract
Equation-based neural modeling offers flexibility, but executing models across processors and nodes requires explicit control of order, ownership, and numerical behavior. We present brian2-atlas, a rebuilt execution architecture retaining Brian2's modeling interface and bringing heterogeneous and distributed targets under a common model-to-execution contract. Its unified intermediate representation, AtlasIR, describes typed state, clocks, schedules, effects, events, and random-stream identities, and is checked by an independent Rust validator. Target-specific implementations support Rust CPU execution, CUDA and Apple Metal GPUs, browser WebAssembly, and MPI within declared contracts. In a repeated full-connectome CPU cohort, the best measured Rust configuration reduced simulation-and-recording time by 5.43-fold relative to the best measured Brian2 C++ configuration on the same Linux host. A 298.9-million-synapse model completed on a 16 GB laptop while the compared C++ preparation path exceeded its controlled memory budget. Distributed execution completed 100.5 seconds of model time for 4,129,924 neurons and 24.1 billion recurrent synapses on four nodes and 32 ranks. A five-point synthetic weak-scaling study reached 860 million neurons and 860 billion recurrent connections for 100 ms on 30 hosts and 240 physical worker cores. These establish tested capacity configurations rather than statistical equivalence or a matched speed advantage over NEST. Published-model workflows extend validation to explicit NMDA dynamics and contextual dendritic plasticity, with up to 2.10-fold acceleration in a matched eight-core NMDA cohort. The results characterize semantic, numerical, and resource boundaries rather than universal compatibility or performance superiority.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Xinjun Li. 2026-10-10. A Unified Intermediate Representation and Execution Architecture for Heterogeneous and Distributed Neural Simulation. https://doi.org/10.5281/zenodo.23273257
Cite the original work for its findings. Save a collection to share your selection of sources.