Estimating Post-Synaptic Effects for Online Training of Feed-Forward SNNs

Thomas Summe, Clemens JS Schaefer, Siddharth Joshi
11/7/2023
cs.NEcs.LG

Official code: Intelligent-Microsystems-Lab/OTPE (7 stars, MIT, last commit 2024-01-12).

Abstract

Facilitating online learning in spiking neural networks (SNNs) is a key step in developing event-based models that can adapt to changing environments and learn from continuous data streams in real-time. Although forward-mode differentiation enables online learning, its computational requirements restrict scalability. This is typically addressed through approximations that limit learning in deep models. In this study, we propose Online Training with Postsynaptic Estimates (OTPE) for training feed-forward SNNs, which approximates Real-Time Recurrent Learning (RTRL) by incorporating temporal dynamics not captured by current approximations, such as Online Training Through Time (OTTT) and Online Spatio-Temporal Learning (OSTL). We show improved scaling for multi-layer networks using a novel approximation of temporal effects on the subsequent layer's activity. This approximation incurs minimal overhead in the time and space complexity compared to similar algorithms, and the calculation of temporal effects remains local to each layer. We characterize the learning performance of our proposed algorithms on multiple SNN model configurations for rate-based and time-based encoding. OTPE exhibits the highest directional alignment to exact gradients, calculated with backpropagation through time (BPTT), in deep networks and, on time-based encoding, outperforms other approximate methods. We also observe sizeable gains in average performance over similar algorithms in offline training of Spiking Heidelberg Digits with equivalent hyper-parameters (OTTT/OSTL - 70.5%; OTPE - 75.2%; BPTT - 78.1%).

View on arXivView PDF

Code Implementations(1)

MIT
70Python, Jupyter NotebookMay 22, 20232 years agoMIT

Similar Papers

Cite this paper

@article{summe2023estimating,
  title  = {Estimating Post-Synaptic Effects for Online Training of Feed-Forward SNNs},
  author = {Thomas Summe and Clemens JS Schaefer and Siddharth Joshi},
  year   = {2023},
  eprint = {2311.16151},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.16151v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.16151.svg)](https://codeofpaper.com/paper/2311.16151)

Discussion