计算机科学
现场可编程门阵列
变压器
计算
并行计算
循环神经网络
高效能源利用
块(置换群论)
计算机工程
人工智能
计算机体系结构
人工神经网络
算法
嵌入式系统
电压
量子力学
电气工程
物理
工程类
数学
几何学
作者
Bingbing Li,Santosh Pandey,Haowen Fang,Yanjun Lyv,Ji Li,Jieyang Chen,Mimi Xie,Lipeng Wan,Hang Liu,Caiwen Ding
标识
DOI:10.1145/3370748.3406567
摘要
In natural language processing (NLP), the "Transformer" architecture was proposed as the first transduction model replying entirely on self-attention mechanisms without using sequence-aligned recurrent neural networks (RNNs) or convolution, and it achieved significant improvements for sequence to sequence tasks. The introduced intensive computation and storage of these pre-trained language representations has impeded their popularity into computation and memory constrained devices. The field-programmable gate array (FPGA) is widely used to accelerate deep learning algorithms for its high parallelism and low latency. However, the trained models are still too large to accommodate to an FPGA fabric. In this paper, we propose an efficient acceleration framework, Ftrans, for transformer-based large scale language representations. Our framework includes enhanced block-circulant matrix (BCM)-based weight representation to enable model compression on large-scale language representations at the algorithm level with few accuracy degradation, and an acceleration design at the architecture level. Experimental results show that our proposed framework significantly reduce the model size of NLP models by up to 16 times. Our FPGA design achieves 27.07× and 81 × improvement in performance and energy efficiency compared to CPU, and up to 8.80× improvement in energy efficiency compared to GPU.
科研通智能强力驱动
Strongly Powered by AbleSci AI