Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models

About

Known as low energy consumption networks, spiking neural networks (SNNs) have gained a lot of attention within the past decades. While SNNs are increasing competitive with artificial neural networks (ANNs) for vision tasks, they are rarely used for long sequence tasks, despite their intrinsic temporal dynamics. In this work, we develop spiking state space models (SpikingSSMs) for long sequence learning by leveraging on the sequence learning abilities of state space models (SSMs). Inspired by dendritic neuron structure, we hierarchically integrate neuronal dynamics with the original SSM block, meanwhile realizing sparse synaptic computation. Furthermore, to solve the conflict of event-driven neuronal dynamics with parallel computing, we propose a light-weight surrogate dynamic network which accurately predicts the after-reset membrane potential and compatible to learnable thresholds, enabling orders of acceleration in training speed compared with conventional iterative methods. On the long range arena benchmark task, SpikingSSM achieves competitive performance to state-of-the-art SSMs meanwhile realizing on average 90\% of network sparsity. On language modeling, our network significantly surpasses existing spiking large language models (spikingLLMs) on the WikiText-103 dataset with only a third of the model size, demonstrating its potential as backbone architecture for low computation cost LLMs.

Shuaijie Shen, Chao Wang, Renzhuo Huang, Yan Zhong, Qinghai Guo, Zhichao Lu, Jianguo Zhang, Luziwei Leng• 2024

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10
Accuracy84.5
973
Language ModelingWikiText-103 (test)
Perplexity32.25
773
Gesture RecognitionDVS128-Gesture (test)
Accuracy97.1
32
Linear Regression In-context LearningGarg Linear Regression (d=20)
R^20.8
18
Linear Regression In-context LearningGarg Linear Regression d=10
R-squared0.007
15
Audio ClassificationSpeech Commands
Accuracy96.09
14
Linear Regression In-context LearningGarg Linear Regression (d=40)
R^20.7
12
Sequence ClassificationS-MNIST
Accuracy99.6
11
Sequence ModelingLRA
LISTOPS Accuracy60.23
9
Sequence ClassificationPS-MNIST
Accuracy98.4
9
Showing 10 of 11 rows

Other info

Follow for update