mlsanityData to 7 Oct 2026

Hardware Accelerator for Multi-Head Attention and Position-Wise Feed-Forward in the Transformer

arXiv 2009.08605 ↗First posted 18 Sep 2020eess.SP cs.ARcited by 42

Not on the map. Why?

Abstract (arXiv)

Designing hardware accelerators for deep neural networks (DNNs) has been much desired. Nonetheless, most of these existing accelerators are built for either convolutional neural networks (CNNs) or recurrent neural networks (RNNs). Recently, the Transformer model is replacing the RNN in the natural language processing (NLP) area. However, because of intensive matrix computations and complicated data flow being involved, the hardware design for the Transformer model has never been reported. In this paper, we propose the first hardware accelerator for two key components, i.e., the multi-head attention (MHA) ResBlock and the position-wise feed-forward network (FFN) ResBlock, which are the two most complex layers in the Transformer. Firstly, an efficient method is introduced to partition the huge matrices in the Transformer, allowing the two ResBlocks to share most of the hardware resources. Secondly, the computation flow is well designed to ensure the high hardware utilization of the systolic array, which is the biggest module in our design. Thirdly, complicated nonlinear functions are highly optimized to further reduce the hardware complexity and also the latency of the entire system. Our design is coded using hardware description language (HDL) and evaluated on a Xilinx FPGA. Compared with the implementation on GPU with the same setting, the proposed design demonstrates a speed-up of 14.6x in the MHA ResBlock, and 3.4x in the FFN ResBlock, respectively. Therefore, this work lays a good foundation for building efficient hardware accelerators for multiple Transformer networks.

Key facts. Cited by 42 papers in the map (data through 7 Oct 2026). First posted on arXiv 18 Sep 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 5; 2023: 7; 2024: 16; 2025: 11; 2026: 1.

42 papers.

Sort:

By area:

  1. 2023Full Stack Optimization of Transformer Inference: a Surveycited by 79
  2. 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
  3. 2023A Survey of Techniques for Optimizing Transformer Inferencecited by 35
  4. 2022Enable Deep Learning on Mobile Devices: Methods, Systems, and Applicationscited by 32
  5. 2024LLMServingSim: A HW/SW Co-Simulation Infrastructure for LLM Inference Serving at Scalecited by 30
  6. 2022An Algorithm-Hardware Co-Optimized Framework for Accelerating N:M Sparse Transformerscited by 28
  7. 2023AccelTran: A Sparsity-Aware Accelerator for Dynamic Inference with Transformerscited by 24
  8. 2023Edge-MoE: Memory-Efficient Multi-Task Vision Transformer Architecture with Task-level Sparsity via Mixture-of-Expertscited by 23
  9. 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
  10. 2023SwiftTron: An Efficient Hardware Accelerator for Quantized Transformerscited by 17
  11. 2024A Survey on Hardware Accelerators for Large Language Modelscited by 15
  12. 2024Designing Efficient LLM Accelerators for Edge Devicescited by 13
30 more
  1. 2024MARCA: Mamba Accelerator with ReConfigurable Architecturecited by 13
  2. 2023TRON: Transformer Neural Network Acceleration with Non-Coherent Silicon Photonicscited by 12
  3. 2023ViTA: A Vision Transformer Inference Accelerator for Edge Applicationscited by 11
  4. 2025QUARK: Quantization-Enabled Circuit Sharing for Transformer Acceleration by Exploiting Common Patterns in Nonlinear Operationscited by 10
  5. 2024BETA: Binarized Energy-Efficient Transformer Accelerator at the Edgecited by 6
  6. 2025Low-Cost FlashAttention with Fused Exponential and Multiplication Hardware Operatorscited by 5
  7. 2025Kelle: Co-design KV Caching and eDRAM for Efficient LLM Serving in Edge Computingcited by 5
  8. 2025SOLE: Hardware-Software Co-design of Softmax and LayerNorm for Efficient Transformer Inferencecited by 5
  9. 2024P2-ViT: Power-of-Two Post-Training Quantization and Acceleration for Fully Quantized Vision Transformercited by 4
  10. 2024Integrated Hardware Architecture and Device Placement Searchcited by 4
  11. 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
  12. 2024Hardware Acceleration of LLMs: A comprehensive survey and comparisoncited by 3
  13. 2024A Runtime-Adaptive Transformer Neural Network Accelerator on FPGAscited by 3
  14. 2021Vis-TOP: Visual Transformer Overlay Processorcited by 2
  15. 2022Row-wise Accelerator for Vision Transformercited by 2
  16. 2024From Algorithm to Hardware: A Survey on Efficient and Safe Deployment of Deep Neural Networkscited by 2
  17. 2024Co-Designing Binarized Transformer and Hardware Accelerator for Efficient End-to-End Edge Deploymentcited by 2
  18. 2025FLASH-D: FlashAttention with Hidden Softmax Divisioncited by 2
  19. 2021Dynamic Multi-Branch Layers for On-Device Neural Machine Translationcited by 1
  20. 2022Fast and Accurate FSA System Using ELBERT: An Efficient and Lightweight BERTcited by 1
  21. 2024Accelerating Neural Networks for Large Language Models and Graph Processing with Silicon Photonicscited by 1
  22. 2024ARTEMIS: A Mixed Analog-Stochastic In-DRAM Accelerator for Transformer Neural Networkscited by 1
  23. 2024ProTEA: Programmable Transformer Encoder Acceleration on FPGAcited by 1
  24. 2024FAMOUS: Flexible Accelerator for the Attention Mechanism of Transformer on UltraScale+ FPGAscited by 1
  25. 2025A Low-Power Streaming Speech Enhancement Accelerator For Edge Devicescited by 1
  26. 2025Design and Implementation of an FPGA-Based Hardware Accelerator for Transformercited by 0
  27. 2025Accelerating Sparse Transformer Inference on GPUcited by 0
  28. 2025Vectorized FlashAttention with Low-cost Exponential Computation in RISC-V Vector Processorscited by 0
  29. 2025F-BFQ: Flexible Block Floating-Point Quantization Accelerator for LLMscited by 0
  30. 2026DxPTA: An Architecture Design Space Exploration with Optical Dataflow-guided Strategy for HW/SW Co-Design of Photonic Transformer Acceleratorscited by 0