3D-VNPU: A Flexible Accelerator for 2D/3D CNNs on FPGA
Authors:
- 1 May 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 181-185
Abstract
Three-dimensional convolutional neural networks (3D CNNs) have proven to be outstanding in applications such as video analysis, 3-dimension geometric data, and 3-dimension medical image diagnosis. Compared to 2D CNNs, 3D CNNs require high computational complexity to get spatio-temporal features while Winograd algorithm can significantly reduce the amount of computation. Prior works based on 3D Winograd accelerators are only applied to stride-1 convolution, however, most of the popular 3D CNNs contain stride-2 convolution layers. In this paper, we propose a novel flexible Winograd-based decomposition method (FWDM) to apply the 3D Winograd to different strides convolution. Evaluation results show that FWDM reduces computational complexity by a factor of 3.2 for C3D, 2.9 for 3D ConvNet, and 2.6 for 3D ResNet-18. Furthermore, we design a flexible computing engine to stretch the use range of the decomposition method. Coupling FWDM and computing engine, a Winograd-based, 2D/3D CNNs compatible, highly efficient, and flexible accelerator (3D-VNPU) is proposed. Finally, we demonstrate the effectiveness of 3D-VNPU on FPGA platform (Xilinx ZCU102) and achieve 1.35TOPS for C3D, 1.2TOPS for 3D ResNet-18, and 1.1TOPS for VGG-16. DSP efficiency outperforms other CNNs accelerators 2.57~15.3x compared with prior works in FPGA of C3D. Compared to GPU and CPU, our accelerator achieves improvement up to 37.9x in performance relative to CPU and 11.8x in energy efficiency relative to GPU.Keywords
Funding Information
- National Key Research and Development Program of China
- National Natural Science Foundation of China
This publication has 16 references indexed in Scilit:
- Stride 2 1-D, 2-D, and 3-D Winograd for Convolutional Neural NetworksIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2020
- High-Performance CNN Accelerator on FPGA Using Unified Winograd-GEMM ArchitectureIEEE Transactions on Very Large Scale Integration (VLSI) Systems, 2019
- Evaluating Fast Algorithms for Convolutional Neural Networks on FPGAsIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2019
- Can Spatiotemporal 3D CNNs Retrace the History of 2D CNNs and ImageNet?2018
- Efficient Hardware Architectures for Deep Convolutional Neural NetworkIEEE Transactions on Circuits and Systems I: Regular Papers, 2017
- Quo Vadis, Action Recognition? A New Model and the Kinetics Dataset2017
- Fast Algorithms for Convolutional Neural Networks2016
- Automatic Detection of Cerebral Microbleeds From MR Images via 3D Convolutional Neural NetworksIEEE Transactions on Medical Imaging, 2016
- Learning Spatiotemporal Features with 3D Convolutional Networks2015
- 3D Convolutional Neural Networks for Human Action RecognitionIEEE Transactions on Pattern Analysis and Machine Intelligence, 2012