计算机科学 > 机器学习
[提交于 2023年3月19日]
标题:Evaluation of Convolution Primitives for Embedded Neural Networks on 32-bit Microcontrollers
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:Deploying neural networks on constrained hardware platforms such as 32-bit microcontrollers is a challenging task because of the large memory, computing and energy requirements of their inference process. To tackle these issues, several convolution primitives have been proposed to make the standard convolution more computationally efficient. However, few of these primitives are really implemented for 32-bit microcontrollers. In this work, we collect different state-of-the-art convolutional primitives and propose an implementation for ARM Cortex-M processor family with an open source deployment platform (NNoM). Then, we carry out experimental characterization tests on these implementations. Our benchmark reveals a linear relationship between theoretical MACs and energy consumption. Thus showing the advantages of using computationally efficient primitives like shift convolution. We discuss about the significant reduction in latency and energy consumption due to the use of SIMD instructions and highlight the importance of data reuse in those performance gains. For reproducibility purpose and further experiments, codes and experiments are publicly available.
提交历史
来自:Pierre-Alain Moëllic[v1] 2023年3月19日 星期日 16:17:19 UTC