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

Long Range Language Modeling via Gated State Spaces

About

State space models have shown to be effective at modeling long range dependencies, specially on sequence classification tasks. In this work we focus on autoregressive sequence modeling over English books, Github source code and ArXiv mathematics articles. Based on recent developments around the effectiveness of gated activation functions, we propose a new layer named Gated State Space (GSS) and show that it trains significantly faster than the diagonal version of S4 (i.e. DSS) on TPUs, is fairly competitive with several well-tuned Transformer-based baselines and exhibits zero-shot generalization to longer inputs while being straightforward to implement. Finally, we show that leveraging self-attention to model local dependencies improves the performance of GSS even further.

Harsh Mehta, Ankit Gupta, Ashok Cutkosky, Behnam Neyshabur• 2022

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText-103 (test)
Perplexity30.74
524
Language ModelingWikiText-103 (val)
PPL29.61
180
Language ModelingarXiv (test)
PPL2.51
137
Language ModelingPG-19 (test)
Perplexity10.52
106
Language ModelingGitHub (val)
Perplexity1.88
13
Language ModelingOpenWebText (test val)
Perplexity19.8
6
Showing 6 of 6 rows

Other info

Follow for update