Unified Accelerator for Attention and Convolution in Inference Based on FPGA

计算机科学 现场可编程门阵列 推论 卷积神经网络 计算 卷积(计算机科学) 计算机工程 并行计算 硬件加速 变压器 高效能源利用 建筑 人工智能 计算科学 嵌入式系统 人工神经网络 算法 物理 量子力学 电压 电气工程 工程类 艺术 视觉艺术
作者
Tianyang Li,Fan Zhang,Xitian Fan,Jianliang Shen,Wei Guo,Wei Cao
标识
DOI:10.1109/iscas46773.2023.10182145
摘要

Many models combining Transformers with convolutional neural networks (CNNs) for computer vision tasks have achieved state-of-the-art results. However, due to the different computation patterns between attention and convolution, using a dedicated Transformer or CNN accelerator will inevitably reduce the computing efficiency of the other. To overcome this problem, we propose a unified architecture for attention and convolution on FPGA. We reduce runtime overhead by offloading part of self-attention computations offline before inference. Furthermore, we present a unified mapping method according to the computing characteristics of attention-based and convolution-based models. This accelerator implements multi-head attention in Transformer, independent ResNet-50 and hybrid blocks of attention and con-volution in BoTNet-50 at 200MHz on Xilinx Virtex Ultrascale+ XCVU37P. Experimental results show that the solution is nearly 3.62 times more energy-efficient than the NVIDIA V100 GPU, and the computational efficiency is 11.86% and 28.29% higher than the state-of-the-art Transformer and ResNet-50 accelerators, respectively.
最长约 10秒,即可获得该文献文件

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
2秒前
3秒前
gsj发布了新的文献求助10
4秒前
5秒前
所所应助wonder123采纳,获得10
5秒前
6秒前
6秒前
6秒前
田様应助忆茶戏采纳,获得10
6秒前
wss完成签到,获得积分10
7秒前
7秒前
7秒前
song_song发布了新的文献求助10
8秒前
桐桐应助贪玩的野狍子采纳,获得50
8秒前
路小黑发布了新的文献求助10
9秒前
wss发布了新的文献求助10
9秒前
UsihaGuwalgiya完成签到,获得积分10
10秒前
10秒前
11秒前
独特乘云发布了新的文献求助10
11秒前
12秒前
yyyyxxxg完成签到,获得积分10
13秒前
14秒前
健壮的花生zzz完成签到,获得积分10
15秒前
15秒前
Michael-布莱恩特完成签到,获得积分10
16秒前
323431完成签到,获得积分10
17秒前
烟花应助郭小宝采纳,获得10
17秒前
lzx发布了新的文献求助10
18秒前
LJF完成签到,获得积分10
19秒前
量子星尘发布了新的文献求助10
19秒前
19秒前
古月发布了新的文献求助10
19秒前
麦子发布了新的文献求助10
20秒前
传奇3应助孙传彬采纳,获得10
20秒前
所所应助songvv采纳,获得10
21秒前
Chris完成签到,获得积分10
22秒前
JamesPei应助尊敬寒松采纳,获得10
23秒前
ZYH完成签到 ,获得积分10
23秒前
23秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
ACSM’s Guidelines for Exercise Testing and Prescription, 12th edition 500
‘Unruly’ Children: Historical Fieldnotes and Learning Morality in a Taiwan Village (New Departures in Anthropology) 400
Indomethacinのヒトにおける経皮吸収 400
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 350
Robot-supported joining of reinforcement textiles with one-sided sewing heads 320
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3989444
求助须知:如何正确求助?哪些是违规求助? 3531531
关于积分的说明 11254250
捐赠科研通 3270191
什么是DOI,文献DOI怎么找? 1804901
邀请新用户注册赠送积分活动 882105
科研通“疑难数据库(出版商)”最低求助积分说明 809174