A Resource-Efficient Convolutional Neural Network Accelerator Using Fine-Grained Logarithmic Quantization


Madadum H., BECERİKLİ Y.

INTELLIGENT AUTOMATION AND SOFT COMPUTING, vol.33, no.2, pp.681-695, 2022 (SCI-Expanded) identifier identifier

  • Publication Type: Article / Article
  • Volume: 33 Issue: 2
  • Publication Date: 2022
  • Doi Number: 10.32604/iasc.2022.023831
  • Journal Name: INTELLIGENT AUTOMATION AND SOFT COMPUTING
  • Journal Indexes: Science Citation Index Expanded (SCI-EXPANDED), Scopus, Applied Science & Technology Source, Computer & Applied Sciences
  • Page Numbers: pp.681-695
  • Keywords: Convolutional neural network, logarithmic quantization, FPGA, resource efficiency
  • Kocaeli University Affiliated: Yes

Abstract

Convolutional Neural Network (ConNN) implementations on Field Programmable Gate Array (FPGA) are being studied since the computational capabilities of FPGA have been improved recently. Model compression is required to enable ConNN deployment on resource-constrained FPGA devices. Logarithmic quantization is one of the efficient compression methods that can compress a model to very low bit-width without significant deterioration in performance. It is also hardware-friendly by using bitwise operations for multiplication. However, the logarithmic suffers from low resolution at high inputs due to exponential properties. Therefore, we propose a modified logarithmic quantization method with a fine resolution to compress a neural network model. In experiments, quantized models achieve a negligible loss of accuracy without the need for retraining steps. Besides this, we propose a resource-efficient hardware accelerator for running ConNN inference. Our design completely eliminates multipliers with bit shifters and adders. Throughput is measured in Giga Operation Per Second (GOP/s). The hardware utilization efficiency is represented by GOP/s per block of Digital Signal Processing (DSP) and Look-up Tables (LUTs). The result shows that the accelerator achieves resource efficiency of 9.38 GOP/s/DSP and 3.33 GOP/s/kLUTs.