arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.07217cs.LG
收藏

增强神经架构搜索以应对多个硬件约束,用于在微型物联网设备上部署深度学习模型

Enhancing Neural Architecture Search with Multiple Hardware Constraints for Deep Learning Model Deployment on Tiny IoT Devices

Politecnico di Torino(都灵理工大学);University of Bologna(博洛尼亚大学);ETH Zürich(苏黎世联邦理工学院)

Alessio Burrello, Matteo Risso, Beatrice Alessandra Motetti, Enrico Macii, Luca Benini, Daniele Jahier Pagliari

AI总结:

针对物联网设备部署,提出一种将内存和延迟等多约束融入可微分NAS的方法,单次搜索即可生成满足约束的模型,在五个基准上实现内存和延迟分别降低87.4%和54.2%,且精度不降。

摘要:

依赖物联网(IoT)设备的计算领域迅速扩展,催生了对能够在低功耗设备上运行的高效且准确的深度学习(DL)模型的迫切需求。然而,传统的深度学习模型对于典型的物联网终端节点而言往往过于复杂且计算密集。为应对这一挑战,神经架构搜索(NAS)已成为一种流行的设计自动化技术,用于协同优化深度神经网络的准确性和复杂度。尽管如此,现有的NAS技术需要多次迭代才能生成满足特定硬件约束(如硬件上可用的最大内存或目标应用允许的最大延迟)的网络。在本工作中,我们提出了一种新颖的方法,将多个约束纳入所谓的可微分NAS优化方法中,从而能够在单次搜索中生成一个同时满足用户定义的内存和延迟约束的模型,其时间与一次标准训练相当。所提出的方法在五个物联网相关基准上进行了评估,包括MLPerf Tiny套件和Tiny ImageNet,结果表明,通过单次搜索,能够将内存和延迟分别减少87.4%和54.2%(根据我们的目标定义),同时确保在针对TinyML的最先进手工调优深度神经网络上保持非劣的准确性。

英文摘要:

The rapid proliferation of computing domains relying on Internet of Things (IoT) devices has created a pressing need for efficient and accurate deep-learning (DL) models that can run on low-power devices. However, traditional DL models tend to be too complex and computationally intensive for typical IoT end-nodes. To address this challenge, Neural Architecture Search (NAS) has emerged as a popular design automation technique for co-optimizing the accuracy and complexity of deep neural networks. Nevertheless, existing NAS techniques require many iterations to produce a network that adheres to specific hardware constraints, such as the maximum memory available on the hardware or the maximum latency allowed by the target application. In this work, we propose a novel approach to incorporate multiple constraints into so-called Differentiable NAS optimization methods, which allows the generation, in a single shot, of a model that respects user-defined constraints on both memory and latency in a time comparable to a single standard training. The proposed approach is evaluated on five IoT-relevant benchmarks, including the MLPerf Tiny suite and Tiny ImageNet, demonstrating that, with a single search, it is possible to reduce memory and latency by 87.4% and 54.2%, respectively (as defined by our targets), while ensuring non-inferior accuracy on state-of-the-art hand-tuned deep neural networks for TinyML.

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

↑