Skip to main content
QUICK REVIEW

[Paper Review] Going Deeper With Directly-Trained Larger Spiking Neural Networks

Hanle Zheng, Yujie Wu|arXiv (Cornell University)|Oct 29, 2020
Advanced Memory and Neural ComputingEngineering11 citations
TL;DR

This paper proposes STBP-tdBN, a threshold-dependent batch normalization method enabling direct training of very deep spiking neural networks (SNNs) up to 50 layers. By stabilizing gradient flow and balancing neuron firing rates, the method achieves state-of-the-art accuracy on CIFAR-10 (93.15%), DVS-CIFAR10 (67.8%), and ImageNet (67.05%) with minimal timesteps, marking the first successful direct training of deep SNNs on ImageNet.

ABSTRACT

Spiking neural networks (SNNs) are promising in a bio-plausible coding for spatio-temporal information and event-driven signal processing, which is very suited for energy-efficient implementation in neuromorphic hardware. However, the unique working mode of SNNs makes them more difficult to train than traditional networks. Currently, there are two main routes to explore the training of deep SNNs with high performance. The first is to convert a pre-trained ANN model to its SNN version, which usually requires a long coding window for convergence and cannot exploit the spatio-temporal features during training for solving temporal tasks. The other is to directly train SNNs in the spatio-temporal domain. But due to the binary spike activity of the firing function and the problem of gradient vanishing or explosion, current methods are restricted to shallow architectures and thereby difficult in harnessing large-scale datasets (e.g. ImageNet). To this end, we propose a threshold-dependent batch normalization (tdBN) method based on the emerging spatio-temporal backpropagation, termed "STBP-tdBN", enabling direct training of a very deep SNN and the efficient implementation of its inference on neuromorphic hardware. With the proposed method and elaborated shortcut connection, we significantly extend directly-trained SNNs from a shallow structure ( < 10 layer) to a very deep structure (50 layers). Furthermore, we theoretically analyze the effectiveness of our method based on "Block Dynamical Isometry" theory. Finally, we report superior accuracy results including 93.15 % on CIFAR-10, 67.8 % on DVS-CIFAR10, and 67.05% on ImageNet with very few timesteps. To our best knowledge, it's the first time to explore the directly-trained deep SNNs with high performance on ImageNet.

Motivation & Objective

  • To overcome the instability of gradient flow and vanishing/exploding gradients in directly-trained deep SNNs.
  • To balance input stimuli and neuron thresholds to maintain optimal firing rates during training.
  • To extend the depth of directly-trained SNNs beyond 10 layers, enabling performance on large-scale datasets like ImageNet.
  • To enable efficient inference on neuromorphic hardware by minimizing temporal latency.
  • To demonstrate the feasibility of end-to-end training of deep SNNs without conversion from pre-trained ANNs.

Proposed method

  • Proposes threshold-dependent batch normalization (tdBN) that adapts normalization statistics based on neuron thresholds to stabilize training.
  • Integrates tdBN with spatio-temporal backpropagation (STBP) to enable gradient flow through time and space in SNNs.
  • Designs modified residual shortcut connections tailored for SNNs to preserve gradient flow in deep architectures.
  • Applies the method to standard ResNet architectures (ResNet-18, 34, 50) for direct end-to-end training.
  • Employs a block dynamical isometry analysis to theoretically justify the stability of gradient propagation.
  • Uses minimal timesteps (≤6) for inference, preserving the event-driven efficiency of SNNs.

Experimental results

Research questions

  • RQ1Can threshold-dependent batch normalization stabilize gradient flow in very deep SNNs trained via STBP?
  • RQ2Can directly-trained SNNs achieve high performance on large-scale datasets like ImageNet without ANN-to-SNN conversion?
  • RQ3How does the proposed normalization method balance input and threshold to maintain effective firing rates?
  • RQ4What is the maximum depth achievable for directly-trained SNNs using STBP-tdBN?
  • RQ5Can the method outperform existing SNNs on neuromorphic datasets like DVS-Gesture and DVS-CIFAR10?

Key findings

  • The proposed STBP-tdBN method enables direct training of SNNs up to 50 layers, significantly deeper than prior works restricted to less than 10 layers.
  • On CIFAR-10, the method achieves 93.15% top-1 accuracy with only 6 timesteps, outperforming prior directly-trained SNNs.
  • On ImageNet, ResNet-34 with large channel width achieves 67.05% top-1 accuracy in just 6 timesteps, marking the first successful direct training of a deep SNN on ImageNet.
  • On DVS-Gesture, the model achieves 96.87% accuracy, setting a new state-of-the-art for directly-trained SNNs on this neuromorphic dataset.
  • On DVS-CIFAR10, the model achieves 67.8% accuracy in 10 timesteps, surpassing previous SOTA results.
  • Theoretical analysis based on block dynamical isometry confirms that tdBN stabilizes gradient propagation in deep SNNs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.