SNNAX -- Spiking Neural Networks in JAX

Jamie Lohoff, Jan Finkbeiner, Emre Neftci
9/4/2024
cs.NEcs.LG

No official code found. Best implementation: PGI15/snnax (30 stars, MIT, JAX, last commit 2024-08-29).

Abstract

Spiking Neural Networks (SNNs) simulators are essential tools to prototype biologically inspired models and neuromorphic hardware architectures and predict their performance. For such a tool, ease of use and flexibility are critical, but so is simulation speed especially given the complexity inherent to simulating SNN. Here, we present SNNAX, a JAX-based framework for simulating and training such models with PyTorch-like intuitiveness and JAX-like execution speed. SNNAX models are easily extended and customized to fit the desired model specifications and target neuromorphic hardware. Additionally, SNNAX offers key features for optimizing the training and deployment of SNNs such as flexible automatic differentiation and just-in-time compilation. We evaluate and compare SNNAX to other commonly used machine learning (ML) frameworks used for programming SNNs. We provide key performance metrics, best practices, documented examples for simulating SNNs in SNNAX, and implement several benchmarks used in the literature.

View on arXivView PDF

Code Implementations(1)

PGI15/snnaxCommunity72%
JAXMIT

Spiking neural networks in JAX with equinox.

308PythonApr 25, 20242 years agoMIT
jaxneuromorphic-computingspiking-neural-networks

Similar Papers

Cite this paper

@article{lohoff2024snnax,
  title  = {SNNAX -- Spiking Neural Networks in JAX},
  author = {Jamie Lohoff and Jan Finkbeiner and Emre Neftci},
  year   = {2024},
  eprint = {2409.02842},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.02842v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.02842.svg)](https://codeofpaper.com/paper/2409.02842)

Discussion