跳到主要导航 跳到搜索 跳到主要内容

Accommodating Transformer onto FPGA: Coupling the Balanced Model Compression and FPGA-Implementation Optimization

  • East China Normal University
  • University of Connecticut

科研成果: 书/报告/会议事项章节会议稿件同行评审

摘要

Recently, Transformers gradually gain popularity and perform outstanding for many Natural Language Processing (NLP) tasks. However, Transformers suffer from heavy computation and memory footprint, making it difficult to deploy on embedded devices. The field-programmable gate array (FPGA) is widely used to accelerate deep learning algorithms for its advantages. However, the trained Transformer models are too large to accommodate to an FPGA fabric. To accommodate Transformer onto FPGA and achieve efficient execution, we propose an acceleration framework coupling the balanced model compression at the algorithm level and FPGA-implementation optimization at the hardware level. At algorithm level, we adopt a block-balanced pruning and propose an efficient sparse matrix storage format for this pruning technique, named Compressed Block Row (CBR). At the hardware level, we design an accelerator for sparse model. And we also abstract a performance analytic model to evaluate the performance of accelerator. Experiments show that our CBR format perform better than general formats and can significantly save storage space. And our accelerator can achieve $38\times$ and $1.93\times$ speedup compared to other works on CPU and GPU respectively.

源语言英语
主期刊名GLSVLSI 2021 - Proceedings of the 2021 Great Lakes Symposium on VLSI
出版商Association for Computing Machinery
163-168
页数6
ISBN(电子版)9781450383936
DOI
出版状态已出版 - 22 6月 2021
活动31st Great Lakes Symposium on VLSI, GLSVLSI 2021 - Virtual, Online, 美国
期限: 22 6月 202125 6月 2021

出版系列

姓名Proceedings of the ACM Great Lakes Symposium on VLSI, GLSVLSI

会议

会议31st Great Lakes Symposium on VLSI, GLSVLSI 2021
国家/地区美国
Virtual, Online
时期22/06/2125/06/21

指纹

探究 'Accommodating Transformer onto FPGA: Coupling the Balanced Model Compression and FPGA-Implementation Optimization' 的科研主题。它们共同构成独一无二的指纹。

引用此