Throughput-Optimized Frequency Domain CNN with Fixed-Point Quantization on FPGA
Abstract
State-of-the-art hardware accelerators for large scale CNNs face two challenges: high computation complexity of convolution, and high on-chip memory consumption by weight kernels. Two techniques have been proposed in the literature to address these challenges: frequency domain convolution and space domain fixed-point quantization. In this paper, we propose frequency domain quantization schemes to achieve high throughput CNN inference on FPGAs. We first analyze the impact of quantization bit width on the accuracy of a frequency domain CNN, via the metric of Signal-to-Quantization-Noise-Ratio (SQNR). Taking advantage of the reconfigurability of FPGAs, we design a statically-reconfigurable and a dynamically-reconfigurable architecture for the quantized convolutional layers. Then, based on the SQNR analysis, we propose quantization schemes for both types of architectures, achieving optimal tradeoff between throughput and accuracy. The proposed quantizer allocates the number of bits for each convolutional layer under various design constraints, including overall SQNR, available DSP resources, on-chip memory and off-chip bandwidth. Experiments on AlexNet show that our designs improve the CNN inference throughput by 1.45$\times$ to 8.44$\times$, with negligible (< 0.5%) loss in accuracy.
BibTeX
@inproceedings{sun2018throughput,
author = {Weiyi Sun and Hanqing Zeng and Yi-Hua Edward Yang and Viktor K. Prasanna},
title = {{Throughput-Optimized Frequency Domain CNN with Fixed-Point Quantization on FPGA}},
booktitle = {ReConFig},
year = {2018},
url = {https://openreview.net/forum?id=SHr46WFW9l9},
}Ask Althea to put this paper to the test.
Loading related content...