亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

Mamba: Linear-Time Sequence Modeling with Selective State Spaces

计算机科学 变压器 推论 安全性令牌 人工智能 计算机工程 理论计算机科学 工程类 计算机安全 电压 电气工程
作者
Albert Gu,Tri Dao
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:986
标识
DOI:10.48550/arxiv.2312.00752
摘要

Foundation models, now powering most of the exciting applications in deep learning, are almost universally based on the Transformer architecture and its core attention module. Many subquadratic-time architectures such as linear attention, gated convolution and recurrent models, and structured state space models (SSMs) have been developed to address Transformers' computational inefficiency on long sequences, but they have not performed as well as attention on important modalities such as language. We identify that a key weakness of such models is their inability to perform content-based reasoning, and make several improvements. First, simply letting the SSM parameters be functions of the input addresses their weakness with discrete modalities, allowing the model to selectively propagate or forget information along the sequence length dimension depending on the current token. Second, even though this change prevents the use of efficient convolutions, we design a hardware-aware parallel algorithm in recurrent mode. We integrate these selective SSMs into a simplified end-to-end neural network architecture without attention or even MLP blocks (Mamba). Mamba enjoys fast inference (5$\times$ higher throughput than Transformers) and linear scaling in sequence length, and its performance improves on real data up to million-length sequences. As a general sequence model backbone, Mamba achieves state-of-the-art performance across several modalities such as language, audio, and genomics. On language modeling, our Mamba-3B model outperforms Transformers of the same size and matches Transformers twice its size, both in pretraining and downstream evaluation.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
美满的菠萝完成签到 ,获得积分10
刚刚
Criminology34应助科研通管家采纳,获得10
4秒前
今后应助Dawn采纳,获得10
28秒前
连安阳给连安阳的求助进行了留言
35秒前
35秒前
Dawn发布了新的文献求助10
40秒前
大个应助Dawn采纳,获得10
49秒前
57秒前
1分钟前
Dawn发布了新的文献求助10
1分钟前
1分钟前
CodeCraft应助Dawn采纳,获得10
1分钟前
1分钟前
Dawn完成签到,获得积分10
1分钟前
Dawn发布了新的文献求助10
1分钟前
1分钟前
辛艺发布了新的文献求助10
1分钟前
1分钟前
momo发布了新的文献求助20
1分钟前
molihuakai应助辛艺采纳,获得10
1分钟前
1分钟前
风趣的刺猬完成签到,获得积分10
2分钟前
无花果应助Dawn采纳,获得30
2分钟前
Criminology34应助科研通管家采纳,获得10
2分钟前
Criminology34应助科研通管家采纳,获得10
2分钟前
Criminology34应助科研通管家采纳,获得10
2分钟前
2分钟前
Dawn发布了新的文献求助30
2分钟前
科研通AI6.3应助Russs采纳,获得10
2分钟前
momo完成签到,获得积分10
2分钟前
JamesPei应助Dawn采纳,获得10
2分钟前
2分钟前
Dawn发布了新的文献求助10
2分钟前
科研通AI6.2应助Dawn采纳,获得10
2分钟前
高高的念之完成签到 ,获得积分10
3分钟前
didididm完成签到,获得积分10
3分钟前
科研通AI6.4应助qz采纳,获得10
3分钟前
3分钟前
3分钟前
Dawn发布了新的文献求助10
3分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
Practical Process Research and Development 500
Discerning Saints: Moralization of Intrinsic Motivation and Selective Prosociality at Work 500
Handbuch Trainingswissenschaft – Trainingslehre 500
Additive Manufacturing Design and Applications (ASM Handbook, Volume 24A) 500
Exploring Entrepreneurial Psychology Through AI 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7585701
求助须知:如何正确求助?哪些是违规求助? 9164004
关于积分的说明 19611771
捐赠科研通 7166746
什么是DOI,文献DOI怎么找? 3266627
关于科研通互助平台的介绍 2431601
邀请新用户注册赠送积分活动 2258316