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

对偶(序理论) 变压器 算法 状态空间 数学 计算机科学 数学优化 域代数上的 纯数学 电气工程 工程类 电压 统计
作者
Tri Dao,Albert G. Gu
出处
期刊:Cornell University - arXiv 被引量:64
标识
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
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
kyJYbs完成签到,获得积分10
刚刚
1秒前
1秒前
HY发布了新的文献求助20
2秒前
风枫叶发布了新的文献求助20
3秒前
xxxx完成签到,获得积分10
3秒前
zhou默发布了新的文献求助10
4秒前
4秒前
从容海完成签到 ,获得积分10
4秒前
小圭发布了新的文献求助10
5秒前
6秒前
8秒前
FashionBoy应助JUSTDOIT采纳,获得10
8秒前
Sucrapipple完成签到,获得积分10
9秒前
10秒前
Jasper应助ABC采纳,获得10
10秒前
南极磷叶石完成签到,获得积分10
12秒前
13秒前
WallfacerCN应助chen采纳,获得100
13秒前
13秒前
14秒前
斩封发布了新的文献求助10
14秒前
Akim应助小徐采纳,获得10
16秒前
詹姆胖发布了新的文献求助10
18秒前
危机发布了新的文献求助10
19秒前
SciGPT应助xx采纳,获得10
19秒前
大模型应助3w要少睡觉采纳,获得10
21秒前
22秒前
22秒前
彭于晏应助Daisy采纳,获得10
23秒前
YifanWang应助小圭采纳,获得30
23秒前
ZZ完成签到,获得积分10
24秒前
24秒前
浮游应助yyj采纳,获得10
24秒前
26秒前
赖风娇完成签到,获得积分20
26秒前
Cik完成签到,获得积分10
26秒前
Ava应助Wiki采纳,获得10
27秒前
不想再哭完成签到,获得积分20
27秒前
风枫叶完成签到,获得积分10
28秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
List of 1,091 Public Pension Profiles by Region 1621
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] | NHBS Field Guides & Natural History 1500
Lloyd's Register of Shipping's Approach to the Control of Incidents of Brittle Fracture in Ship Structures 1000
Brittle fracture in welded ships 1000
Metagames: Games about Games 700
Laryngeal Mask Anesthesia: Principles and Practice. 2nd ed 500
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 计算机科学 有机化学 物理 生物化学 纳米技术 复合材料 内科学 化学工程 人工智能 催化作用 遗传学 数学 基因 量子力学 物理化学
热门帖子
关注 科研通微信公众号,转发送积分 5572125
求助须知:如何正确求助?哪些是违规求助? 4657321
关于积分的说明 14720115
捐赠科研通 4598123
什么是DOI,文献DOI怎么找? 2523566
邀请新用户注册赠送积分活动 1494346
关于科研通互助平台的介绍 1464416