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

NACHOS:面向硬件约束早退神经网络的神经架构搜索

NACHOS: Neural Architecture Search for Hardware Constrained Early Exit Neural Networks

Sapienza Università di Roma(罗马大学)

Matteo Gambella, Jary Pomponi, Simone Scardapane, Manuel Roveri

AI总结:

本文提出NACHOS,首个面向硬件约束早退神经网络的神经架构搜索框架,联合设计骨干网络与早退分类器,生成满足精度和MAC约束的帕累托最优解,性能与最先进EENN相当。

摘要:

早退神经网络(EENN)为标准深度神经网络(DNN)赋予早退分类器(EEC),以便在处理过程的中间阶段,当分类达到足够置信度时提供预测。这带来了有效性和效率方面的诸多益处。目前,EENN的设计由专家手动完成,这是一项复杂且耗时的任务,需要考虑诸多方面,包括EEC的正确放置、阈值设定以及计算开销。因此,研究正在探索使用神经架构搜索(NAS)来自动化EENN的设计。目前,文献中针对EENN的综合性NAS解决方案很少,而一种完全自动化的、同时考虑骨干网络和EEC的联合设计策略仍然是一个开放问题。为此,本文提出了面向硬件约束早退神经网络的神经架构搜索(NACHOS),这是首个用于设计满足精度和推理时EENN执行的乘加运算(MAC)次数约束的最优EENN的NAS框架。具体而言,该框架提供了骨干网络和EEC的联合设计,以选择一组在精度和MAC次数之间最佳权衡下可接受的(即满足约束的)帕累托最优解。结果表明,NACHOS设计的模型与最先进的EENN相比具有竞争力。此外,本文还研究了两种新颖的正则化项的有效性,这些正则化项专为优化EENN的辅助分类器而设计。

英文摘要:

Early Exit Neural Networks (EENNs) endow astandard Deep Neural Network (DNN) with Early Exit Classifiers (EECs), to provide predictions at intermediate points of the processing when enough confidence in classification is achieved. This leads to many benefits in terms of effectiveness and efficiency. Currently, the design of EENNs is carried out manually by experts, a complex and time-consuming task that requires accounting for many aspects, including the correct placement, the thresholding, and the computational overhead of the EECs. For this reason, the research is exploring the use of Neural Architecture Search (NAS) to automatize the design of EENNs. Currently, few comprehensive NAS solutions for EENNs have been proposed in the literature, and a fully automated, joint design strategy taking into consideration both the backbone and the EECs remains an open problem. To this end, this work presents Neural Architecture Search for Hardware Constrained Early Exit Neural Networks (NACHOS), the first NAS framework for the design of optimal EENNs satisfying constraints on the accuracy and the number of Multiply and Accumulate (MAC) operations performed by the EENNs at inference time. In particular, this provides the joint design of backbone and EECs to select a set of admissible (i.e., respecting the constraints) Pareto Optimal Solutions in terms of best tradeoff between the accuracy and number of MACs. The results show that the models designed by NACHOS are competitive with the state-of-the-art EENNs. Additionally, this work investigates the effectiveness of two novel regularization terms designed for the optimization of the auxiliary classifiers of the EENN

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

↑