DelRec: learning delays in recurrent spiking neural networks.

Alexandre Queant, Ulysse Rançon, Benoit R Cottereau, Timothée Masquelier · Submission to ICLR 2026 · Withdrawn

TL;DR

DelRec is the first surrogate-gradient-based method to learn axonal and synaptic delays directly within recurrent spiking neural networks (RSNNs) via standard backpropagation. By continuously interpolating non-integer delays during training and sharpening them into integers, DelRec establishes new state-of-the-art results on temporal benchmarks like Spiking Speech Commands and Permuted Sequential MNIST using only simple Leaky Integrate-and-Fire (LIF) neurons.

What Problem Does This Paper Address?

Recurrent Spiking Neural Networks (RSNNs) are bio-inspired, sparse, and event-driven, making them ideal for low-power temporal processing. However, training RSNNs over long time horizons is notoriously difficult due to vanishing and exploding gradients through time.

Recent research has addressed this primarily by engineering complex neuron models (such as multi-compartment or adaptive integrate-and-fire neurons). However, these neuron-centric approaches focus on modulating incoming currents rather than retrieving or reactivating past signals. In biological brains, conduction delays—dynamically tuned via myelin plasticity—act as temporal buffers that enable sequence generation and coincidence detection. While learning transmission delays has shown promise in feedforward SNNs, learning discrete delays in recurrent connections has been hindered by non-differentiability and scaling bottlenecks.

Methods

DelRec formulates delay learning in recurrent connections as an end-to-end differentiable scheduling process:

  • Future-Oriented Scheduling Matrix: Instead of maintaining a history buffer of past spikes to look back into, when neuron $j$ fires at time $t$, DelRec schedules its recurrent weighted input into future time steps ($t + 1 + d_j$) using a circular memory buffer.
  • Continuous Delay Relaxation: To enable gradient-based optimization of discrete delays, real-valued delays $d_j \in \mathbb{R}$ are smoothed over neighboring time steps using a triangular interpolation kernel with width parameter $\sigma$.
  • Annealing & Integer Discretization: The spread parameter $\sigma$ exponentially decays toward 0 across training epochs. By the end of training, the kernel performs linear interpolation between adjacent integer steps, allowing delays to be rounded to the nearest integer for inference without performance degradation.
  • Surrogate Gradient Learning (SGL): The network trains using standard backpropagation through time (BPTT) and surrogate gradients, making DelRec fully compatible with standard spiking frameworks (implemented in PyTorch via SpikingJelly).
Spike at time t  ──►  Spread over [t + 1 + d - σ, t + 1 + d + σ]  ──►  Circular Buffer
                             │
                  Anneal σ → 0 across epochs
                             │
                             ▼
                    Discrete Integer Delay

Datasets

The authors evaluated DelRec across three standard temporal benchmarks:

  • Spiking Speech Commands (SSC): A challenging audio dataset of over 100k samples across 35 speech classes, requiring recognition of complex spectro-temporal spike dynamics.
  • Permuted Sequential MNIST (PS-MNIST): A vision benchmark where $28 \times 28$ image pixels are flattened and permuted into a $1 \times 784$ sequence, testing extreme long-range temporal integration.
  • Spiking Heidelberg Digits (SHD): A smaller dataset consisting of 10k spoken digit recordings (English and German), used here primarily for controlled ablation and parameter-efficiency studies.

Key Insights and Ideas

  • Recurrent delays act as temporal skip connections: Much like residual connections alleviate vanishing gradients in deep feedforward architectures, recurrent delays bridge distant time steps in the unrolled computational graph, dramatically stabilizing backpropagation through time.
  • Trainable recurrent delays beat feedforward delays under tight parameter budgets: When network capacity is restricted (e.g., around 10k parameters), RSNNs with learnable recurrent delays degrade far less severely in accuracy than networks with feedforward delays.
  • Recurrent vs. feedforward delay trade-off: Recurrent delays achieve higher peak classification accuracy, whereas feedforward delays tend to achieve their optimal performance at lower firing rates, highlighting an accuracy vs. neuromorphic energy-efficiency trade-off.
  • Simplicity over complexity: Rather than relying on specialized gated units or multi-compartment dynamics, standard LIF neurons equipped with DelRec outclass far more complex architectures.

Key Results

  • Spiking Speech Commands (SSC): DelRec achieved 82.58% test accuracy (recurrent delays only, 0.37M parameters) and 82.19% (recurrent + feedforward delays, 0.55M parameters), setting a new state of the art among LIF-derived models and surpassing models like SiLIF (82.03%) and ASRC-SNN (81.54%).
  • Permuted Sequential MNIST (PS-MNIST): DelRec achieved 96.21% test accuracy with just 0.16M parameters, outperforming ASRC-SNN (95.77%) and adaptive RSNNs (94.30%).
  • Spiking Heidelberg Digits (SHD): DelRec achieved 93.73% (combined delays) and 93.39% (recurrent delays), matching existing state-of-the-art results on this now saturated benchmark.

Limitations and Future Work

  • Axonal vs. Synaptic Delays: While the mathematical formulation supports per-synapse delays, experiments primarily evaluated axonal delays (one delay shared per neuron) to constrain parameter counts.
  • Neuron Simplicity: DelRec was validated exclusively with standard LIF neurons; the authors note that combining DelRec with adaptive threshold mechanisms or multi-compartment models could push performance further.
  • Neuromorphic Deployment: Although integer rounding post-training makes DelRec models ready for neuromorphic hardware with programmable digital delays, physical on-chip deployment was not demonstrated.

Summary updated

BibTeX
@misc{queant2025delrec,
  author = {Alexandre Queant and Ulysse Rançon and Benoit R Cottereau and Timothée Masquelier},
  title = {{DelRec: learning delays in recurrent spiking neural networks.}},
  year = {2025},
  eprint = {2509.24852},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.24852},
}
Figure