HackerPapers

arXiv:2009.08378q-bio.NC

Event-Based Backpropagation can compute Exact Gradients for Spiking Neural Networks

Timo C. Wunderlich, Christian Pehle

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

Spiking neural networks combine analog computation with event-based communication using discrete spikes. While the impressive advances of deep learning are enabled by training non-spiking artificial neural networks using the backpropagation algorithm, applying this algorithm to spiking networks was previously hindered by the existence of discrete spike events and discontinuities. For the first time, this work derives the backpropagation algorithm for a continuous-time spiking neural network and a general loss function by applying the adjoint method together with the proper partial derivative jumps, allowing for backpropagation through discrete spike events without approximations. This algorithm, EventProp, backpropagates errors at spike times in order to compute the exact gradient in an event-based, temporally and spatially sparse fashion. We use gradients computed via EventProp to train networks on the Yin-Yang and MNIST datasets using either a spike time or voltage based loss function and report competitive performance. Our work supports the rigorous study of gradient-based learning algorithms in spiking neural networks and provides insights toward their implementation in novel brain-inspired hardware.

arXiv comments
Journal reference
DOI
doi:10.1038/s41598-021-91786-z
Subjects
q-bio.NCNeurons and Cognition cs.NENeural and Evolutionary Computing

On Hacker News

Linked by 1 identifiable commenter in 2 comments across 2 threads, from Feb 2021 to Dec 2023. Found in 2 HN submissions from Sep 2020 to Jun 2021. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments2 threads

    • That you can't backpropagate is a common misconception. There is recent work (I am one of the co-authors), that derives a precise analog of the backpropagation algorithm in spiking neural networks (https://arxiv.org/abs/2009.08378). It computes exact gradients and requires only…

      orbifoldView on HNParent context

    • You can actually calculate exact gradients for spiking neurons using the adjoint method: https://arxiv.org/abs/2009.08378 (I'm the second author). In my PhD thesis I show how this can be extended to larger problems and more complicated and biologically plausible neuron models. I…

      orbifoldView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.