First Error-Based Supervised Learning Algorithm for Spiking Neural Networks

Xiaoling Luo, Hong Qu, Yun Zhang, Yi ChenFrontiers in Neuroscience 2019

Abstract

Spiking Neural Networks (SNNs) are biologically inspired models that process information through precisely timed spikes. Training SNNs to achieve high temporal accuracy is challenging due to the non-differentiable nature of spikes and the interference between sequential errors. We propose FE-Learn, a supervised learning algorithm that updates synaptic weights based on the first error encountered in a spike sequence. By focusing on chronological error correction and incorporating historical temporal data, FE-Learn achieves superior accuracy, efficiency, and robustness compared to existing methods like ReSuMe and SPAN. Our results on synthetic data and the TIDIGITS speech corpus demonstrate significant performance gains, including a 96.42% accuracy in speech recognition.

Introduction

The human brain's ability to process spatiotemporal stimuli with remarkable efficiency is attributed to the precise timing of neural spikes. SNNs attempt to mimic this capability but often struggle with training stability. Traditional algorithms frequently attempt to correct all errors in a sequence simultaneously, which can lead to "interference"—where adjustments for later errors disrupt earlier, correct spikes. FE-Learn addresses this by ensuring a stable foundation through first-error prioritization.

The FE-Learn Algorithm

FE-Learn utilizes a Leaky Integrate-and-Fire (LIF) neuron model and a "running synaptic modification" strategy. The algorithm processes training trials by identifying the first temporal instance of a mismatch between the actual and desired spike trains.

Figure 2: The flowchart of the FE-Learn algorithm, detailing the iterative process of first-error detection and weight adjustment.

Errors are categorized into three types: Type A (undesired spike), Type B (multiple spikes within a tolerance window), and Type C (missed desired spike). By correcting only the first error in each iteration, the network sequentially stabilizes the spike train from start to finish. A key innovation is the scaling factor ($S_r$), which accounts for the influence of prior correct spikes, preventing their inadvertent suppression during weight updates.

Experimental Evaluation

We evaluated FE-Learn against the Remote Supervised Method (ReSuMe) and the Spike Pattern Association Neuron (SPAN).

Accuracy and Computational Efficiency

Tests on synthetic spatiotemporal patterns revealed that FE-Learn maintains near-perfect learning accuracy ($C \approx 1.0$) for durations up to 3,000ms. In contrast, ReSuMe and SPAN showed significant performance degradation beyond 800ms. Additionally, FE-Learn demonstrated superior computational efficiency, requiring fewer training epochs and less total computation time to reach convergence.

Figure 4: Performance comparison showing learning accuracy (A) and running time (B) as a function of spike train duration.

Robustness and Real-World Performance

FE-Learn demonstrated exceptional robustness to noise, maintaining high accuracy even under significant background voltage fluctuations. In the TIDIGITS speech recognition task, a single-layer SNN trained with FE-Learn achieved 96.42% accuracy, surpassing other bio-inspired systems and competing with complex deep learning models like Spiking CNNs.

Conclusion

FE-Learn introduces a stable and efficient approach to training SNNs by prioritizing chronological error correction. Its superior performance in handling long sequences and noisy environments makes it a powerful tool for temporal pattern recognition. Future research will focus on extending this framework to multi-layer architectures and optimizing hyperparameter selection.

Summary updated

BibTeX
@inproceedings{luo2019first,
  author = {Xiaoling Luo and Hong Qu and Yun Zhang and Yi Chen},
  title = {{First Error-Based Supervised Learning Algorithm for Spiking Neural Networks}},
  booktitle = {Frontiers in Neuroscience},
  year = {2019},
  doi = {10.3389/fnins.2019.00559},
}
Figure