Abstract
Spiking Neural Networks (SNNs) offer a biologically inspired, energy-efficient alternative to traditional deep learning models by utilizing event-driven communication. Despite their potential, training SNNs remains a significant challenge due to their complex temporal dynamics and discrete activation functions. While Batch Normalization (BN) is a staple for stabilizing training in standard networks, its application in SNNs often fails to account for the internal state fluctuations within individual neurons. This paper introduces Membrane Potential Batch Normalization (MPBN), a novel approach that normalizes the membrane potential immediately prior to the firing threshold. By employing a re-parameterization technique, the authors fold the normalization parameters into the firing thresholds, achieving state-of-the-art accuracy across major benchmarks with zero additional computational overhead during inference.
Introduction
Spiking Neural Networks (SNNs) are increasingly recognized as the "green" frontier of artificial intelligence. By mimicking the brain's sparse, spike-based communication, they promise massive energy savings on specialized neuromorphic hardware. However, the non-differentiable nature of spikes and the intricate temporal dependencies of neurons make them notoriously difficult to optimize.
In standard deep learning, Batch Normalization (BN) has become the default solution for accelerating convergence and stabilizing gradients. When ported to SNNs, BN is typically applied to the input of the neuron. However, this paper identifies a critical oversight: the neuron's internal state—the membrane potential—is subject to "disturbances" from its own temporal residuals that occur after the input normalization. This paper proposes MPBN to address this instability directly at the decision-making point of the neuron.
The Problem: Temporal Disturbance
In a standard Leaky Integrate-and-Fire (LIF) neuron, the membrane potential is updated by adding the current normalized input to the residual charge from the previous time step. This process, known as the Membrane Potential Update (MPU), acts as a disturbance to the data distribution.
Existing SNN-specific normalization techniques, such as tdBN (temporally dependent BN) or BNTT (Batch Normalization Through Time), focus on normalizing the inputs across time or batches. However, by the time the neuron decides whether to "fire" a spike (the non-linear activation step), the distribution has already been shifted by the internal temporal dynamics. This leads to unstable gradients and slower convergence, as the firing threshold is applied to a non-normalized distribution.
Proposed Method: MPBN and Re-parameterization
The authors propose a two-stage methodology to stabilize the internal state of SNNs without sacrificing their inherent efficiency.
1. Membrane Potential Batch Normalization (MPBN)
During the training phase, the authors insert a Batch Normalization layer after the membrane potential is updated but before the firing function. This ensures that the "decision" to spike is based on a perfectly scaled and shifted distribution, regardless of the noise introduced by the temporal residual. This placement directly addresses the internal variance that previous methods ignored.
2. Zero-Cost Re-parameterization
While adding extra BN layers improves training stability, it typically increases the computational cost during inference—a significant drawback for energy-sensitive SNN applications. To solve this, the authors utilize a mathematical "re-parameterization" trick. They fold the MPBN parameters (mean, variance, scale, and shift) directly into the neuron's firing threshold ($V_{th}$).
Essentially, instead of scaling the membrane potential to meet a fixed threshold, the threshold itself becomes a channel-wise or element-wise learnable parameter. During deployment, the extra BN layer is removed, and the network operates with a set of pre-calculated, diverse thresholds. This results in a "vanilla" SNN architecture at runtime that retains the performance gains of the complex training regime.
Experimental Results
The researchers evaluated MPBN across static image datasets (CIFAR-10, CIFAR-100, ImageNet) and neuromorphic datasets (CIFAR10-DVS). The results demonstrate that MPBN consistently outperforms previous state-of-the-art (SoTA) techniques, particularly in low-latency scenarios (fewer time steps).
- CIFAR-10: Achieved 96.47% top-1 accuracy with only 2 time steps, significantly outperforming methods requiring longer temporal windows.
- CIFAR-100: Reached 79.51% accuracy in 2 time steps, a new benchmark for SNNs on this dataset.
- ImageNet: On a ResNet34 architecture, MPBN achieved 64.71% accuracy with 4 time steps, proving its scalability to high-dimensional, real-world data.
- Efficiency: On CIFAR-10 with a single time step, MPBN improved accuracy by over 2.0% compared to baseline SNN models.
Discussion and Insights
Beyond raw accuracy, the paper provides several key insights into why MPBN is effective:
- Loss Landscape Smoothing: Visualizations show that MPBN significantly flattens the 1D loss landscape. A flatter landscape indicates that the optimization process is less sensitive to hyperparameter choices (like learning rate) and more likely to find a robust global minimum.
- Element-wise Flexibility: Because the normalization is folded into the threshold, the model can utilize element-wise normalization (unique parameters for every neuron) without increasing the number of operations during inference. This allows for a higher degree of representational power.
Conclusion
Membrane Potential Batch Normalization represents a significant step forward for SNN training. By recognizing that the neuron's internal state is the critical point for normalization, and by using re-parameterization to keep inference costs at zero, the authors have bridged the gap between the efficiency of SNNs and the performance of standard deep learning. Future work may extend this approach to more complex, biologically realistic neuron models and validate the energy savings on physical neuromorphic hardware.
Summary updated