Rectified Linear Postsynaptic Potential Function for Backpropagation in Deep Spiking Neural Networks

Malu Zhang, Jiadong Wang, Jibin Wu, Ammar Belatreche, Burin Amornpaisannon, Zhixuan Zhang, Venkata Pavan Kumar Miriyala, Hong Qu, Yansong Chua, Trevor E. Carlson, Haizhou Li

TL;DR

This paper introduces a Rectified Linear Postsynaptic Potential (ReL-PSP) function and a corresponding Spike-Timing-Dependent Back-Propagation (STDBP) algorithm to train deep spiking neural networks (SNNs). By mimicking the simplicity of the ReLU activation function in a temporal context, the authors overcome the "dead neuron" and exploding gradient problems, achieving state-of-the-art accuracy on MNIST (99.4%) while maintaining ultra-low power consumption (0.751 mW) on neuromorphic hardware.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are the "third generation" of neural networks, designed to mimic the brain's energy efficiency by communicating via discrete "spikes" rather than continuous numbers. However, training them is notoriously difficult.

Standard Deep Learning relies on Backpropagation (BP), which requires differentiable functions. SNNs are inherently non-differentiable—a neuron either spikes or it doesn't, creating a mathematical "cliff" that breaks standard calculus. Furthermore, SNNs suffer from two major training hurdles:

  1. The Dead Neuron Problem: If a neuron’s input weights are too small, it never spikes. If it never spikes, no error signal can pass through it during training, and it never "learns" to wake up.
  2. Exploding Gradients: In traditional SNN models (like those using the Alpha-PSP function), the gradient becomes infinite as the membrane potential approaches the firing threshold, causing training to become unstable.

Methods

The authors propose a two-part solution:

1. The ReL-PSP Function

In a typical SNN, an incoming spike triggers a Postsynaptic Potential (PSP) that usually rises and then decays (like a bell curve). The authors replace this with a Rectified Linear PSP. Much like the ReLU function in standard AI, the ReL-PSP is zero before a spike and increases linearly afterward.

  • Why it works: Because the function is linear, its derivative is a constant. This makes the math for backpropagation much simpler and prevents the gradient from exploding near the threshold.

2. STDBP Learning Algorithm

The researchers developed a Spike-Timing-Dependent Back-Propagation algorithm. This uses temporal coding, where information is represented by when a neuron spikes (earlier spikes represent stronger activations).

  • Event-Driven: Learning only happens at the exact moment a spike occurs.
  • First-Spike Loss: The network is trained using a cross-entropy loss function that encourages the "correct" output neuron to spike earlier than all others.

Datasets

The model was evaluated on several standard computer vision benchmarks:

  • MNIST: The classic handwritten digit dataset.
  • Fashion-MNIST: A more complex dataset of clothing items.
  • Caltech 101 (Face/Motorbike): A dataset used to test the model's ability to handle higher-resolution, more "natural" images.

The authors also tested the trained models on the YOSO (You Only Spike Once) neuromorphic inference accelerator to measure real-world hardware performance.

Key Insights and Ideas

  • Linearity is a "Cheat Code" for SNNs: Just as ReLU enabled the training of very deep standard networks, the ReL-PSP provides the mathematical stability needed to train deep SNNs without complex "surrogate gradient" workarounds.
  • Eliminating Decay Saves Neurons: Traditional PSP functions decay over time. If a neuron doesn't get enough input quickly, it "forgets" the charge. ReL-PSP doesn't decay within the simulation window, ensuring that even weak signals eventually contribute to a spike, effectively solving the dead neuron problem.
  • Sparsity = Efficiency: Because the model uses temporal coding (often requiring only a single spike per neuron to make a decision), it is incredibly sparse. On the YOSO hardware, the network made accurate classifications while only 48.6% of hidden neurons spiked.

Key Results

  • State-of-the-Art Accuracy: The Convolutional SNN (C-SNN) achieved 99.4% accuracy on MNIST, the highest reported for a single-spike-timing-based SNN. It also reached 90.1% on Fashion-MNIST and 99.5% on Caltech 101.
  • Hardware Efficiency: When deployed on the YOSO accelerator, the system consumed only 0.751 mW of power.
  • Speed: The system achieved a latency of 47.71 ms per image. Compared to other neuromorphic platforms like Spinnaker or TrueNorth, this approach offers a significantly better balance of accuracy and energy savings.

Limitations and Future Work

  • Offline Training: Currently, the STDBP algorithm is used for offline training on traditional hardware (like GPUs). The weights are then transferred to the neuromorphic chip. Implementing this learning "on-chip" for real-time edge learning is a logical next step.
  • Single-Spike Constraint: The current model assumes each neuron spikes at most once. While this is great for power efficiency, biological brains often use bursts of spikes. Future work could explore if allowing multiple spikes per neuron improves performance on more complex, dynamic tasks like video processing.
  • Scaling to ImageNet: While the results on MNIST and Caltech 101 are impressive, the "holy grail" for SNNs remains reaching competitive performance on massive datasets like ImageNet.

Summary updated

BibTeX
@article{zhang2022rectified,
  author = {Malu Zhang and Jiadong Wang and Jibin Wu and Ammar Belatreche and Burin Amornpaisannon and Zhixuan Zhang and Venkata Pavan Kumar Miriyala and Hong Qu and Yansong Chua and Trevor E. Carlson and Haizhou Li},
  title = {{Rectified Linear Postsynaptic Potential Function for Backpropagation in Deep Spiking Neural Networks}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  url = {https://openreview.net/forum?id=LEtBYMDDG65},
}
Figure