Skip to main content
QUICK REVIEW

[Paper Review] SpikeGrad: An ANN-equivalent Computation Model for Implementing Backpropagation with Spikes

Johannes Thiele, Olivier Bichler|arXiv (Cornell University)|Jun 3, 2019
Advanced Memory and Neural ComputingEngineering16 citations
TL;DR

SpikeGrad proposes a fully spike-based backpropagation algorithm that discretizes gradients into spike events using an equivalent artificial neural network (ANN) for efficient training. By mapping spiking dynamics to ANN equivalents, it enables high-accuracy training on MNIST (99.52%) and CIFAR10 (89.99%) with sparse, low-precision spike-based error propagation, demonstrating competitive performance comparable to full-precision backpropagation.

ABSTRACT

Event-based neuromorphic systems promise to reduce the energy consumption of deep learning tasks by replacing expensive floating point operations on dense matrices by low power sparse and asynchronous operations on spike events. While these systems can be trained increasingly well using approximations of the back-propagation algorithm, these implementations usually require high precision errors for training and are therefore incompatible with the typical communication infrastructure of neuromorphic circuits. In this work, we analyze how the gradient can be discretized into spike events when training a spiking neural network. To accelerate our simulation, we show that using a special implementation of the integrate-and-fire neuron allows us to describe the accumulated activations and errors of the spiking neural network in terms of an equivalent artificial neural network, allowing us to largely speed up training compared to an explicit simulation of all spike events. This way we are able to demonstrate that even for deep networks, the gradients can be discretized sufficiently well with spikes if the gradient is properly rescaled. This form of spike-based backpropagation enables us to achieve equivalent or better accuracies on the MNIST and CIFAR10 dataset than comparable state-of-the-art spiking neural networks trained with full precision gradients. The algorithm, which we call SpikeGrad, is based on accumulation and comparison operations and can naturally exploit sparsity in the gradient computation, which makes it an interesting choice for a spiking neuromorphic systems with on-chip learning capacities.

Motivation & Objective

  • To enable on-chip learning in neuromorphic hardware by fully integrating spike-based backpropagation with spike-based inference.
  • To address the incompatibility of high-precision gradients with neuromorphic systems' sparse, low-power communication infrastructure.
  • To demonstrate that gradients can be effectively discretized into spike events without sacrificing classification accuracy.
  • To exploit sparsity in backpropagated gradients for energy-efficient training in large-scale spiking neural networks.
  • To provide a mathematically grounded, scalable framework for spike-based error propagation that mirrors standard backpropagation.

Proposed method

  • Introduces a two-compartment integrate-and-fire neuron model with a separate error accumulation compartment for gradient discretization.
  • Uses spike-based error propagation via signed spike events to represent backpropagated gradients, enabling sparse, asynchronous computation.
  • Employs an equivalent ANN model to simulate large-scale SNN training efficiently on GPUs by mapping spike accumulations to equivalent real-valued activations.
  • Applies error rescaling via a factor α to control the dynamic range of spike-based gradients and improve training stability.
  • Utilizes a direct spike gradient method where error signals are encoded as spike counts and propagated backward through fixed synaptic weights.
  • Leverages sparsity in both forward and backward passes by representing all operations as spike accumulations and comparisons, minimizing MAC operations.

Experimental results

Research questions

  • RQ1Can backpropagation gradients be effectively discretized into spike events while maintaining high classification accuracy?
  • RQ2How does the sparsity of backpropagated gradients in SNNs compare to that in ANNs, and can it be exploited for energy efficiency?
  • RQ3Can a spike-based backpropagation algorithm achieve performance comparable to full-precision gradient methods in deep SNNs?
  • RQ4To what extent can the dynamics of a spiking neural network be accurately modeled using an equivalent artificial neural network for training acceleration?
  • RQ5What is the impact of error rescaling (α) on the convergence and accuracy of spike-based backpropagation?

Key findings

  • SpikeGrad achieves 99.52% test accuracy on MNIST, matching or exceeding state-of-the-art SNNs trained with full-precision gradients.
  • On CIFAR10, SpikeGrad reaches 89.99% accuracy with spike-based gradients, outperforming existing SNNs and approaching full-precision benchmarks.
  • The number of synaptic operations (ACCs) in backpropagation decreases with increasing inference precision, indicating growing gradient sparsity.
  • Gradient sparsity increases with depth in the network, with fewer operations required in deeper layers, especially in later training epochs.
  • The equivalent ANN model enables efficient GPU-based simulation of large SNNs, reducing training time while preserving spike-based computation fidelity.
  • The method demonstrates that spike-based error propagation is feasible and scalable, enabling fully event-based learning in neuromorphic systems.

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.