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

TF-NAS:延迟约束可微神经结构搜索的三种搜索自由的再思考

TF-NAS: Rethinking Three Search Freedoms of Latency-Constrained Differentiable Neural Architecture Search

CRIPAC & NLPR, CASIA(中国科学院自动化研究所 模式识别国家重点实验室与智能感知与计算研究中心);JD AI Research(京东人工智能研究院)

Yibo Hu, Xiang Wu, Ran He

摘要:

随着可微神经结构搜索(NAS)的蓬勃发展,自动搜索延迟约束的结构提供了一个新的视角,以减少人力和专业知识。然而,搜索到的架构通常在准确性上是次优的,并且可能在目标延迟周围具有较大的抖动。在本文中,我们重新考虑可区分NAS的三个自由度,即操作级,深度级和宽度级,并提出了一种新的方法,命名为三自由度NAS(TF-NAS),以实现良好的分类精度和精确的延迟约束。对于操作级,我们提出了一个双采样搜索算法来缓和操作崩溃。在深度层,引入了一个连接汇点的搜索空间,保证了skip与其他候选操作之间的互斥性,同时消除了结构冗余。对于宽度级别,我们提出了一种弹性伸缩策略,以渐进的细粒度方式实现精确的延迟约束。在ImageNet上的实验验证了TF-NAS的有效性。特别是,我们搜索的TF-NAS-A获得了76.9%的top-1准确率,以更少的延迟实现了最先进的结果。在1颗Titan RTX GPU上,总搜索时间仅为1.8天。代码可在https://github.com/AberHu/TF-NAS上获得。

英文摘要:

With the flourish of differentiable neural architecture search (NAS), automatically searching latency-constrained architectures gives a new perspective to reduce human labor and expertise. However, the searched architectures are usually suboptimal in accuracy and may have large jitters around the target latency. In this paper, we rethink three freedoms of differentiable NAS, i.e. operation-level, depth-level and width-level, and propose a novel method, named Three-Freedom NAS (TF-NAS), to achieve both good classification accuracy and precise latency constraint. For the operation-level, we present a bi-sampling search algorithm to moderate the operation collapse. For the depth-level, we introduce a sink-connecting search space to ensure the mutual exclusion between skip and other candidate operations, as well as eliminate the architecture redundancy. For the width-level, we propose an elasticity-scaling strategy that achieves precise latency constraint in a progressively fine-grained manner. Experiments on ImageNet demonstrate the effectiveness of TF-NAS. Particularly, our searched TF-NAS-A obtains 76.9% top-1 accuracy, achieving state-of-the-art results with less latency. The total search time is only 1.8 days on 1 Titan RTX GPU. Code is available at https://github.com/AberHu/TF-NAS.

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

↑