A Scalable Hybrid Training Approach for Recurrent Spiking Neural Networks

Maximilian Baronig, Yeganeh Bahariasl, Ozan Özdenizci, Robert Legenstein
6/17/2025
cs.NEcs.AIcs.LG

No official code found. Best implementation: IMLTUGraz/HYPR (5 stars, CC-BY-SA-4.0, last commit 2026-03-11).

Abstract

Recurrent spiking neural networks (RSNNs) can be implemented very efficiently in neuromorphic systems. Nevertheless, training of these models with powerful gradient-based learning algorithms is mostly performed on standard digital hardware using Backpropagation through time (BPTT). However, BPTT has substantial limitations. It does not permit online training and its memory consumption scales linearly with the number of computation steps. In contrast, learning methods using forward propagation of gradients operate in an online manner with a memory consumption independent of the number of time steps. These methods enable SNNs to learn from continuous, infinite-length input sequences. Yet, slow execution speed on conventional hardware as well as inferior performance has hindered their widespread application. In this work, we introduce HYbrid PRopagation (HYPR) that combines the efficiency of parallelization with approximate online forward learning. Our algorithm yields high-throughput online learning through parallelization, paired with constant, i.e., sequence length independent, memory demands. HYPR enables parallelization of parameter update computation over the sub sequences for RSNNs consisting of almost arbitrary non-linear spiking neuron models. We apply HYPR to networks of spiking neurons with oscillatory subthreshold dynamics. We find that this type of neuron model is particularly well trainable by HYPR, resulting in an unprecedentedly low task performance gap between approximate forward gradient learning and BPTT.

View on arXivView PDF

Code Implementations(1)

IMLTUGraz/HYPRCommunity100%
CC-BY-SA-4.0

Repository containing the code for the paper entitled "A Scalable Hybrid Training Approach for Recurrent Spiking Neural Networks" by Maximilian Baronig, Yeganeh Bahariasl, Ozan Özdenizci and Robert Legenstein

51PythonJun 17, 20257 months agoCC-BY-SA-4.0

Similar Papers

Cite this paper

@article{baronig2025scalable,
  title  = {A Scalable Hybrid Training Approach for Recurrent Spiking Neural Networks},
  author = {Maximilian Baronig and Yeganeh Bahariasl and Ozan Özdenizci and Robert Legenstein},
  year   = {2025},
  eprint = {2506.14464},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.14464v1}
}

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/2506.14464.svg)](https://codeofpaper.com/paper/2506.14464)

Discussion