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

📅 2024-08-27
🏛️ arXiv.org
📈 Citations: 4
Influential: 0
📄 PDF

career value

252K/year
🤖 AI Summary
To address the challenge of simultaneously achieving strong temporal modeling capability, biological plausibility, and training efficiency in Spiking Neural Networks (SNNs) for long-sequence tasks, this paper proposes SpikingSSM—a novel spiking state space model. It innovatively integrates hierarchical dendritic neuron dynamics into the state space framework and introduces a lightweight surrogate dynamic network to reconcile event-driven sparsity with parallel gradient-based training, supporting learnable thresholds and predictive membrane potential reset. By unifying SNNs’ sparse spike mechanisms with state space models’ long-range dependency modeling, SpikingSSM enables end-to-end training via surrogate gradients. Experiments demonstrate that it matches mainstream SSMs on the Long Range Arena benchmark while achieving ~90% average sparsity; on WikiText-103, it significantly outperforms existing spiking large models using only one-third the parameters. This work establishes a new paradigm for energy-efficient, long-sequence AI.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Spiking Neural Networks
Long-range Dependencies
Energy-efficient Computing
Innovation

Methods, ideas, or system contributions that make the work stand out.

SpikingSSMs
Energy-Efficient Computing
Long-Chain Information Processing
S
Shuaijie Shen
Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, 518055; ACSLab, Huawei Technologies Co., Ltd., Shenzhen, 518129
C
Chao Wang
Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, 518055; ACSLab, Huawei Technologies Co., Ltd., Shenzhen, 518129
R
Renzhuo Huang
Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, 518055; ACSLab, Huawei Technologies Co., Ltd., Shenzhen, 518129
Y
Yan Zhong
School of Mathematical Sciences, Peking University, Beijing, 100871
Q
Qinghai Guo
ACSLab, Huawei Technologies Co., Ltd., Shenzhen, 518129
Zhichao Lu
Zhichao Lu
City University of Hong Kong
Evolutionary ComputationBilevel OptimizationNeural Architecture Search
J
Jianguo Zhang
Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, 518055; Pengcheng Laboratory, Shenzhen, China
L
Luziwei Leng
ACSLab, Huawei Technologies Co., Ltd., Shenzhen, 518129