A High-Throughput Full-Dataflow MobileNetv2 Accelerator on Edge FPGA
- 16 August 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 42 (5) , 1532-1545
Abstract
FPGA accelerators for lightweight neural networks, such as MobileNetv2, are of great need in edge computing applications with high throughput requirements. Dataflow architecture has been considered a promising approach to optimize throughput since the intermediate feature map transfers can be significantly saved. However, previous MobileNetv2 accelerators only achieved a partial-dataflow architecture, and just one-third of the feature map transfers can be saved. To solve this issue, we propose a scheme to achieve a full-dataflow MobileNetv2 accelerator on FPGA. The scheme contains four techniques. First, we improve the full-integer quantization for easier deployment on hardware. Second, we propose tunable activation weight imbalance transfer for less quantization accuracy loss. Third, we present several highly optimized accelerator components whose parallelism can be flexibly adjusted and implement residual connection with deeper FIFO so that the requirements of the full-dataflow architecture can be fully met. Finally, we present a computing resource allocation strategy to balance the latency of each layer, and a memory resource allocation strategy to effectively use the on-chip memory. Compared to the state-of-the-art, experimental results show that the accelerator achieves 1910 FPS with $1.8\times $ speedup when implemented on the Xilinx ZCU102 FPGA. In addition, it reaches 72.98% Top-1 accuracy with 8-bit integer quantization that outperforms all the other MobileNetv2 accelerators.Keywords
Funding Information
- Natural Science Foundation of China (62074101, 62150710549)
- Shanghai Science and Technology Commission Funding (19511131200, 20ZR1435800)
- National Natural Science Foundation of China (72071116)
- Ningbo Science and Technology Bureau (2019B10026)
This publication has 34 references indexed in Scilit:
- A CNN Accelerator on FPGA Using Depthwise Separable ConvolutionIEEE Transactions on Circuits and Systems II: Express Briefs, 2018
- Compensated-DNN2018
- Squeeze-and-Excitation Networks2018
- Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference2018
- Redundancy-Reduced MobileNet Acceleration on Reconfigurable Logic for ImageNet Classification2018
- A Lightweight YOLOv22018
- Densely Connected Convolutional Networks2017
- Xception: Deep Learning with Depthwise Separable Convolutions2017
- Understanding the impact of precision quantization on the accuracy and energy of neural networks2017
- Deep Residual Learning for Image Recognition2016