Neural Architecture Search as Program Transformation Exploration

Jack Turner, Elliot J. Crowley, Michael O'Boyle
2/12/2021
cs.LGcs.PL

Official code: jack-willturner/nas-as-program-transformation-exploration (17 stars, Python, MIT, last commit 2021-04-28).

Abstract

Improving the performance of deep neural networks (DNNs) is important to both the compiler and neural architecture search (NAS) communities. Compilers apply program transformations in order to exploit hardware parallelism and memory hierarchy.

Show full abstract

However, legality concerns mean they fail to exploit the natural robustness of neural networks. In contrast, NAS techniques mutate networks by operations such as the grouping or bottlenecking of convolutions, exploiting the resilience of DNNs. In this work, we express such neural architecture operations as program transformations whose legality depends on a notion of representational capacity. This allows them to be combined with existing transformations into a unified optimization framework. This unification allows us to express existing NAS operations as combinations of simpler transformations. Crucially, it allows us to generate and explore new tensor convolutions. We prototyped the combined framework in TVM and were able to find optimizations across different DNNs, that significantly reduce inference time - over 3$\times$ in the majority of cases. Furthermore, our scheme dramatically reduces NAS search time. Code is available at~\href{https://github.com/jack-willturner/nas-as-program-transformation-exploration}{this https url}.

View on arXivView PDF

Code Implementations(1)

MIT

The code for our paper "Neural Architecture Search as Program Transformation Exploration"

172PythonFeb 12, 20215 years agoMIT

Similar Papers

Cite this paper

@article{turner2021neural,
  title  = {Neural Architecture Search as Program Transformation Exploration},
  author = {Jack Turner and Elliot J. Crowley and Michael O'Boyle},
  year   = {2021},
  eprint = {2102.06599},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.06599}
}

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

Discussion