[Paper Review] BioGrad: Biologically Plausible Gradient-Based Learning for Spiking Neural Networks
BioGrad proposes a biologically plausible, gradient-based learning algorithm for spiking neural networks (SNNs) that achieves performance equivalent to backpropagation while adhering to neuromorphic principles: event-based, local, and online computation. It uses multi-compartment neurons with local eligibility traces and a periodic 'sleep' phase to align feedback and feedforward weights, enabling training on neuromorphic hardware with 400× lower energy per sample than GPU-based training.
Spiking neural networks (SNN) are delivering energy-efficient, massively parallel, and low-latency solutions to AI problems, facilitated by the emerging neuromorphic chips. To harness these computational benefits, SNN need to be trained by learning algorithms that adhere to brain-inspired neuromorphic principles, namely event-based, local, and online computations. Yet, the state-of-the-art SNN training algorithms are based on backprop that does not follow the above principles. Due to its limited biological plausibility, the application of backprop to SNN requires non-local feedback pathways for transmitting continuous-valued errors, and relies on gradients from future timesteps. The introduction of biologically plausible modifications to backprop has helped overcome several of its limitations, but limits the degree to which backprop is approximated, which hinders its performance. We propose a biologically plausible gradient-based learning algorithm for SNN that is functionally equivalent to backprop, while adhering to all three neuromorphic principles. We introduced multi-compartment spiking neurons with local eligibility traces to compute the gradients required for learning, and a periodic "sleep" phase to further improve the approximation to backprop during which a local Hebbian rule aligns the feedback and feedforward weights. Our method achieved the same level of performance as backprop with multi-layer fully connected SNN on MNIST (98.13%) and the event-based N-MNIST (97.59%) datasets. We deployed our learning algorithm on Intel's Loihi to train a 1-hidden-layer network for MNIST, and obtained 93.32% test accuracy while consuming 400 times less energy per training sample than BioGrad on GPU. Our work shows that optimal learning is feasible in neuromorphic computing, and further pursuing its biological plausibility can better capture the benefits of this emerging computing paradigm.
Motivation & Objective
- To develop a gradient-based learning rule for SNNs that is functionally equivalent to backpropagation while adhering to neuromorphic computational principles.
- To overcome the biological implausibility of standard backpropagation in SNNs, which requires non-local feedback, continuous error signals, and future timestep dependencies.
- To enable direct deployment of learning on neuromorphic hardware by ensuring event-based, local, and online computation.
- To improve the alignment between feedback and feedforward weights using a periodic 'sleep' phase that applies a local Hebbian rule.
- To demonstrate that biologically plausible learning can achieve state-of-the-art performance on SNN benchmarks like MNIST and N-MNIST.
Proposed method
- The method employs multi-compartment spiking neurons that separate feedforward and feedback inputs into distinct dendritic compartments, enabling local computation of gradients.
- Eligibility traces are computed locally within each neuron to capture the temporal evolution of pre- and post-synaptic activity, enabling credit assignment over time.
- A periodic 'sleep' phase is introduced during which a local Hebbian rule updates feedback weights to align with feedforward weights, improving gradient approximation.
- The algorithm uses random feedback weights (RandInit), enhancing biological plausibility by mimicking non-identical upstream and downstream pathways in the brain.
- The learning rule is designed to be robust to non-batched and low-precision training, making it suitable for neuromorphic hardware constraints.
- The method is deployed on Intel's Loihi processor, where it achieves high accuracy with significantly reduced energy consumption per training sample.
Experimental results
Research questions
- RQ1Can a gradient-based learning rule for SNNs be both functionally equivalent to backpropagation and biologically plausible?
- RQ2How can feedback weight alignment be achieved without non-local information or continuous error signals?
- RQ3Can a periodic 'sleep' phase improve the approximation of backpropagation in a biologically plausible manner?
- RQ4To what extent can the method be deployed on neuromorphic hardware with low-precision and streaming data?
- RQ5Does the use of random feedback weights maintain performance while increasing biological plausibility?
Key findings
- BioGrad achieved 98.13% accuracy on MNIST and 97.59% on the event-based N-MNIST dataset, matching the performance of standard backpropagation.
- The inclusion of a sleep phase significantly improved alignment between feedback and feedforward weights, as measured by reduced angle between weight matrices and higher correlation in weight magnitudes.
- Even with randomly initialized feedback weights (RandInit), BioGrad maintained high performance, demonstrating robustness and enhanced biological plausibility.
- The sleep phase was effective even at low frequencies—training with sleep every 256 batches achieved 98.21% accuracy on MNIST, showing that infrequent but longer sleep cycles suffice.
- When deployed on Intel's Loihi neuromorphic processor, BioGrad achieved 93.32% test accuracy on MNIST while consuming 400 times less energy per training sample than GPU-based BioGrad.
- The method demonstrated robustness to non-batched and low-precision training, confirming its suitability for real-time, energy-efficient neuromorphic inference and learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.