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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
sw98318发布了新的文献求助10
1秒前
wang1090完成签到,获得积分10
1秒前
奋斗的许婷2完成签到,获得积分10
1秒前
1秒前
2秒前
hll完成签到,获得积分20
2秒前
阳yang发布了新的文献求助10
2秒前
3秒前
wang1090发布了新的文献求助30
4秒前
呜呜呜呜完成签到,获得积分10
4秒前
4秒前
Riki发布了新的文献求助10
5秒前
88发布了新的文献求助10
5秒前
6秒前
充电宝应助zfy采纳,获得10
7秒前
sak完成签到,获得积分10
8秒前
Shuo Yang发布了新的文献求助20
8秒前
呜呜呜呜发布了新的文献求助10
8秒前
在水一方应助hhzz采纳,获得10
8秒前
旧是完成签到 ,获得积分10
9秒前
脑洞疼应助科研通管家采纳,获得10
9秒前
杨小胖完成签到 ,获得积分10
10秒前
CodeCraft应助科研通管家采纳,获得10
10秒前
mm发布了新的文献求助10
10秒前
10秒前
bkagyin应助科研通管家采纳,获得10
10秒前
shouyu29应助科研通管家采纳,获得10
10秒前
天天快乐应助科研通管家采纳,获得10
10秒前
RC_Wang应助科研通管家采纳,获得10
10秒前
充电宝应助科研通管家采纳,获得10
10秒前
10秒前
领导范儿应助科研通管家采纳,获得10
10秒前
科研通AI5应助科研通管家采纳,获得10
10秒前
田様应助科研通管家采纳,获得10
10秒前
11秒前
丘比特应助科研通管家采纳,获得10
11秒前
CodeCraft应助科研通管家采纳,获得30
11秒前
sutharsons应助科研通管家采纳,获得30
11秒前
归海含烟完成签到,获得积分10
11秒前
科研通AI2S应助科研通管家采纳,获得10
11秒前
高分求助中
Continuum Thermodynamics and Material Modelling 3000
Production Logging: Theoretical and Interpretive Elements 2700
Social media impact on athlete mental health: #RealityCheck 1020
Ensartinib (Ensacove) for Non-Small Cell Lung Cancer 1000
Unseen Mendieta: The Unpublished Works of Ana Mendieta 1000
Bacterial collagenases and their clinical applications 800
El viaje de una vida: Memorias de María Lecea 800
热门求助领域 (近24小时)
化学 材料科学 生物 医学 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 基因 遗传学 物理化学 催化作用 量子力学 光电子学 冶金
热门帖子
关注 科研通微信公众号,转发送积分 3527961
求助须知:如何正确求助?哪些是违规求助? 3108159
关于积分的说明 9287825
捐赠科研通 2805882
什么是DOI,文献DOI怎么找? 1540070
邀请新用户注册赠送积分活动 716926
科研通“疑难数据库(出版商)”最低求助积分说明 709808