Neuromorphic hardware implementations of Spiking Neural Networks (SNNs) promise energy-efficient, low-latency AI through sparse, event-driven computation. Yet, training SNNs under fine temporal discretization remains challenging, hindering low-latency responsiveness and the mapping of software-trained SNNs to efficient hardware. In current approaches, spiking neurons are modeled as self-recurrent units, embedded into recurrent networks to maintain state over time, and trained with BPTT or RTRL variants based on surrogate gradients. These methods scale poorly with temporal resolution, while online approximations exhibit instability for long sequences and tend to fail at capturing temporal patterns. To address these limitations, we develop SpikingGamma, an SNN architecture in which neurons maintain a compact bank of smoothed-delay states and communicate through sigma-delta spike-coding. We show that in feedforward networks, SpikingGamma supports direct online error backpropagation through the continuous reconstruction signal, avoiding surrogate gradients through the spike discontinuity. This enables stable learning of temporal patterns with minimal spiking and scales feedforward SNNs to complex tasks and benchmarks with competitive accuracy, all while remaining robust to the temporal resolution of the model. Our approach offers both an alternative to recurrent SNNs trained with surrogate gradients, and a novel route for mapping SNNs to neuromorphic hardware.
Figures & tables
Figure 1: (a) Neural processing model. Incoming spikes generate weighted synaptic currents across multiple timescales. The neuron weights and sums these responses into a continuous signal, which is converted back to spikes via ΣΔ -coding so downstream synapses can reconstruct it. (b) Temporal kernel computation as a cascade of leaky “buckets” draining into one another at rates αk , with each bucket representing one kernel.
Figure 2: Signal evolution and error propagation in the neuron model. (a) Input synapses receive presynaptic signal estimates y^ik during training, or reconstruct them from incoming spikes si during spiking inference via Eq. ( 5 ). (b) Synaptic weights wij scale each input into per-bucket current responses. The negative weight w(i+2)j inverts the responses of input i+2 . (c) Bucket weights vjk (or vijk for per-synapse weighting) combine these responses, which are summed and rectified to form yj . The horizontal line marks zero, and gray shows the negative values removed by rectification. (d–g) Sigma-delta coding maintains an estimate y^j in the same kernel basis, emits a spike sj when the mismatch zj=yj−y^j exceeds threshold, and adds this correction back into the estimate. Because y^jk and y^ik share the same representation, y^jk can be passed directly to downstream synapses during training. Red arrows denote the training error path: gradients flow from the signal estimate to the neuron signal, inputs, and parameters, bypassing spikes and avoiding surrogate gradients.
Figure 3: Transition of neuron states over time in recurrent architectures (a) versus SpikingGamma (b). Recurrent models rely on internal states (e.g., membrane potential u ) and require BPTT for training, while SpikingGamma does not as it has access to the entire history via buckets for each timestep.
Figure 4: Comparison between SpikingGamma (left) and BPTT with SGs (right), following the backward path from (g) to (f) to (c) in Figure 2 . Left shows the neuron dynamics after converging, and right the bucket-weight evolution during training. Full details of the experiment setup in Appendix D2 .
Figure 5: (a) An owl detects sound waves emitted by a target, such as moving prey, and these waves reach each ear at slightly different times. This difference in travel distance creates an interaural time difference, which the owl uses to accurately determine the prey’s position in the horizontal plane. (b) The architecture of the coincidence detection network, shown activated for a prey in the right-most (brown) position. The weighted bucket activations are shown for the left and right synapses of each class, with the left being more delayed. (c) Input and target spikes for all four classes. ( d ) Output neuron response to the correct class input as given in (c). Output spike (colored cross) is emitted at about t=200 in the correct class. Summing up the synaptic responses from (b) would result in Class 3 activation.
Task
Frames
Method
Architecture
Accuracy ± std (peak)
DVS
1000
FPTT
2-layer FC, LTC
- (91.28 ± 1.05)
Gesture
500
DECOLLE
4-layer CNN, CUBA
- (95.54 ± 0.16)
2000
SpikingGamma
2-layer FC
92.30 ± 0.18 (93.81 ± 0.18)
2000
SpikingGamma
4-layer CNN
95.08 ± 0.93 (96.08 ± 0.18)
20
BPTT PLIF [ 17 ]
7-layer CNN
- (97.6)
SHD
50
OTTT [ 41 ]
[512×3] , LIF
71.2 ± 0.8 (-)
Table 1: Comparison of online SNN training methods. Results are reported as mean ± std; primary values are final test accuracies, with peak test accuracies during training in parentheses where available. Architectures are given as [hidden neurons × hidden layers] for fully connected networks; more complex architectures are detailed in Appendix D.2.1 . All results are from original papers except where noted and SSC for ES-D-RTRL, which is our reproduction. Dashes denote unavailable values. Offline BPTT SG SoTa given for reference.
Figure 6: Effect of increasing the number of frames (time scaling) and model size (space scaling) on test accuracy and memory usage. The leftmost panel shows space scaling by comparing a 4-layer CNN (CNN4) with a VGG9 network at 500 frames on DVS Gesture. The remaining panels illustrate how increasing frames affects test accuracy and memory. The “ × ” denotes chance-level performance. Bars with an asterisk (*) indicate peak test accuracy during training; others show final test accuracy after training. Detailed results, including ES-D-RTRL performance between 100 and 250 frames, are in Appendix C.1 . Peak SpikingGamma results appear in Appendix C.2 . Additionally, [ 48 ] reports that LSTM, ASRNN, and LTC neurons trained with BPTT on DVS Gesture show degrading test accuracy as frame count increases, notably between 200 and 500 frames.
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
Frames
SpikingGamma
SpikingGamma
SpikingGamma
FPTT
(CNN4)
(VGG9
(FC)
500
93.06 ± 0.94
94.57 ± 0.47
90.66 ± 0.36
90.64 ± 1.56
1000
94.19 ± 1.79
-
92.05 ± 0.62
91.28 ± 1.05
2000
95.08 ± 0.93
-
92.30 ± 0.18
85.07 ± 1.24*
Appendix
Table C1 : Test accuracy (peak for FPTT, final for SpikingGamma) for models trained on DVS Gesture. *Reproduced from https://github.com/byin-cwi/sFPTT . No annotation means the number is from the original work.
Frames
SpikingGamma
ES-D-RTRL
BPTT/SE-adLIF
100
91.86 ± 0.34
93.35 ± 0.36
-
250
92.81 ± 0.68
4.5*
93.79 ± 0.76
1000
92.49 ± 0.57
-
92.26 ± 0.65**
2000
91.99 ± 0.43
-
85.06 ± 2.89**
3000
92.42 ± 0.31
-
81.36 ± 1.11**
Appendix
Table C2 : Test accuracy (peak for ES-D-RTRL, final for SpikingGamma and BPTT/SE-adLIF) for models trained on SHD. *Reproduced from https://github.com/chaobrain/brainscale-exp-for-snns (commit 11720f5). The number of epochs was reduced from 100 to 30. For 250+ frames, ES-D-RTRL no longer converges, see Figure C1 for transition and collapse from 100 to 300 frames. Therefore, we did not reproduce for 1000 or more frames. **Reproduced from https://github.com/IGITUGraz/SE-adlif . No annotation means the number is from the original work.
Figure C1 : Test accuracy (best over all epochs) for ES-D-RTRL (reproduced) trained on SHD from 100 to 300 frames. The accuracy for 250 frames was verified over 3 independent training sessions.
Task
Frames
Accuracy ± std
DVS Gesture (CNN4)
500
95.58 ± 0.18
1000
96.21 ± 0.31
2000
96.08 ± 0.18
DVS Gesture (VGG9)
500
95.71 ± 0.36
DVS Gesture (FC)
500
92.80 ± 0.62
1000
93.31 ± 0.18
Appendix
Table C3 : Peak test accuracies achieved during training.
Figure C2 : A demonstration showing that, without adaptive thresholding, y^ is unable to accurately estimate higher values of y , whereas the use of adaptive thresholding enables y^ to effectively estimate these higher values.
Figure C3 : Comparison of neuron responses from our method with recorded rat time-cell activity. On the left: Neuron response for input at t=0 for neurons from the second hidden layer of the best performing model on SHD. Neuron indices sorted by peak activity timestep. On the right: Firing patterns of rats’ time-cells during a temporal bisection task. Adapted from Shimbo et al. [2021] .
Ablated
Accuracy ± std
No normalization, bucket weights on neuron
50.83 ± 9.10
No normalization, bucket weights on synapse
88.31 ± 3.15
RMS normalization
92.54 ± 0.63
Batch normalization
16.59 ± 3.28
Batch normalization through time
90.57 ± 0.60
No ReLU
85.38 ± 1.37
Appendix
Table C4 : Ablation study results for SHD.
Table C5 : Results from experiments with alternative kernel parameters and shapes. The "Power-law" shape type refers to the default initialization method as introduced in section 3.3 , while "Fixed rate" refers to an alternative scheme where αk is fixed to one value (given as "Rate") for all K kernels. The visualized neuron responses show the sum of all kernel responses, with on the x-axis 100 timesteps and on y-axis values from 0 to 1.
Figure C4 : Effect of the gain-loss constant on accuracy and spike density (shown as mean ± std). The spike density is computed using Eq. ( D3 ).
Where
Operation
Scaling (ACs)
Scaling (MACs)
Synapse
Current addition to first input bucket
NSin
–
Neuron (Gamma)
Leak over input buckets
–
TNK
Apply bucket weights
–
TNK
Sum weighted input buckets
TN(K−1)
–
Neuron ( ΣΔ )
Sum ΣΔ buckets
TN(K−1)
–
Compute difference signal and estimate
TN
–
Appendix
Table C6 : Computational scaling per layer . A layer has N neurons, each with K buckets, and modeled for T timesteps during which there were S spikes (in/out).
Where
Operation
ACs
MACs
Synapse
Current addition to first input bucket
1490K ± 165.7K
0
Neuron (Gamma)
Leak over input buckets
0
1970K
Apply bucket weights
0
1970K
Sum weighted input buckets
1773K
0
Neuron ( ΣΔ )
Sum ΣΔ buckets
1773K
0
Compute difference signal and estimate
197K
0
Appendix
Table C7 : Estimated computational cost per sample for SHD. The network consists of 3 layers of each 256 neurons plus an output layer of 20 neurons, with each neuron having 10 buckets. Each sample has 250 timesteps.
Figure C5 : Empirical relationship between the activation y and its approximation y^ for the neurons of all three hidden layers on the SHD test set after training. Each point is one neuron at one time step of one test sample (10000 random points per layer). The Huber fit uses only points with y at or above the minimum spike threshold (dotted line). Hyperparameters as in Table D1 .
SHD
SSC
DVS Gesture
FC/CNN4
VGG9
Architecture
[256 × 3]
[512 × 3]
D.2.1
D.2.1
Timestep size
3.6 ms
3.6 ms
3 ms
12 ms
Number of frames
250
250
2000
500
Batch size
32
32
64
64
Epochs
25
25
100
70
Appendix
Table D1 : Network architecture and hyperparameters. The architecture is given as [neurons in hidden layers × number of hidden layers] if fully-connected. Whenever we change the number of frames / the timestep size from the values mentioned above, we scale the bucket transfer rate by the same factor as the timestep size change to keep the temporal dynamics consistent. *Times K per layer upward starting from the output towards the input.
Figure D1 : (a) shows the 4-layer CNN architecture used for DVS Gesture (similar to what was used for DECOLLE in Kaiser et al. [2020] ). (b) shows the fully-connected architecture (similar to what was used for FPTT in Yin et al. [2023] ). (c) shows the VGG9 architecture used for spatial scaling. Only for VGG9, the feature extractor (i.e., all layers before the classifier) uses weight standardization (see Section D.5 ) and group normalization (see Section D.4 ) instead of layer normalization. In all figures, neuron layers (including normalization and dropout, if applicable) are omitted; they are placed after each Conv2d or Linear layer.
Hyperparameter
Value
Threshold
0.2
Batch size
1
Epochs
Until converged
Optimizer
SGD
Learning rate
10−1
Synaptic weight (frozen)
5.0
Appendix
Table D2 : Hyperparameters for the delay experiment.
Spiking neural networks process information through discrete, time-dependent neural events, aiming for efficient computation and biologically inspired learning.
Instituto de Microelectrónica de Barcelona (IMB-CNM), Consejo Superior de Investigaciones Científicas (CSIC) Cerdanyola del Vallès, Spain · Department of Neurobiology, University of California Los Angeles (UCLA) Los Angeles, USA · Joint Senior authors