Back to Search Start Over

HCM: Hardware-Aware Complexity Metric for Neural Network Architectures

Authors :
Karbachevsky, Alex
Baskin, Chaim
Zheltonozhskii, Evgenii
Yermolin, Yevgeny
Gabbay, Freddy
Bronstein, Alex M.
Mendelson, Avi
Publication Year :
2020

Abstract

Convolutional Neural Networks (CNNs) have become common in many fields including computer vision, speech recognition, and natural language processing. Although CNN hardware accelerators are already included as part of many SoC architectures, the task of achieving high accuracy on resource-restricted devices is still considered challenging, mainly due to the vast number of design parameters that need to be balanced to achieve an efficient solution. Quantization techniques, when applied to the network parameters, lead to a reduction of power and area and may also change the ratio between communication and computation. As a result, some algorithmic solutions may suffer from lack of memory bandwidth or computational resources and fail to achieve the expected performance due to hardware constraints. Thus, the system designer and the micro-architect need to understand at early development stages the impact of their high-level decisions (e.g., the architecture of the CNN and the amount of bits used to represent its parameters) on the final product (e.g., the expected power saving, area, and accuracy). Unfortunately, existing tools fall short of supporting such decisions. This paper introduces a hardware-aware complexity metric that aims to assist the system designer of the neural network architectures, through the entire project lifetime (especially at its early stages) by predicting the impact of architectural and micro-architectural decisions on the final product. We demonstrate how the proposed metric can help evaluate different design alternatives of neural network models on resource-restricted devices such as real-time embedded systems, and to avoid making design mistakes at early stages.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2004.08906
Document Type :
Working Paper
Full Text :
https://doi.org/10.3390/su13020717