A Truly Sparse and General Implementation of Gradient-Based Synaptic Plasticity
Abstract
Online synaptic plasticity rules derived from gradient descent achieve high accuracy on a wide range of practical tasks. However, their software implementation often requires tediously hand-derived gradients or using gradient backpropagation which sacrifices the online capability of the rules. In this work, we present a custom automatic differentiation (AD) pipeline for sparse and online implementation of gradient-based synaptic plasticity rules that generalizes to arbitrary neuron models. Our work combines the programming ease of backpropagation-type methods for forward AD while being memory-efficient. To achieve this, we exploit the advantageous compute and memory scaling of online synaptic plasticity by providing an inherently sparse implementation of AD where expensive tensor contractions are replaced with simple element-wise multiplications if the tensors are diagonal. Gradient-based synaptic plasticity rules such as eligibility propagation (e-prop) have exactly this property and thus profit immensely from this feature. We demonstrate the alignment of our gradients with respect to gradient backpropagation on an synthetic task where e-prop gradients are exact, as well as audio speech classification benchmarks. We demonstrate how memory utilization scales with network size without dependence on the sequence length, as expected from forward AD methods.
Authors 3
-
Jamie Lohofl Aachen
Affiliation as printed
RWTH Aachen,Peter Grünberg Institute 15 FZ Jülich,Aachen,Germany
-
Florian Assmuth Aachen
Affiliation as printed
RWTH Aachen,Peter Grünberg Institute 15 FZ Jülich,Aachen,Germany
-
Emre Neftci Aachen
Affiliation as printed
RWTH Aachen,Peter Grünberg Institute 15 FZ Jülich,Aachen,Germany
Cited by 0 stored of 0
No patents citing this paper on Lens.org (checked 2026-10-06).
References 45
-
W3120582545details pending0citations
-
W4287180375details pending0citations
-
W6754595668details pending0citations
-
W3102087395details pending0citations
-
W3105516366details pending0citations
-
W4287758389details pending0citations
-
W6779901144details pending0citations
-
W6795170594details pending0citations
-
W6637157234details pending0citations
-
W6602394311details pending0citations
-
W6802523388details pending0citations
-
W6864526709details pending0citations
-
W6869903767details pending0citations
-
W6869938262details pending0citations