arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2306.02459cs.LGcs.ARcs.CVcs.PF
收藏

Multi-Predict:用于高效神经架构搜索的少样本预测器

Multi-Predict: Few Shot Predictors For Efficient Neural Architecture Search

Cornell University(康奈尔大学)

Yash Akhauri, Mohamed S. Abdelfattah

AI总结:

本文提出基于零成本代理且独立于搜索空间的NN编码Multi-Predict,使准确率与延迟预测器可跨任务、搜索空间和硬件少样本适配,显著降低NAS测量与训练成本。

摘要:

许多硬件感知的神经架构搜索(NAS)方法已被开发出来,用于优化神经网络(NN)的拓扑结构,以同时实现更高准确率和更低延迟的联合目标。近来,准确率预测器和延迟预测器均已成功用于NAS,分别实现了高样本效率以及对硬件(HW)设备延迟的准确建模。然而,每出现一个新的NAS搜索空间或NN任务,就需要训练一个新的准确率预测器;而每出现一个新的HW设备,还需要额外训练一个新的延迟预测器。本文探索了能够实现准确率与延迟预测器的多任务、多搜索空间和多硬件适配的方法,以降低NAS成本。我们提出了一种基于零成本代理的、独立于搜索空间的新型NN编码,可在多个任务和NAS搜索空间上实现样本高效的预测,并在多种场景下将延迟和准确率预测器的端到端样本效率提升一个数量级以上。例如,我们的NN编码能够在少于85次HW测量的情况下,实现延迟预测器从NASBench-201到FBNet(反之亦然)的多搜索空间迁移;与近期一种元学习方法相比,样本效率提升了400倍。我们的方法还将准确率预测器的总体样本效率提升了一个数量级以上。最后,我们在28个NAS搜索空间和任务上证明了该方法用于多搜索空间和多任务准确率预测的有效性。

英文摘要:

Many hardware-aware neural architecture search (NAS) methods have been developed to optimize the topology of neural networks (NN) with the joint objectives of higher accuracy and lower latency. Recently, both accuracy and latency predictors have been used in NAS with great success, achieving high sample efficiency and accurate modeling of hardware (HW) device latency respectively. However, a new accuracy predictor needs to be trained for every new NAS search space or NN task, and a new latency predictor needs to be additionally trained for every new HW device. In this paper, we explore methods to enable multi-task, multi-search-space, and multi-HW adaptation of accuracy and latency predictors to reduce the cost of NAS. We introduce a novel search-space independent NN encoding based on zero-cost proxies that achieves sample-efficient prediction on multiple tasks and NAS search spaces, improving the end-to-end sample efficiency of latency and accuracy predictors by over an order of magnitude in multiple scenarios. For example, our NN encoding enables multi-search-space transfer of latency predictors from NASBench-201 to FBNet (and vice-versa) in under 85 HW measurements, a 400$\times$ improvement in sample efficiency compared to a recent meta-learning approach. Our method also improves the total sample efficiency of accuracy predictors by over an order of magnitude. Finally, we demonstrate the effectiveness of our method for multi-search-space and multi-task accuracy prediction on 28 NAS search spaces and tasks.

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

↑