Parallel Spiking Neurons with High Efficiency and Ability to Learn Long-term Dependencies

Wei Fang, Zhaofei Yu, Zhaokun Zhou, Ding Chen, Yanqing Chen +3 more
2/12/2026

No official code found. Best implementation: fangwei123456/Parallel-Spiking-Neuron (56 stars, last commit 2024-01-21).

Abstract

Vanilla spiking neurons in Spiking Neural Networks (SNNs) use charge-fire-reset neuronal dynamics, which can only be simulated serially and can hardly learn long-time dependencies. We find that when removing reset, the neuronal dynamics can be reformulated in a non-iterative form and parallelized. By rewriting neuronal dynamics without reset to a general formulation, we propose the Parallel Spiking Neuron (PSN), which generates hidden states that are independent of their predecessors, resulting in parallelizable neuronal dynamics and extremely high simulation speed. The weights of inputs in the PSN are fully connected, which maximizes the utilization of temporal information. To avoid the use of future inputs for step-by-step inference, the weights of the PSN can be masked, resulting in the masked PSN. By sharing weights across time-steps based on the masked PSN, the sliding PSN is proposed to handle sequences of varying lengths. We evaluate the PSN family on simulation speed and temporal/static data classification, and the results show the overwhelming advantage of the PSN family in efficiency and accuracy. To the best of our knowledge, this is the first study about parallelizing spiking neurons and can be a cornerstone for the spiking deep learning research. Our codes are available at \url{https://github.com/fangwei123456/Parallel-Spiking-Neuron}.

View on arXivView PDF

Code Implementations(1)

565C++, CudaApr 25, 20232 years ago

Similar Papers

Cite this paper

@article{fang2026parallel,
  title  = {Parallel Spiking Neurons with High Efficiency and Ability to Learn Long-term Dependencies},
  author = {Wei Fang and Zhaofei Yu and Zhaokun Zhou and Ding Chen and Yanqing Chen and Zhengyu Ma and T. Masquelier and Yonghong Tian},
  year   = {2026},
  eprint = {2304.12760},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2304.12760},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2304.12760.svg)](https://codeofpaper.com/paper/2304.12760)

Discussion