EventQueues: Autodifferentiable spike event queues for brain simulation on AI accelerators
Lennart P. L. Landsmeer, Amirreza Movahedin, Said Hamdioui, Christos Strydis

TL;DR
This paper introduces memory-efficient, gradient-enabled spike event queues for simulating and training spiking neural networks on various AI accelerators, addressing delays and efficiency issues in existing methods.
Contribution
It derives gradient computation through spike event queues with delays and implements optimized, platform-specific data structures for efficient SNN simulation and training.
Findings
CPUs perform well with tree-based or FIFO queues
GPUs excel with ring buffers for small simulations
TPUs favor sorting-based implementations
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Neural dynamics and brain function · Ferroelectric and Negative Capacitance Devices
