A Practical Survey on Faster and Lighter Transformers

计算机科学 变压器 机器学习 计算 人工智能 算法 量子力学 物理 电压
作者
Quentin Fournier,Gaétan Marceau Caron,Daniel Aloise
出处
期刊:ACM Computing Surveys [Association for Computing Machinery]
卷期号:55 (14s): 1-40 被引量:11
标识
DOI:10.1145/3586074
摘要

Recurrent neural networks are effective models to process sequences. However, they are unable to learn long-term dependencies because of their inherent sequential nature. As a solution, Vaswani et al. introduced the Transformer, a model solely based on the attention mechanism that is able to relate any two positions of the input sequence, hence modelling arbitrary long dependencies. The Transformer has improved the state-of-the-art across numerous sequence modelling tasks. However, its effectiveness comes at the expense of a quadratic computational and memory complexity with respect to the sequence length, hindering its adoption. Fortunately, the deep learning community has always been interested in improving the models’ efficiency, leading to a plethora of solutions such as parameter sharing, pruning, mixed-precision, and knowledge distillation. Recently, researchers have directly addressed the Transformer’s limitation by designing lower-complexity alternatives such as the Longformer, Reformer, Linformer, and Performer. However, due to the wide range of solutions, it has become challenging for researchers and practitioners to determine which methods to apply in practice to meet the desired tradeoff between capacity, computation, and memory. This survey addresses this issue by investigating popular approaches to make Transformers faster and lighter and by providing a comprehensive explanation of the methods’ strengths, limitations, and underlying assumptions.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
大幅提高文件上传限制,最高150M (2024-4-1)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
常常发布了新的文献求助10
6秒前
又又完成签到,获得积分10
7秒前
逝水完成签到 ,获得积分10
9秒前
20秒前
lixiaorui发布了新的文献求助10
25秒前
37秒前
xichang完成签到 ,获得积分10
44秒前
roundtree完成签到 ,获得积分0
49秒前
stiger完成签到,获得积分10
54秒前
干净山彤完成签到 ,获得积分10
55秒前
常常完成签到,获得积分20
56秒前
笨笨忘幽完成签到,获得积分10
1分钟前
研友Bn完成签到 ,获得积分10
1分钟前
蔡从安发布了新的文献求助10
1分钟前
番茄小超人2号完成签到 ,获得积分10
1分钟前
握瑾怀瑜完成签到 ,获得积分0
1分钟前
小赵完成签到 ,获得积分10
1分钟前
1250241652完成签到,获得积分10
1分钟前
1分钟前
雨天完成签到,获得积分10
1分钟前
个性的紫菜应助蔡从安采纳,获得10
1分钟前
雨天发布了新的文献求助10
1分钟前
chichenglin完成签到 ,获得积分10
1分钟前
Hello应助苦咖啡采纳,获得10
1分钟前
华仔应助nini采纳,获得10
1分钟前
CLTTT完成签到,获得积分10
1分钟前
LT完成签到 ,获得积分10
1分钟前
无辜的行云完成签到 ,获得积分10
2分钟前
冬叶完成签到,获得积分10
2分钟前
扶光完成签到 ,获得积分10
2分钟前
DragonAca完成签到,获得积分10
2分钟前
liguanyu1078完成签到,获得积分10
2分钟前
David完成签到 ,获得积分10
2分钟前
我是125完成签到,获得积分10
2分钟前
机智若云完成签到,获得积分10
2分钟前
苜蓿完成签到 ,获得积分10
2分钟前
简简单单完成签到 ,获得积分10
2分钟前
boblau完成签到 ,获得积分10
2分钟前
star应助科研通管家采纳,获得10
2分钟前
star应助科研通管家采纳,获得10
2分钟前
高分求助中
Manual of Clinical Microbiology, 4 Volume Set (ASM Books) 13th Edition 1000
Sport in der Antike 800
De arte gymnastica. The art of gymnastics 600
Berns Ziesemer - Maos deutscher Topagent: Wie China die Bundesrepublik eroberte 500
Stephen R. Mackinnon - Chen Hansheng: China’s Last Romantic Revolutionary (2023) 500
Sport in der Antike Hardcover – March 1, 2015 500
Psychological Warfare Operations at Lower Echelons in the Eighth Army, July 1952 – July 1953 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 有机化学 工程类 生物化学 纳米技术 物理 内科学 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 电极 光电子学 量子力学
热门帖子
关注 科研通微信公众号,转发送积分 2425203
求助须知:如何正确求助?哪些是违规求助? 2112447
关于积分的说明 5350512
捐赠科研通 1840394
什么是DOI,文献DOI怎么找? 915913
版权声明 561327
科研通“疑难数据库(出版商)”最低求助积分说明 489899