可并行流形
计算机科学
缩放比例
人工智能
算法
规范化(社会学)
变压器
计算机工程
门控
残余物
指数函数
块(置换群论)
语言模型
理论计算机科学
非易失性存储器
错误检测和纠正
可扩展性
编码器
算术
半导体存储器
作者
Maximilian Beck,Korbinian Pöppel,Markus Spanring,Andreas Auer,O. G. PRUDNIKOVA,Michael Kopp,Günter Klambauer,J. Brandstetter,Sepp Hochreiter
出处
期刊:
[Neural Information Processing Systems Foundation]
日期:2024-01-01
卷期号:: 107547-107603
被引量:727
摘要
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.
科研通智能强力驱动
Strongly Powered by AbleSci AI