HardCoRe-NAS: Hard Constrained diffeRentiable Neural Architecture Search

Niv Nayman, Yonathan Aflalo, Asaf Noy, Lihi Zelnik-Manor
2/23/2021
46 citations
cs.LGcs.AIcs.CV

Official code: Alibaba-MIIL/HardCoReNAS (36 stars, Python, MIT, last commit 2022-08-23).

Abstract

Realistic use of neural networks often requires adhering to multiple constraints on latency, energy and memory among others. A popular approach to find fitting networks is through constrained Neural Architecture Search (NAS), however, previous methods enforce the constraint only softly.

Show full abstract

Therefore, the resulting networks do not exactly adhere to the resource constraint and their accuracy is harmed. In this work we resolve this by introducing Hard Constrained diffeRentiable NAS (HardCoRe-NAS), that is based on an accurate formulation of the expected resource requirement and a scalable search method that satisfies the hard constraint throughout the search. Our experiments show that HardCoRe-NAS generates state-of-the-art architectures, surpassing other NAS methods, while strictly satisfying the hard resource constraints without any tuning required.

View on arXivView PDF

Code Implementations(1)

MIT
364Python, DockerfileFeb 21, 20214 years agoMIT

Similar Papers

Cite this paper

@article{nayman2021hardcorenas,
  title  = {HardCoRe-NAS: Hard Constrained diffeRentiable Neural Architecture Search},
  author = {Niv Nayman and Yonathan Aflalo and Asaf Noy and Lihi Zelnik-Manor},
  year   = {2021},
  eprint = {2102.11646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.11646}
}

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/2102.11646.svg)](https://codeofpaper.com/paper/2102.11646)

Discussion