EventQueues: Autodifferentiable spike event queues for brain simulation on AI accelerators

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Landsmeer, Lennart P. L., Movahedin, Amirreza, Hamdioui, Said, Strydis, Christos
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866918234036371456
author Landsmeer, Lennart P. L.
Movahedin, Amirreza
Hamdioui, Said
Strydis, Christos
author_facet Landsmeer, Lennart P. L.
Movahedin, Amirreza
Hamdioui, Said
Strydis, Christos
contents Spiking neural networks (SNNs), central to computational neuroscience and neuromorphic machine learning (ML), require efficient simulation and gradient-based training. While AI accelerators offer promising speedups, gradient-based SNNs typically implement sparse spike events using dense, memory-heavy data-structures. Existing exact gradient methods lack generality, and current simulators often omit or inefficiently handle delayed spikes. We address this by deriving gradient computation through spike event queues, including delays, and implementing memory-efficient, gradient-enabled event queue structures. These are benchmarked across CPU, GPU, TPU, and LPU platforms. We find that queue design strongly shapes performance. CPUs, as expected, perform well with traditional tree-based or FIFO implementations, while GPUs excel with ring buffers for smaller simulations, yet under higher memory pressure prefer more sparse data-structures. TPUs seem to favor an implementation based on sorting intrinsics. Selective spike dropping provides a simple performance-accuracy trade-off, which could be enhanced by future autograd frameworks adapting diverging primal/tangent data-structures.
format Preprint
id arxiv_https___arxiv_org_abs_2512_05906
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle EventQueues: Autodifferentiable spike event queues for brain simulation on AI accelerators
Landsmeer, Lennart P. L.
Movahedin, Amirreza
Hamdioui, Said
Strydis, Christos
Neural and Evolutionary Computing
Spiking neural networks (SNNs), central to computational neuroscience and neuromorphic machine learning (ML), require efficient simulation and gradient-based training. While AI accelerators offer promising speedups, gradient-based SNNs typically implement sparse spike events using dense, memory-heavy data-structures. Existing exact gradient methods lack generality, and current simulators often omit or inefficiently handle delayed spikes. We address this by deriving gradient computation through spike event queues, including delays, and implementing memory-efficient, gradient-enabled event queue structures. These are benchmarked across CPU, GPU, TPU, and LPU platforms. We find that queue design strongly shapes performance. CPUs, as expected, perform well with traditional tree-based or FIFO implementations, while GPUs excel with ring buffers for smaller simulations, yet under higher memory pressure prefer more sparse data-structures. TPUs seem to favor an implementation based on sorting intrinsics. Selective spike dropping provides a simple performance-accuracy trade-off, which could be enhanced by future autograd frameworks adapting diverging primal/tangent data-structures.
title EventQueues: Autodifferentiable spike event queues for brain simulation on AI accelerators
topic Neural and Evolutionary Computing
url https://arxiv.org/abs/2512.05906