[Paper Review] Spiking Deep Networks with LIF Neurons
This paper presents a method to train deep convolutional neural networks using biologically realistic leaky integrate-and-fire (LIF) neurons, achieving state-of-the-art performance on CIFAR-10 (1.63% error) and MNIST (1.63% error) datasets. By smoothing the LIF neuron response to enable backpropagation and training with noise to enhance robustness to spike variability, the approach enables high-accuracy spiking networks without relying on simpler integrate-and-fire models.
We train spiking deep networks using leaky integrate-and-fire (LIF) neurons, and achieve state-of-the-art results for spiking networks on the CIFAR-10 and MNIST datasets. This demonstrates that biologically-plausible spiking LIF neurons can be integrated into deep networks can perform as well as other spiking models (e.g. integrate-and-fire). We achieved this result by softening the LIF response function, such that its derivative remains bounded, and by training the network with noise to provide robustness against the variability introduced by spikes. Our method is general and could be applied to other neuron types, including those used on modern neuromorphic hardware. Our work brings more biological realism into modern image classification models, with the hope that these models can inform how the brain performs this difficult task. It also provides new methods for training deep networks to run on neuromorphic hardware, with the aim of fast, power-efficient image classification for robotics applications.
Motivation & Objective
- To develop a method for training deep spiking neural networks with biologically realistic LIF neurons instead of standard ReLU or IF neurons.
- To improve robustness of spiking networks against variability introduced by discrete spike events during inference.
- To enable transferability from rate-based static networks to spiking dynamic networks without significant accuracy loss.
- To demonstrate that LIF neurons—more biologically plausible than IF neurons—can achieve state-of-the-art performance in deep spiking networks.
Proposed method
- Replace ReLU nonlinearities in a pre-trained deep CNN with a smoothed version of the LIF neuron response function to ensure bounded gradients for backpropagation.
- Use additive Gaussian noise during training to simulate the variability inherent in spike-train encoding and improve robustness to spiking dynamics.
- Modify the original CNN architecture by replacing max-pooling with average pooling and removing local response normalization to ensure feedforward compatibility with spiking neurons.
- Transfer trained weights and biases from the static network to a spiking network composed of LIF neurons, preserving network structure and connectivity.
- Train the static network using standard backpropagation with weight decay and stochastic gradient descent, followed by fine-tuning with noise injection.
- Apply a soft thresholding function to the LIF neuron output, replacing the hard spike threshold with a continuous, differentiable approximation.
Experimental results
Research questions
- RQ1Can deep spiking networks using biologically plausible LIF neurons achieve performance comparable to state-of-the-art spiking networks trained with simpler IF neurons?
- RQ2How can the discontinuous, non-differentiable nature of the LIF neuron response be addressed to allow effective backpropagation in deep networks?
- RQ3To what extent does training with noise improve the robustness of spiking networks to the variability introduced by spike-based communication?
- RQ4Can the performance gap between rate-based and spiking networks be minimized when transferring from a static to a dynamic spiking architecture?
Key findings
- The proposed method achieved a test error of 1.63% on the MNIST dataset, matching the best published result for a spiking network using LIF neurons.
- On the CIFAR-10 dataset, the method achieved a test error of 1.63%, representing the best published result for a spiking network using LIF neurons.
- Training with noise reduced the error in the spiking network by 3.4% compared to training without noise, demonstrating its effectiveness in mitigating spike-induced variability.
- The smoothed LIF response function enabled stable backpropagation, with minimal performance degradation when switching from the smooth to the hard thresholding function.
- Average firing rates across layers were higher than typical in visual cortex, suggesting potential for future work on sparsification to reduce energy consumption.
- The method is generalizable and could be applied to other neuron models, including those used in modern neuromorphic hardware.
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.