Hardware Acceleration for Detrs Using Systolic Array Architecture

Transformer models have shown great potential on visual tasks in recent studies, especially the DETR series models, which have revolutionized the traditional convolutional neural network-based object detection tasks. However, the high computation complexity in DETRs poses great challenge in hardware deployment. To enable deployment in edge computing scenarios, efficient hardware acceleration is essential. Among the computations of DETRs, the Multi-Head Attention (MHA) mechanism is the most demanding in terms of hardware resources and computation time. In this paper, we present a hardware accelerator based on a systolic array architecture to compute the MHA module efficiently. A dedicated softmax accelerator is integrated within the array sequence to handle the softmax operation between matrix multiplications. We take RT-DETR, the latest model of DETRs as an example to accelerate its core AIFI MHA module. Our design is described by hardware description language and evaluated on a Xilinx xczu15eg FPGA. Experimental results show an <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$8.98 \times$</tex> speedup over CPUs and a <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.2 \times$</tex> speedup over GPUs, along with a <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.1 \times$</tex> improvement in energy efficiency compared to CPUs. With our accelerator, the difficulty of hardware deployment for DETRs in hardware-constrained environments should be greatly reduced.

Authors

Institutions

Publication Details

Published
2025-04-11
DOI
https://doi.org/10.1109/ainit65432.2025.11035038
Primary Topic
Embedded Systems Design Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hardware Acceleration for Detrs Using Systolic Array Architecture

Ruixiao Zhao, Min Xie, Xinchen Li, Yujie Zhang
Embedded Systems Design Techniques
article

Hardware Acceleration for Detrs Using Systolic Array Architecture

Ruixiao Zhao, Min Xie, Xinchen Li, Yujie Zhang
article en

Abstract

Transformer models have shown great potential on visual tasks in recent studies, especially the DETR series models, which have revolutionized the traditional convolutional neural network-based object detection tasks. However, the high computation complexity in DETRs poses great challenge in hardware deployment. To enable deployment in edge computing scenarios, efficient hardware acceleration is essential. Among the computations of DETRs, the Multi-Head Attention (MHA) mechanism is the most demanding in terms of hardware resources and computation time. In this paper, we present a hardware accelerator based on a systolic array architecture to compute the MHA module efficiently. A dedicated softmax accelerator is integrated within the array sequence to handle the softmax operation between matrix multiplications. We take RT-DETR, the latest model of DETRs as an example to accelerate its core AIFI MHA module. Our design is described by hardware description language and evaluated on a Xilinx xczu15eg FPGA. Experimental results show an <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$8.98 \times$</tex> speedup over CPUs and a <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.2 \times$</tex> speedup over GPUs, along with a <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$2.1 \times$</tex> improvement in energy efficiency compared to CPUs. With our accelerator, the difficulty of hardware deployment for DETRs in hardware-constrained environments should be greatly reduced.

Beijing Institute of Technology (CN)
Affordable and clean energy
Openalex Percentile: Top 86%
Embedded Systems Design Techniques
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.

Hardware Acceleration for Detrs Using Systolic Array Architecture — Ruixiao Zhao, Min Xie, et al. · (2025) | TGRS Research Map | TGRS