NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

SpikingGamma: Temporally Precise Online SNN Training Through Smoothed Temporal Delays

Roel Koopman, Sebastian Otte, Sander BohteNeurIPS 2026

TL;DR

Training Spiking Neural Networks (SNNs) for neuromorphic hardware requires ultra-fine time resolution, which causes traditional recurrent training methods to choke on memory limits and vanishing gradients. SpikingGamma bypasses this bottleneck entirely by replacing recurrent neural loops with a cascade of "leaky buckets" that compress past events into the present, paired with a clever continuous-to-spike encoding trick. The result is a feedforward SNN you can train online, timestep-by-timestep, at arbitrarily fine time resolutions without ever computing messy surrogate gradients across discrete spikes.

What Problem Does This Paper Address?

Spiking Neural Networks mimic the brain by communicating via sparse, discrete pulses (spikes), making them ideal for ultra-low-power, low-latency neuromorphic chips. However, mapping software-trained SNNs onto physical hardware requires simulating dynamics over thousands of tiny timesteps so the digital model matches physical device speeds.

Traditionally, spiking neurons are treated like tiny Recurrent Neural Networks (RNNs) that carry state forward step-by-step. Training them requires unrolling the network across time via Backpropagation Through Time (BPTT) and using "surrogate gradients"—mathematical smoothing hacks to push derivatives through non-differentiable binary spikes. As you slice time finer, sequences grow longer: memory explodes linearly, gradients vanish, and even modern online training approximations lose stability and collapse.

Methods

SpikingGamma reimagines how spiking neurons remember the past and talk to their neighbors, combining two core ideas to make training strictly feedforward in space and online in time:

  1. Cascading "Leaky Buckets" (Gamma Memory): Instead of relying on recurrent loops to remember past inputs, each neuron (or synapse) filters incoming spikes through a compact bank of $K$ cascading leaky "buckets" (based on the classic Gamma-model). Spike energy enters the first bucket and spills sequentially into downstream buckets at varying rates, naturally creating a multi-timescale, smoothed-delay summary of history right inside the current timestep.
  2. Sigma-Delta ($\Sigma\Delta$) Spike-Coding: Borrowed from electrical engineering, each neuron computes a continuous internal signal $y$, while simultaneously maintaining a running reconstruction $\hat{y}$ of what its own output spikes represent. Whenever the gap between $y$ and $\hat{y}$ exceeds an adaptive threshold, the neuron fires a spike to "top up" the reconstruction.
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.

What’s novel in training: Because downstream synapses reconstruct the exact same $\hat{y}$ signal from incoming spikes, the authors pass the continuous $\hat{y}$ directly during training and use a straight-through identity estimator ($\partial \hat{y} / \partial y \approx 1$). Errors flow smoothly backward through the continuous reconstruction path at each independent timestep—completely sidestepping spikes, surrogate gradients, and temporal unrolling.

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.

Datasets

The authors evaluate SpikingGamma on two synthetic timing tasks and three standard neuromorphic benchmarks:

  • Synthetic Timing Tasks: A Learning Delays task (propagating a single spike at $t=0$ to fire precisely at $t=150$) and a Barn Owl Coincidence Detection task (classifying prey direction based on subtle interaural time differences between pairs of spikes).
  • DVS Gesture: Event-based dynamic vision dataset of hand gestures (high spatial complexity, lower temporal complexity).
  • Spiking Heidelberg Digits (SHD) & Spiking Speech Commands (SSC): Spoken audio benchmarks converted into spike trains, known for demanding rich, multi-timescale temporal reasoning.

Key Insights and Ideas

  • Time without unrolling: By compressing temporal history into local delay buckets, temporal credit assignment becomes a spatial problem at the current timestep. Memory stays flat regardless of how long the sequence runs.
  • Sharper timing than surrogate gradients: Because surrogate gradients smooth over spike discontinuities, BPTT tends to smear credit across neighboring timesteps. SpikingGamma’s exact reconstruction path allows it to pinpoint exact delay buckets, solving the synthetic delay task using the theoretical minimum of just two spikes.
  • Immunity to the "curse of fine resolution": While competing online and offline SNN methods degrade or collapse completely when you slice audio or video into thousands of ultra-fine frames, SpikingGamma simply scales its bucket transfer rates and maintains rock-solid accuracy.
  • Emergent "Time Cells": Without explicit biological constraints, hidden SpikingGamma neurons naturally learn delayed response profiles that qualitatively mirror biological "time cells" observed in the mammalian brain.

Key Results

SpikingGamma sets a high bar for online SNN training, closing the gap with heavy offline BPTT models while scaling effortlessly in time:

  • SHD & SSC: Achieves 92.81% final test accuracy (93.55% peak) on SHD at 250 frames—approaching offline BPTT state-of-the-art (93.79%) and outperforming online methods like e-prop (80.79%) and OTPE (75.4%). On the tougher SSC dataset, it hits 75.63% online, beating ES-D-RTRL (66.63%).
  • DVS Gesture: Reaches 95.08% (96.08% peak) with a 4-layer CNN at 2,000 frames, and scales cleanly up to a deeper VGG9 architecture.
  • Extreme Time Scaling: When scaling SHD from 100 up to 3,000 frames, ES-D-RTRL collapses to chance-level accuracy by 250 frames, and offline BPTT (SE-adLIF) drops sharply while consuming ~30 GB of memory. SpikingGamma maintains ~92%+ accuracy across all resolutions while keeping memory usage nearly flat (under a few gigabytes).
  • Synthetic Coincidence Detection: Achieves 100% accuracy with minimal spiking using time-to-first-spike coding.

Limitations and Future Work

  • Extra local state: Avoiding BPTT isn't entirely free—each neuron or synapse must maintain and compute $K$ bucket states, meaning computational and local memory costs scale with $K$.
  • Feedforward only (for now): The BPTT-free magic relies on feedforward topologies. Introducing recurrent network loops or feedback pathways would still require BPTT-style unrolling.
  • Hardware realities: Using adaptive thresholds requires either sending graded (non-binary) spike payloads or duplicating threshold-tracking logic at every receiving synapse. Validating these local bucket and spike dynamics on physical neuromorphic silicon remains an open next step, alongside extending SpikingGamma to modern feedforward sequence architectures like Transformers.

Summary updated

Abstract

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.
BibTeX
@inproceedings{koopman2026spikinggamma,
  author = {Roel Koopman and Sebastian Otte and Sander Bohte},
  title = {{SpikingGamma: Temporally Precise Online SNN Training Through Smoothed Temporal Delays}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=h3Q9HOiJJg},
}
Figure