mlsanityData to 7 Oct 2026

ProTEA: Programmable Transformer Encoder Acceleration on FPGA

arXiv 2409.13975 ↗First posted 21 Sep 2024cs.AR cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

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 textitProTEA, a runtime programmable accelerator tailored for the dense computations of most of state-of-the-art transformer encoders. textitProTEA 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 textitProTEA on a Xilinx Alveo U55C high-performance data center accelerator card. Experimental results demonstrate that textitProTEA 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 textitProTEA is 2.5× faster than an NVIDIA Titan XP GPU. Results also show that it achieves 1.3 -- 2.8× speed up compared with current state-of-the-art custom designed FPGA accelerators.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 35 references that are in the map. First posted on arXiv 21 Sep 2024.

Builds on

15 of 35 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  4. 2020SpAtten: Efficient Sparse Attention Architecture with Cascade Token and Head Pruningcited by 228
  5. 2019StructBERT: Incorporating Language Structures into Pre-training for Deep Language Understandingcited by 108
  6. 2020A3: Accelerating Attention Mechanisms in Neural Networks with Approximationcited by 97
  7. 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 95
  8. 2024FlightLLM: Efficient Large Language Model Inference with a Complete Mapping Flow on FPGAscited by 60
  9. 2020FTRANS: Energy-Efficient Acceleration of Transformers using FPGAcited by 52
  10. 2020Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformercited by 42
  11. 2021Accelerating Framework of Transformer by Hardware Design and Model Compression Co-Optimizationcited by 27
  12. 2022A Length Adaptive Algorithm-Hardware Co-design of Transformer on FPGA Through Sparse Attention and Dynamic Pipeliningcited by 21
3 more
  1. 2024Ultra Fast Transformers on FPGAs for Particle Physics Experimentscited by 6
  2. 2023An Efficient FPGA-Based Accelerator for Swin Transformercited by 5
  3. 2023Accelerating LSTM-based High-Rate Dynamic System Modelscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.