HPTA: A High Performance Transformer Accelerator Based on FPGA

现场可编程门阵列 变压器 计算机科学 编码器 嵌入式系统 计算机硬件 计算机体系结构 电气工程 工程类 电压 操作系统
作者
Yuntao Han,Qiang Liu
标识
DOI:10.1109/fpl60245.2023.00012
摘要

The transformer neural networks have achieved remarkable performance in both Natural Language Processing (NLP) and Computer Vision (CV) applications, with encoder-decoder architecture based on attention layers. However, implementing transformers on resource-constrained devices presents challenges due to the super-large network structures and nontrivial dataflows. Field-Programmable Gate Arrays (FPGA) have been a promising platform for Neural Network (NN) acceleration due to their design flexibility and customization. Existing FPGA-based implementations of transformers face efficiency and generality issues. This paper proposes HPTA, a high-performance accelerator for implementing transformers on FPGA. We analyze the structural features of transformer networks and design the accelerator with configurable processing element, optimized data selection and arrangement and efficient memory subsystem, to support various transformers. We evaluate the performance of HPTA with BERT and Swin Transformer, the typical transformer models in NLP and CV. HPTA achieves up to 44× and 29× inference time reductions compared with the CPU implementation, and up to 17× and 10x energy efficiency improvements compared with the GPU implementation, for BERT and Swin Transformer, respectively. Compared to the existing FPGA-based accelerators, HPTA shows performance improvements up to 1.3× and 1.8× in inference time compared to NPE and Vis-TOP, respectively.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
鹿友菌完成签到,获得积分10
刚刚
齐嘉懿发布了新的文献求助10
刚刚
哈哈哈哈应助Atlantis采纳,获得50
1秒前
量子星尘发布了新的文献求助10
1秒前
张美发布了新的文献求助10
1秒前
mingjie完成签到,获得积分10
1秒前
yy完成签到,获得积分10
1秒前
2秒前
2秒前
3秒前
3秒前
钰L发布了新的文献求助30
3秒前
nana完成签到,获得积分10
4秒前
lilac发布了新的文献求助10
4秒前
共享精神应助小李采纳,获得10
4秒前
西洲发布了新的文献求助10
5秒前
搜集达人应助聪明钢铁侠采纳,获得10
6秒前
cc完成签到 ,获得积分10
6秒前
GET驳回了情怀应助
6秒前
7秒前
田様应助men采纳,获得10
7秒前
8秒前
我做饭举报铁臂阿童木求助涉嫌违规
9秒前
9秒前
10秒前
cc关注了科研通微信公众号
10秒前
冬眠完成签到,获得积分10
11秒前
科研小白完成签到,获得积分10
11秒前
Ava应助张美采纳,获得10
12秒前
打工肥仔完成签到,获得积分0
12秒前
深情安青应助听闻采纳,获得10
12秒前
微笑高山发布了新的文献求助10
13秒前
烂漫的芷蝶完成签到,获得积分10
13秒前
JYCKLTY完成签到,获得积分10
13秒前
13秒前
小熊发布了新的文献求助10
14秒前
lpp发布了新的文献求助10
14秒前
钰L完成签到,获得积分10
15秒前
小憨兔cc完成签到,获得积分10
15秒前
15秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Handbook of pharmaceutical excipients, Ninth edition 5000
Aerospace Standards Index - 2026 ASIN2026 3000
Polymorphism and polytypism in crystals 1000
Signals, Systems, and Signal Processing 610
Discrete-Time Signals and Systems 610
T/SNFSOC 0002—2025 独居石精矿碱法冶炼工艺技术标准 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 纳米技术 有机化学 物理 生物化学 化学工程 计算机科学 复合材料 内科学 催化作用 光电子学 物理化学 电极 冶金 遗传学 细胞生物学
热门帖子
关注 科研通微信公众号,转发送积分 6044674
求助须知:如何正确求助?哪些是违规求助? 7812729
关于积分的说明 16246013
捐赠科研通 5190401
什么是DOI,文献DOI怎么找? 2777383
邀请新用户注册赠送积分活动 1760580
关于科研通互助平台的介绍 1643734