Neural Architecture Search (NAS) is quickly becoming the standard methodology to design neural network models. However, NAS is typically compute-intensive because multiple models need to be evaluated before choosing the best one. To reduce the computational power and time needed, a proxy task is often used for evaluating each model instead of full training. In this paper, we evaluate conventional reduced-training proxies and quantify how well they preserve ranking between multiple models during search when compared with the rankings produced by final trained accuracy. We propose a series of zero-cost proxies, based on recent pruning literature, that use just a single minibatch of training data to compute a model's score. Our zero-cost proxies use 3 orders of magnitude less computation but can match and even outperform conventional proxies. For example, Spearman's rank correlation coefficient between final validation accuracy and our best zero-cost proxy on NAS-Bench-201 is 0.82, compared to 0.61 for EcoNAS (a recently proposed reduced-training proxy). Finally, we use these zero-cost proxies to enhance existing NAS search algorithms such as random search, reinforcement learning, evolutionary search and predictor-based search. For all search methodologies and across three different NAS datasets, we are able to significantly improve sample efficiency, and thereby decrease computation, by using our zero-cost proxies. For example on NAS-Bench-101, we achieved the same accuracy 4$\times$ quicker than the best previous result. Our code is made public at: https://github.com/mohsaied/zero-cost-nas.
TG-NAS: Generalizable Zero-Cost Proxies with Operator Description Embedding and Graph Learning for Efficient Neural Architecture Search
Department of EECS, University of California, Irvine(电子工程与计算机科学系,加州大学伊市分校);Department of Computer Science, University of California, San Diego(计算机科学系,加州大学圣地亚哥分校)
ProxyBO: Accelerating Neural Architecture Search via Bayesian Optimization with Zero-cost Proxies
Key Lab of High Confidence Software Technologies, Peking University(北京大学高可信软件技术重点实验室);Institute of Computational Social Science, Peking University (Qingdao)(北京大学计算社会科学研究所(青岛));School of Computer Science and Engineering, Beihang University(北京航空航天大学计算机科学与工程学院);Kuaishou Technology(快手科技);Data Platform, TEG, Tencent Inc.(腾讯科技(深圳)有限公司TEG数据平台)
EcoNAS: Finding Proxies for Economical Neural Architecture Search
The University of Sydney(悉尼大学);Nanyang Technological University(南洋理工大学);SenseTime Research(商汤科技研究院)
神经结构搜索(NAS)在许多计算机视觉任务中取得了重大进展。虽然已经提出了许多方法来提高NAS的效率,但是搜索过程仍然是费力的,因为在大的搜索空间上训练和评估合理的架构是耗时的。在代理下评估网络候选(即,计算上减少的设置)因此变得不可避免。在本文中,我们观察到,大多数现有的代理表现出不同的行为,在保持网络候选人之间的排名一致性。特别是,一些代理可以更可靠-候选人的排名没有太大的差异,比较其减少设置性能和最终性能。在本文中,我们系统地研究了一些广泛采用的约化因子,并报告了我们的观察结果。受这些观察的启发,我们提出了一个可靠的代理,并进一步制定了分层代理策略。该策略将更多的计算花费在可能更准确的候选网络上,同时使用快速代理在早期丢弃不太有希望的网络。这就产生了一种经济的基于进化的NAS(EcoNAS),与基于进化的最新技术相比,它实现了令人印象深刻的400倍搜索时间减少(8 vs. 3150 GPU天)。由我们的观察结果领导的一些新代理也可以应用于加速其他NAS方法,同时仍然能够发现性能与以前的代理策略相匹配的良好候选网络。
Zero-Shot Neural Architecture Search with Weighted Response Correlation
School of Internet, Anhui University(安徽大学互联网学院);Alibaba Group Holding Limited(阿里巴巴集团控股有限公司);School of Computer Science and Technology, University of Chinese Academy of Sciences(中国科学院大学计算机科学与技术学院);Alibaba International Digital Commerce(阿里巴巴国际数字商业);Shenzhen Key Laboratory for High Performance Data Mining, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳高性能数据挖掘重点实验室,深圳先进技术研究所,中国科学院)
Surprisingly Strong Performance Prediction with Neural Graph Features
Charles University(查理大学);Faculty of Mathematics and Physics(数学与物理学院);The Czech Academy of Sciences(捷克科学院);University of Siegen(锡根大学);University of Freiburg(弗赖堡大学);ELLIS Institute Tübingen(图宾根ELLIS研究所)
You Only Search Once: On Lightweight Differentiable Architecture Search for Resource-Constrained Embedded Platforms
Nanyang Technological University(南洋理工大学)
受益于搜索效率,可区分神经架构搜索(NAS)已发展成为自动设计竞争性深度神经网络(DNN)的最主要替代方案。我们注意到,DNN必须在现实世界场景中严格的硬性能约束下执行,例如,自动驾驶汽车上的运行时延迟。然而,为了获得满足给定性能约束的架构,先前的硬件感知可区分NAS方法必须重复过多的搜索运行以通过试错来手动调整超参数,因此总设计成本成比例地增加。为了解决这个问题,我们引入了一个轻量级的硬件感知的可区分NAS框架,称为LightNAS,努力通过一次性搜索找到满足各种性能约束的所需架构(即,\underline{\textit{you only search once}})。进行了大量的实验,以显示LightNAS比以前的国家的最先进的方法的优越性。
SWAP-NAS: Sample-Wise Activation Patterns for Ultra-fast NAS
School of Computing Technologies, RMIT University(RMIT大学计算技术学院);University of Technology Sydney(悉尼科技大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
NAS-LID: Efficient Neural Architecture Search with Local Intrinsic Dimension
Hong Kong Baptist University(香港浸会大学);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Laboratory(上海人工智能实验室);NVIDIA AI Tech Center(英伟达人工智能技术中心);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Mahindra University(马恒达大学);Coventry University(考文垂大学)
What and Where: Learn to Plug Adapters via NAS for Multi-Domain Learning
College of Computer Science, Zhejiang University(浙江大学计算机学院);College of Computer Science and Technology, Zhejiang University(浙江大学计算机科学与技术学院);Shanghai Institute for Advanced Study, Zhejiang University(浙江大学上海高等研究院)
NAS-BERT: Task-Agnostic and Adaptive-Size BERT Compression with Neural Architecture Search
Tsinghua University(清华大学);University of Science and Technology of China(中国科学技术大学);Nanjing University of Science and Technology(南京理工大学);Microsoft Research Asia(微软亚洲研究院)
InTrain: Intrinsic Trainability for Zero-Cost Neural Architecture Search
School of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院);School of Computer and Data Science, Minjiang University(闽江学院计算机与数据科学学院);School of Artificial Intelligence, Nanchang University(南昌大学人工智能学院);Department of Computer Science, Hong Kong Baptist University(香港浸会大学计算机科学系);School of Interdisciplinary Medicine and Engineering, Harbin Medical University(哈尔滨医科大学跨学科医学与工程学院)
Zero-Shot Neural Network Evaluation with Sample-Wise Activation Patterns
School of Computing Technologies, RMIT University(计算技术学院,皇家墨尔本理工大学);Department of Electronic Engineering and Information Science, University of Science and Technology of China(电子工程与信息科学系,中国科学技术大学)