Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Temporal Efficient Training of Spiking Neural Network via Gradient Re-weighting

About

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}.

Shikuang Deng, Yuhang Li, Shanghang Zhang, Shi Gu• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-100 (test)
Accuracy74.47
3518
Image ClassificationCIFAR-10 (test)
Accuracy94.82
3381
Image ClassificationImageNet 1k (test)
Top-1 Accuracy64.79
798
Action RecognitionSomething-Something v2 (val)
Top-1 Accuracy22.1
535
Action RecognitionUCF101 (test)--
307
Image ClassificationCIFAR-100
Accuracy74.47
302
Image ClassificationImageNet-1k 1.0 (test)
Top-1 Accuracy68
197
Image ClassificationImageNet
Accuracy71.24
184
ClassificationImageNet 1k (test val)
Top-1 Accuracy64.79
138
ClassificationCIFAR10-DVS
Accuracy83.32
133
Showing 10 of 30 rows

Other info

Follow for update