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

一个代理设备就足以进行硬件感知的神经架构搜索

One Proxy Device Is Enough for Hardware-Aware Neural Architecture Search

University of California, Riverside(加州大学河滨分校);George Mason University(乔治梅森大学);University of Notre Dame(圣母大学)

Bingqian Lu, Jianyi Yang, Weiwen Jiang, Yiyu Shi, Shaolei Ren

摘要:

卷积神经网络(CNN)被用于许多现实世界的应用,例如基于视觉的自动驾驶和视频内容分析。为了在各种目标设备上运行CNN推理,硬件感知的神经架构搜索(NAS)至关重要。高效的硬件感知NAS的一个关键要求是快速评估推理延迟,以便对不同的架构进行排名。虽然在现有技术中通常使用为每个目标设备构建延迟预测器,但这是非常耗时的过程,在存在极其多样化的设备的情况下缺乏可扩展性。在这项工作中,我们通过利用延迟单调性来解决可扩展性挑战-不同设备上的架构延迟排名通常是相关的。当存在强延迟单调性时,我们可以在新的目标设备上重用搜索到一个代理设备的架构,而不会失去最优性。在没有强延迟单调性的情况下,我们提出了一种有效的代理自适应技术,以显着提高延迟单调性。最后,我们验证了我们的方法,并进行了实验与不同平台的设备上的多个主流搜索空间,包括MobileNet-V2,MobileNet-V3,NAS-Bench-201,ProxylessNAS和FBNet。我们的研究结果强调,通过仅使用一个代理设备,我们可以找到与现有的每设备NAS几乎相同的帕累托最优架构,同时避免为每个设备构建延迟预测器的高昂成本。GitHub:网站https://github.com/Ren-Research/OneProxy

英文摘要:

Convolutional neural networks (CNNs) are used in numerous real-world applications such as vision-based autonomous driving and video content analysis. To run CNN inference on various target devices, hardware-aware neural architecture search (NAS) is crucial. A key requirement of efficient hardware-aware NAS is the fast evaluation of inference latencies in order to rank different architectures. While building a latency predictor for each target device has been commonly used in state of the art, this is a very time-consuming process, lacking scalability in the presence of extremely diverse devices. In this work, we address the scalability challenge by exploiting latency monotonicity -- the architecture latency rankings on different devices are often correlated. When strong latency monotonicity exists, we can re-use architectures searched for one proxy device on new target devices, without losing optimality. In the absence of strong latency monotonicity, we propose an efficient proxy adaptation technique to significantly boost the latency monotonicity. Finally, we validate our approach and conduct experiments with devices of different platforms on multiple mainstream search spaces, including MobileNet-V2, MobileNet-V3, NAS-Bench-201, ProxylessNAS and FBNet. Our results highlight that, by using just one proxy device, we can find almost the same Pareto-optimal architectures as the existing per-device NAS, while avoiding the prohibitive cost of building a latency predictor for each device. GitHub: https://github.com/Ren-Research/OneProxy

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

↑