Eventprop training for efficient neuromorphic applications

Thomas Shoesmith, James C. Knight, Balázs Mészáros, Jonathan Timcheck, Thomas Nowotny

TL;DR

This paper introduces an efficient end-to-end pipeline that trains recurrent Spiking Neural Networks (SNNs) on GPUs using the event-driven Eventprop algorithm and seamlessly deploys them onto Intel’s Loihi 2 neuromorphic chip. The resulting hardware deployment achieves up to a 10× speedup and a massive 200× reduction in energy consumption compared to an NVIDIA Jetson Orin Nano, with virtually no loss in classification accuracy.

What Problem Does This Paper Address?

Deploying artificial intelligence to edge devices (like smart speakers or wearables) reduces latency and protects user privacy by eliminating the need to send data to the cloud. Spiking Neural Networks (SNNs) running on neuromorphic hardware are ideal for this because they mimic the brain's sparse, event-driven processing, which inherently saves power.

However, two major bottlenecks have blocked widespread adoption:

  1. Training Difficulty: Training SNNs directly on neuromorphic hardware remains incredibly difficult. Instead, researchers train them on GPUs using Backpropagation Through Time (BPTT). But standard BPTT is notoriously memory-hungry because it requires storing network states at every single timestep, scaling poorly as the duration or temporal resolution of the task increases.
  2. Deployment Gap: Transitioning a trained model from a high-precision GPU simulation to fixed-point, quantized neuromorphic hardware often degrades accuracy and requires complex, custom translation tools.

This paper addresses both challenges by combining an efficient, constant-memory training algorithm on GPUs with a streamlined conversion pipeline for Intel's Loihi 2 chip.

Methods

The authors developed a complete pipeline consisting of three main phases:

  1. Training via Eventprop: SNNs are trained from scratch on GPUs using mlGeNN (a machine learning library built on the GeNN simulator). Instead of standard BPTT, they use Eventprop, an exact-gradient algorithm where neuron states only need to be stored at the exact moments a neuron spikes. This keeps the training memory footprint flat, regardless of how many timesteps are simulated.
  2. Quantization and Conversion (mlGeNN to NetX): To bridge the gap to hardware, the authors created an open-source conversion library. It takes the 32-bit floating-point weights from mlGeNN and applies Post-Training Quantization (PTQ) to convert them into Loihi 2’s native 8-bit integer format. To mitigate precision loss from outlier weights, they clip weights to the 99th percentile before scaling the neuron voltage thresholds accordingly.
  3. Neuromorphic Deployment: The quantized models are exported to the NetX format and executed on Intel's Loihi 2 neuromorphic processor using the NxKernel API.
The Loihi 2 hardware ecosystem ranging from single chips to large-scale systems.

Datasets

The pipeline was evaluated on two challenging spatiotemporal keyword-spotting benchmarks, where audio signals are preprocessed into spike trains using an artificial cochlea model:

  • Spiking Heidelberg Digits (SHD): Contains 10,420 spoken digits (0-9) in both German and English.
  • Spiking Speech Commands (SSC): A more complex dataset based on Google Speech Commands, consisting of 35 words spoken under less controlled, real-world conditions.

Key Insights and Ideas

  • Constant Memory Scaling: Because Eventprop only tracks states at spike times, its memory usage remains completely flat as the number of timesteps increases. In contrast, standard BPTT memory usage scales linearly, making Eventprop vastly superior for tasks requiring fine temporal precision.
  • Quantization Resilience: Simple 8-bit Post-Training Quantization with minor weight clipping is sufficient for recurrent SNNs. The authors show that moving from 32-bit floating-point simulations to 8-bit fixed-point hardware arithmetic causes almost zero drop in classification performance.
  • First-of-its-Kind Deployment: This work marks the first time an SSC dataset classifier has been successfully deployed and benchmarked on actual neuromorphic hardware.

Key Results

  • Training Efficiency: When compared against Spyx (a highly optimized JAX-based SNN training library using standard BPTT), mlGeNN with Eventprop was significantly faster and utilized far less memory as the number of simulation timesteps grew beyond 500.
Fig. 3. Comparing SHD training cost of Eventprop using mlGeNN against BPTT in Spyx. (A) Peak GPU memory usage, (B) Time to train 100 epochs. All experiments were performed on a workstation with NVIDIA RTX A5000 GPU. All models use batch size 32.
  • Hardware Performance: On the SHD task, running inference on Loihi 2 was 10× faster (latency of ~2.5 ms vs ~25 ms) and used 200× less energy (~0.19–0.50 mJ vs ~82–92 mJ per sample) than an NVIDIA Jetson Orin Nano running at batch size 1.
  • Preserved Accuracy: Across various hidden layer sizes (256, 512, and 1024 neurons), the test accuracy on Loihi 2 closely matched the original floating-point GPU training baseline for both SHD (~84-88%) and SSC (~58-62%).
Classification accuracy across different hidden layer sizes for SHD and SSC datasets.

Limitations and Future Work

While highly effective, the current pipeline has a few limitations that the authors plan to address:

  • Neuron and Connectivity Constraints: The NetX importer currently supports only a limited subset of standard leaky integrate-and-fire (LIF) neuron models and dense connectivity structures. Future work will expand this to convolutional SNNs, sparse architectures, and networks utilizing trained synaptic delays or homeostatic adaptation.
  • Sub-8-bit Quantization: Loihi 2 natively supports even smaller data types (e.g., 1-bit to 4-bit weights). Achieving high accuracy at these ultra-low bit-widths will likely require moving from simple Post-Training Quantization to more sophisticated Quantization-Aware Training (QAT) methods.
  • Ecosystem Interoperability: The authors plan to extend their library to support the newly developed Neuromorphic Intermediate Representation (NIR), allowing models trained in mlGeNN to target a wider variety of neuromorphic hardware platforms beyond Loihi.

Summary updated

BibTeX
@inproceedings{shoesmith2025eventprop,
  author = {Thomas Shoesmith and James C. Knight and Balázs Mészáros and Jonathan Timcheck and Thomas Nowotny},
  title = {{Eventprop training for efficient neuromorphic applications}},
  booktitle = {NICE},
  year = {2025},
  doi = {10.1109/nice65350.2025.11064940},
}
Figure