arXiv:2610.18217cs.PFOct 2026

Manuscript Offprint

arXiv:2610.18217

Fast and Flexible Spiking Network Simulations on Massively Distributed On-Chip Memory Accelerators

Catherine Mia Schöfmann, Jan Finkbeiner, Jan Vogelsang, Susanne Kunkel

Abstract

Studying brain function and dysfunction in spiking networks with realistic synaptic densities pushes simulation technology beyond its current limits. It requires simulations substantially faster than biological real-time to cover long model times and enable efficient iterative exploration, particularly when connectivity is plastic. The modelling community aspires to a 100×100\times speedup. Yet on conventional many-core systems this remains elusive, bounded by inter-node communication and memory access. So far, significant speedup has only been shown on a custom-built FPGA system. We demonstrate the potential of commercial systems with large distributed on-chip memory to accelerate brain research. To exploit the local SRAM, we introduce a group-based mapping and communication strategy tackling spike-routing challenges on massively distributed systems. On Graphcore IPUs, the cortical microcircuit runs at a record 22.7×22.7\times faster than biological real-time with negligible build times and a reusable compiled graph. By design, the algorithm makes no model- or hardware-specific assumptions, providing a general strategy for advancing neuronal simulation technology.

Parallel for each core:

Parallel for each target group:

5

Figure

6

Parallel for each core:

1

DELIVER

UPDATE

Parallel for each core:

4

COMMUNICATE

COLLOCATE

Parallel for each source group:

3

Fig. 1 Group-based algorithm. Centre: the cores (small grey squares) of all compute nodes (large grey squares) form a grid of source groups (numbered pink rows) and target groups (numbered cyan columns). The pink number on each core denotes the source group whose synapses it stores. Surrounding panels show one simulation cycle. Update (red): cores advance their neurons by one time step and record which spike. Collocate (yellow): the source group local IDs of spiking neurons are compacted into one buffer per source group, with the spike count in the first slot. Communicate (green): each source group's buffer is sent to its matching core in every target group. Deliver (blue): each core looks up the synapses of every received ID, adds their weights to its copy of the target group's spike buffer at the slot given by the delay, and the copies are summed within the target group.

1 Introduction

Comprehensive simulation studies of cortical networks depend on compute systems capable of running models significantly faster than biological real-time. Any improvement in simulation efficiency directly benefits neuroscientists in modelling tasks, allowing for more extensive parameter scans and larger scale experiments without the need for massive clusters. For example, capturing learning processes such as long-term plasticity requires tracking network activity over biological hours or days [1], demanding simulation speeds that remain difficult to achieve at scale on current hardware. For a large variety of neural simulations, CPUs remain the most used target platform [1–3]. Increasingly efficient algorithm design [4] has led to a consistent increase of simulators' speedup relative to biological simulated time TbioT_{bio} (real-time factor, RTF=Twall/TbioRTF = T_{wall}/T_{bio}) over the years. Across CPU, GPU and SpiNNaker implementations of the same benchmark, however, these gains largely follow hardware improvements. The achieved RTF approximately scales with the square of the process node and linearly with the energy per synaptic event, the only exception being FPGA-based systems [5]. One major bottleneck limiting further speedups lies in the very nature of these simulations: low compute requirements with frequent and often irregular memory access, along with unstructured communication needs between neuron-hosting processes. Due to the separation of memory and compute in the von-Neumann architecture, runtimes are dominated by cores waiting for data movements to complete. This is especially true for simulations of point-neuron models, since the computational load for simple update equations (e.g. Leaky Integrate-and-Fire, LIF) is minimal. GPU-based simulators [6, 7] offer a more compact compute-memory layout than CPUs, enabling slightly more graceful scaling, but ultimately suffer from the same problem. Moreover, especially larger neural models tend to exhibit extremely sparse connectivity. A single neuron is unlikely to have a large number of post-synaptic connections on any given process [4], leading to spike delivery suffering the most from disjoint and uncoalesced memory access.

The key to breaking this scaling barrier, therefore, lies in efficient routing. A recent breakthrough was made by the FPGA-based neuroAIx simulator [8], which uses a dedicated router unit and algorithm to simulate the cortical microcircuit benchmark at 20×20\times biological real-time. This comes with flexibility trade-offs typical of FPGA-based implementations, where adopting a different neuron model or network often requires re-synthesising the design. We aim to further improve on this level of performance without trading off flexibility.

