Beyond rate coding: surrogate gradients enable spike timing learning in spiking neural networks
Ziqiao Yu, Pengfei Sun, Dan Goodman
Imperial College London
Key points
From the paper's conclusion- We find that when axonal delays are not used, networks perform well under time reversal, whereas networks trained with delays perform poorly.
Abstract
Abstract The surrogate gradient descent (SGD) algorithm enabled spiking neural networks (SNNs) to be trained to carry out challenging sensory processing tasks, an important step in understanding how spikes contribute to neural computations. However, it is unclear the extent to which these algorithms fully explore the space of possible spiking solutions to problems. We investigated whether spiking networks trained with SGD can learn to make use of information that is only encoded in the timing and not the rate of spikes. We constructed synthetic datasets with a range of types of spike timing information (interspike intervals, spatio-temporal spike patterns or polychrony, and coincidence codes). We find that SGD training can extract all of these types of information. In more realistic speech-based datasets, both timing and rate information is present. We therefore constructed variants of these datasets in which all rate information is removed, and find that SGD can still perform well. We tested all networks both with and without trainable axonal delays. We find that delays can give a significant increase in performance, particularly for more challenging tasks. To determine what types of spike timing information are being used by the networks trained on the speech-based tasks, we test these networks on time-reversed spikes which perturb spatio-temporal spike patterns but leave interspike intervals and coincidence information unchanged. We find that when axonal delays are not used, networks perform well under time reversal, whereas networks trained with delays perform poorly. This suggests that SNNs with delays are better able to exploit temporal structure. To facilitate further studies of temporal coding, we have released our modified speech-based datasets.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Efficient event-based delay learning in spiking neural networksNature Communications · 2025
- Efficient Training of Spiking Neural Networks by Spike-Aware Data Pruning.IEEE transactions on neural networks and learning systems · 2026
- The Dormant Spiking Neuron: A State-Driven Mechanism for Efficient Spiking Neural NetworksarXiv · 2026
- Controlling the latency in temporal coded spiking models for neuromorphic datasetsarXiv · 2026
- Biologically-Inspired Spike Encoding and Optimization for Spiking Neural NetworksarXiv · 2026
- Design and Analysis of Temporal Representations in Neural NetworksarXiv · 2026