Event-based backpropagation on the neuromorphic platform SpiNNaker2
Gabriel Béna, Timo Wunderlich, Mahmoud Akl, Bernhard Vogginger, Christian Mayr, Hector Andres Gonzalez
TL;DR
This work addresses the challenge of training deep spiking neural networks efficiently on neuromorphic hardware by implementing exact, event-based backpropagation (EventProp) directly on SpiNNaker2. The approach uses four on-chip programs to perform forward computation, backward adjoint propagation, loss computation, and gradient-based weight updates, with batch-parallel execution to leverage the hardware's inherent parallelism. A Yin Yang classification task demonstrates successful on-chip training with strong correspondence to an off-chip PyTorch simulator, while profiling highlights substantial energy efficiency relative to GPU-based implementations. The results suggest that event-based training on neuromorphic substrates can enable real-time learning and scalable, energy-efficient adaptation for edge devices, with potential extensions to hybrid online–offline and meta-learning workflows using off-chip optimization to bootstrap on-chip learning.
Abstract
Neuromorphic computing aims to replicate the brain's capabilities for energy efficient and parallel information processing, promising a solution to the increasing demand for faster and more efficient computational systems. Efficient training of neural networks on neuromorphic hardware requires the development of training algorithms that retain the sparsity of spike-based communication during training. Here, we report on the first implementation of event-based backpropagation on the SpiNNaker2 neuromorphic hardware platform. We use EventProp, an algorithm for event-based backpropagation in spiking neural networks (SNNs), to compute exact gradients using sparse communication of error signals between neurons. Our implementation computes multi-layer networks of leaky integrate-and-fire neurons using discretized versions of the differential equations and their adjoints, and uses event packets to transmit spikes and error signals between network layers. We demonstrate a proof-of-concept of batch-parallelized, on-chip training of SNNs using the Yin Yang dataset, and provide an off-chip implementation for efficient prototyping, hyper-parameter search, and hybrid training methods.
