On the Power of Convolution-Augmented Transformer

变压器 卷积(计算机科学) 计算机科学 数学 电气工程 工程类 人工智能 电压 人工神经网络
作者
Mingchen Li,Xuechen Zhang,Yixiao Huang,Samet Oymak
出处
期刊:Proceedings of the ... AAAI Conference on Artificial Intelligence [Association for the Advancement of Artificial Intelligence]
卷期号:39 (17): 18393-18402
标识
DOI:10.1609/aaai.v39i17.34024
摘要

The transformer architecture has catalyzed revolutionary advances in language modeling. However, recent architectural recipes, such as state-space models, have bridged the performance gap. Motivated by this, we examine the benefits of Convolution-Augmented Transformer (CAT) for recall, copying, and length generalization tasks. CAT incorporates convolutional filters in the K/Q/V embeddings of an attention layer. Through CAT, we show that the locality of the convolution synergizes with the global view of the attention. Unlike comparable architectures, such as Mamba or transformer, CAT can provably solve the associative recall (AR) and copying tasks using a single layer while also enjoying guaranteed length generalization. We also establish computational tradeoffs between convolution and attention by characterizing how convolution can mitigate the need for full attention by summarizing the context window and creating salient summary tokens to attend. Evaluations on real datasets corroborate our findings and demonstrate that CAT and its variations indeed enhance the language modeling performance.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
为你等候完成签到,获得积分10
刚刚
少7一点8发布了新的文献求助10
1秒前
感动傲南完成签到,获得积分10
1秒前
乐观谷芹完成签到,获得积分10
3秒前
run完成签到 ,获得积分10
3秒前
3秒前
老实幻姬完成签到,获得积分10
3秒前
好困发布了新的文献求助10
5秒前
5秒前
111完成签到,获得积分10
6秒前
CodeCraft应助科研通管家采纳,获得10
7秒前
李爱国应助科研通管家采纳,获得10
7秒前
雪白访风完成签到,获得积分10
9秒前
咕噜噜完成签到 ,获得积分10
9秒前
jia发布了新的文献求助10
10秒前
逢场作戱__完成签到 ,获得积分10
10秒前
气煞我也完成签到 ,获得积分10
11秒前
pingbaby完成签到 ,获得积分10
11秒前
MHY完成签到,获得积分10
13秒前
淡定无施完成签到,获得积分10
13秒前
dan完成签到 ,获得积分10
15秒前
昵称完成签到 ,获得积分10
16秒前
健康的大门完成签到,获得积分10
16秒前
18秒前
jia完成签到,获得积分10
19秒前
徐慕源完成签到,获得积分10
19秒前
云峤完成签到 ,获得积分10
21秒前
iitj举报GinaLundhild06求助涉嫌违规
22秒前
yiming完成签到,获得积分10
22秒前
丘比特应助靓丽的紫菱采纳,获得10
22秒前
现代的代丝完成签到,获得积分10
23秒前
俞弼完成签到,获得积分10
23秒前
coffee完成签到 ,获得积分10
23秒前
flower完成签到,获得积分10
23秒前
24秒前
橘生淮南完成签到,获得积分10
25秒前
26秒前
1699Z完成签到 ,获得积分10
26秒前
兜里有糖完成签到,获得积分10
27秒前
夏洳完成签到 ,获得积分10
27秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
DIPPR Project 801 - Full Version 380
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7765973
求助须知:如何正确求助?哪些是违规求助? 9309914
关于积分的说明 20313137
捐赠科研通 7350746
什么是DOI,文献DOI怎么找? 3315010
关于科研通互助平台的介绍 2464526
邀请新用户注册赠送积分活动 2329570