paper-with-me

Papers

FTRANS: Energy-Efficient Acceleration of Transformers using FPGA

2020-07-16 · Bingbing Li, Santosh Pandey, Haowen Fang, Yanjun Lyv, Ji Li, Jieyang Chen, Mimi Xie, Lipeng Wan, Hang Liu, Caiwen Ding

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 reduces the model size of NLP models by up to 16 times. Our FPGA design achieves 27.07x and 81x improvement in performance and energy efficiency compared to CPU, and up to 8.80x improvement in energy efficiency compared to GPU.

📄 PDF Abstract BibTeX arXiv:2007.08563

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUModel Compression

Similar Papers 제목 키워드 기반

BETA: Binarized Energy-Efficient Transformer Accelerator at the Edge

2024-01-22 · Yuhao Ji, Chao Fang, Zhongfeng Wang

Existing binary Transformers are promising in edge deployment due to their compact model size, low computational complexity, and considerable inference accuracy. However, deploying binary Transformers faces challenges on…

SWAT: Scalable and Efficient Window Attention-based Transformers Acceleration on FPGAs

2024-05-27 · Zhenyu Bai, Pranav Dangi, Huize Li, Tulika Mitra

Efficiently supporting long context length is crucial for Transformer models. The quadratic complexity of the self-attention computation plagues traditional Transformers. Sliding window-based static sparse attention miti…

GPU

A GPU-Outperforming FPGA Accelerator Architecture for Binary Convolutional Neural Networks

2017-02-20 · Yixing Li, Zichuan Liu, Kai Xu, Hao Yu 외

FPGA-based hardware accelerators for convolutional neural networks (CNNs) have obtained great attentions due to their higher energy efficiency than GPUs. However, it is challenging for FPGA-based solutions to achieve a h…

GPU

Auto-ViT-Acc: An FPGA-Aware Automatic Acceleration Framework for Vision Transformer with Mixed-Scheme Quantization

2022-08-10 · Zhengang Li, Mengshu Sun, Alec Lu, Haoyu Ma 외

Vision transformers (ViTs) are emerging with significantly improved accuracy in computer vision tasks. However, their complex architecture and enormous computation/storage demand impose urgent needs for new hardware acce…

Quantization

HLSTransform: Energy-Efficient Llama 2 Inference on FPGAs Via High Level Synthesis

2024-04-29 · Andy He, Darren Key, Mason Bulling, Andrew Chang 외

Graphics Processing Units (GPUs) have become the leading hardware accelerator for deep learning applications and are used widely in training and inference of transformers; transformers have achieved state-of-the-art perf…

CPUEdge-computingGPUHigh-Level Synthesis