An Integer-Only and Group-Vector Systolic Accelerator for Efficiently Mapping Vision Transformer on Edge

计算机科学 现场可编程门阵列 矩阵乘法 边缘设备 收缩阵列 变压器 边缘计算 并行计算 计算机硬件 计算机工程 嵌入式系统 工程类 物联网 超大规模集成 云计算 物理 量子力学 电压 电气工程 量子 操作系统
作者
Mingqiang Huang,J.P. Luo,Chenchen Ding,Zikun Wei,Sixiao Huang,Hao Yu
出处
期刊:IEEE Transactions on Circuits and Systems I-regular Papers [Institute of Electrical and Electronics Engineers]
卷期号:70 (12): 5289-5301 被引量:9
标识
DOI:10.1109/tcsi.2023.3312775
摘要

Transformer-like network has shown remarkable high performance in both natural language processing and computer vision. However, the huge computational demands in non-linear floating-point arithmetic and the irregular memory access requirement in self-attention mechanism make it still a challenge to deploy Transformer on edge. To address the above issues, we propose integer-only quantization scheme for the simplification of non-linear operations (such as LayerNorm, Softmax and Gelu), meanwhile algorithm-hardware co-design strategy is applied to guarantee both the high accuracy and high efficiency. Besides, we construct general-purpose group vector systolic array to efficiently accelerate the matrix multiplication operations including both regular matrix-multiplication/convolution and the irregular multi-head self-attention mechanism. Unified data-package strategy and flexible on-/off-chip data storage management strategy are also proposed to further improve the performance. The design has been deployed on Xilinx ZCU102 FPGA platform, achieving an overall inference latency of 4.077ms and 11.15ms per image for ViT-tiny and ViT-s, respectively. The average throughput can reach as high as 762.7 GOPs, which shows significant improvement over the previous state-of-the-art FPGA Transformer accelerator.

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

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小张发布了新的文献求助30
刚刚
dengdengdeng发布了新的文献求助10
刚刚
刚刚
愉快幻悲完成签到,获得积分10
2秒前
ecoli发布了新的文献求助10
2秒前
周奕迅发布了新的文献求助10
3秒前
小宝爸爸发布了新的文献求助10
4秒前
yang完成签到,获得积分10
5秒前
慕青应助灰底爆米花采纳,获得10
5秒前
852应助nicewink采纳,获得10
6秒前
dengdengdeng完成签到,获得积分10
7秒前
叮当发布了新的文献求助10
8秒前
bkagyin应助keyanrubbish采纳,获得30
10秒前
xtt完成签到,获得积分10
12秒前
Aimee完成签到 ,获得积分10
14秒前
14秒前
小马甲应助Arui采纳,获得10
14秒前
大个应助hg08采纳,获得10
16秒前
17秒前
DELI完成签到 ,获得积分10
18秒前
隐形曼青应助科研通管家采纳,获得10
19秒前
酷波er应助科研通管家采纳,获得10
19秒前
YamDaamCaa应助科研通管家采纳,获得30
19秒前
ED应助科研通管家采纳,获得10
19秒前
大模型应助科研通管家采纳,获得10
19秒前
科研通AI2S应助科研通管家采纳,获得10
19秒前
搜集达人应助科研通管家采纳,获得10
19秒前
kecheng应助科研通管家采纳,获得10
19秒前
YamDaamCaa应助科研通管家采纳,获得30
19秒前
19秒前
19秒前
19秒前
orixero应助sss采纳,获得10
21秒前
21秒前
周奕迅完成签到,获得积分20
23秒前
mashichuang发布了新的文献求助10
23秒前
24秒前
keyanrubbish发布了新的文献求助30
25秒前
27秒前
Qenyo发布了新的文献求助10
30秒前
高分求助中
A new approach to the extrapolation of accelerated life test data 1000
Indomethacinのヒトにおける経皮吸収 400
基于可调谐半导体激光吸收光谱技术泄漏气体检测系统的研究 370
Phylogenetic study of the order Polydesmida (Myriapoda: Diplopoda) 370
Robot-supported joining of reinforcement textiles with one-sided sewing heads 320
Aktuelle Entwicklungen in der linguistischen Forschung 300
Current Perspectives on Generative SLA - Processing, Influence, and Interfaces 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 内科学 纳米技术 计算机科学 化学工程 复合材料 遗传学 基因 物理化学 催化作用 冶金 细胞生物学 免疫学
热门帖子
关注 科研通微信公众号,转发送积分 3991794
求助须知:如何正确求助?哪些是违规求助? 3532981
关于积分的说明 11260197
捐赠科研通 3272241
什么是DOI,文献DOI怎么找? 1805664
邀请新用户注册赠送积分活动 882609
科研通“疑难数据库(出版商)”最低求助积分说明 809405