xLSTM: Extended Long Short-Term Memory
2024/05/07 by Maximilian Beck, Korbinian Pöppel, Beck, Maximilian +17 · 10 voices · 77 citations
Computer Science · #Topic Modeling
paper · pdf · doi:10.48550/arxiv.2405.04517
Abstract
In the 1990s, the constant error carousel and gating were introduced as the central ideas of the Long Short-Term Memory (LSTM). Since then, LSTMs have stood the test of time and contributed to numerous deep learning success stories, in particular they constituted the first Large Language Models (LLMs). However, the advent of the Transformer technology with parallelizable self-attention at its core marked the dawn of a new era, outpacing LSTMs at scale. We now raise a simple question: How far do we get in language modeling when scaling LSTMs to billions of parameters, leveraging the latest techniques from modern LLMs, but mitigating known limitations of LSTMs? Firstly, we introduce exponential gating with appropriate normalization and stabilization techniques. Secondly, we modify the LSTM memory structure, obtaining: (i) sLSTM with a scalar memory, a scalar update, and new memory mixing, (ii) mLSTM that is fully parallelizable with a matrix memory and a covariance update rule. Integrating these LSTM extensions into residual block backbones yields xLSTM blocks that are then residually stacked into xLSTM architectures. Exponential gating and modified memory structures boost xLSTM capabilities to perform favorably when compared to state-of-the-art Transformers and State Space Models, both in performance and scaling.
Cited by
Discussions
- xLSTM: Extended Long Short-Term Memory [hn, 197 points, 73 comments]
- XLSTM helps with the parallelizable thing arxiv.org/abs/2405.04517 I suspect the memory issues and compute scaling with sequence lengths will motivate some large scale model with these soon. Probably [bsky, 3 points, 0 comments]
- How far do we get in language modeling when scaling LSTMs to billions of parameters, leveraging the latest techniques from modern LLMs, but mitigating known limitations of LSTMs? #ML #AI #LSTM [bsky, 2 points, 0 comments]
- Interesting to see how far LSTM ideas can be pushed to make make them competitive with transformers and state space models. Proud of our paper and all my co-authors. arxiv.org/abs/2405.04517 [bsky, 1 points, 1 comments]
- e.g., I really want to talk to an xLSTM arxiv.org/abs/2405.04517 [bsky, 1 points, 0 comments]
- xLSTM is a combination of transformer technology and long-term memory. The result is an architecture that performs better in terms of performance and scalability than the transformers currently in use [bsky, 0 points, 0 comments]
- XLSTM: Extended Long Short-Term Memory (arxiv.org) Main Link | Discussion [bsky, 0 points, 0 comments]
- 2/2 xLSTM: Extended Long Short-Term Memory by Maximilian Beck, Andreas Auer, Günter Klambauer, Korbinian Pöppel, Oleksandra Prudnikova, Johannes Brandstetter, Markus Spanring, Michael Kopp, Sepp Hochr [bsky, 0 points, 0 comments]
- Strong Schmidhuber vibes incoming 🧐 (arxiv.org/abs/2405.04517) [bsky, 0 points, 0 comments]
- 夏休みでやるプロジェクトのためにLSTMについて調べたらこんなもの出てきた これは面白いが自分のプロジェクトに使えないかも arxiv.org/abs/2405.04517 [bsky, 0 points, 0 comments]
Related