Hardware Aware Neural Network Architectures using FbNet

Sai Vineeth Kalluru Srinivas, Harideep Nair, Vinay Vidyasagar
6/17/2019
cs.CVstat.ML

Official code: hpnair/18663_Project_FBNet (34 stars, CSS, MIT, last commit 2019-10-31).

Abstract

We implement a differentiable Neural Architecture Search (NAS) method inspired by FBNet for discovering neural networks that are heavily optimized for a particular target device. The FBNet NAS method discovers a neural network from a given search space by optimizing over a loss function which accounts for accuracy and target device latency.

Show full abstract

We extend this loss function by adding an energy term. This will potentially enhance the ``hardware awareness" and help us find a neural network architecture that is optimal in terms of accuracy, latency and energy consumption, given a target device (Raspberry Pi in our case). We name our trained child architecture obtained at the end of search process as Hardware Aware Neural Network Architecture (HANNA). We prove the efficacy of our approach by benchmarking HANNA against two other state-of-the-art neural networks designed for mobile/embedded applications, namely MobileNetv2 and CondenseNet for CIFAR-10 dataset. Our results show that HANNA provides a speedup of about 2.5x and 1.7x, and reduces energy consumption by 3.8x and 2x compared to MobileNetv2 and CondenseNet respectively. HANNA is able to provide such significant speedup and energy efficiency benefits over the state-of-the-art baselines at the cost of a tolerable 4-5% drop in accuracy.

View on arXivView PDF

Code Implementations(1)

MIT

Class Project for 18663 - Implementation of FBNet (Hardware-Aware DNAS)

3414CSS, PythonMar 11, 20197 years agoMIT

Similar Papers

Cite this paper

@article{srinivas2019hardware,
  title  = {Hardware Aware Neural Network Architectures using FbNet},
  author = {Sai Vineeth Kalluru Srinivas and Harideep Nair and Vinay Vidyasagar},
  year   = {2019},
  eprint = {1906.07214},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.07214}
}

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

Discussion