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

一次搜索神经网络结构的广义延迟性能估计

Generalized Latency Performance Estimation for Once-For-All Neural Architecture Search

Georgia Institute of Technology(佐治亚理工学院)

Muhtadyuzzaman Syed, Arvind Akpuram Srinivasan

摘要:

神经架构搜索(NAS)通过简化定义搜索空间、搜索策略和性能估计策略的深度神经网络架构的手动开发,实现了自动化机器学习的可能性。为了解决卷积神经网络(CNN)模型的多平台部署需求,一次性(OFA)提出将训练和搜索解耦,以提供受限于各种精度-延迟权衡的子网络的一次性模型。我们发现,OFA的搜索的性能估计策略严重缺乏不同的硬件部署平台,由于单一的硬件延迟查找表,需要大量的时间和手动工作,以建立事先的普遍性。在这项工作中,我们展示了为神经网络架构构建延迟预测器的框架,以解决异构硬件支持的需求,并减少查找表的开销。我们介绍了两种泛化策略,包括使用在特定硬件和NAS搜索空间上训练的基础模型进行微调,以及GPU泛化,该GPU泛化根据GPU硬件参数(如核心数量,RAM大小和内存带宽)训练模型。有了这个,我们提供了一系列延迟预测模型,与ProxylessNAS相比,这些模型的RMSE损失降低了50%以上。我们还表明,使用这些延迟预测匹配的NAS性能的查找表基线的方法,如果不超过它在某些情况下。

英文摘要:

Neural Architecture Search (NAS) has enabled the possibility of automated machine learning by streamlining the manual development of deep neural network architectures defining a search space, search strategy, and performance estimation strategy. To solve the need for multi-platform deployment of Convolutional Neural Network (CNN) models, Once-For-All (OFA) proposed to decouple Training and Search to deliver a one-shot model of sub-networks that are constrained to various accuracy-latency tradeoffs. We find that the performance estimation strategy for OFA's search severely lacks generalizability of different hardware deployment platforms due to single hardware latency lookup tables that require significant amount of time and manual effort to build beforehand. In this work, we demonstrate the framework for building latency predictors for neural network architectures to address the need for heterogeneous hardware support and reduce the overhead of lookup tables altogether. We introduce two generalizability strategies which include fine-tuning using a base model trained on a specific hardware and NAS search space, and GPU-generalization which trains a model on GPU hardware parameters such as Number of Cores, RAM Size, and Memory Bandwidth. With this, we provide a family of latency prediction models that achieve over 50% lower RMSE loss as compared to with ProxylessNAS. We also show that the use of these latency predictors match the NAS performance of the lookup table baseline approach if not exceeding it in certain cases.

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

↑