Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality

对偶(序理论) 变压器 算法 状态空间 数学 计算机科学 数学优化 域代数上的 纯数学 电气工程 工程类 电压 统计
作者
Tri Dao,Albert G. Gu
出处
期刊:Cornell University - arXiv 被引量:7
标识
DOI:10.48550/arxiv.2405.21060
摘要

While Transformers have been the main architecture behind deep learning's success in language modeling, state-space models (SSMs) such as Mamba have recently been shown to match or outperform Transformers at small to medium scale. We show that these families of models are actually quite closely related, and develop a rich framework of theoretical connections between SSMs and variants of attention, connected through various decompositions of a well-studied class of structured semiseparable matrices. Our state space duality (SSD) framework allows us to design a new architecture (Mamba-2) whose core layer is an a refinement of Mamba's selective SSM that is 2-8X faster, while continuing to be competitive with Transformers on language modeling.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
2秒前
YangSihan发布了新的文献求助10
4秒前
Fan发布了新的文献求助10
5秒前
Bebeans应助melody6156采纳,获得100
5秒前
5秒前
九九发布了新的文献求助10
6秒前
JamesPei应助汽水采纳,获得10
7秒前
cai'e完成签到,获得积分10
9秒前
情怀应助lieditongxu采纳,获得20
10秒前
10秒前
科研通AI5应助woody采纳,获得10
11秒前
13秒前
14秒前
pantio完成签到,获得积分10
14秒前
尚永婧发布了新的文献求助10
15秒前
活泼的嚓茶完成签到,获得积分20
15秒前
drleslie完成签到 ,获得积分10
15秒前
16秒前
16秒前
skw发布了新的文献求助10
16秒前
平淡书包关注了科研通微信公众号
16秒前
小懒猪完成签到,获得积分10
17秒前
17秒前
18秒前
自由的代丝完成签到 ,获得积分10
18秒前
20秒前
汽水发布了新的文献求助10
20秒前
liam发布了新的文献求助10
20秒前
受伤纲发布了新的文献求助10
20秒前
21秒前
lieditongxu发布了新的文献求助20
21秒前
扶余山本发布了新的文献求助10
22秒前
巨炮叔叔完成签到,获得积分10
22秒前
爆米花应助An2ni0采纳,获得10
22秒前
碳酸芙兰发布了新的文献求助10
23秒前
ljh完成签到 ,获得积分10
24秒前
25秒前
猫仔完成签到,获得积分10
26秒前
有魅力山雁完成签到,获得积分20
26秒前
高分求助中
Applied Survey Data Analysis (第三版, 2025) 800
Assessing and Diagnosing Young Children with Neurodevelopmental Disorders (2nd Edition) 700
Images that translate 500
Algorithmic Mathematics in Machine Learning 500
Handbook of Innovations in Political Psychology 400
Mapping the Stars: Celebrity, Metonymy, and the Networked Politics of Identity 400
Nucleophilic substitution in azasydnone-modified dinitroanisoles 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3842679
求助须知:如何正确求助?哪些是违规求助? 3384676
关于积分的说明 10536789
捐赠科研通 3105234
什么是DOI,文献DOI怎么找? 1710162
邀请新用户注册赠送积分活动 823493
科研通“疑难数据库(出版商)”最低求助积分说明 774110