Skip to main content
QUICK REVIEW

[Paper Review] Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting

Shikuang Deng, Yuhang Li|arXiv (Cornell University)|Feb 24, 2022
Advanced Memory and Neural ComputingEngineering102 citations
TL;DR

The paper introduces Temporal Efficient Training (TET) with gradient re-weighting for Spiking Neural Networks (SNNs) to improve generalization and temporal scalability, achieving state-of-the-art results on neuromorphic and static datasets, including 83.17% top-1 on DVS-CIFAR10.

ABSTRACT

Recently, brain-inspired spiking neuron networks (SNNs) have attracted widespread research interest because of their event-driven and energy-efficient characteristics. Still, it is difficult to efficiently train deep SNNs due to the non-differentiability of its activation function, which disables the typically used gradient descent approaches for traditional artificial neural networks (ANNs). Although the adoption of surrogate gradient (SG) formally allows for the back-propagation of losses, the discrete spiking mechanism actually differentiates the loss landscape of SNNs from that of ANNs, failing the surrogate gradient methods to achieve comparable accuracy as for ANNs. In this paper, we first analyze why the current direct training approach with surrogate gradient results in SNNs with poor generalizability. Then we introduce the temporal efficient training (TET) approach to compensate for the loss of momentum in the gradient descent with SG so that the training process can converge into flatter minima with better generalizability. Meanwhile, we demonstrate that TET improves the temporal scalability of SNN and induces a temporal inheritable training for acceleration. Our method consistently outperforms the SOTA on all reported mainstream datasets, including CIFAR-10/100 and ImageNet. Remarkably on DVS-CIFAR10, we obtained 83$\%$ top-1 accuracy, over 10$\%$ improvement compared to existing state of the art. Codes are available at \url{https://github.com/Gus-Lab/temporal_efficient_training}.

Motivation & Objective

  • Motivate the limited generalization of SNNs trained with surrogate gradients (SG) in direct training.
  • Propose Temporal Efficient Training (TET) to align gradient signals with per-time-step outputs and promote flatter minima.
  • Show that TET enhances temporal scalability and enables time inheritance training (TIT) to reduce training time.
  • Demonstrate state-of-the-art performance on static and neuromorphic datasets (e.g., CIFAR-10/100, ImageNet, DVS-CIFAR10).

Proposed method

  • Adopt the iterative Leaky Integrate-and-Fire (LIF) model with Spike/Membrane dynamics for SNNs.
  • Replace standard direct training loss with L_TET, which optimizes the per-time-step outputs via cross-entropy at each time t.
  • Incorporate a regularization term L_MSE to constrain per-time-step outputs and stabilize training.
  • Show that SDT and TET yield different loss landscapes, with TET tending toward flatter minima.
  • Introduce Time Inheritance Training (TIT) to bootstrap training at short simulation lengths and progressively extend T.
  • Provide a loss formulation that upper-bounds traditional SDT loss (L_SDT) via L_TET and Jensen/AM-GM inequalities.
  • Maintain inference rules unchanged; only the training loss is modified.

Experimental results

Research questions

  • RQ1Does surrogate-gradient based direct training (SDT) trap SNNs in sharp local minima compared to TET?
  • RQ2Can per-time-step training losses (L_TET) lead to flatter minima and better generalization for SNNs?
  • RQ3Does Time Inheritance Training (TIT) reduce training time while preserving or improving accuracy?
  • RQ4How does TET perform on static datasets (CIFAR-10/100, ImageNet) and neuromorphic data (DVS-CIFAR10) compared to state-of-the-art methods?

Key findings

  • TET dramatically improves accuracy over SDT with SG on multiple networks and datasets (e.g., ResNet-19 on CIFAR-100).
  • Loss landscapes under TET are flatter than those under SDT at local minima, indicating better generalization.
  • Switching from SDT to TET mid-training can help escape sharp local minima and improve test performance.
  • Time Inheritance Training (TIT) reduces training time by roughly half while maintaining or boosting accuracy, especially as simulation length grows.
  • On DVS-CIFAR10 with VGGSNN and no augmentation, TET achieves 83.17% top-1 accuracy, over 10 points higher than prior SOTA; with augmentation, 83.17% is reported as well.

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.