SNNAX -- Spiking Neural Networks in JAX

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lohoff, Jamie, Finkbeiner, Jan, Neftci, Emre
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916583321894912
author Lohoff, Jamie
Finkbeiner, Jan
Neftci, Emre
author_facet Lohoff, Jamie
Finkbeiner, Jan
Neftci, Emre
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2409_02842
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SNNAX -- Spiking Neural Networks in JAX
Lohoff, Jamie
Finkbeiner, Jan
Neftci, Emre
Neural and Evolutionary Computing
Machine Learning
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.
title SNNAX -- Spiking Neural Networks in JAX
topic Neural and Evolutionary Computing
Machine Learning
url https://arxiv.org/abs/2409.02842