SpikingSSM
A spiking state space model for long sequences, trained in parallel with a surrogate dynamic network.
Spiking networks · 356 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Spiking networks
- Parameters
- 3.8M
- Operations
- 356
- Framework
- PyTorch
- Recurrent
- No
- Published
- AAAI 2025
- Cited by
- 10 (as of 27 October 2026)
- Authors
- Shuaijie Shen, Chao Wang, Renzhuo Huang and others
- Source
- GitHub: shenshuaijie/SDN
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m20570
- Graph hash
- e4c05095f22afc13b1403983fee742788c2bdeb97a8eacbc5a9c8e00383a514c
- Skeleton hash
- cbb6fde4917a76c9c87d6b73b7cf082fd2f31541ee4f1492fe281a25841dd584
- Architecture hash
- c0ceb1d18df0525229629ab89b0bba656ae6f5e75dcc73e00f73198b7142e978
- Diagram SHA-256
- 1366254a6293b3a99a764e7644b02af2fced11fb8bc6405efb3cc8fe04d8abd2
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SpikingSSM is a spiking neural network (SNN) for long sequences, made by adding spiking neurons to a state space model (SSM). The paper's starting point is that SNNs are rarely used for long sequence tasks, despite their intrinsic temporal dynamics.
The backbone is the S4D model. In each block the output of the state space layer is treated as the input current of an LIF spiking neuron, and the resulting spikes feed the fully connected layer of the next block. The firing threshold is a learnable parameter. Because a neuron's membrane potential depends on its own past spikes, it cannot be computed in parallel, so the authors use a small pre-trained network, the Surrogate Dynamic Network (SDN), to predict the spike train in parallel. The paper reports that the speed-up from SDN grows with sequence length, reaching two orders of acceleration at a length of 8K.
On the long range arena benchmark the paper reports accuracy comparable to the original S4D model with almost 90% average network sparsity. On WikiText-103 language modeling it reports surpassing existing spiking large language models with only a third of the model size.
Key idea. SpikingSSMs put LIF spiking neurons into state space model blocks and train them in parallel using a small pre-trained surrogate dynamic network.
- spikingssm
- spikingssms
- spiking state space model
- spiking neural network
- snn
- state space model
- surrogate dynamic network
- sdn
- long sequence learning
- long range arena
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{shen2024spikingssmslearninglongsequences,
title={SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models},
author={Shuaijie Shen and Chao Wang and Renzhuo Huang and Yan Zhong and Qinghai Guo and Zhichao Lu and Jianguo Zhang and Luziwei Leng},
year={2024},
eprint={2408.14909},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2408.14909},
}