Skip to main content
QUICK REVIEW

[Paper Review] KLIF: An optimized spiking neuron unit for tuning surrogate gradient slope and membrane potential

Chunming Jiang, Yilei Zhang|arXiv (Cornell University)|Feb 18, 2023
Advanced Memory and Neural ComputingEngineering8 citations
TL;DR

KLIF introduces a learnable scaling factor in a k-based leaky integrate-and-fire neuron to dynamically adjust surrogate gradient slope and membrane potential during training, improving SNN performance without extra computational cost.

ABSTRACT

Spiking neural networks (SNNs) have attracted much attention due to their ability to process temporal information, low power consumption, and higher biological plausibility. However, it is still challenging to develop efficient and high-performing learning algorithms for SNNs. Methods like artificial neural network (ANN)-to-SNN conversion can transform ANNs to SNNs with slight performance loss, but it needs a long simulation to approximate the rate coding. Directly training SNN by spike-based backpropagation (BP) such as surrogate gradient approximation is more flexible. Yet now, the performance of SNNs is not competitive compared with ANNs. In this paper, we propose a novel k-based leaky Integrate-and-Fire (KLIF) neuron model to improve the learning ability of SNNs. Compared with the popular leaky integrate-and-fire (LIF) model, KLIF adds a learnable scaling factor to dynamically update the slope and width of the surrogate gradient curve during training and incorporates a ReLU activation function that selectively delivers membrane potential to spike firing and resetting. The proposed spiking unit is evaluated on both static MNIST, Fashion-MNIST, CIFAR-10 datasets, as well as neuromorphic N-MNIST, CIFAR10-DVS, and DVS128-Gesture datasets. Experiments indicate that KLIF performs much better than LIF without introducing additional computational cost and achieves state-of-the-art performance on these datasets with few time steps. Also, KLIF is believed to be more biological plausible than LIF. The good performance of KLIF can make it completely replace the role of LIF in SNN for various tasks.

Motivation & Objective

  • Motivate and improve learning in spiking neural networks (SNNs) by addressing surrogate gradient limitations.
  • Propose a novel k-based leaky integrate-and-fire (KLIF) neuron with a learnable scaling factor.
  • Incorporate a ReLU-based mechanism to control membrane potential to spike/reset dynamics.
  • Evaluate KLIF on static and neuromorphic datasets to demonstrate performance gains over LIF.
  • Assess the biological plausibility and practical deployment benefits of KLIF compared to traditional LIF neurons.

Proposed method

  • Introduce KLIF: a k-based leaky integrate-and-fire neuron.
  • Add a learnable scaling factor to dynamically update the surrogate gradient slope and width during training.
  • Incorporate a ReLU activation that selectively delivers membrane potential to spike firing and resetting.
  • Evaluate KLIF on MNIST, Fashion-MNIST, CIFAR-10, and neuromorphic datasets (N-MNIST, CIFAR10-DVS, DVS128-Gesture).
  • Compare performance with LIF without increasing computational cost.

Experimental results

Research questions

  • RQ1Can a learnable scaling factor in KLIF adapt the surrogate gradient slope during training to improve SNN optimization?
  • RQ2Does KLIF's ReLU-based mechanism improve membrane potential handling and spike/reset dynamics compared to LIF?
  • RQ3Does KLIF achieve state-of-the-art performance on both static and neuromorphic datasets with few time steps?
  • RQ4Is KLIF more biologically plausible while maintaining or improving performance and efficiency?

Key findings

  • KLIF outperforms the LIF model on tested static and neuromorphic datasets without added computational cost.
  • KLIF achieves state-of-the-art performance with few time steps on the evaluated datasets.
  • The model is suggested to be more biologically plausible than LIF while maintaining efficiency.

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.