arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2004.08906cs.LGcs.AR
收藏

HCM:一种神经网络结构的硬件感知复杂性度量

HCM: Hardware-Aware Complexity Metric for Neural Network Architectures

Technion – Israel Institute of Technology(以色列理工学院);Ruppin Academic Center(鲁宾学术中心)

Alex Karbachevsky, Chaim Baskin, Evgenii Zheltonozhskii, Yevgeny Yermolin, Freddy Gabbay, Alex M. Bronstein, Avi Mendelson

摘要:

卷积神经网络(CNN)在包括计算机视觉、语音识别和自然语言处理的许多领域中已经变得很常见。虽然CNN硬件加速器已经作为许多SoC架构的一部分,但在资源受限的设备上实现高精度的任务仍然被认为是具有挑战性的,这主要是由于需要平衡大量的设计参数以实现高效的解决方案。量化技术,当应用于网络参数,导致功率和面积的减少,也可能改变通信和计算之间的比例。结果,一些算法解决方案可能遭受内存带宽或计算资源的缺乏,并且由于硬件约束而无法实现预期性能。因此,系统设计人员和微架构师需要在早期开发阶段了解他们的高层决策的影响(例如,CNN的体系结构和用于表示其参数的比特量)对最终产品的影响(例如,预期的功率节省、面积和精度)。不幸的是,现有的工具不足以支持这样的决定。本文介绍了一种硬件感知的复杂性度量,旨在帮助系统设计师的神经网络架构,通过整个项目的生命周期(特别是在其早期阶段)预测的影响,最终产品的架构和微架构的决定。我们演示了如何建议的度量可以帮助评估不同的设计方案的神经网络模型的资源受限的设备,如实时嵌入式系统,并避免在早期阶段的设计错误。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