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

Yibo Hu, Xiang Wu, Ran He
8/12/2020
cs.CV

Official code: AberHu/TF-NAS (75 stars, Python, MIT, last commit 2021-05-23).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

AberHu/TF-NASOfficial100%
MIT

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

7511Python, ShellJul 5, 20205 years agoMIT
imagenetlatency-constrainednasneural-architecture-searchsearch-freedoms+2 more

Similar Papers

Cite this paper

@article{hu2020tfnas,
  title  = {TF-NAS: Rethinking Three Search Freedoms of Latency-Constrained Differentiable Neural Architecture Search},
  author = {Yibo Hu and Xiang Wu and Ran He},
  year   = {2020},
  eprint = {2008.05314},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.05314}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.05314.svg)](https://codeofpaper.com/paper/2008.05314)

Discussion