Accelerating fully spectral CNNs with adaptive activation functions on FPGA
File(s)date21_fullyspec.pdf (1.86 MB)
Accepted version
Author(s)
Liu, Shuanglong
Fan, Hongxiang
Luk, Wayne
Type
Conference Paper
Abstract
Computing convolutional layers in frequency domain can largely reduce the computation overhead for training and inference of convolutional neural networks (CNNs). However, existing designs with such an idea require repeated spatial- and frequency-domain transforms due to the absence of nonlinear functions in the frequency domain, as such it makes the benefit less attractive for low-latency inference. This paper presents a fully spectral CNN approach by proposing a novel adaptive Rectified Linear Unit (ReLU) activation in spectral domain. The proposed design maintains the non-linearity in the network while taking into account the hardware efficiency in algorithm level. The spectral model size is further optimized by merging and fusing layers. Then, a customized hardware architecture is proposed to implement the designed spectral network on FPGA device with DSP optimizations for 8-bit fixed point multipliers. Our hardware accelerator is implemented on Intel's Arria 10 device and applied to the MNIST, SVHN, AT&T and CIFAR-10 datasets. Experimental results show a speed improvement of 6 × ~ 10 × and 4 × ~ 5.7 × compared to state-of-the-art spatial or FFT-based designs respectively, while achieving similar accuracy across the benchmark datasets.
Date Issued
2021-07-16
Date Acceptance
2021-07-01
Citation
2021 Design, Automation & Test in Europe Conference & Exhibition (DATE), 2021, pp.1530-1535
Publisher
IEEE
Start Page
1530
End Page
1535
Journal / Book Title
2021 Design, Automation & Test in Europe Conference & Exhibition (DATE)
Copyright Statement
© 2021 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
Identifier
https://ieeexplore.ieee.org/document/9474171
Source
2021 Design, Automation & Test in Europe Conference & Exhibition (DATE)
Publication Status
Published
Start Date
2021-02-01
Finish Date
2021-02-05
Coverage Spatial
Grenoble, France
Date Publish Online
2021-07-16