Abstract: Spiking Neural Networks (SNNs) are increasingly recognized for their potential to enable energy-efficient artificial intelligence on neuromorphic hardware. Despite this, the predominant training methodology—time-step-based surrogate gradient (SG) learning—imposes significant computational overhead, undermining the inherent advantages of event-driven processing. This paper introduces two novel event-driven learning algorithms: Spike-Timing-Dependent Event-Driven (STD-ED) and Membrane-Potential-Dependent Event-Driven (MPD-ED). Central to these algorithms is the Adaptive Firing Threshold-based Integrate-and-Fire (AFT-IF) neuron model, designed to mitigate issues of over-sparsity and gradient reversal. Our evaluation across static and neuromorphic datasets shows that these methods not only achieve state-of-the-art accuracy but also deliver a 30-fold reduction in energy consumption during training on specialized hardware.
Introduction
The quest for brain-inspired computing has led to the development of Spiking Neural Networks (SNNs), which process information via discrete spikes rather than continuous activations. This sparsity allows for exceptional energy efficiency, particularly on neuromorphic chips. However, the "training bottleneck" remains a significant hurdle. Most current SNN training relies on Surrogate Gradient (SG) methods that discretize time into uniform steps. This approach requires calculating gradients at every time step, regardless of whether a neuron fires, leading to high memory usage and power consumption that mirrors traditional Deep Neural Networks (DNNs).
Furthermore, existing event-driven learning approaches—which only update weights when spikes occur—frequently encounter two critical failures: over-sparsity and gradient reversal. Over-sparsity occurs when neurons fail to fire during initialization, causing gradients to vanish. Gradient reversal stems from the mathematical properties of the spike kernel, where the descending phase of a membrane potential can lead to weight updates in the incorrect direction.
Methodology
To address these challenges, we propose the AFT-IF neuron model and two associated learning rules.
The AFT-IF model incorporates an Adaptive Firing Threshold (AFT). By dynamically adjusting the threshold based on recent firing activity, the model ensures that neurons remain active enough to facilitate learning, effectively solving the over-sparsity problem. Additionally, the model utilizes an Integrate-and-Fire (IF) kernel that eliminates "leakage" during the rising phase of the membrane potential. This ensures that the gradient remains consistent with the direction of the error, preventing the gradient reversal issue common in Leaky Integrate-and-Fire (LIF) models.
Building on this model, we introduce two algorithms:
- STD-ED (Spike-Timing-Dependent Event-Driven): This rule leverages the precise timing of output spikes to calculate gradients, ensuring updates are only performed at relevant event moments.
- MPD-ED (Membrane-Potential-Dependent Event-Driven): This represents the first event-driven algorithm to utilize the internal membrane potential as a learning signal. It employs a "Masked Surrogate Gradient" (MSG) function, which restricts backpropagation to instances where the potential crosses the firing threshold, further enhancing sparsity and efficiency.
Experimental Results
The proposed methods were rigorously tested on a variety of benchmarks, including static datasets (F-MNIST, CIFAR-10/100) and neuromorphic datasets (N-MNIST, DVS-Gesture, DVS-CIFAR10).
As shown in the table below, our methods consistently outperform existing event-driven models. On the CIFAR-100 dataset, MPD-ED achieved a 6.79% accuracy improvement over previous benchmarks. On the DVS-Gesture dataset, we achieved a state-of-the-art accuracy of 98.96%.
Beyond accuracy, the energy efficiency gains are substantial. When deployed on the ANP-I asynchronous neuromorphic chip, the MPD-ED approach consumed only 312nJ per sample—a 30-fold reduction compared to the 9320nJ required by traditional time-step-based training. This efficiency is complemented by reduced latency, as the models maintain high performance with as few as 5 to 10 time steps.
Conclusion
The introduction of STD-ED and MPD-ED, supported by the AFT-IF neuron model, marks a significant step toward truly efficient SNN training. By aligning the learning mathematics with the event-driven nature of the hardware, we have demonstrated that it is possible to achieve high-performance AI with a fraction of the traditional energy cost. Future research will explore local learning rules like Spike-Timing-Dependent Plasticity (STDP) to further decentralize the learning process and enable real-time, on-chip adaptation.
Summary updated