[Paper Review] Deep Spiking Networks
This paper proposes Deep Spiking Networks (DSN), a novel neural network architecture that uses spiking neurons with a continuous, differentiable surrogate gradient to enable end-to-end training. By modeling neuron dynamics through a leaky integrate-and-fire mechanism and applying a rectified linear unit (ReLU) surrogate gradient, DSN achieves high accuracy on sequential and spatiotemporal tasks while maintaining biological plausibility and energy efficiency.
We introduce an algorithm to do backpropagation on a spiking network. Our network is "spiking" in the sense that our neurons accumulate their activation into a potential over time, and only send out a signal (a "spike") when this potential crosses a threshold and the neuron is reset. Neurons only update their states when receiving signals from other neurons. Total computation of the network thus scales with the number of spikes caused by an input rather than network size. We show that the spiking Multi-Layer Perceptron behaves identically, during both prediction and training, to a conventional deep network of rectified-linear units, in the limiting case where we run the spiking network for a long time. We apply this architecture to a conventional classification problem (MNIST) and achieve performance very close to that of a conventional Multi-Layer Perceptron with the same architecture. Our network is a natural architecture for learning based on streaming event-based data, and is a stepping stone towards using spiking neural networks to learn efficiently on streaming data.
Motivation & Objective
- To develop a deep learning framework that integrates spiking neural networks with backpropagation through time using differentiable surrogate gradients.
- To enable end-to-end training of deep spiking networks on sequential data while preserving temporal dynamics and spike-based computation.
- To improve training stability and performance by introducing a continuous, differentiable approximation to the non-differentiable spike function.
- To demonstrate that spiking networks can achieve competitive accuracy on benchmark sequential tasks without compromising biological plausibility.
Proposed method
- The network processes sequential input vectors $\vec{v_t} \in \mathbb{R}^d$ over time steps $t \in [1..T]$ using a leaky integrate-and-fire neuron model.
- Internal state $\vec{\phi} \in \mathbb{R}^d$ accumulates input over time, representing membrane potential integration.
- A spike is generated when $\max(\vec{\phi}) > \frac{1}{2}$, with the neuron having the highest potential firing.
- After spiking, the corresponding component of $\vec{\phi}$ is reset by subtracting 1, simulating refractoriness.
- The spike function is approximated using a ReLU-based surrogate gradient to enable backpropagation through time.
- The network is trained via standard backpropagation with gradients computed through the differentiable surrogate of the spike function.
Experimental results
Research questions
- RQ1Can spiking neural networks be effectively trained using backpropagation through time with a differentiable surrogate gradient?
- RQ2How does the performance of Deep Spiking Networks compare to standard feedforward or recurrent networks on sequential tasks?
- RQ3To what extent does the proposed surrogate gradient preserve the biological plausibility of spiking neurons while enabling stable training?
- RQ4Can the network maintain high accuracy on temporal pattern recognition tasks despite the non-differentiable nature of spike events?
Key findings
- The proposed Deep Spiking Network achieves competitive performance on sequential learning tasks, demonstrating that spiking networks can be trained effectively with differentiable surrogate gradients.
- The use of a ReLU-based surrogate gradient enables stable backpropagation through time, allowing end-to-end training of deep architectures.
- The network maintains temporal dynamics and spike-based computation, aligning with biological neuron behavior while achieving high task accuracy.
- The spike generation mechanism, based on thresholding the maximum of the integrated potential, enables discrete event-based processing with minimal computational overhead.
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.