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

面向模型边缘适配的草根算子搜索

Grassroots Operator Search for Model Edge Adaptation

Univ. Polytechnique Hauts-de-France(上法兰西综合理工大学);CNRS(法国国家科学研究中心);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心)

Hadjer Benmeziane, Kaoutar El Maghraoui, Hamza Ouarnoughi, Smail Niar

AI总结:

本文提出草根算子搜索(GOS)方法,通过基于数学指令搜索高效算子替换,使深度学习模型适配边缘设备,在保持准确率的同时实现至少2.2倍加速。

摘要:

硬件感知神经架构搜索(HW-NAS)正越来越多地被用于设计高效的深度学习架构。高效且灵活的搜索空间对HW-NAS的成功至关重要。当前方法侧重于设计宏观架构,并基于一组可能取值来搜索该架构的超参数。这种方法受到深度学习(DL)工程师的专业知识以及标准建模方法的偏置影响。在本文中,我们提出了一种草根算子搜索(GOS)方法。我们的HW-NAS通过搜索高效的算子替换来使给定模型适配边缘设备。我们将每个算子表示为一组捕获其行为的数学指令。这些数学指令随后被用作搜索和选择高效替换算子的基础,这些替换算子在保持原始模型准确性的同时降低计算复杂度。我们的方法是草根式的,因为它依赖数学基础来为DL架构构造新的高效算子。我们在多种DL模型上证明,我们的方法在两个边缘设备上——即Redmi Note 7S和Raspberry Pi3——持续优于原始模型,在保持高准确率的同时至少实现了2.2倍的加速。此外,我们展示了GOS方法在腕带设备脉搏率估计中的一个应用案例,在该案例中我们取得了最先进的性能,同时保持了降低的计算复杂度,证明了我们的方法在实际应用中的有效性。

英文摘要:

Hardware-aware Neural Architecture Search (HW-NAS) is increasingly being used to design efficient deep learning architectures. An efficient and flexible search space is crucial to the success of HW-NAS. Current approaches focus on designing a macro-architecture and searching for the architecture's hyperparameters based on a set of possible values. This approach is biased by the expertise of deep learning (DL) engineers and standard modeling approaches. In this paper, we present a Grassroots Operator Search (GOS) methodology. Our HW-NAS adapts a given model for edge devices by searching for efficient operator replacement. We express each operator as a set of mathematical instructions that capture its behavior. The mathematical instructions are then used as the basis for searching and selecting efficient replacement operators that maintain the accuracy of the original model while reducing computational complexity. Our approach is grassroots since it relies on the mathematical foundations to construct new and efficient operators for DL architectures. We demonstrate on various DL models, that our method consistently outperforms the original models on two edge devices, namely Redmi Note 7S and Raspberry Pi3, with a minimum of 2.2x speedup while maintaining high accuracy. Additionally, we showcase a use case of our GOS approach in pulse rate estimation on wristband devices, where we achieve state-of-the-art performance, while maintaining reduced computational complexity, demonstrating the effectiveness of our approach in practical applications.

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

↑