Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Simplified State Space Layers for Sequence Modeling

About

Models using structured state space sequence (S4) layers have achieved state-of-the-art performance on long-range sequence modeling tasks. An S4 layer combines linear state space models (SSMs), the HiPPO framework, and deep learning to achieve high performance. We build on the design of the S4 layer and introduce a new state space layer, the S5 layer. Whereas an S4 layer uses many independent single-input, single-output SSMs, the S5 layer uses one multi-input, multi-output SSM. We establish a connection between S5 and S4, and use this to develop the initialization and parameterization used by the S5 model. The result is a state space layer that can leverage efficient and widely implemented parallel scans, allowing S5 to match the computational efficiency of S4, while also achieving state-of-the-art performance on several long-range sequence modeling tasks. S5 averages 87.4% on the long range arena benchmark, and 98.5% on the most difficult Path-X task.

Jimmy T.H. Smith, Andrew Warrington, Scott W. Linderman• 2022

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-103 (test)
Perplexity35.09
524
Language ModelingWikiText-103 (val)
PPL33.52
180
Long-range sequence modelingLong Range Arena (LRA)
Text Accuracy89.31
164
Long-range sequence modelingLong Range Arena (LRA) (test)
Accuracy (Avg)87.46
158
Long-sequence modelingLong Range Arena (LRA) v1 (test)
ListOps62.15
66
Pixel-level 1-D image classificationSequential MNIST (test)
Accuracy99.65
53
1-D Pixel-level Image ClassificationsCIFAR (test)
Accuracy90.1
46
Keyword SpottingGoogle Speech Commands V2-35
Accuracy96.52
42
35-way Speech ClassificationSpeech Commands 16kHz 35-way (test)
Accuracy96.52
32
35-way Speech ClassificationSpeech Commands 8kHz 35-way (test)
Accuracy94.53
28
Showing 10 of 37 rows

Other info

Code

Follow for update