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

Robust and accelerated single-spike spiking neural network training with applicability to challenging temporal tasks

Luke Taylor, Andrew J King, Nicol Spencer Harper

TL;DR

This paper introduces a novel, parallelizable training method for single-spike Spiking Neural Networks (SNNs) that significantly accelerates training and overcomes common instabilities. This approach enables single-spike SNNs to tackle complex temporal tasks, previously thought to be beyond their capabilities, while achieving competitive accuracy and drastically reducing energy consumption through spike sparsity.

What Problem Does This Paper Address?

Artificial Neural Networks (ANNs) have achieved remarkable success, but their energy consumption is becoming unsustainable. Spiking Neural Networks (SNNs) offer a more energy-efficient alternative, inspired by the brain's low power usage. A specific type, single-spike SNNs, promises even greater efficiency by having neurons fire at most once. However, training these networks is notoriously difficult due to their non-differentiable nature, leading to slow, unstable training methods and a perceived limitation in their applicability to dynamic, time-series data. Existing approaches often struggle with issues like "dead neurons" (neurons that stop firing and thus learning) or require complex regularization.

Methods

The core innovation is a new training model that recasts the standard single-spike SNN architecture into a parallelizable, non-sequential computational graph. Instead of simulating time step-by-step, the model leverages GPU-accelerated tensor operations. The process involves three key steps:

  1. Presynaptic Spike to Input Current Conversion: This is a standard tensor multiplication.
  2. Membrane Potential Calculation (without reset): This is the crucial step where the model deviates. It calculates membrane potentials without the usual "reset" mechanism that occurs after a spike. This is achieved by "unrolling" the leaky integrate-and-fire (LIF) model equation into a convolutional form, allowing for parallel computation across time.
  3. Mapping to Output Spikes: The non-reset membrane potentials are then mapped to "erroneous" output spikes. To enforce the single-spike constraint, these erroneous spikes are transformed into a latent representation that encodes the spike order. This latent representation is then used to generate the correct single output spikes, ensuring only one spike per neuron. This mapping is designed to be differentiable, allowing backpropagation.

The authors also incorporate trainable membrane time constants, a feature that has improved performance in multi-spike SNNs but was previously difficult to implement effectively in single-spike SNNs.

Datasets

The paper evaluates its model on a variety of datasets:

  • Synthetic Spike Dataset: Used for speed benchmark testing.
  • Image Datasets:
    • Yin-Yang dataset (spatial coordinates classification)
    • MNIST (handwritten digit classification)
    • Fashion-MNIST (fashion item classification)
  • Neuromorphic Datasets:
    • N-MNIST (MNIST mapped to spike events using a neuromorphic sensor)
    • SHD (Spiking Heidelberg Digits) dataset (auditory waveforms converted to spikes)

All analog datasets were converted to spike representations using the time-to-first-spike encoding method.

Key Insights and Ideas

  • Parallelization is Key: The most significant insight is that by reformulating the single-spike SNN training process to avoid sequential simulation, massive speedups can be achieved using modern parallel hardware (GPUs).
  • Temporal Tasks are Achievable: The paper challenges the notion that single-spike SNNs are unsuitable for temporal data. By enabling trainable membrane time constants and a robust training method, they demonstrate performance on par with multi-spike SNNs on challenging temporal datasets like SHD.
  • Bypassing the Dead Neuron Problem: The surrogate gradient approach, applied to membrane potentials rather than spike times, effectively circumvents the dead neuron problem, allowing learning to continue even with sparse network activity.
  • Energy Efficiency Gains: The inherent sparsity of single-spike SNNs, combined with the model's efficiency, leads to significant reductions in spike counts (up to 81%) compared to multi-spike SNNs, directly translating to lower energy consumption.

Key Results

  • Training Speedup: The proposed model achieves substantial training speedups, with a maximum of 13.98x on real datasets and up to 16.77x on synthetic benchmarks.
  • Spike Reduction: The single-spike SNNs trained with this method exhibit extreme spike sparsity, with up to 81% fewer spikes compared to standard multi-spike SNNs.
  • Competitive Accuracy: The model achieves accuracies comparable to or exceeding prior state-of-the-art single-spike SNNs on image and neuromorphic datasets. Notably, on the SHD dataset, it achieves 70.32% accuracy with trainable time constants, on par with multi-spike SNNs.
  • Robustness: The model demonstrates robustness by successfully training networks that start with zero activity, a scenario that is fatal to other single-spike training methods.
  • Deeper Networks: The approach is shown to be applicable to deeper convolutional architectures, a domain previously less explored for single-spike SNNs.

Limitations and Future Work

  • Backward Pass Speed: While the forward pass is significantly accelerated, the backward pass speedup diminishes for longer time steps. The authors suggest exploring sparse gradient descent as a potential solution.
  • Single-Spike vs. Multi-Spike Performance: While competitive, the single-spike model still slightly underperforms its multi-spike counterpart on some tasks. Future work could explore extending the model to support multi-spike outputs or recurrent connectivity.
  • Synaptic Dynamics: The current model achieves impressive performance without explicit synaptic dynamics. Further research could investigate the impact of incorporating different synaptic plasticity rules.
  • Theoretical Understanding: The exact mechanisms by which trainable membrane time constants and extreme spike sparsity combine to achieve high performance on temporal tasks require more rigorous theoretical analysis.

Summary updated

BibTeX
@inproceedings{taylor2023robust,
  author = {Luke Taylor and Andrew J King and Nicol Spencer Harper},
  title = {{Robust and accelerated single-spike spiking neural network training with applicability to challenging temporal tasks}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=kRCRcDayfk6},
}
Figure