Papers › Training Spiking Neural Networks Using Lessons From Deep Learning

Training Spiking Neural Networks Using Lessons From Deep Learning

27 Sep 2021arXiv:2109.12894archive 2025-07-28

Jason K. Eshraghian, Max Ward, Emre Neftci, Xinxin Wang, Gregor Lenz, Girish Dwivedi, Mohammed Bennamoun, Doo Seok Jeong, Wei D. Lu

The brain is the perfect place to look for inspiration to develop more efficient neural networks. The inner workings of our synapses and neurons provide a glimpse at what the future of deep learning might look like. This paper serves as a tutorial and perspective showing how to apply the lessons learnt from several decades of research in deep learning, gradient descent, backpropagation and neuroscience to biologically plausible spiking neural neural networks. We also explore the delicate interplay between encoding data as spikes and the learning process; the challenges and solutions of applying gradient-based learning to spiking neural networks (SNNs); the subtle link between temporal backpropagation and spike timing dependent plasticity, and how deep learning might move towards biologically plausible online learning. Some ideas are well accepted and commonly used amongst the neuromorphic engineering community, while others are presented or justified for the first time here. The fields of deep learning and spiking neural networks evolve very rapidly. We endeavour to treat this document as a 'dynamic' manuscript that will continue to be updated as the common practices in training SNNs also change. A series of companion interactive tutorials complementary to this paper using our Python package, snnTorch, are also made available. See https://snntorch.readthedocs.io/en/latest/tutorials/index.html .

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2109.12894")

Code

Syntology Ran 1 of 13 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jeshraghian/snntorch officialmentioned in papermentioned on GitHubpytorchMIT report
vinniesun/snntorch-ipu mentioned on GitHubpytorchNOASSERTION report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran
12unverified

Licence: 0 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jeshraghian/snntorch. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

raster jeshraghian/snntorch/snntorch/spikeplot.py official repository ran MIT (permissive) · 9062106e0d1564e3 · report
BatchNormTT1d jeshraghian/snntorch/snntorch/_layers/bntt.py official repository unverified MIT (permissive) · 6cf39cc2be131d04 · report
BatchNormTT2d jeshraghian/snntorch/snntorch/_layers/bntt.py official repository unverified MIT (permissive) · f4a25c42fc8dad96 · report
animator jeshraghian/snntorch/snntorch/spikeplot.py official repository unverified MIT (permissive) · 6c10455418b336ce · report
atan jeshraghian/snntorch/snntorch/surrogate.py official repository unverified MIT (permissive) · 80e94757dd7b5417 · report
data_subset jeshraghian/snntorch/snntorch/utils.py official repository unverified MIT (permissive) · 3896bb76fc243f68 · report
delta jeshraghian/snntorch/snntorch/spikegen.py official repository unverified MIT (permissive) · 6c43a215fc755545 · report
fast_sigmoid jeshraghian/snntorch/snntorch/surrogate.py official repository unverified MIT (permissive) · 39d6f28f7931cae4 · report
latency jeshraghian/snntorch/snntorch/spikegen.py official repository unverified MIT (permissive) · ff33f73bd101f4f4 · report
rate jeshraghian/snntorch/snntorch/spikegen.py official repository unverified MIT (permissive) · 12c24fd008ad281c · report
spike_count jeshraghian/snntorch/snntorch/spikeplot.py official repository unverified MIT (permissive) · 21541b691597fa54 · report
triangular jeshraghian/snntorch/snntorch/surrogate.py official repository unverified MIT (permissive) · 49b877a22da662f1 · report
valid_split jeshraghian/snntorch/snntorch/utils.py official repository unverified MIT (permissive) · 703181d83152439e · report

Tasks

Deep Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections