paper-with-me

Papers

ProTEA: Programmable Transformer Encoder Acceleration on FPGA

2024-09-21 · Ehsan Kabir, Jason D. Bakos, David Andrews, Miaoqing Huang

Transformer neural networks (TNN) have been widely utilized on a diverse range of applications, including natural language processing (NLP), machine translation, and computer vision (CV). Their widespread adoption has been primarily driven by the exceptional performance of their multi-head self-attention block used to extract key features from sequential data. The multi-head self-attention block is followed by feedforward neural networks, which play a crucial role in introducing non-linearity to assist the model in learning complex patterns. Despite the popularity of TNNs, there has been limited numbers of hardware accelerators targeting these two critical blocks. Most prior works have concentrated on sparse architectures that are not flexible for popular TNN variants. This paper introduces \textit{ProTEA}, a runtime programmable accelerator tailored for the dense computations of most of state-of-the-art transformer encoders. \textit{ProTEA} is designed to reduce latency by maximizing parallelism. We introduce an efficient tiling of large matrices that can distribute memory and computing resources across different hardware components within the FPGA. We provide run time evaluations of \textit{ProTEA} on a Xilinx Alveo U55C high-performance data center accelerator card. Experimental results demonstrate that \textit{ProTEA} can host a wide range of popular transformer networks and achieve near optimal performance with a tile size of 64 in the multi-head self-attention block and 6 in the feedforward networks block when configured with 8 parallel attention heads, 12 layers, and an embedding dimension of 768 on the U55C. Comparative results are provided showing \textit{ProTEA} is 2.5$\times$ faster than an NVIDIA Titan XP GPU. Results also show that it achieves 1.3 -- 2.8$\times$ speed up compared with current state-of-the-art custom designed FPGA accelerators.

📄 PDF Abstract BibTeX arXiv:2409.13975

Code (0)

등록된 구현이 없습니다.

Tasks

GPUMachine Translation

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음
SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

HG-PIPE: Vision Transformer Acceleration with Hybrid-Grained Pipeline

2024-07-25 · Qingyu Guo, Jiayong Wan, Songqiang Xu, Meng Li 외

Vision Transformer (ViT) acceleration with field programmable gate array (FPGA) is promising but challenging. Existing FPGA-based ViT accelerators mainly rely on temporal architectures, which process different operators …

GPU

FTRANS: Energy-Efficient Acceleration of Transformers using FPGA

2020-07-16 · Bingbing Li, Santosh Pandey, Haowen Fang, Yanjun Lyv 외

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 (R…

CPUGPUModel Compression

A survey on FPGA-based accelerator for ML models

2024-12-20 · Feng Yan, Andreas Koch, Oliver Sinnen

This paper thoroughly surveys machine learning (ML) algorithms acceleration in hardware accelerators, focusing on Field-Programmable Gate Arrays (FPGAs). It reviews 287 out of 1138 papers from the past six years, sourced…

Survey

Classical Hardware Acceleration of Quantum Autoencoders for Real-Time Anomaly Detection in Collider Experiments

2026-07-22 · Ivan Ge, Sagar Addepalli, Abhilasha Dave, Julia Gonski arxiv

Quantum machine learning (QML) algorithms in high energy physics (HEP) can efficiently represent and leverage long-range, high-order correlations in high-dimensional collider data, potentially with fewer parameters and f…

Quantum Machine LearningAnomaly Detection

A Data-Center FPGA Acceleration Platform for Convolutional Neural Networks

2019-09-17 · Xiaoyu Yu, Yuwei Wang, Jie Miao, Ephrem Wu 외

Intensive computation is entering data centers with multiple workloads of deep learning. To balance the compute efficiency, performance, and total cost of ownership (TCO), the use of a field-programmable gate array (FPGA…

GPU