Complexity-Aware Layer-Wise Mixed-Precision Schemes With SQNR-Based Fast Analysis

Hana Kim, Hyun Eun, Jung Hwan Choi, Ji Hoon Kim

Research output: Contribution to journalArticlepeer-review

Abstract

Recently, deep neural network (DNN) acceleration has been critical for hardware systems from mobile/edge devices to high-performance data centers. Especially, for on-device AI, there have been many studies on hardware numerical precision reduction considering the limited hardware resources of mobile/edge devices. Although layer-wise mixed-precision leads to computational complexity reduction, it is not straightforward to find a well-balanced layer-wise precision scheme since it takes a long time to determine the optimal precision for each layer due to the repetitive experiments and the model accuracy, the fundamental measure of deep learning quality, should be considered as well. In this paper, we propose the layer-wise mixed precision scheme which can significantly reduce the time required to determine the optimal hardware numerical precision with Signal-to-Quantization Noise Ratio (SQNR)-based analysis. In addition, the proposed scheme can take the hardware complexity into consideration in terms of the number of operations (OPs) or weight memory requirement of each layer. The proposed method can be directly applied to inference, meaning that users can utilize well-trained neural network models without the need for additional training or hardware units. With the proposed SQNR-based analysis, for SSDlite and YOLOv2 networks, the analysis time required for layer-wise precision determination is reduced by more than 95% compared to conventional mean Average Precision(mAP)-based analysis. Also, with the proposed complexity-aware schemes, the number of OPs and weight memory requirement can be reduced by up to 86.14% and 78.03%, respectively, for SSDlite, and by up to 51.93% and 50.62%, respectively, for YOLOv2, with negligible model accuracy degradation.

Original languageEnglish
Pages (from-to)117800-117809
Number of pages10
JournalIEEE Access
Volume11
DOIs
StatePublished - 2023

Bibliographical note

Publisher Copyright:
© 2023 The Authors.

Keywords

  • Deep neural network (DNN)
  • complexity-awareness
  • mixed-precision
  • signal to quantization noise ratio (SQNR)

Fingerprint

Dive into the research topics of 'Complexity-Aware Layer-Wise Mixed-Precision Schemes With SQNR-Based Fast Analysis'. Together they form a unique fingerprint.

Cite this