Skip to main content
QUICK REVIEW

[Paper Review] Training Full Spike Neural Networks via Auxiliary Accumulation Pathway

Guangyao Chen, Peixi Peng|arXiv (Cornell University)|Jan 27, 2023
Advanced Memory and Neural ComputingEngineering9 citations
TL;DR

The paper introduces Dual-Stream Training (DST) that adds a detachable Auxiliary Accumulation Pathway (AAP) to full-spike neural networks to mitigate information loss, enabling high-performance FSNNs with optional non-spike MAC at test time for improved discrimination.

ABSTRACT

Due to the binary spike signals making converting the traditional high-power multiply-accumulation (MAC) into a low-power accumulation (AC) available, the brain-inspired Spiking Neural Networks (SNNs) are gaining more and more attention. However, the binary spike propagation of the Full-Spike Neural Networks (FSNN) with limited time steps is prone to significant information loss. To improve performance, several state-of-the-art SNN models trained from scratch inevitably bring many non-spike operations. The non-spike operations cause additional computational consumption and may not be deployed on some neuromorphic hardware where only spike operation is allowed. To train a large-scale FSNN with high performance, this paper proposes a novel Dual-Stream Training (DST) method which adds a detachable Auxiliary Accumulation Pathway (AAP) to the full spiking residual networks. The accumulation in AAP could compensate for the information loss during the forward and backward of full spike propagation, and facilitate the training of the FSNN. In the test phase, the AAP could be removed and only the FSNN remained. This not only keeps the lower energy consumption but also makes our model easy to deploy. Moreover, for some cases where the non-spike operations are available, the APP could also be retained in test inference and improve feature discrimination by introducing a little non-spike consumption. Extensive experiments on ImageNet, DVS Gesture, and CIFAR10-DVS datasets demonstrate the effectiveness of DST.

Motivation & Objective

  • Motivate and enable training of fully spike-based neural networks (FSNNs) with high accuracy using spike-only operations.
  • Address information loss and vanishing gradients in deep FSNNs through a detachable auxiliary pathway.
  • Provide a training strategy that allows test-time removal of non-spike operations for energy-efficient deployment on neuromorphic hardware.
  • Demonstrate scalability of DST on ImageNet, DVS Gesture, and CIFAR10-DVS datasets.

Proposed method

  • Introduce a Dual-Stream Training (DST) framework consisting of a full-spike propagation stream and a plug-and-play Auxiliary Accumulation Pathway (AAP).
  • Use spike accumulation in the AAP to compensate forward and backward information loss, alleviating vanishing gradients in deep Spiking ResNets.
  • Define a consistent objective that combines losses from both outputs: L(x,y)=Lc(Os,y)+Lc(Oa,y).
  • Achieve identity mapping between the two streams via zeroing the last BN in the f_l path or configuring spike neurons to preserve signals as needed.
  • Allow AAP to be removed at inference to preserve FSNN energy efficiency, with optional retention of AAP non-spike MACs when available.

Experimental results

Research questions

  • RQ1Can DST improve training of deep FSNNs by mitigating information loss and vanishing gradients?
  • RQ2Does the auxiliary accumulation pathway enable high accuracy with spike-only inference on large-scale datasets like ImageNet?
  • RQ3What is the impact of retaining versus removing the Auxiliary Accumulation Pathway at test time on accuracy and energy consumption?
  • RQ4How does DST perform on diverse data regimes (static images and neuromorphic event-based data) compared to prior FSNN and mixed-precision SNN methods.

Key findings

  • DST-trained FSNNs achieve higher performance than previous Spiking ResNets trained from scratch and scale with depth.
  • FSNN with DST outperforms Spiking ResNet and some previous FSNN methods while maintaining lower computational consumption.
  • DSNN with AAP at inference further improves discrimination compared to FSNN alone and beats mixed-precision SEW ResNets in several settings.
  • Adding AAP introduces a linear rise in non-spike accumulation computation with depth, while main MAC cost remains controlled through spike-focused downsampling.
  • Experiments on ImageNet, DVS Gesture, CIFAR10-DVS show DST improves ResNet-based and Transformer-based SNNs trained from scratch in accuracy and computation.
  • Spike Transformer with DST maintains competitive performance while avoiding large non-spike MAC overhead.

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.