State-of-the-art technology for distributed simulations of spiking networks on conventional hardware typically advances in discrete time steps and periodically exchanges spikes between compute nodes to preserve causality [9]. The interval over which each node may progress independently is set by the minimum synaptic transmission delay; one such interval constitutes a simulation cycle. In line with NEST terminology (e.g., [10]), we distinguish four phases. In the update phase, every node advances the dynamical state of its local neurons over the minimum-delay interval, optionally in smaller steps, and records which of them cross the firing threshold. In the collocate phase, the resulting spikes are compacted into communication buffers. In the communicate phase, these buffers are exchanged between nodes through a collective operation. In the deliver phase, the synaptic weights are added to the corresponding target neuron's spike buffer, contributing to the state update at the point in simulated time set by the remaining synaptic transmission delay. We evaluate our approach using the full-scale Potjans-Diesmann cortical microcircuit model (PD14), a standard benchmark comprising approximately 77,000 neurons and 3×1083 \times 10^{8} synapses (Sec. 3.1) [5, 11].

For our solution, we make use of distributed memory architectures, systems that allocate fast volatile memory (i.e., SRAM) to every computing core instead of organising it in cache hierarchies or sharing between parallel units. This reduces memory access latency of each processor to its local memory to a small constant duration, regardless of the access pattern, offering orders-of-magnitude lower latency and higher bandwidth compared to external memory (DRAM). Neuromorphic systems often provide dedicated hardware support for spike communication through event-driven or mixed-signal designs, but constrain the model to fit it. SpiNNaker was designed for 1 ms time steps and fixed-point arithmetic, and required a 20×20\times slow-down to simulate PD14 at 0.1 ms resolution [12], with real time reached only through model-specific redistribution of synaptic processing [13]. Loihi [14] and TrueNorth [15] restrict weight resolution, delays and neuron dynamics, while the analog BrainScaleS-2 system [16] operates with limited neuron fan-in, provides 256 synapses per neuron circuit and 131,072 synapses per chip. PD14, with 3880 synapses per neuron and 3×1083\times10^{8} in total, would therefore require over 2000 chips. In parallel, machine-learning accelerators such as Cerebras [17], NorthPole [18] and the IPU [19] demonstrate the value of colocating memory and compute at scale. We choose the IPU as reference hardware for our implementation, as it offers a large amount of local memory per core and provides a flexible low-level software stack with its custom poplar SDK.

In order to make use of low access latency for local memory, we implement a parallel spike delivery algorithm that maximises local computation by structuring spike exchange between groups of cores. Our algorithm defines communication pathways for a configurable group size at build time, thus reducing the required filtering as every post-synaptic target builds a connection lookup table for its pre-synaptic source groups ahead of simulation. Each core is part of both a source and a target group. The source group defines which buffer its spikes will be aggregated into, while a core's position in a target group defines which source-target group pair it will hold the synapse data for. By tweaking the ratio of groups, we can change the communication granularity and which stages of the simulation benefit most from parallelisation. The optimal configuration will depend on the hardware and implementation of inter-core communication.

Combined with the fast random access times of distributed memory, this architecture underpins our state-of-the-art performance. At the same time, the IPU retains the flexibility of a higher-level software-programmable accelerator. Changes to the model or implementation only require recompiling C++ codelets, which takes seconds as opposed to hardware re-synthesis. We achieve simulation times 22.7×22.7\times faster than biological real-time, meaning a 1.11×1.11\times speedup and approximately 3.6×3.6\times better energy efficiency compared to the previous state-of-the-art neuroAIx [8]. Part of this gap reflects that our implementation requires no external memory, but the values also differ in measurement level (IPU device power vs. FPGA board power, Sec. 2.4). Furthermore, we demonstrate that, next to our 32-bit default, the architecture can utilise 16-bit precision synaptic weights to minimise memory consumption while still delivering accurate simulation output. Verification is done through comparison of the same model run on CPU-based simulator NEST [20], see Appendix A.

References (41)