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

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Shen, Shuaijie, Wang, Chao, Huang, Renzhuo, Zhong, Yan, Guo, Qinghai, Lu, Zhichao, Zhang, Jianguo, Leng, Luziwei
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916540956278784
author Shen, Shuaijie
Wang, Chao
Huang, Renzhuo
Zhong, Yan
Guo, Qinghai
Lu, Zhichao
Zhang, Jianguo
Leng, Luziwei
author_facet Shen, Shuaijie
Wang, Chao
Huang, Renzhuo
Zhong, Yan
Guo, Qinghai
Lu, Zhichao
Zhang, Jianguo
Leng, Luziwei
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_14909
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models
Shen, Shuaijie
Wang, Chao
Huang, Renzhuo
Zhong, Yan
Guo, Qinghai
Lu, Zhichao
Zhang, Jianguo
Leng, Luziwei
Computation and Language
Machine Learning
Neural and Evolutionary Computing
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.
title SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models
topic Computation and Language
Machine Learning
Neural and Evolutionary Computing
url https://arxiv.org/abs/2408.14909