[Paper Review] Revisiting Batch Normalization for Training Low-latency Deep Spiking Neural Networks from Scratch
This paper proposes Batch Normalization Through Time (BNTT), a temporal batch normalization technique that decouples batch normalization parameters across time steps in spiking neural networks (SNNs), enabling effective backpropagation through time. BNTT captures spike dynamics with learnable time-varying parameters, allowing end-to-end training of deep SNNs from scratch with only 25–30 time-steps, achieving 90.5% accuracy on CIFAR-10 and significantly reducing latency and energy consumption compared to prior methods.
Spiking Neural Networks (SNNs) have recently emerged as an alternative to deep learning owing to sparse, asynchronous and binary event (or spike) driven processing, that can yield huge energy efficiency benefits on neuromorphic hardware. However, training high-accuracy and low-latency SNNs from scratch suffers from non-differentiable nature of a spiking neuron. To address this training issue in SNNs, we revisit batch normalization and propose a temporal Batch Normalization Through Time (BNTT) technique. Most prior SNN works till now have disregarded batch normalization deeming it ineffective for training temporal SNNs. Different from previous works, our proposed BNTT decouples the parameters in a BNTT layer along the time axis to capture the temporal dynamics of spikes. The temporally evolving learnable parameters in BNTT allow a neuron to control its spike rate through different time-steps, enabling low-latency and low-energy training from scratch. We conduct experiments on CIFAR-10, CIFAR-100, Tiny-ImageNet and event-driven DVS-CIFAR10 datasets. BNTT allows us to train deep SNN architectures from scratch, for the first time, on complex datasets with just few 25-30 time-steps. We also propose an early exit algorithm using the distribution of parameters in BNTT to reduce the latency at inference, that further improves the energy-efficiency.
Motivation & Objective
- To address the challenge of training high-accuracy, low-latency SNNs from scratch due to the non-differentiable nature of spiking neurons.
- To overcome the limitations of standard batch normalization in SNNs, which fails to capture temporal dynamics due to shared parameters across time steps.
- To enable end-to-end training of deep SNN architectures on complex datasets like CIFAR-100 and Tiny-ImageNet using surrogate gradient backpropagation.
- To improve energy efficiency and inference latency by learning time-adaptive spike rate control through temporally decoupled parameters.
- To enhance robustness against adversarial attacks by leveraging the temporal dynamics of SNNs with BNTT.
Proposed method
- Propose Batch Normalization Through Time (BNTT), a novel SNN-specific batch normalization layer that decouples batch normalization parameters along the time axis.
- Introduce time-varying, learnable parameters in BNTT that allow neurons to modulate their spike rate adaptively across different time-steps.
- Implement BNTT as an additional layer in SNNs, trained via surrogate gradient backpropagation to optimize temporal spike dynamics.
- Design an early exit inference strategy based on the distribution of BNTT parameters to reduce latency and further improve energy efficiency.
- Use a temporal normalization scheme that computes batch statistics independently per time-step, unlike standard BN which aggregates over all time-steps.
- Apply BNTT in conjunction with surrogate gradient methods to enable end-to-end training of deep SNNs on image classification benchmarks.
Experimental results
Research questions
- RQ1Can standard batch normalization effectively capture the temporal dynamics of spike activity in SNNs?
- RQ2Can a time-decoupled batch normalization technique enable end-to-end training of deep SNNs from scratch on complex datasets?
- RQ3Does BNTT reduce inference latency and energy consumption compared to existing SNN training methods?
- RQ4Can BNTT improve the robustness of SNNs against adversarial attacks compared to standard SNN training approaches?
- RQ5How does BNTT compare to alternative normalization techniques like Layer Normalization in the context of SNNs?
Key findings
- BNTT enables end-to-end training of deep SNNs from scratch on CIFAR-10, CIFAR-100, Tiny-ImageNet, and DVS-CIFAR10 with only 25–30 time-steps.
- On CIFAR-10 with VGG9, BNTT achieves 90.5% top-1 accuracy using just 25 time-steps, outperforming both conversion (1000 time-steps, 91.2%) and surrogate gradient methods (100 time-steps, 88.7%).
- BNTT reduces the number of spikes by 96.9% compared to the conversion method and 90.8% compared to surrogate gradient training on CIFAR-10.
- In neuromorphic hardware (TrueNorth), BNTT achieves a normalized energy consumption of 0.0312, representing a 96.9% reduction compared to the conversion baseline.
- BNTT demonstrates superior robustness against FGSM adversarial attacks, maintaining higher accuracy than both standard surrogate gradient and conversion-based SNNs across varying attack intensities.
- BNTT outperforms Layer Normalization on CIFAR-10, achieving 90.5% accuracy versus 75.4% for LN, confirming its superiority in modeling temporal spike dynamics.
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.