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

对偶(序理论) 变压器 算法 状态空间 数学 计算机科学 数学优化 域代数上的 纯数学 电气工程 工程类 电压 统计
作者
Tri Dao,Albert G. Gu
出处
期刊:Cornell University - arXiv [Cornell University]
被引量:67
标识
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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
linkai发布了新的文献求助10
刚刚
没头脑完成签到,获得积分10
刚刚
科研通AI6.3应助叮咚鸡采纳,获得10
刚刚
刚刚
刚刚
刚刚
曾慧发布了新的文献求助10
1秒前
1秒前
Jasper应助Atong采纳,获得10
1秒前
1秒前
2秒前
yjh123应助潮哈哈耶采纳,获得30
2秒前
王子祺完成签到,获得积分10
2秒前
百年完成签到,获得积分10
2秒前
无花果应助迷人迎曼采纳,获得10
2秒前
2秒前
3秒前
传奇3应助斯拉万月采纳,获得10
3秒前
鑫xin发布了新的文献求助10
3秒前
liuzhixiang发布了新的文献求助10
4秒前
天真的小白菜完成签到,获得积分10
4秒前
溦凉发布了新的文献求助10
4秒前
科研通AI6.4应助tian采纳,获得10
4秒前
5秒前
Xx应助竹园采纳,获得10
5秒前
5秒前
5秒前
科研通AI6.4应助tianji采纳,获得10
5秒前
5秒前
phc发布了新的文献求助10
6秒前
7秒前
青青发布了新的文献求助10
7秒前
7秒前
kai发布了新的文献求助10
7秒前
漫不经心发布了新的文献求助10
7秒前
8秒前
金振龙发布了新的文献求助10
8秒前
小璐发布了新的文献求助10
8秒前
糊涂的砖头完成签到,获得积分10
9秒前
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Nondestructive Testing Handbook: Vol. 4, Thermal and Infrared Testing (IR), 4th ed 800
日本現代怪異事典 副読本 700
悉尼大学博士学位论文,题目:Modelling and testing of one-sided stitched laminated composites. 作者:Kristopher P. Plain 650
Machine Learning for Asset Management and Pricing 600
Numerical analysis of the coupled atmosphere-ocean models (CAO II). II 600
Models for the coupled atmosphere and ocean 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7379782
求助须知:如何正确求助?哪些是违规求助? 8987301
关于积分的说明 19114568
捐赠科研通 7019501
什么是DOI,文献DOI怎么找? 3226630
关于科研通互助平台的介绍 2389890
邀请新用户注册赠送积分活动 2207264