Famous: Flexible Accelerator for the Attention Mechanism of Transformer on Ultrascale+ FPGAs

This paper proposes FAMOUS, a flexible hardware accelerator for dense multi-head attention (MHA) computation of Transformer neural networks (TNNs) on field-programmable gate arrays (FPGAs). It is optimized for high utilization of processing elements and on-chip memories to improve parallelism and reduce latency. An efficient tiling of large matrices has been employed to distribute memory and computing resources across different modules on various FPGA platforms. The design is evaluated on Xilinx Alveo U55C data center cards containing Ultrascale+ FPGAs. Experimental results showed that it can attain a maximum throughput, the number of parallel attention heads, embedding dimension, and tile size of 328 (giga operations/second (GOPS)), 8, 768 and 64 respectively on the U55C. Furthermore, it is <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$3.28 \times$</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.6 \times$</tex> faster than the Intel Xeon Gold 5220R CPU and NVIDIA V100 GPU respectively. It is also <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\text{1. 3} \times$</tex> faster than the fastest state-of-the-art FPGA-based accelerator.

Authors

Institutions

Publication Details

Published
2024-12-10
DOI
https://doi.org/10.1109/icfpt64416.2024.11113430
Citations
2
Primary Topic
Magneto-Optical Properties and Applications
Type
article
Field-Weighted Citation Impact
0.42
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Famous: Flexible Accelerator for the Attention Mechanism of Transformer on Ultrascale+ FPGAs

Jason D. Bakos, Austin Downey, Ehsan Kabir, David Andrews et al.
2 citations
Magneto-Optical Properties and Applications
0.42
article

Famous: Flexible Accelerator for the Attention Mechanism of Transformer on Ultrascale+ FPGAs

Jason D. Bakos, Austin Downey, Ehsan Kabir, David Andrews, Miaoqing Huang, MD Arafat Kabir
article en
2 citations

Abstract

This paper proposes FAMOUS, a flexible hardware accelerator for dense multi-head attention (MHA) computation of Transformer neural networks (TNNs) on field-programmable gate arrays (FPGAs). It is optimized for high utilization of processing elements and on-chip memories to improve parallelism and reduce latency. An efficient tiling of large matrices has been employed to distribute memory and computing resources across different modules on various FPGA platforms. The design is evaluated on Xilinx Alveo U55C data center cards containing Ultrascale+ FPGAs. Experimental results showed that it can attain a maximum throughput, the number of parallel attention heads, embedding dimension, and tile size of 328 (giga operations/second (GOPS)), 8, 768 and 64 respectively on the U55C. Furthermore, it is <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$3.28 \times$</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.6 \times$</tex> faster than the Intel Xeon Gold 5220R CPU and NVIDIA V100 GPU respectively. It is also <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\text{1. 3} \times$</tex> faster than the fastest state-of-the-art FPGA-based accelerator.

University of South Carolina (US), University of Arkansas at Fayetteville (US)
Affordable and clean energy
Openalex Percentile: Top 35%
Magneto-Optical Properties and Applications
0.42
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.