SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learning

Yan Zhong, Ruoyu Zhao, Chao Wang, Qinghai Guo, Jianguo Zhang, Zhichao Lu, Luziwei Leng · DOI

Abstract

SPikE-SSM is a novel framework that combines the energy efficiency of Spiking Neural Networks (SNNs) with the long-range modeling power of State Space Models (SSMs). By introducing a parallel boundary compression strategy and a biologically inspired refractory neuron model, the authors achieve state-of-the-art performance on long-sequence tasks with up to 80x training speedups and 20x lower energy consumption compared to traditional artificial neural networks.

Introduction

Spiking Neural Networks (SNNs) are brain-inspired models that communicate via discrete, binary pulses (spikes). While they are highly energy-efficient on specialized hardware, they have historically struggled with long-sequence learning. This difficulty stems from three primary challenges: the serial bottleneck of membrane potential computation, the difficulty of simulating complex biological dynamics like refractory periods, and the inherent trade-off between network sparsity and task precision.

SPikE-SSM addresses these issues by integrating a refined Leaky Integrate-and-Fire (LIF) neuron into a State Space Model backbone, specifically the S4D architecture.

Proposed Methodology

The SPikE-SSM architecture, illustrated in Figure 1, utilizes a refined LIF neuron model that incorporates a "reset-refractory" mechanism. This mechanism mimics biological behavior by making it harder for a neuron to fire immediately after a spike, which naturally encourages sparsity and regulates internal dynamics.

The SPikE-SSM architecture integrates SSM backbones with refractory neuron models and parallel boundary compression.

Parallel Max-min Boundary Compression (PMBC)

A core technical breakthrough of this work is the Parallel Max-min Boundary Compression (PMBC) strategy. In traditional SNNs, the membrane potential depends on the entire spiking history, forcing serial computation. PMBC bypasses this by using Fast Fourier Transforms (FFT) to calculate the input's contribution to the membrane potential across the entire sequence simultaneously. It then iteratively narrows down the upper and lower bounds of the potential to determine spiking states in parallel.

Comparison between traditional serial recurrence and the proposed Parallel Max-min Boundary Compression (PMBC) which enables efficient parallelization.

As shown in Figure 6, while serial computing requires $L$ steps for a sequence of length $L$, PMBC can resolve approximately 99% of spiking states in just a few iterations ($M$), regardless of the total sequence length.

Experimental Evaluation

The model was evaluated on several rigorous benchmarks:

  • Long Range Arena (LRA): Six tasks testing dependencies over sequences up to 16,000 steps.
  • WikiText-103: Large-scale language modeling to test complex linguistic structures.
  • Sequential Vision: sMNIST, psMNIST, and sCIFAR10 processed pixel-by-pixel.

Key Results

  • Speed: Training with PMBC is significantly faster than traditional Back-Propagation Through Time (BPTT). At a sequence length of 8,000, SPikE-SSM achieved an 81.7x speedup.
  • Efficiency: On WikiText-103, SPikE-SSM consumed only 60.68 mJ of energy, compared to 1265 mJ for a standard ANN-based SSM—a nearly 21x reduction.
  • Accuracy: The model outperformed previous spiking SSMs (like SpikeGPT) on almost all LRA tasks. Notably, on the "Path-X" task (16,384 steps), it achieved 94.37% accuracy with a spiking rate of only 0.07%.

Conclusion

SPikE-SSM demonstrates that the serial dependency of spiking neurons can be effectively bypassed through parallel boundary problems. By combining biological realism with modern SSM backbones, the framework achieves high precision and extreme sparsity. Future work will focus on scaling SPikE-SSM to larger language models and deploying it on neuromorphic hardware to fully realize its potential for edge computing.

Summary updated

BibTeX
@misc{zhong2024spike,
  author = {Yan Zhong and Ruoyu Zhao and Chao Wang and Qinghai Guo and Jianguo Zhang and Zhichao Lu and Luziwei Leng},
  title = {{SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learning}},
  year = {2024},
  eprint = {2410.17268},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.17268},
}
Figure