Design of Fully Spectral CNNs for Efficient FPGA-Based Acceleration
- 2 December 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Neural Networks and Learning Systems
- Vol. 35 (6) , 8111-8123
Abstract
Computing convolutional layers in the frequency domain using fast Fourier transformation (FFT) has been demonstrated to be effective in reducing the computational complexity of convolutional neural networks (CNNs). Nevertheless, the main challenge of this approach lies in the frequent and repeated transformations between the spatial and frequency domains due to the absence of nonlinear functions in the spectral domain, as such it makes the benefit less attractive for low-latency inference, especially on embedded platforms. To overcome the drawbacks in the existing FFT-based convolution, we propose a fully spectral CNN using a novel spectral-domain adaptive rectified linear unit (ReLU) layer, which completely removes the compute-intensive transformations between the spatial and frequency domains within the network. The proposed fully spectral CNNs maintain the nonlinearity of the spatial CNNs while taking into account the hardware efficiency. We then propose a deeply customized and compute-efficient hardware architecture to accelerate the fully spectral CNN inference on field programmable gate array (FPGA). Different hardware optimizations, such as spectral-domain intralayer and interlayer pipeline techniques, are introduced to further improve the performance of throughput. To achieve a load-balanced pipeline, a design space exploration (DSE) framework is proposed to optimize the resource allocation between hardware modules according to the resource constraints. On an Intel’s Arria 10 SX160 FPGA, our optimized accelerator achieves a throughput of 204 Gop/s with 80% of compute efficiency. Compared with the state-of-the-art spatial and FFT-based implementations on the same device, our accelerator is 4 $\times$ $\sim$ 6.6 $\times$ and 3.0TEXPRESERVE3 $\sim$ 4.4 $\times$ faster while maintaining a similar level of accuracy across different benchmark datasets.Keywords
Funding Information
- National Natural Science Foundation of China (62001165)
- Hunan Provincial Natural Science Foundation of China (2021JJ40357)
- Changsha Municipal Natural Science Foundation (kq2014079)
- Hunan province college students research learning and innovative experiment project (S202110542114)
This publication has 26 references indexed in Scilit:
- Multiple convolutional layers fusion framework for hyperspectral image classificationNeurocomputing, 2019
- Compute-Efficient Neural-Network Acceleration2019
- A survey of FPGA-based accelerators for convolutional neural networksNeural Computing and Applications, 2018
- Optimizing CNN-based Segmentation with Deeply Customized Convolutional and Deconvolutional Architectures on FPGAACM Transactions on Reconfigurable Technology and Systems, 2018
- A Framework for Generating High Throughput CNN Implementations on FPGAs2018
- Design of an Energy-Efficient Accelerator for Training of Convolutional Neural Networks using Frequency-Domain Computation2017
- Optimizing CNN-Based Object Detection Algorithms on Embedded FPGA Platforms2017
- Frequency Domain Acceleration of Convolutional Neural Networks on CPU-FPGA Shared Memory System2017
- Improving the Performance of OpenCL-based FPGA Accelerator for Convolutional Neural Network2017
- Going Deeper with Embedded FPGA Platform for Convolutional Neural Network2016