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

单路径移动端AutoML:高效卷积网络设计与NAS超参数优化

Single-Path Mobile AutoML: Efficient ConvNet Design and NAS Hyperparameter Optimization

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

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

AI总结:

本研究提出Single-Path NAS可微架构搜索方法,通过单路径过参数化卷积网络编码架构决策,将NAS搜索成本降至3小时内,在移动端延迟约束下取得ImageNet分类SOTA结果,并实现NAS超参数自动优化。

摘要:

我们能否将神经架构搜索(NAS)的搜索成本从数天缩短至仅几小时?NAS方法可在硬件约束下自动设计卷积网络(ConvNets),已成为AutoML框架的核心组件。然而,由于设计空间呈组合式庞大且搜索时间极长(至少200 GPU小时),NAS问题仍极具挑战性。在本研究中,我们将NAS的搜索成本降低至3小时以内,同时在移动端延迟约束下取得了当前最优的图像分类结果。我们提出了一种全新的可微NAS公式,即Single-Path NAS,它使用单路径过参数化卷积网络,基于共享卷积核参数编码所有架构决策,从而大幅降低了搜索开销。Single-Path NAS在ImageNet上取得了当前最优的top-1准确率(75.62%),在相近延迟设置(约80ms)下优于现有移动端NAS方法。具体而言,我们通过提出的全新单路径编码,将Squeeze-and-Excitation路径作为完全可搜索的操作,优化了可微NAS中的准确率-运行时间权衡。我们的方法总训练成本仅为8个epoch(24 TPU小时),与此前的研究相比速度提升最高达5000倍。此外,我们研究了不同的NAS公式选择如何影响所设计卷积网络的性能。更进一步,我们利用该方法的高效性解答了一个有趣的问题:我们能否自动找到能实现理想准确率-运行时间权衡的超参数值,而非像此前研究那样凭经验调优NAS求解器的超参数?我们已在https://github.com/dstamoulis/single-path-nas开源了全部代码库。

英文摘要:

Can we reduce the search cost of Neural Architecture Search (NAS) from days down to only few hours? NAS methods automate the design of Convolutional Networks (ConvNets) under hardware constraints and they have emerged as key components of AutoML frameworks. However, the NAS problem remains challenging due to the combinatorially large design space and the significant search time (at least 200 GPU-hours). In this work, we alleviate the NAS search cost down to less than 3 hours, while achieving state-of-the-art image classification results under mobile latency constraints. We propose a novel differentiable NAS formulation, namely Single-Path NAS, that uses one single-path over-parameterized ConvNet to encode all architectural decisions based on shared convolutional kernel parameters, hence drastically decreasing the search overhead. Single-Path NAS achieves state-of-the-art top-1 ImageNet accuracy (75.62%), hence outperforming existing mobile NAS methods in similar latency settings (~80ms). In particular, we enhance the accuracy-runtime trade-off in differentiable NAS by treating the Squeeze-and-Excitation path as a fully searchable operation with our novel single-path encoding. Our method has an overall cost of only 8 epochs (24 TPU-hours), which is up to 5,000x faster compared to prior work. Moreover, we study how different NAS formulation choices affect the performance of the designed ConvNets. Furthermore, we exploit the efficiency of our method to answer an interesting question: instead of empirically tuning the hyperparameters of the NAS solver (as in prior work), can we automatically find the hyperparameter values that yield the desired accuracy-runtime trade-off? We open-source our entire codebase at: https://github.com/dstamoulis/single-path-nas.

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

↑