Desire Backpropagation: A Lightweight Training Algorithm for Multi-Layer Spiking Neural Networks based on Spike-Timing-Dependent Plasticity

Daniel Gerlinghoff, Tao Luo, Rick Siow Mong Goh, Weng-Fai Wong
11/10/2022
cs.NEcs.AIcs.ET

Official code: DanielGerlinghoff/desire-backpropagation (2 stars, Python, last commit 2023-10-23).

Abstract

Spiking neural networks (SNNs) are a viable alternative to conventional artificial neural networks when resource efficiency and computational complexity are of importance. A major advantage of SNNs is their binary information transfer through spike trains which eliminates multiplication operations.

Show full abstract

The training of SNNs has, however, been a challenge, since neuron models are non-differentiable and traditional gradient-based backpropagation algorithms cannot be applied directly. Furthermore, spike-timing-dependent plasticity (STDP), albeit being a spike-based learning rule, updates weights locally and does not optimize for the output error of the network. We present desire backpropagation, a method to derive the desired spike activity of all neurons, including the hidden ones, from the output error. By incorporating this desire value into the local STDP weight update, we can efficiently capture the neuron dynamics while minimizing the global error and attaining a high classification accuracy. That makes desire backpropagation a spike-based supervised learning rule. We trained three-layer networks to classify MNIST and Fashion-MNIST images and reached an accuracy of 98.41% and 87.56%, respectively. In addition, by eliminating a multiplication during the backward pass, we reduce computational complexity and balance arithmetic resources between forward and backward pass, making desire backpropagation a candidate for training on low-resource devices.

View on arXivView PDF

Code Implementations(1)

Learning algorithm for spiking neural networks

21PythonMar 10, 20213 years ago

Similar Papers

Cite this paper

@article{gerlinghoff2022desire,
  title  = {Desire Backpropagation: A Lightweight Training Algorithm for Multi-Layer Spiking Neural Networks based on Spike-Timing-Dependent Plasticity},
  author = {Daniel Gerlinghoff and Tao Luo and Rick Siow Mong Goh and Weng-Fai Wong},
  year   = {2022},
  eprint = {2211.05412},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.05412}
}

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/2211.05412.svg)](https://codeofpaper.com/paper/2211.05412)

Discussion