SPIDE: A Purely Spike-based Method for Training Feedback Spiking Neural Networks

Mingqing Xiao, Qingyan Meng, Zongpeng Zhang, Yisen Wang, Zhouchen Lin
2/1/2023
cs.NEcs.CVcs.LG

Official code: pkuxmq/SPIDE-FSNN (4 stars, last commit 2023-02-02).

Abstract

Spiking neural networks (SNNs) with event-based computation are promising brain-inspired models for energy-efficient applications on neuromorphic hardware. However, most supervised SNN training methods, such as conversion from artificial neural networks or direct training with surrogate gradients, require complex computation rather than spike-based operations of spiking neurons during training. In this paper, we study spike-based implicit differentiation on the equilibrium state (SPIDE) that extends the recently proposed training method, implicit differentiation on the equilibrium state (IDE), for supervised learning with purely spike-based computation, which demonstrates the potential for energy-efficient training of SNNs. Specifically, we introduce ternary spiking neuron couples and prove that implicit differentiation can be solved by spikes based on this design, so the whole training procedure, including both forward and backward passes, is made as event-driven spike computation, and weights are updated locally with two-stage average firing rates. Then we propose to modify the reset membrane potential to reduce the approximation error of spikes. With these key components, we can train SNNs with flexible structures in a small number of time steps and with firing sparsity during training, and the theoretical estimation of energy costs demonstrates the potential for high efficiency. Meanwhile, experiments show that even with these constraints, our trained models can still achieve competitive results on MNIST, CIFAR-10, CIFAR-100, and CIFAR10-DVS. Our code is available at https://github.com/pkuxmq/SPIDE-FSNN.

View on arXivView PDF

Code Implementations(1)

pkuxmq/SPIDE-FSNNOfficial100%

[Neural Networks 2023] SPIDE: A Purely Spike-based Method for Training Feedback Spiking Neural Networks

40PythonJan 27, 20233 years ago

Similar Papers

Cite this paper

@article{xiao2023spide,
  title  = {SPIDE: A Purely Spike-based Method for Training Feedback Spiking Neural Networks},
  author = {Mingqing Xiao and Qingyan Meng and Zongpeng Zhang and Yisen Wang and Zhouchen Lin},
  year   = {2023},
  eprint = {2302.00232},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.00232v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.00232.svg)](https://codeofpaper.com/paper/2302.00232)

Discussion