Analysis of the Training Performance and Time of SNN by STDP Algorithms and Spike Temporal Interactions

Seongsik Park, Sungroh YoonKIISE 2018

TL;DR

This paper investigates how different Spiking Neural Network (SNN) training algorithms, specifically variations of Spike-Timing Dependent Plasticity (STDP), and how spike temporal interactions affect both training performance and time. The findings suggest that triplet-based STDP with nearest-neighbor spike interactions offers the best accuracy, while approximated pair-based STDP provides a good balance between performance and training speed, making SNNs more viable for resource-constrained environments.

What Problem Does This Paper Address?

Deep learning, while powerful, is computationally intensive and power-hungry, limiting its application in mobile and embedded systems. Spiking Neural Networks (SNNs) offer a low-power alternative due to their event-driven nature. However, SNNs cannot use traditional gradient-based learning methods like backpropagation. Instead, they rely on biologically inspired learning rules like STDP, which adjust synaptic weights based on the precise timing of pre- and post-synaptic spikes. The challenge lies in understanding how different STDP algorithms and the temporal relationships between spikes influence the SNN's ability to learn (performance) and how quickly it can learn (training time). This paper aims to systematically analyze these factors to optimize SNN training.

Methods

The researchers explored three main STDP algorithm configurations:

  • Pair-based STDP: The standard STDP rule where synaptic weight changes are based on the timing difference between a single pre-synaptic and a single post-synaptic spike.
  • Approximated Pair-based STDP: A computationally optimized version of pair-based STDP that uses spike traces and an expectation value to reduce calculations, allowing for faster updates.
  • Triplet-based STDP: A more biologically plausible extension that considers the interaction of three spikes (e.g., post-pre-post or pre-post-pre) to update synaptic weights.

They also investigated two types of spike temporal interactions:

  • Nearest-neighbor (nn): Considers only the closest preceding spikes for STDP updates.
  • All-to-all (ata): Considers all spike interactions within a given window.

These configurations were implemented and tested using the BRIAN simulator on a SNN model composed of LIF (Leaky Integrate-and-Fire) neurons, featuring input, excitatory, and inhibitory layers with lateral inhibition.

Datasets

The paper uses the MNIST dataset for training and evaluating the SNN model.

Key Insights and Ideas

  • Triplet-based STDP is more accurate: The study found that considering triplet spike interactions leads to higher training and validation accuracy compared to pair-based methods. This aligns with biological observations suggesting more complex temporal patterns influence synaptic plasticity.
  • Nearest-neighbor interaction balances speed and accuracy: While "all-to-all" interactions might seem more comprehensive, the "nearest-neighbor" approach for temporal interactions, especially when combined with optimized STDP algorithms, provides a good balance between learning performance and computational efficiency.
  • Approximation for speed: The approximated pair-based STDP significantly reduces training time (by about 13%) with minimal loss in accuracy, making it a practical choice for faster SNN training.
  • Spike trace expectation matters: For approximated pair-based STDP, the expectation value of the spike trace (xexp) plays a crucial role. The optimal value was found to be around 0.2, suggesting a sweet spot for balancing past and present spike information.

Key Results

  • Highest Accuracy: Triplet-based STDP with nearest-neighbor spike temporal interaction achieved the highest validation accuracy.
  • Fastest Training (with minimal accuracy loss): Approximated pair-based STDP offered a substantial reduction in training time (around 13% faster than standard pair-based STDP) with comparable accuracy.
  • Triplet vs. Pair: Triplet-based STDP showed a slight increase in training time (around 10%) but yielded improved accuracy.
  • Temporal Interaction Impact: The impact of spike temporal interactions on training time was found to be relatively minor.
  • Specific Accuracy Figures:
    • Pair-based STDP (nn): 89.05%
    • Pair-based STDP (ata): 88.25%
    • Approximated Pair-based STDP (nn): 88.69%
    • Approximated Pair-based STDP (ata): 88.35%
    • Triplet-based STDP (nn): 92.00%
    • Triplet-based STDP (ata): 90.91%

Limitations and Future Work

  • Parameter Optimization: The authors acknowledge that further parameter optimization (e.g., learning rate, time constants) could further enhance both training performance and speed.
  • Hardware and Application Specificity: The paper suggests that understanding the relationship between STDP algorithms, temporal interactions, accuracy, and training time will be crucial for selecting optimal SNN training methods for different hardware environments and specific applications.
  • Future Directions: The study opens avenues for exploring more advanced STDP variants and their impact on SNNs, aiming to broaden the applicability of low-power SNNs.

Summary updated

Abstract

여러 분야에서 인공 신경망을 사용한 딥 러닝이 기존 다른 알고리즘의 성능을 크게 뛰어 넘으면서 큰 관심을 받고 있다. 하지만, 현재 주로 사용되는 딥 러닝 방식은 전력 소모 요구량이 크기 때문에 제한적인 자원을 갖고 있는 모바일 분야에 적용되기 어렵다. 이에 따라 저 전력으로 동작할 수 있는 spiking neural networks (SNNs)에 대한 관심이 커지고 있다. SNN은 시냅스 전과 후의 스파이크 시간관계에 따라 시냅스 가중치가 조절되는 STDP 알고리즘을 사용하여 시냅스 가중치를 학습한다. 따라서 SNN은 학습에 사용하는 스파이크의 수에 따른 STDP 알고리즘과 스파이크 간의 시간적 상호 작용에 따라 다양한 구성으로 학습 할 수 있다. 본 논문에서는 여러 STDP 알고리즘 구성으로 SNN을 학습하고 학습 성능과 학습 시간을 비교해 보았다.
BibTeX
@inproceedings{park2018analysis,
  author = {Seongsik Park and Sungroh Yoon},
  title = {{Analysis of the Training Performance and Time of SNN by STDP Algorithms and Spike Temporal Interactions}},
  booktitle = {KIISE},
  year = {2018},
  doi = {10.5626/ktcp.2018.24.9.482},
}
Figure