arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.07214cs.CVstat.ML
收藏

基于FbNet的硬件感知神经网络结构

Hardware Aware Neural Network Architectures using FbNet

Carnegie Mellon University(卡内基梅隆大学)

Sai Vineeth Kalluru Srinivas, Harideep Nair, Vinay Vidyasagar

摘要:

我们实现了一个可区分的神经架构搜索(NAS)方法的启发FBNet发现神经网络,是一个特定的目标设备进行了大量优化。FBNet NAS方法通过优化损失函数从给定的搜索空间中发现神经网络,该损失函数考虑了准确性和目标设备延迟。我们通过增加一个能量项来扩展这个损失函数。这将潜在地增强“硬件意识”,并帮助我们找到一个神经网络架构,该架构在给定目标设备(在我们的情况下为Raspberry Pi)的准确性、延迟和能耗方面是最佳的。我们将在搜索过程结束时获得的训练子架构命名为硬件感知神经网络架构(HANNA)。我们证明了我们的方法的有效性,通过对HANNA对其他两个国家的最先进的神经网络设计的移动/嵌入式应用程序,即MobileNetv 2和CondenseNet的CIFAR-10数据集。我们的研究结果表明,与MobileNetv 2和CondenseNet相比,HANNA提供了约2.5倍和1.7倍的加速,并分别将能耗降低了3.8倍和2倍。HANNA能够在最先进的基线上提供如此显著的加速和能效优势,而代价是精度下降了4-5%。

英文摘要:

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. 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.

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

↑