FTRANS: Energy-Efficient Acceleration of Transformers using FPGA

计算机科学 现场可编程门阵列 变压器 计算 高效能源利用 并行计算 循环神经网络 计算机工程 硬件加速 门阵列 人工智能 人工神经网络 算法 计算机硬件 电压 工程类 电气工程
作者
Bingbing Li,Santosh Pandey,Haowen Fang,Yanjun Lyv,Ji Li,Jieyang Chen,Mimi Xie,Lipeng Wan,Hang Liu,Caiwen Ding
出处
期刊:Cornell University - arXiv 被引量:8
标识
DOI:10.48550/arxiv.2007.08563
摘要

In natural language processing (NLP), the "Transformer" architecture was proposed as the first transduction model replying entirely on self-attention mechanisms without using sequence-aligned recurrent neural networks (RNNs) or convolution, and it achieved significant improvements for sequence to sequence tasks. The introduced intensive computation and storage of these pre-trained language representations has impeded their popularity into computation and memory-constrained devices. The field-programmable gate array (FPGA) is widely used to accelerate deep learning algorithms for its high parallelism and low latency. However, the trained models are still too large to accommodate to an FPGA fabric. In this paper, we propose an efficient acceleration framework, Ftrans, for transformer-based large scale language representations. Our framework includes enhanced block-circulant matrix (BCM)-based weight representation to enable model compression on large-scale language representations at the algorithm level with few accuracy degradation, and an acceleration design at the architecture level. Experimental results show that our proposed framework significantly reduces the model size of NLP models by up to 16 times. Our FPGA design achieves 27.07x and 81x improvement in performance and energy efficiency compared to CPU, and up to 8.80x improvement in energy efficiency compared to GPU.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
滴答发布了新的文献求助10
3秒前
高高的天亦完成签到 ,获得积分10
4秒前
星空完成签到 ,获得积分10
5秒前
文艺的青旋完成签到 ,获得积分10
5秒前
青黛完成签到 ,获得积分10
12秒前
大橙子发布了新的文献求助10
16秒前
领导范儿应助科研通管家采纳,获得10
17秒前
量子星尘发布了新的文献求助10
21秒前
明钟达完成签到 ,获得积分10
29秒前
byyyy完成签到,获得积分10
32秒前
高高的哈密瓜完成签到 ,获得积分10
36秒前
Rondab应助橙汁采纳,获得10
39秒前
读书的时候完成签到,获得积分10
41秒前
颜云尔完成签到,获得积分10
52秒前
孤独雨梅完成签到,获得积分10
55秒前
woobinhua完成签到 ,获得积分10
55秒前
雪落你看不见完成签到,获得积分10
57秒前
十月天秤完成签到,获得积分0
58秒前
依文完成签到,获得积分20
58秒前
ymr完成签到 ,获得积分10
59秒前
哦哦哦完成签到 ,获得积分10
1分钟前
jzmupyj完成签到,获得积分10
1分钟前
大橙子发布了新的文献求助10
1分钟前
xdlongchem完成签到,获得积分10
1分钟前
量子星尘发布了新的文献求助10
1分钟前
小梦完成签到,获得积分10
1分钟前
xuhang完成签到,获得积分10
1分钟前
ZSHAN完成签到,获得积分10
1分钟前
美满的机器猫完成签到,获得积分10
1分钟前
王小磊完成签到,获得积分10
1分钟前
谢花花完成签到 ,获得积分10
1分钟前
1分钟前
瓦罐完成签到 ,获得积分10
1分钟前
扁舟灬完成签到,获得积分10
1分钟前
Cpp完成签到 ,获得积分10
1分钟前
贤惠的老黑完成签到 ,获得积分10
1分钟前
ame1120发布了新的文献求助10
1分钟前
倦梦还完成签到,获得积分10
1分钟前
Sunrise完成签到,获得积分10
1分钟前
yyyy发布了新的文献求助10
1分钟前
高分求助中
【提示信息,请勿应助】关于scihub 10000
Les Mantodea de Guyane: Insecta, Polyneoptera [The Mantids of French Guiana] 3000
徐淮辽南地区新元古代叠层石及生物地层 3000
The Mother of All Tableaux: Order, Equivalence, and Geometry in the Large-scale Structure of Optimality Theory 3000
Handbook of Industrial Diamonds.Vol2 1100
Global Eyelash Assessment scale (GEA) 1000
Picture Books with Same-sex Parented Families: Unintentional Censorship 550
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 4038128
求助须知:如何正确求助?哪些是违规求助? 3575831
关于积分的说明 11373827
捐赠科研通 3305610
什么是DOI,文献DOI怎么找? 1819255
邀请新用户注册赠送积分活动 892655
科研通“疑难数据库(出版商)”最低求助积分说明 815022