HEAT: Efficient Vision Transformer Accelerator With Hybrid-Precision Quantization
Quantization is an important technique for the acceleration of transformer-based neural networks. Prior related works mainly consider quantization from the algorithm level. Their hardware implementation is inefficient. In this brief, we propose an efficient vision transformer accelerator with retraining-free and finetuning-free hybrid-precision quantization. At the algorithm level, the features and weights are divided into two parts: normal values and outlier values. These two parts are quantized with different bit widths and scaling factors. We use matrix transformation and group-wise quantization policy to improve hardware utilization. At the hardware level, we propose a two-stage FIFO group structure and a hierarchical interleaving data flow to further improve the utilization of the PE array. As a result, the input and weight matrices are quantized to 5.71 bits on average with 0.526 <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"> <tex-math notation="LaTeX">${\%}$ </tex-math></inline-formula> accuracy loss on Swin-T. The accelerator achieves a frame rate of 118.9 FPS and an energy efficiency of 43.58 GOPS/W on the ZCU102 FPGA board, better than state-of-the-art works.
Authors
- Yinhe Han (ORCID: https://orcid.org/0000-0003-0904-6681)
- Liang Chang (ORCID: https://orcid.org/0000-0002-6685-5576)
- Licheng Wu (ORCID: https://orcid.org/0000-0001-5739-634X)
- Jun Zhou (ORCID: https://orcid.org/0000-0003-2098-9621)
- Pan Zhao (ORCID: https://orcid.org/0009-0004-2864-0381)
- Haining Tan
- Donghui Xue
Institutions
- University of Electronic Science and Technology of China (CN)
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
- Beihang University (CN)
Publication Details
- Journal
- IEEE Transactions on Circuits & Systems II Express Briefs
- Published
- 2025-03-04
- DOI
- https://doi.org/10.1109/tcsii.2025.3547340
- Primary Topic
- CCD and CMOS Imaging Sensors
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China