Abstract
Spiking Neural Networks (SNNs) are promising for energy-efficient neuromorphic computing but face significant training challenges due to the non-differentiable nature of binary spikes. While Surrogate Gradients (SG) allow for backpropagation, fixed SG windows often fail to account for the shifting distribution of a neuron's membrane potential during training, leading to gradient vanishing or mismatch. This paper introduces Membrane Potential Dynamics-based Adaptive Gradient Learning (MPD-AGL). By dynamically adjusting the surrogate gradient's width to track the evolving membrane potential distribution, MPD-AGL significantly improves training stability and accuracy. The method achieves state-of-the-art performance on benchmarks like CIFAR-100 and Tiny-ImageNet with ultra-low latency, requiring as few as two timesteps.
Introduction
Unlike traditional Artificial Neural Networks (ANNs), SNNs communicate via discrete spikes. This binary activation is represented by a step function, whose derivative is zero everywhere except at the firing threshold, where it is undefined. To enable gradient-based learning, researchers employ Surrogate Gradients—smooth approximations of the derivative.
However, a critical issue arises: as data propagates through layers, learnable parameters in normalization layers (such as Batch Normalization) cause the distribution of a neuron's Membrane Potential Dynamics (MPD) to shift. If the SG's "active window" is fixed, the membrane potential may drift outside this zone, causing the gradient to vanish. Conversely, a window that is too wide introduces significant gradient mismatch.
The MPD-AGL Framework
The authors propose MPD-AGL to ensure the surrogate gradient "follows" the membrane potential. The framework is built on several key innovations:
- Adaptive Gradient Rule: Instead of a static width, MPD-AGL calculates an optimal width ($\kappa$) for the surrogate function at each layer and timestep. This width is dynamically adjusted based on the layer's learnable normalization parameters ($\gamma$) and the neuron's decay factor ($\tau$).
- Theoretical Foundations: The method is supported by mathematical theorems describing how affine transformations in normalization layers alter input distributions and how these distributions evolve over multiple timesteps.
- Learnable Decay Factors: By making the decay factor ($\tau$) learnable at the layer level, the network can hierarchically adjust how quickly information leaks from neurons, further aligning the SG with the MPD.
- Spatio-Temporal Integration: The rule is integrated into the Spatio-Temporal Backpropagation (STBP) framework, allowing for effective gradient flow across both spatial layers and temporal steps.
Experimental Results
MPD-AGL was evaluated on CIFAR-10, CIFAR-100, Tiny-ImageNet, and the neuromorphic CIFAR10-DVS dataset.
Performance and Latency
The method demonstrated superior accuracy and faster convergence compared to fixed SGs and other learnable methods like LSG (Learnable Surrogate Gradient). On CIFAR-100, MPD-AGL reached 80.49% accuracy with only 6 timesteps, a 2.5% improvement over previous state-of-the-art methods. Crucially, the model maintains high performance at ultra-low latencies, achieving 96.18% on CIFAR-10 with just 2 timesteps.
Energy Efficiency
Beyond accuracy, the proposed SNN is highly efficient. On CIFAR-10, the model consumed only 5.2% of the energy required by an equivalent ANN architecture, representing a 19x reduction in power consumption (approximately 0.55mJ per inference).
Conclusion
MPD-AGL addresses a fundamental bottleneck in SNN training by making the surrogate gradient sensitive to the underlying membrane potential dynamics. By unlocking the "gradient-available" zone for a higher proportion of neurons, the method enables high-performance SNNs that are both accurate and efficient enough for real-time deployment on low-power neuromorphic hardware. Future work will explore the application of these adaptive rules to more complex tasks like object detection and their integration into spiking transformer architectures.
Summary updated