[Paper Review] EventProp: Backpropagation for Exact Gradients in Spiking Neural Networks
EventProp introduces a backpropagation algorithm for spiking neural networks with leaky integrate-and-fire neurons that computes exact gradients of loss functions with respect to spike times and membrane potentials by backpropagating errors through spike discontinuities using optimal control theory. It enables training of arbitrary network architectures—feed-forward, recurrent, and convolutional—with minimal memory usage by storing states only at spike times.
We derive the backpropagation algorithm for spiking neural networks composed of leaky integrate-and-fire neurons operating in continuous time. This algorithm, EventProp, computes the exact gradient of an arbitrary loss function of spike times and membrane potentials by backpropagating errors in time. For the first time, by leveraging methods from optimal control theory, we are able to backpropagate errors through spike discontinuities without approximations or smoothing operations. As errors are backpropagated in an event-based manner (at spike times), EventProp requires storing state variables only at these times, providing favorable memory requirements. EventProp can be applied to spiking networks with arbitrary connectivity, including recurrent, convolutional and deep feed-forward architectures. While we consider the leaky integrate-and-fire neuron model in this work, our methodology to derive the gradient can be applied to other spiking neuron models. We demonstrate learning using gradients computed via EventProp in a deep spiking network using an event-based simulator and a non-linearly separable dataset encoded using spike time latencies. Our work supports the rigorous study of gradient-based methods to train spiking neural networks while providing insights toward the development of learning algorithms in neuromorphic hardware.
Motivation & Objective
- To develop a rigorous backpropagation method for spiking neural networks that handles spike discontinuities exactly, without approximations or smoothing.
- To enable gradient computation for arbitrary loss functions of spike times and membrane potentials in continuous-time spiking networks.
- To reduce memory usage by storing network states only at spike times, rather than continuously.
- To support training of complex architectures such as deep, recurrent, and convolutional spiking networks using exact gradients.
- To lay a theoretical foundation for gradient-based learning in spiking neural networks applicable to neuromorphic computing.
Proposed method
- Leverages optimal control theory to derive exact gradients through spike discontinuities in continuous-time spiking networks.
- Derives the adjoint system for leaky integrate-and-fire neurons to backpropagate errors in time, preserving exactness.
- Applies event-based backpropagation, where error signals are propagated only at spike times, reducing memory overhead.
- Uses the adjoint method to compute gradients of the loss with respect to synaptic weights and neuron parameters.
- Extends the framework to arbitrary network connectivity, including recurrent and deep architectures.
- Demonstrates feasibility using an event-based simulator on a non-linearly separable dataset encoded via spike time latencies.
Experimental results
Research questions
- RQ1Can exact gradients be computed through spike discontinuities in continuous-time spiking neural networks without approximation or smoothing?
- RQ2How can backpropagation be adapted to operate in an event-based manner, storing states only at spike times?
- RQ3What is the theoretical foundation for computing exact gradients in spiking networks using optimal control principles?
- RQ4Can the proposed method train deep, recurrent, and convolutional spiking networks with exact gradients on complex, non-linearly separable tasks?
- RQ5How does the memory efficiency of event-based gradient computation compare to traditional backpropagation in spiking networks?
Key findings
- EventProp computes exact gradients for arbitrary loss functions of spike times and membrane potentials in continuous-time spiking neural networks.
- The method enables backpropagation through spike discontinuities without approximations or smoothing, using optimal control theory.
- Memory usage is significantly reduced by storing state variables only at spike times, enabling scalable training.
- EventProp supports training of deep, recurrent, and convolutional spiking networks using exact gradients.
- The approach is demonstrated to be effective on a non-linearly separable dataset encoded via spike time latencies, confirming feasibility in complex learning tasks.
- The framework is generalizable beyond the leaky integrate-and-fire model, applicable to other spiking neuron models.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.