Spyx: A Library for Just-In-Time Compiled Optimization of Spiking Neural Networks
Kade M. Heckel, Thomas Nowotny

TL;DR
Spyx is a lightweight JAX-based library that enables efficient, just-in-time compiled optimization of spiking neural networks on modern accelerators, improving performance and flexibility over existing frameworks.
Contribution
The paper introduces Spyx, a novel JAX-based library that leverages JIT compilation and data pre-staging to optimize SNN training on GPUs and TPUs, addressing efficiency and flexibility challenges.
Findings
Surpasses performance of existing SNN frameworks
Utilizes JAX's JIT compilation for optimized execution
Achieves high hardware utilization on GPUs and TPUs
Abstract
As the role of artificial intelligence becomes increasingly pivotal in modern society, the efficient training and deployment of deep neural networks have emerged as critical areas of focus. Recent advancements in attention-based large neural architectures have spurred the development of AI accelerators, facilitating the training of extensive, multi-billion parameter models. Despite their effectiveness, these powerful networks often incur high execution costs in production environments. Neuromorphic computing, inspired by biological neural processes, offers a promising alternative. By utilizing temporally-sparse computations, Spiking Neural Networks (SNNs) offer to enhance energy efficiency through a reduced and low-power hardware footprint. However, the training of SNNs can be challenging due to their recurrent nature which cannot as easily leverage the massive parallelism of modern AI…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Memory and Neural Computing · Neural Networks and Applications · Neural dynamics and brain function
MethodsSpiking Neural Networks · Lib
