Benchmarking Spiking Neural Network Learning Methods With Varying Locality

Jiaqi Lin, Sen Lu, Malyaban Bal, Abhronil Sengupta · DOI

TL;DR

This paper provides a comprehensive benchmark of Spiking Neural Network (SNN) training methods, comparing standard Backpropagation Through Time (BPTT) against biologically plausible local learning alternatives (e-prop and DECOLLE). The authors reveal a fundamental trade-off between biological plausibility, task performance, and adversarial robustness, while demonstrating that adding explicit recurrent connections significantly boosts an SNN's resilience to adversarial attacks.

What Problem Does This Paper Address?

Spiking Neural Networks (SNNs) are highly attractive for edge computing and neuromorphic hardware due to their event-driven, energy-efficient nature. However, training them is notoriously difficult because their spiking mechanisms are non-differentiable.

The standard workaround is Backpropagation Through Time (BPTT) using surrogate gradients. While effective, BPTT is computationally expensive, memory-intensive, and biologically implausible—it requires global error propagation and perfectly symmetric weights for forward and backward passes. To bridge this gap, researchers have proposed "local learning" methods that update weights using locally available information.

Until now, there hasn't been a systematic, apples-to-apples comparison of these local learning methods against BPTT under consistent network architectures. Furthermore, how these localized training paradigms affect an SNN's robustness against adversarial and poisoning attacks remained an open question.

Methods

The authors evaluate three primary training paradigms across a spectrum of locality:

  1. BPTT (Global): Unrolls neural dynamics over time and backpropagates errors globally across all layers.
  2. e-prop (Direct Feedback Alignment): Avoids layer-by-layer backpropagation by routing error signals directly from the output layer to hidden units using synaptic eligibility traces.
  3. DECOLLE (Local Error): The most localized method, which completely eliminates global error propagation by attaching local, auxiliary cost functions to random readouts at each individual layer.
Overview of SNN training methods ranging from global learning to local learning.

The algorithms were tested on two architectural designs using Leaky Integrate-and-Fire (LIF) neurons: Feed-Forward (FF) SNNs and Explicitly Recurrent (REC) SNNs. To dissect what these networks actually learn, the authors utilized Centered Kernel Alignment (CKA) to measure representational similarity between layers and Fisher Information to quantify weight importance.

Datasets

The benchmarks were conducted using three temporally dependent datasets:

  • N-MNIST: A neuromorphic version of the MNIST handwritten digit dataset captured using an event-based camera.
  • DVS Gesture: An event-based dataset containing gesture recognition data from human subjects under varying lighting conditions.
  • TIMIT: A standard speech and audio processing sequence-to-sequence dataset, chosen for its high degree of temporal dependency.

Key Insights and Ideas

  • The Locality-Performance Trade-off: As learning rules become more localized (and thus more biologically plausible and hardware-friendly), task accuracy generally degrades.
  • Locality Breeds Representational Similarity: CKA analysis revealed that training methods with a similar degree of locality (like BPTT and e-prop) learn highly correlated internal representations. Conversely, SNNs trained via direct optimization learn completely different features than those obtained via traditional ANN-to-SNN conversion.
Layer-wise representational similarity comparison between different SNN training methods.
  • Recurrence Enhances Robustness: Introducing explicit recurrent weights (REC architecture) significantly improves the network's adversarial robustness. CKA measurements showed that recurrent connections help the network preserve its internal representations even when subjected to aggressive gradient-based perturbations.
Layerwise representational similarity differences showing how explicit recurrence preserves representations under attack.
  • Local Loss Protects Against Global Attacks: Under high-perturbation Fast Gradient Sign Method (FGSM) attacks, the highly localized DECOLLE method proved to be the most robust. Because DECOLLE optimizes individual layer-wise loss functions, it is inherently less vulnerable to adversarial examples crafted using global gradients.

Key Results

  • Accuracy Benchmarks: On the TIMIT dataset, BPTT achieved the highest accuracy (56.93% REC), followed closely by e-prop (54.99% REC), while DECOLLE lagged behind (45.70% REC). A similar trend was observed across N-MNIST and DVS Gesture.
  • Adversarial Robustness (FGSM): When subjected to a strong FGSM attack ($\epsilon = 0.05$) on the N-MNIST dataset, the DECOLLE REC model retained 23.75% accuracy, outperforming BPTT REC (18.55%) and e-prop REC (18.25%).
  • Poisoning Attacks: Under targeted backdoor attacks, local learning methods did not provide an advantage over global methods. However, the inclusion of explicit recurrence consistently reduced the Attack Success Rate (ASR) across all training types (e.g., BPTT ASR dropped from 33.54% in FF to 22.03% in REC at a 0.3 poison rate).

Limitations and Future Work

The primary limitation acknowledged by the authors is that their main architectural exploration was restricted to fully connected layers (though they briefly validate convolutional layers in the appendix). Because e-prop is mathematically limited to linear layers in its current formulation, scaling these insights to deep convolutional topologies or modern transformer-based SNNs remains an open challenge for future research.

Summary updated

BibTeX
@article{lin2025benchmarking,
  author = {Jiaqi Lin and Sen Lu and Malyaban Bal and Abhronil Sengupta},
  title = {{Benchmarking Spiking Neural Network Learning Methods With Varying Locality}},
  journal = {IEEE Access},
  year = {2025},
  doi = {10.1109/access.2025.3582564},
}
Figure