An FPGA-Based Transformer Accelerator Using Output Block Stationary Dataflow for Object Recognition Applications
- 3 August 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Circuits and Systems II: Express Briefs
- Vol. 70 (1) , 281-285
Abstract
The transformer-based model has great potential to deliver higher accuracy for object recognition applications when comparing it with the convolution neural network (CNN). Yet, the amount of weight sharing of a transformer-based model is significantly lower than that of the CNN, which should apply different dataflow to reduce the memory access. This brief proposes a transformer accelerator with an output block stationary (OBS) dataflow to minimize the repeated memory access by block-level and vector-level broadcasting while preserving a high digital signal processor (DSP) utilization rate, leading to higher energy efficiency. It also lowers the memory access bandwidth to the input and output. Verified through an FPGA, the proposed accelerator evaluates a transformer-in-transformer (TNT) model with a throughput of 728.3 GOPs, corresponding to energy efficiency of 58.31 GOPs/W.Keywords
Funding Information
- Macau Science and Technology Development Fund (FDCT), Macau (0110/2019/A2, SKL-AMSV(UM)-2020-2022)
- University of Macau (MYRG2019-00124-AMSV, MYRG2020-00191-IME)
This publication has 21 references indexed in Scilit:
- A Throughput-Optimized Channel-Oriented Processing Element Array for Convolutional Neural NetworksIEEE Transactions on Circuits and Systems II: Express Briefs, 2020
- FTRANS2020
- Optimizing Hardware Accelerated General Matrix-Matrix Multiplication for CNNs on FPGAsIEEE Transactions on Circuits and Systems II: Express Briefs, 2020
- FPGA-Based Implementation of a Real-Time Object Recognition System Using Convolutional Neural NetworkIEEE Transactions on Circuits and Systems II: Express Briefs, 2019
- UCNN: Exploiting Computational Reuse in Deep Neural Networks via Weight Repetition2018
- Data and Hardware Efficient Design for Convolutional Neural NetworkIEEE Transactions on Circuits and Systems I: Regular Papers, 2017
- SCNN2017
- A Resource-Limited Hardware Accelerator for Convolutional Neural Networks in Embedded Vision ApplicationsIEEE Transactions on Circuits and Systems II: Express Briefs, 2017
- Eyeriss: An Energy-Efficient Reconfigurable Accelerator for Deep Convolutional Neural NetworksIEEE Journal of Solid-State Circuits, 2016
- CNNdroid2016