S-TLLR: STDP-inspired Temporal Local Learning Rule for Spiking Neural Networks

Marco Paul E. Apolinario, Kaushik Roy · DOI

Introduction

Spiking Neural Networks (SNNs) represent a biologically-inspired paradigm in artificial intelligence, offering significant energy efficiency by processing information through sparse, binary spikes. Despite their potential for low-power edge computing, training SNNs remains a significant challenge. The current standard, Backpropagation Through Time (BPTT), suffers from a "memory wall" because it requires storing the entire history of network activity to compute gradients. This memory requirement scales linearly with the number of time steps ($T$), making BPTT impractical for resource-constrained devices like smart sensors or drones.

While local learning rules have been proposed to enable online training, they often face high memory complexity—scaling with the square of the number of neurons ($O(n^2)$)—or fail to achieve the accuracy of BPTT by neglecting complex temporal dependencies.

The S-TLLR Method

To address these limitations, the authors introduce the STDP-inspired Temporal Local Learning Rule (S-TLLR). S-TLLR is a "three-factor" learning rule where weight updates ($\Delta w$) are determined by pre-synaptic activity traces, post-synaptic activity (processed via a secondary activation function $\Psi$), and a top-down learning signal.

Comparison of BPTT, STDP, and S-TLLR learning rules and their underlying computational graphs.

A key innovation of S-TLLR is its inspiration from Spike-Timing Dependent Plasticity (STDP). Unlike standard gradient-based methods that focus primarily on causal relationships (pre-synaptic spikes causing post-synaptic spikes), S-TLLR incorporates both causal and non-causal (anti-causal) timing. Mathematically, the authors refactor the learning equations to achieve $O(n)$ memory complexity. This allows the network to store only a few variables per neuron, independent of the number of synapses or total time steps, enabling efficient online learning.

Experimental Evaluation

The effectiveness of S-TLLR was validated across diverse event-based benchmarks covering vision, audio, and regression tasks:

  • Vision: On the DVS Gesture dataset, S-TLLR achieved 97.72% accuracy, notably outperforming BPTT's 95.58%. It also showed competitive results on DVS CIFAR10 and N-CALTECH101.
  • Audio: In the Spiking Heidelberg Digits (SHD) task, S-TLLR demonstrated its ability to handle complex temporal classification.
  • Regression: For optical flow estimation using the MVSEC dataset, S-TLLR achieved an Average End-Point Error (AEE) of 3.45, nearly matching the BPTT baseline of 3.40.

Key Insights

Regularization through Non-Causality

A significant finding is that the inclusion of non-causal terms—updating weights based on spikes occurring after the current time step in a trace—acts as a form of regularization. This explains why S-TLLR outperformed BPTT in several vision tasks, as it appeared less prone to overfitting.

Efficiency Gains

S-TLLR demonstrates a dramatic reduction in resource requirements compared to BPTT. The authors report a 5x to 50x reduction in memory usage and a 1.3x to 6.6x reduction in Multiply-Accumulate (MAC) operations, depending on the temporal length of the task. By using decaying eligibility traces, S-TLLR effectively decouples the training time from memory consumption.

Conclusion and Future Work

S-TLLR represents a major step toward practical, online training of SNNs on edge hardware. By combining biological plausibility with mathematical efficiency, it overcomes the memory limitations of BPTT without sacrificing accuracy. Future research will focus on automating hyperparameter tuning for parameters like $\alpha_{post}$ and $\lambda_{pre}$, and exploring "one-size-fits-all" secondary activation functions. Additionally, combining S-TLLR with fully local learning signals could eliminate the need for global backpropagation entirely, further enhancing hardware efficiency and biological realism.

Summary updated

BibTeX
@article{apolinario2025s,
  author = {Marco Paul E. Apolinario and Kaushik Roy},
  title = {{S-TLLR: STDP-inspired Temporal Local Learning Rule for Spiking Neural Networks}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2025},
}
Figure