arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1904.02877cs.LGcs.CVstat.ML
收藏

Single-Path NAS:在4小时内设计出硬件高效的ConvNets

Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours

Carnegie Mellon University(卡内基梅隆大学);Microsoft(微软);Harbin Institute of Technology(哈尔滨工业大学)

Dimitrios Stamoulis, Ruizhou Ding, Di Wang, Dimitrios Lymberopoulos, Bodhi Priyantha, Jie Liu, Diana Marculescu

摘要:

我们能否在移动终端的运行时间约束下自动设计具有最高图像分类精度的卷积网络(ConvNet)?神经架构搜索(NAS)通过自动化这个过程,彻底改变了硬件高效的ConvNets的设计。然而,NAS问题仍然具有挑战性,因为组合设计空间很大,导致搜索时间很长(至少200 GPU小时)。为了减轻这种复杂性,我们提出了单路径NAS,这是一种新颖的可区分NAS方法,用于在不到4小时的时间内设计硬件高效的ConvNets。我们的贡献如下:1.单路径搜索空间:与以前的可区分NAS方法相比,单路径NAS使用一个单路径过参数化ConvNet来使用共享卷积核参数对所有架构决策进行编码,从而大大减少了可训练参数的数量和搜索成本。2.硬件高效的ImageNet分类:单路径NAS在Pixel 1手机上以79 ms的延迟在ImageNet上实现了74.96%的top-1准确率,与具有类似约束(<80 ms)的NAS方法相比,这是最先进的准确率。3. NAS效率:单路径NAS搜索成本仅为8个epoch(30 TPU-小时),与之前的工作相比,速度快了5,000倍。4.复制:与所有最近的移动高效NAS方法不同,这些方法只发布预训练的模型,我们在https://github.com/dstamoulis/single-path-nas上开源了我们的整个代码库。

英文摘要:

Can we automatically design a Convolutional Network (ConvNet) with the highest image classification accuracy under the runtime constraint of a mobile device? Neural architecture search (NAS) has revolutionized the design of hardware-efficient ConvNets by automating this process. However, the NAS problem remains challenging due to the combinatorially large design space, causing a significant searching time (at least 200 GPU-hours). To alleviate this complexity, we propose Single-Path NAS, a novel differentiable NAS method for designing hardware-efficient ConvNets in less than 4 hours. Our contributions are as follows: 1. Single-path search space: Compared to previous differentiable NAS methods, Single-Path NAS uses one single-path over-parameterized ConvNet to encode all architectural decisions with shared convolutional kernel parameters, hence drastically decreasing the number of trainable parameters and the search cost down to few epochs. 2. Hardware-efficient ImageNet classification: Single-Path NAS achieves 74.96% top-1 accuracy on ImageNet with 79ms latency on a Pixel 1 phone, which is state-of-the-art accuracy compared to NAS methods with similar constraints (<80ms). 3. NAS efficiency: Single-Path NAS search cost is only 8 epochs (30 TPU-hours), which is up to 5,000x faster compared to prior work. 4. Reproducibility: Unlike all recent mobile-efficient NAS methods which only release pretrained models, we open-source our entire codebase at: https://github.com/dstamoulis/single-path-nas.

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

↑